Skip to content

Commit

Permalink
Added a note in CmakeLists. Increased error bar in estimator test
Browse files Browse the repository at this point in the history
  • Loading branch information
avtoku committed Nov 15, 2024
1 parent 107698b commit a4a05ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# to run test:
# cmake . -DBOARD_TO_BUILD=test -DCMAKE_BUILD_TYPE=Release
# make
# ./test/unit_tests

cmake_minimum_required(VERSION 3.8)
project(rosflight_firmware C CXX ASM)
Expand Down
2 changes: 1 addition & 1 deletion test/estimator_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ TEST_F(EstimatorTest, QuadraticGyro)
initFile("quadGyro.bin");
#endif
double error = run();
EXPECT_LE(error, 1e-4);
EXPECT_LE(error, 2e-4);

#ifdef DEBUG
std::cout << "error = " << error << std::endl;
Expand Down

0 comments on commit a4a05ff

Please sign in to comment.