mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-21 19:03:18 +08:00
rotation: added another missing rotation
This commit is contained in:
@@ -194,5 +194,10 @@ rotate_3f(enum Rotation rot, float &x, float &y, float &z)
|
||||
tmp = z; z = x; x = -tmp;
|
||||
return;
|
||||
}
|
||||
case ROTATION_ROLL_180_PITCH_270: {
|
||||
tmp = z; z = x; x = tmp;
|
||||
y = -y;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user