Interbotix / interbotix_ros_toolboxes

Support-level ROS Packages for Interbotix Robots
BSD 3-Clause "New" or "Revised" License
29 stars 68 forks source link

Add ability to describe multiple arms using xs_launch #65

Closed lukeschmitt-tr closed 7 months ago

lukeschmitt-tr commented 7 months ago

This PR adds the ability to create multiple robot descriptions through the xs_launch module's DeclareInterbotixXSArmRobotDescriptionLaunchArgument class and declare_interbotix_xsarm_robot_description_launch_arguments method.

To do so, one can pass in custom names to declare_interbotix_xsarm_robot_description_launch_arguments for the following launch configuration/arguments for each robot to be launched:

These names are passed down to the DeclareInterbotixXSArmRobotDescriptionLaunchArgument class which creates a custom-named robot description LaunchConfiguration that can be accessed in launch files.