Moveit2 tutoral launching multiple nodes

asked 2022-01-11 18:24:49 -0500

tonka46 gravatar image

I an migrating form ROS to ROS 2 Galactic. Following the Movet2 tutorials I am following the Move Group C++ Interface tutorial where running the launch files below multiple versions of nodes see list of nodes below and warning. The result is RVIZ with a visible robot but no response when attempting to step through the tutorial.

This post is similar though deleting the line name="move_group_interface_tutorial" from move_group_interface_tutorial.launch.py as suggested still launches two nodes now named /move_group_interface_node and /move_group_interface_tutorial. My assumption is I am calling two launch files some how? Is that even possible?

The tutorials to appear to skip the Getting Started page when linking from the insulation instructions so while I cant guarantee I haven't missed some thing simple I don't think I have.

launch files

ros2 launch moveit2_tutorials move_group.launch.py

and

ros2 launch moveit2_tutorials move_group_interface_tutorial.launch.py

node list

WARNING: Be aware that are nodes in the graph that share an exact name, this can have unintended side effects.
/controller_manager
/interactive_marker_display_94679262493968
/joint_state_broadcaster
/mongodb
/move_group
/move_group_interface_tutorial
/move_group_interface_tutorial
/move_group_private_94329898136544
/moveit_simple_controller_manager
/panda_arm_controller
/panda_hand_controller
/robot_state_publisher
/rviz2
/rviz2
/rviz2
/rviz2_private_140710040833136
/rviz2_private_140710175442080
/static_transform_publisher
/transform_listener_impl_55cae41a4bf0
/transform_listener_impl_561c3ba47310
/transform_listener_impl_561c3babb080
/transform_listener_impl_7ff99c003a40
/transform_listener_impl_7ff9a4065790

warning from launching move_group_interface_tutorial.launch.py

[move_group_interface_tutorial-1] [WARN] [1641945899.713964286] [rcl.logging_rosout]: Publisher already registered for provided node name. If this is due to multiple nodes with the same name then all logs for that logger name will go out over the existing publisher. As soon as any node with that name is destructed it will unregister the publisher, preventing any further logs for that name from being published on the rosout topic.
edit retag flag offensive close merge delete