mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 17:35:22 +08:00
set verbose flag for Dcm.renormalize test
This commit is contained in:
committed by
Lorenz Meier
parent
03beeb2e55
commit
9603794b9d
@@ -682,7 +682,7 @@ bool MatrixTest::vectorAssignmentTests(void)
|
||||
|
||||
bool MatrixTest::dcmRenormTests(void)
|
||||
{
|
||||
bool verbose = false;
|
||||
bool verbose = true;
|
||||
|
||||
Dcm<float> A = eye<float, 3>();
|
||||
Euler<float> euler(0.1f, 0.2f, 0.3f);
|
||||
@@ -717,7 +717,7 @@ bool MatrixTest::dcmRenormTests(void)
|
||||
printf("renorm error: %e\n", (double)err);
|
||||
}
|
||||
|
||||
static const float eps = 1e-7f;
|
||||
static const float eps = 1e-6f;
|
||||
ut_test(err < eps);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user