mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-08 22:11:35 +08:00
ControlMathTest: Adjust tests to account for new way of attitude generation
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user