mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 13:47:35 +08:00
This reverts commit 21e04c9f7a.
This commit is contained in:
@@ -317,9 +317,9 @@ bool MatrixTest::filterTests()
|
||||
|
||||
bool MatrixTest::helperTests()
|
||||
{
|
||||
ut_test(::fabs(wrap_pi(4.0) - (4.0 - 2 * M_PI)) < 1e-5);
|
||||
ut_test(::fabs(wrap_pi(-4.0) - (-4.0 + 2 * M_PI)) < 1e-5);
|
||||
ut_test(::fabs(wrap_pi(3.0) - (3.0)) < 1e-3);
|
||||
ut_test(fabs(wrap_pi(4.0) - (4.0 - 2 * M_PI)) < 1e-5);
|
||||
ut_test(fabs(wrap_pi(-4.0) - (-4.0 + 2 * M_PI)) < 1e-5);
|
||||
ut_test(fabs(wrap_pi(3.0) - (3.0)) < 1e-3);
|
||||
wrap_pi(NAN);
|
||||
|
||||
Vector3f a(1, 2, 3);
|
||||
|
||||
Reference in New Issue
Block a user