We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14b6f9a commit 4d1f730Copy full SHA for 4d1f730
tests/inverse_dynamics.cpp
@@ -36,7 +36,9 @@ void check_joint_limits(
36
BOOST_CHECK_LE(q[7 + i], model_handler.getModel().upperPositionLimit[7 + i]);
37
BOOST_CHECK_GE(q[7 + i], model_handler.getModel().lowerPositionLimit[7 + i]);
38
BOOST_CHECK_LE(v[6 + i], model_handler.getModel().upperVelocityLimit[6 + i]);
39
- BOOST_CHECK_GE(v[6 + i], -model_handler.getModel().upperVelocityLimit[6 + i]);
+ BOOST_CHECK_GE(
40
+ v[6 + i],
41
+ -model_handler.getModel().upperVelocityLimit[6 + i]); // Do not use lower velocity bound as TSID cannot handle it
42
BOOST_CHECK_LE(tau[6 + i], model_handler.getModel().upperEffortLimit[6 + i]);
43
BOOST_CHECK_GE(tau[6 + i], model_handler.getModel().lowerEffortLimit[6 + i]);
44
}
0 commit comments