-
Notifications
You must be signed in to change notification settings - Fork 177
Description
My scenario:
I'm calling gen3_macro.xacro within another xacro file I am making, following a similar setup described in kortex_description/robots/*. The only difference is that I am adding a value for prefix instead of passing an empty string. The model will load fine in Gazebo, but I get errors from the controller(s) launched from <arm>/<dof>/config/joint_position_controllers.yaml saying that joint_{x} does not exist (since the prefix I added in the xacro changed all joint names but the controller is looking for joints without the prefix).
Current workaround:
I've edited joint_position_controllers.yaml file by adding my prefix to the beginning of each joint name listed in the controller params. With this change, everything looks to be working as expected.
Potential fix:
Was this functionality intentional? Is it up to the developer to make their own controller file if a prefix is used? A possible fix could be to add $(arg prefix) before all the joint names and load the yaml file with the subst_value='true' arg set when loading the params to the parameter server.