mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-15 18:20:35 +08:00
remove rotation 41 (ROLL_270_YAW_180)
- duplicate of 31 (ROLL_90_PITCH_180)
This commit is contained in:
committed by
Lorenz Meier
parent
a66cb0cbaf
commit
9f57df75e8
@@ -284,10 +284,7 @@ rotate_3f(enum Rotation rot, float &x, float &y, float &z)
|
||||
return;
|
||||
}
|
||||
|
||||
case ROTATION_ROLL_90_PITCH_180:
|
||||
|
||||
// FALLTHROUGH
|
||||
case ROTATION_ROLL_270_YAW_180: {
|
||||
case ROTATION_ROLL_90_PITCH_180: {
|
||||
tmp = y;
|
||||
x = -x;
|
||||
y = -z;
|
||||
|
||||
Reference in New Issue
Block a user