Skip to content
Snippets Groups Projects
Unverified Commit cfb0ab49 authored by Maximilien Naveau's avatar Maximilien Naveau
Browse files

update the threshold on acceleration as it's done by finite differencing

parent c2c6ef1e
No related branches found
No related tags found
No related merge requests found
......@@ -386,7 +386,7 @@ BOOST_AUTO_TEST_CASE(derivate_computation_check) {
point3_t error = traj_acc_discr[i] - traj_acc_discr[i - 1];
for (Eigen::Index row = 0; row < error.rows(); ++row) {
for (Eigen::Index col = 0; col < error.cols(); ++col) {
BOOST_CHECK_LE(std::abs(error(row, col)), 1e-2);
BOOST_CHECK_LE(std::abs(error(row, col)), 1);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment