diff options
author | tumbili <bapstr@ethz.ch> | 2014-11-04 20:52:29 +0100 |
---|---|---|
committer | tumbili <bapstr@ethz.ch> | 2014-11-04 20:52:29 +0100 |
commit | f5dbfe63b3d7fbfcac524ba03028de962a8716e2 (patch) | |
tree | 078fcbf7a8167a0b9c56043c4c224363782a671b | |
parent | 3f37efc046c9f3d2d6ee4a39f67ed5e20a6866ac (diff) | |
download | px4-firmware-f5dbfe63b3d7fbfcac524ba03028de962a8716e2.tar.gz px4-firmware-f5dbfe63b3d7fbfcac524ba03028de962a8716e2.tar.bz2 px4-firmware-f5dbfe63b3d7fbfcac524ba03028de962a8716e2.zip |
added new sensor board rotation option (roll 270, yaw 270)
-rw-r--r-- | src/lib/conversion/rotation.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/conversion/rotation.h b/src/lib/conversion/rotation.h index 5187b448f..739c3a960 100644 --- a/src/lib/conversion/rotation.h +++ b/src/lib/conversion/rotation.h @@ -74,6 +74,7 @@ enum Rotation { ROTATION_ROLL_270_YAW_135 = 23, ROTATION_PITCH_90 = 24, ROTATION_PITCH_270 = 25, + ROTATION_ROLL_270_YAW_270 = 26, ROTATION_MAX }; @@ -109,7 +110,8 @@ const rot_lookup_t rot_lookup[] = { {270, 0, 90 }, {270, 0, 135 }, { 0, 90, 0 }, - { 0, 270, 0 } + { 0, 270, 0 }, + {270, 0, 270 } }; /** |