Skip to content

Commit 0faf1f8

Browse files
committed
ControlMathTest: Adjust tests to account for new way of attitude generation
1 parent a7ce72e commit 0faf1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/mc_pos_control/PositionControl/ControlMathTest.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ TEST_F(ControlMathAttitudeMappingTest, AttitudeMappingUpsideDownYaw90)
8989
* reason: thrust points straight down and order Euler
9090
* order is: 1. roll, 2. pitch, 3. yaw */
9191
checkDirection(Vector3f(0, 0, 1), M_PI_2_F);
92-
checkEuler(-M_PI_F, 0, M_PI_2_F);
92+
checkEuler(M_PI_F, 0, -M_PI_2_F);
9393
}
9494

9595
TEST_F(ControlMathAttitudeMappingTest, AttitudeMappingRandomDirections)

0 commit comments

Comments
 (0)