diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-11-04 22:50:33 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-11-04 22:50:33 +0100 |
commit | 25df841118316d51fbd6a1f36b56712147911a2b (patch) | |
tree | a65ebccf36460272f24612e1352f0d67f83b33c2 | |
parent | a917b0d40bd48f8ae30cd9f92717e20153d58c5b (diff) | |
parent | cbd20f48d670749fcbfe49c0f5135572bdf7ee44 (diff) | |
download | px4-firmware-25df841118316d51fbd6a1f36b56712147911a2b.tar.gz px4-firmware-25df841118316d51fbd6a1f36b56712147911a2b.tar.bz2 px4-firmware-25df841118316d51fbd6a1f36b56712147911a2b.zip |
Merge pull request #1429 from tumbili/board_rot
new_sensor_rotation_option
-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..917c7f830 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 } }; /** |