mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 02:16:53 +08:00
Merge pull request #1429 from tumbili/board_rot
new_sensor_rotation_option
This commit is contained in:
@@ -74,6 +74,7 @@ enum Rotation {
|
|||||||
ROTATION_ROLL_270_YAW_135 = 23,
|
ROTATION_ROLL_270_YAW_135 = 23,
|
||||||
ROTATION_PITCH_90 = 24,
|
ROTATION_PITCH_90 = 24,
|
||||||
ROTATION_PITCH_270 = 25,
|
ROTATION_PITCH_270 = 25,
|
||||||
|
ROTATION_ROLL_270_YAW_270 = 26,
|
||||||
ROTATION_MAX
|
ROTATION_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -109,7 +110,8 @@ const rot_lookup_t rot_lookup[] = {
|
|||||||
{270, 0, 90 },
|
{270, 0, 90 },
|
||||||
{270, 0, 135 },
|
{270, 0, 135 },
|
||||||
{ 0, 90, 0 },
|
{ 0, 90, 0 },
|
||||||
{ 0, 270, 0 }
|
{ 0, 270, 0 },
|
||||||
|
{270, 0, 270 }
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user