MPlib
MPlib copied to clipboard
Creating planner without SRDF parameter causing crash in v0.1.1
I am creating a Planner object without passing the SRDF path, and the software is crashing:
self.__path_planner = Planner(urdf=ROBOT_INFO.urdf_path,
srdf="",
user_link_names=ROBOT_INFO.links,
user_joint_names=ROBOT_INFO.joints,
move_group=TARGET_LINK_TO_MOVE,
joint_vel_limits=np.ones(7),
joint_acc_limits=np.ones(7)
)
in the same place as the urdf, the srdf file is present, and the constructor is finding the srdf file. The reason for the crash is this line in version 0.1.1 (copied bellow)
if srdf == "":
self.generate_collision_pair() # it is expecting the object to have self.link_name_2_idx but only added later to object
self.robot.update_SRDF(self.srdf)
I see this is not main anymore. Do you have a forecast for an official release where this is fixed?