tesseract_planning icon indicating copy to clipboard operation
tesseract_planning copied to clipboard

Correctly handle cartesian waypoints in SimplePlannerFixedSizeAssignPlanProfile

Open rjoomen opened this issue 11 months ago • 4 comments

Previously, when the only second position was cartesian, the SimplePlannerFixedSizeAssignPlanProfile would take the joint position of the first position as seed, or, if both were cartesian, it would take the environment state as seed, leading to strange planning results. With this PR the 'seed' of the second cartesian position is used if available, or the IK of the second position is calculated using either the first position or the environment state as seed.

rjoomen avatar Mar 18 '24 16:03 rjoomen

If you agree with this PR I'll fix the tests.

rjoomen avatar Mar 18 '24 17:03 rjoomen

I will review today

Levi-Armstrong avatar Mar 19 '24 12:03 Levi-Armstrong

I do not believe this one is intended to run inverse kinematics.

Levi-Armstrong avatar Mar 21 '24 00:03 Levi-Armstrong

I do believe it should be updated to leverage the seed but should not run inverse kinematics. If I remember correctly this was intended to just used the current state.

Levi-Armstrong avatar Mar 21 '24 01:03 Levi-Armstrong

I do believe it should be updated to leverage the seed but should not run inverse kinematics. If I remember correctly this was intended to just used the current state.

OK, but shouldn't it be called SimplePlannerFixedSizeAssignNoIKPlanProfile instead of SimplePlannerFixedSizeAssignPlanProfile, for clarity and to match SimplePlannerLVSNoIKPlanProfile?

rjoomen avatar May 03 '24 09:05 rjoomen

I do believe it should be updated to leverage the seed but should not run inverse kinematics. If I remember correctly this was intended to just used the current state.

OK, but shouldn't it be called SimplePlannerFixedSizeAssignNoIKPlanProfile instead of SimplePlannerFixedSizeAssignPlanProfile, for clarity and to match SimplePlannerLVSNoIKPlanProfile?

I am good with changing the name to make it more clear.

Levi-Armstrong avatar May 08 '24 16:05 Levi-Armstrong

I've done more work, including the NoIK renaming, and added it all to #448. Closing this PR.

rjoomen avatar May 29 '24 14:05 rjoomen