mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 03:03:34 +08:00
rotate_3f() implement missing ROTATION_ROLL_270_YAW_270
This commit is contained in:
@@ -42,4 +42,4 @@ SRCS = main.c \
|
||||
|
||||
MODULE_STACKSIZE = 1200
|
||||
|
||||
EXTRACFLAGS = -Wno-error
|
||||
EXTRACFLAGS = -Wno-frame-larger-than
|
||||
|
||||
@@ -182,8 +182,8 @@ rotate_3f(enum Rotation rot, float &x, float &y, float &z)
|
||||
return;
|
||||
}
|
||||
case ROTATION_ROLL_270_YAW_270: {
|
||||
// unimplemented
|
||||
ASSERT(0 == 1);
|
||||
tmp = z; z = -y; y = tmp;
|
||||
tmp = x; x = y; y = -tmp;
|
||||
return;
|
||||
}
|
||||
case ROTATION_PITCH_90: {
|
||||
|
||||
@@ -43,7 +43,6 @@ SRCS = attitude_estimator_ekf_main.cpp \
|
||||
|
||||
MODULE_STACKSIZE = 1200
|
||||
|
||||
EXTRACFLAGS = -Wno-float-equal -Wno-error
|
||||
|
||||
EXTRACXXFLAGS = -Wno-error
|
||||
EXTRACFLAGS = -Wno-float-equal
|
||||
|
||||
EXTRACXXFLAGS = -Wno-frame-larger-than
|
||||
|
||||
Reference in New Issue
Block a user