Skip to content
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

Move starting the robot_state_publisher to an own launch file #977

Merged
merged 6 commits into from
May 6, 2024

Conversation

fmauch
Copy link
Collaborator

@fmauch fmauch commented Apr 22, 2024

Doing this should greatly improve usability in cases where people want to specify their own description.

With this change, we can e.g. specify our own description using something like

ros2 launch ur_robot_driver ur_control.launch.py description_launchfile:=$(ros2 pkg prefix my_robot_cell_control)/share/my_robot_cell_control/launch/rsp.launch.py robot_ip:=123 use_mock_hardware:=true ur_type:=ur20 tf_prefix:=ur20_

This was developed during finishing UniversalRobots/Universal_Robots_ROS_Tutorials#12

@fmauch fmauch self-assigned this Apr 22, 2024
@fmauch fmauch requested a review from VinDp April 24, 2024 11:16
@fmauch fmauch marked this pull request as ready for review April 24, 2024 11:16
@fmauch fmauch linked an issue Apr 24, 2024 that may be closed by this pull request
1 task
Copy link
Collaborator

@VinDp VinDp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good and works. I have only 2 very small suggestions!

ur_robot_driver/launch/ur_control.launch.py Outdated Show resolved Hide resolved
ur_robot_driver/launch/ur_control.launch.py Outdated Show resolved Hide resolved
Co-authored-by: Vincenzo Di Pentima <DiPentima@fzi.de>
@fmauch fmauch merged commit 0dd8770 into UniversalRobots:main May 6, 2024
6 of 7 checks passed
@fmauch fmauch deleted the playground_rsp_launch branch May 6, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(ur_control.launch.py) custom description file from custom pkg
2 participants