Browse Source

AP_Math: define ROTATION_MAX_AUTO_ROTATION

we don't want to use ROTATION_PITCH_7 in our auto rotation mix, as it
is too close to level
celiu-4.0.17-rc8
Andrew Tridgell 5 years ago committed by Randy Mackay
parent
commit
d198b723b2
  1. 4
      libraries/AP_Math/rotations.h

4
libraries/AP_Math/rotations.h

@ -76,6 +76,10 @@ enum Rotation : uint8_t { @@ -76,6 +76,10 @@ enum Rotation : uint8_t {
ROTATION_MAX,
ROTATION_CUSTOM = 100,
};
// maximum rotation that will be used for auto-detection
#define ROTATION_MAX_AUTO_ROTATION ROTATION_ROLL_90_PITCH_315
/*
Here are the same values in a form sutable for a @Values attribute in
auto documentation:

Loading…
Cancel
Save