CommonplaceRobotics / iRC_ROS

ROS2 packages for the igus Robot Control
Apache License 2.0
15 stars 7 forks source link

Joint names, prefixes, namespaces, chaining urdfs together #14

Closed cpr-fer closed 1 year ago

cpr-fer commented 1 year ago

The current approach to combine e.g. mobile platform, robot and gripper together relies on different names for each joint of the combines robot model. This not only means that at most a single world joint may exist, but also that base_link is currently only used for robot arms, while the platforms base link is called chassis. This can confuse rviz, as well as require adapting configuration files to the non_standard names. Lastly this makes it impossible to use multiple robots, platforms or grippers concurrently.

As such it is a high priority issue to resolve this with joint prefixes or namespaces. I haven't researched this enough to be sure which approach is the standard ROS2 way of doing this.

Edit: This seems to give a good overview over what is required to make multiple robots work:

Once this is done: