mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 05:13:35 +08:00
Fixed rotation code style
This commit is contained in:
@@ -233,6 +233,7 @@ rotate_3f(enum Rotation rot, float &x, float &y, float &z)
|
||||
y = -y;
|
||||
return;
|
||||
}
|
||||
|
||||
case ROTATION_PITCH_90_ROLL_90: {
|
||||
tmp = x; x = y;
|
||||
y = -z; z = -tmp;
|
||||
|
||||
Reference in New Issue
Block a user