mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
AP_Math: add pitch-7 to rotation tests
This commit is contained in:
parent
e2eda63d2c
commit
e4de5a17d1
@ -69,6 +69,7 @@ TEST(VectorTest, Rotations)
|
||||
TEST_ROTATION(ROTATION_ROLL_90_PITCH_68_YAW_293, -0.4066309f, -1.5839677f, -0.5706992f);
|
||||
TEST_ROTATION(ROTATION_PITCH_315, 0, 1, SQRT_2);
|
||||
TEST_ROTATION(ROTATION_ROLL_90_PITCH_315, 0, -1, SQRT_2);
|
||||
TEST_ROTATION(ROTATION_PITCH_7, 1.1144155f, 1, 0.87067682f);
|
||||
|
||||
EXPECT_EQ(ROTATION_MAX, rotation_count) << "All rotations are expect to be tested";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user