File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
ur_robot_driver/doc/migration Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff 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+ ],
You can’t perform that action at this time.
0 commit comments