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 71bef41 commit a68cc53Copy full SHA for a68cc53
src/control/motion_primitives.cpp
@@ -56,11 +56,8 @@ bool MotionPrimitive::validate() const
56
57
bool SplinePrimitive::validate() const
58
{
59
- if (duration <= std::chrono::milliseconds(0))
60
- {
61
- URCL_LOG_ERROR("Duration must be greater than zero.");
62
- return false;
63
- }
+ // Spline primitives don't have the same restriction as others do. Whether the primitives are valid or not
+ // is checked in the URScript program.
64
return true;
65
}
66
bool OptimoveJPrimitive::validate() const
0 commit comments