Skip to content

Add migration of ros2_control node to migration notes #1458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions ur_robot_driver/doc/migration/jazzy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,27 @@ other launchfiles or by using ``ros2 pkg prefix`` on the command line. For examp

$ ros2 launch ur_robot_driver ur_control.launch.py ur_type:=ur20 robot_ip:=192.168.56.101 \
kinematics_params_file:=$(ros2 pkg prefix my_robot_cell_control)/share/my_robot_cell_control/config/my_robot_calibration.yaml

Removal of ros2_control_node
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The ``ros2_control_node`` has been removed from the driver in `#939
<https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/pull/939>`_. Instead, the
``ur_control.launch.py`` launchfile now uses the ``controller_manager``'s ``ros2_control_node``
directly. This change is only relevant if you wrote your own launchfile starting the
``ur_robot_driver``'s ``ros2_control_node``. In that case, you should adapt your launchfile to use
the ``controller_manager``'s ``ros2_control_node`` instead. Remember to also remove the
``robot_description`` parameter as explained above.

.. code-block:: diff

ur_control_node = Node(
- package="ur_robot_driver",
- executable="ur_ros2_control_node",
+ package="controller_manager",
+ executable="ros2_control_node",
parameters=[
- robot_description,
update_rate_config_file,
ParameterFile(initial_joint_controllers, allow_substs=True),
],
Loading