haosulab / MPlib

a Lightweight Motion Planning Package
https://motion-planning-lib.readthedocs.io/
MIT License
97 stars 16 forks source link

Planner init bug #65

Closed Chaoqi-LIU closed 4 months ago

Chaoqi-LIU commented 4 months ago

Hi, in planner.py, Planner.init(...), if the srdf == '', then on line 74, it calles self.generate_collision_pair(), before assign self_user_link_names. However, inside self.generate_collision_pair(), on line 138, n_link = len(self.user_link_names). This leads to AttributeError: 'Planner" object has no attribute 'user_link_names'.

KolinGuo commented 4 months ago

Hi, thank you for catching the bug! We just pushed a fix regarding the bug. Please install the latest wheel from https://github.com/haosulab/MPlib/releases/tag/nightly.