The list of available modes in MAVProxy

Where does MAVProxy get the list of available modes?

AUTO> ('Available modes: ', ['AUTO', 'GUIDED', 'MANUAL', 'LEARNING', 'RTL', 'INITIALISING', 'HOLD', 'STEERING'])

Mode(0x00000040)> mode
Mode(0x00000040)> No mode mapping available

I figured it out. The available modes depend on the system type in heartbeat message.

rover they are here
plane here
and copter here

1 Like