diff --git a/src/modules/mc_pos_control/PositionControl/ControlMathTest.cpp b/src/modules/mc_pos_control/PositionControl/ControlMathTest.cpp index 5bc02b7e18..f12c34800a 100644 --- a/src/modules/mc_pos_control/PositionControl/ControlMathTest.cpp +++ b/src/modules/mc_pos_control/PositionControl/ControlMathTest.cpp @@ -151,7 +151,7 @@ TEST_F(ControlMathAttitudeMappingTest, AttitudeMappingUpsideDownYaw90) * reason: thrust points straight down and order Euler * order is: 1. roll, 2. pitch, 3. yaw */ checkDirection(Vector3f(0.f, 0.f, 1.f), M_PI_2_F); - checkEuler(-M_PI_F, 0.f, M_PI_2_F); + checkEuler(M_PI_F, 0.f, -M_PI_2_F); } TEST_F(ControlMathAttitudeMappingTest, AttitudeMappingRandomDirections)