ControlMathTest: Adjust tests to account for new way of attitude generation

This commit is contained in:
Matthias Grob
2023-09-20 19:33:53 +02:00
parent e21b43f5e2
commit 05b4914983
@@ -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)