husky / husky_robot

Robot (Hardware) packages for the Clearpath Husky
http://wiki.ros.org/Robots/Husky
48 stars 37 forks source link

Add tf_prefix parameter for hardware interface #14

Closed fmauch closed 3 months ago

fmauch commented 2 years ago

When using a robot description that uses a tf_prefix for the robot, the joint names will be different than expected in the hardware interface. This commits ads a tf_prefix parameter to the hardware node in order to pass a tf_prefix into the node.

Obviously, this could be solved differently, e.g. by reading the joint names from the parameter server completely, I've seen that approach in other RobotHW implementations, as well. That would have the benefit of being completely flexible with the downside of adding an additional list parameter to the node.

fmauch commented 2 years ago

Note, this is connected to https://github.com/husky/husky/pull/183