openrave icon indicating copy to clipboard operation
openrave copied to clipboard

Why not "return 0" instead of "return true" in CheckPathAllConstraints when _checkpathvelocityconstraintsfn is empty

Open ompugao opened this issue 4 years ago • 0 comments

if return 1 on default, true is casted into (int)1, which means that it always claims that the specified path segment has some problem on CFO_CheckEnvCollisions? Am I wrong?

https://github.com/rdiankov/openrave/blob/production/include/openrave/planner.h#L271

// it is quite rare to keep _checkpathvelocityconstraintsfn empty though.

ompugao avatar Feb 17 '21 02:02 ompugao