caelan / pybullet-planning

PyBullet Planning
https://pypi.org/project/pybullet-planning/
MIT License
407 stars 114 forks source link

Fix decompose paths bug #13

Closed ChamzasKonstantinos closed 2 years ago

ChamzasKonstantinos commented 2 years ago

If a trajectory with 2 consecutive duplicate states exists, then the current implementation of decompose_into_paths will consider this a new joint_group with 0 joints since none of the joints is manipulated. The proposed fix simply removes the duplicate consecutive state.