Hello,
I have an orientation constraint added to my planning group using group.setPathConstraints(path_constraint). When I move to a position target using group.setPositionTarget(x,y,z), the orientation constraint is satisfied.
I next tried using group.computeCartesianPath() after setting group.setPathConstraints(path_constraint). The waypoint used was the same as in group.setPositionTarget(x,y,z) - which is only a few mm away from the current position. I was not sure what to set for waypoint.pose.orientation, so I set waypoint.pose.orientation.w = 1. The Cartesian path for this waypoint failed with a 0.00% following percentage.
What is the correct way to specify a waypoint for computeCartesianPath() when I only want to provide an (x,y,z) position and have the orientation enforced by the orientation constraint?
Thanks,
Josh