Read servo10_raw values in Python

Hello,

I am trying to extract the values from the servo 10 (channel 2 AUX) using pymavlink. Here you have the code:

while True:
msg = mavlog.recv_match(type=[‘GPS_RAW_INT’, ‘SERVO_OUTPUT_RAW’])
if not msg:
break
if msg.get_type() == ‘GPS_RAW_INT’:
latitude = round(msg.lat / 1.0e7, 5)
longitude = round(msg.lon / 1.0e7, 5)
altitude_asl = round(msg.alt/1000, 2)
if msg.get_type() == ‘SERVO_OUTPUT_RAW’:
servo_value = msg.servo10_raw
print(servo_value)

But appears this error: servo_value = msg.servo10_raw
AttributeError: ‘MAVLink_servo_output_raw_message’ object has no attribute ‘servo10_raw’

If I change to servo1_raw (for example) it works well.

How can I extract the values from servo 10?

In the mavlink documentation appears with ** this message: Messages (common) · MAVLink Developer Guide