rotate_3f() implement missing ROTATION_ROLL_270_YAW_270

This commit is contained in:
Daniel Agar
2014-12-23 11:18:30 -05:00
parent d511e39ea7
commit d14fdf896b
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -42,4 +42,4 @@ SRCS = main.c \
MODULE_STACKSIZE = 1200
EXTRACFLAGS = -Wno-error
EXTRACFLAGS = -Wno-frame-larger-than
+2 -2
View File
@@ -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: {
+2 -3
View File
@@ -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