gz_ros2_control icon indicating copy to clipboard operation
gz_ros2_control copied to clipboard

Loading configuration file

Open delihus opened this issue 1 year ago • 0 comments

Is it possible to create ros2_control_node in launch or parse configuration via launch not URDF?

The case is to create a multiple robot system with the same robots thus it is needed only one file. Nav2 created great feature to override the namespace with <rosbot_namespace> in yaml files. Here: https://github.com/ros-planning/navigation2/blob/15c9be0aa5d09dd3be40bb46a66a5175464dd1a4/nav2_bringup/launch/rviz_launch.py#L69 and here: https://github.com/ros-planning/navigation2/blob/15c9be0aa5d09dd3be40bb46a66a5175464dd1a4/nav2_bringup/params/nav2_multirobot_params_all.yaml#L215

I would like to create the config file which has:

imu_sensor_broadcaster:
  sensor_name: <robot_namespace>imu

use the ReplaceString feature and send the changed configuration file to the ros2_control_node.

delihus avatar Dec 06 '23 12:12 delihus