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 8dcfe27 commit 71bef41Copy full SHA for 71bef41
src/control/motion_primitives.cpp
@@ -56,7 +56,7 @@ bool MotionPrimitive::validate() const
56
57
bool SplinePrimitive::validate() const
58
{
59
- if (duration <= 0)
+ if (duration <= std::chrono::milliseconds(0))
60
61
URCL_LOG_ERROR("Duration must be greater than zero.");
62
return false;
0 commit comments