mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Math: Add a warning to rotations to indicate that it is expected to
match the MAVLink definitions
This commit is contained in:
parent
8664ed006a
commit
46355e3de9
@ -66,6 +66,12 @@ enum Rotation : uint8_t {
|
||||
ROTATION_ROLL_90_PITCH_68_YAW_293 = 38,
|
||||
ROTATION_PITCH_315 = 39,
|
||||
ROTATION_ROLL_90_PITCH_315 = 40,
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
// Do not add more rotations without checking that there is not a conflict
|
||||
// with the MAVLink spec. MAV_SENSOR_ORIENTATION is expected to match our
|
||||
// list of rotations here. If a new rotation is added it needs to be added
|
||||
// to the MAVLink messages as well.
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
ROTATION_MAX,
|
||||
ROTATION_CUSTOM = 100,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user