Skip to content

Commit c286e77

Browse files
authored
Add migration of ros2_control node to migration notes (#1458)
That was missed when doing the change.
1 parent 2303a43 commit c286e77

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

ur_robot_driver/doc/migration/jazzy.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,27 @@ other launchfiles or by using ``ros2 pkg prefix`` on the command line. For examp
5353
5454
$ ros2 launch ur_robot_driver ur_control.launch.py ur_type:=ur20 robot_ip:=192.168.56.101 \
5555
kinematics_params_file:=$(ros2 pkg prefix my_robot_cell_control)/share/my_robot_cell_control/config/my_robot_calibration.yaml
56+
57+
Removal of ros2_control_node
58+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59+
60+
The ``ros2_control_node`` has been removed from the driver in `#939
61+
<https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/pull/939>`_. Instead, the
62+
``ur_control.launch.py`` launchfile now uses the ``controller_manager``'s ``ros2_control_node``
63+
directly. This change is only relevant if you wrote your own launchfile starting the
64+
``ur_robot_driver``'s ``ros2_control_node``. In that case, you should adapt your launchfile to use
65+
the ``controller_manager``'s ``ros2_control_node`` instead. Remember to also remove the
66+
``robot_description`` parameter as explained above.
67+
68+
.. code-block:: diff
69+
70+
ur_control_node = Node(
71+
- package="ur_robot_driver",
72+
- executable="ur_ros2_control_node",
73+
+ package="controller_manager",
74+
+ executable="ros2_control_node",
75+
parameters=[
76+
- robot_description,
77+
update_rate_config_file,
78+
ParameterFile(initial_joint_controllers, allow_substs=True),
79+
],

0 commit comments

Comments
 (0)