Spaces:
Sleeping
Sleeping
| """MAVLink command constants and frame types.""" | |
| class MAVLinkCommands: | |
| """MAVLink command IDs.""" | |
| # Navigation Commands | |
| NAV_WAYPOINT = 16 | |
| NAV_LOITER_UNLIM = 17 | |
| NAV_LOITER_TURNS = 18 | |
| NAV_LOITER_TIME = 19 | |
| NAV_RETURN_TO_LAUNCH = 20 | |
| NAV_LAND = 21 | |
| NAV_TAKEOFF = 22 | |
| NAV_SPLINE_WAYPOINT = 82 | |
| # DO Commands - Critical for proper mission sequences | |
| DO_LAND_START = 203 # Essential for proper landing sequence | |
| DO_SET_MODE = 176 | |
| DO_MOUNT_CONTROL = 205 | |
| IMAGE_START_CAPTURE = 2000 | |
| class FrameTypes: | |
| """MAVLink coordinate frame types.""" | |
| GLOBAL = 0 # Global coordinate frame, WGS84, AGL | |
| LOCAL_NED = 1 # Local coordinate frame, Z-down | |
| MISSION = 2 # Mission frame for commands | |
| GLOBAL_RELATIVE_ALT = 3 # Global, relative altitude over home | |
| LOCAL_ENU = 4 # Local coordinate frame, Z-up | |
| GLOBAL_INT = 5 # Global as integers | |
| GLOBAL_RELATIVE_ALT_INT = 6 # Global relative altitude as integers | |