Contents
Based on https://pixhawk.ethz.ch/mavlink/.
FRAMES OF REFERENCE
NOTE: Currently, in PX4 firmware, only MAV_FRAME_LOCAL_NED is used!
Numeric |
String |
Correspondent MAVLink MAV_FRAME |
0 |
GLOBAL |
MAV_FRAME_GLOBAL |
1 |
LOCAL_NED |
MAV_FRAME_LOCAL_NED |
2 |
MISSION |
MAV_FRAME_MISSION |
3 |
GLOBAL_RELATIVE_ALT |
MAV_FRAME_GLOBAL_RELATIVE_ALT |
4 |
LOCAL_ENU |
MAV_FRAME_LOCAL_ENU |
5 |
GLOBAL_INT |
MAV_FRAME_GLOBAL_INT |
6 |
GLOBAL_RELATIVE_ALT_INT |
MAV_FRAME_GLOBAL_RELATIVE_ALT_INT |
7 |
LOCAL_OFFSET_NED |
MAV_FRAME_LOCAL_OFFSET_NED |
8 |
BODY_NED |
MAV_FRAME_BODY_NED |
9 |
BODY_OFFSET_NED |
MAV_FRAME_BODY_OFFSET_NED |
10 |
GLOBAL_TERRAIN_ALT |
MAV_FRAME_GLOBAL_TERRAIN_ALT |
11 |
GLOBAL_TERRAIN_ALT_INT |
MAV_FRAME_GLOBAL_TERRAIN_ALT_INT |
SENSOR ORIENTATIONS
Numeric |
String |
Correspondent MAVLink MAV_SENSOR_ORIENTATION |
0 |
NONE |
MAV_SENSOR_ROTATION_NONE |
1 |
YAW_45 |
MAV_SENSOR_ROTATION_YAW_45 |
2 |
YAW_90 |
MAV_SENSOR_ROTATION_YAW_90 |
3 |
YAW_135 |
MAV_SENSOR_ROTATION_YAW_135 |
4 |
YAW_180 |
MAV_SENSOR_ROTATION_YAW_180 |
5 |
YAW_225 |
MAV_SENSOR_ROTATION_YAW_225 |
6 |
YAW_270 |
MAV_SENSOR_ROTATION_YAW_270 |
7 |
YAW_315 |
MAV_SENSOR_ROTATION_YAW_315 |
8 |
ROLL_180 |
MAV_SENSOR_ROTATION_ROLL_180 |
9 |
ROLL_180_YAW_45 |
MAV_SENSOR_ROTATION_ROLL_180_YAW_45 |
10 |
ROLL_180_YAW_135 |
MAV_SENSOR_ROTATION_ROLL_180_YAW_135 |
11 |
PITCH_180 |
MAV_SENSOR_ROTATION_PITCH_180 |
12 |
ROLL_180_YAW_225 |
MAV_SENSOR_ROTATION_ROLL_180_YAW_225 |
14 |
ROLL_180_YAW_270 |
MAV_SENSOR_ROTATION_ROLL_180_YAW_270 |
15 |
ROLL_180_YAW_315 |
MAV_SENSOR_ROTATION_ROLL_180_YAW_315 |
16 |
ROLL_90 |
MAV_SENSOR_ROTATION_ROLL_90 |
17 |
ROLL_90_YAW_45 |
MAV_SENSOR_ROTATION_ROLL_90_YAW_45 |
18 |
ROLL_90_YAW_90 |
MAV_SENSOR_ROTATION_ROLL_90_YAW_90 |
19 |
ROLL_90_YAW_135 |
MAV_SENSOR_ROTATION_ROLL_90_YAW_135 |
20 |
ROLL_270 |
MAV_SENSOR_ROTATION_ROLL_270 |
21 |
ROLL_270_YAW_45 |
MAV_SENSOR_ROTATION_ROLL_270_YAW_45 |
22 |
ROLL_270_YAW_90 |
MAV_SENSOR_ROTATION_ROLL_270_YAW_90 |
23 |
ROLL_270_YAW_135 |
MAV_SENSOR_ROTATION_ROLL_270_YAW_135 |
24 |
PITCH_90 |
MAV_SENSOR_ROTATION_PITCH_90 |
25 |
PITCH_270 |
MAV_SENSOR_ROTATION_PITCH_270 |
26 |
PITCH_180_YAW_90 |
MAV_SENSOR_ROTATION_PITCH_180_YAW_90 |
27 |
PITCH_180_YAW_270 |
MAV_SENSOR_ROTATION_PITCH_180_YAW_270 |
28 |
ROLL_90_PITCH_90 |
MAV_SENSOR_ROTATION_ROLL_90_PITCH_90 |
29 |
ROLL_180_PITCH_90 |
MAV_SENSOR_ROTATION_ROLL_180_PITCH_90 |
30 |
ROLL_270_PITCH_90 |
MAV_SENSOR_ROTATION_ROLL_270_PITCH_90 |
31 |
ROLL_90_PITCH_180 |
MAV_SENSOR_ROTATION_ROLL_90_PITCH_180 |
32 |
ROLL_270_PITCH_180 |
MAV_SENSOR_ROTATION_ROLL_270_PITCH_180 |
33 |
ROLL_90_PITCH_270 |
MAV_SENSOR_ROTATION_ROLL_90_PITCH_270 |
34 |
ROLL_180_PITCH_270 |
MAV_SENSOR_ROTATION_ROLL_180_PITCH_270 |
35 |
ROLL_270_PITCH_270 |
MAV_SENSOR_ROTATION_ROLL_270_PITCH_270 |
36 |
ROLL_90_PITCH_180_YAW_90 |
MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90 |
37 |
ROLL_90_YAW_270 |
MAV_SENSOR_ROTATION_ROLL_90_YAW_270 |
38 |
ROLL_315_PITCH_315_YAW_315 |
MAV_SENSOR_ROTATION_ROLL_315_PITCH_315_YAW_315 |