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

set is_urdf_loaded__ of the resource manager to true #896

Merged
merged 2 commits into from
Feb 15, 2024
Merged

set is_urdf_loaded__ of the resource manager to true #896

merged 2 commits into from
Feb 15, 2024

Conversation

skpawar1305
Copy link
Contributor

@skpawar1305 skpawar1305 commented Feb 14, 2024

it's probably needed after ros-controls/ros2_control@385293e

fixes #893

Description
After, ros-controls/ros2_control@385293e, init_services() won't be called unless is_urdf_loaded__ is set to true. Passing robot description again led to controller name duplicate error.

Related Issues
This pull-request fixes issue #893

Affected Packages
List of affected packages:

  • webots_ros2_control

Tasks
Add the list of tasks of this PR.

  • Fix ros2_control usage for ros2 humble

@skpawar1305 skpawar1305 requested a review from omichel February 14, 2024 21:08
@omichel
Copy link
Member

omichel commented Feb 15, 2024

Thank you. That seems to fix the problem indeed. The ROS2 tests are now passing on humble (main)!

@omichel omichel added the bug Something isn't working label Feb 15, 2024
@omichel omichel added this to the 2023.1.2 milestone Feb 15, 2024
@omichel omichel merged commit b56cc41 into cyberbotics:master Feb 15, 2024
3 of 7 checks passed
@skpawar1305 skpawar1305 deleted the skpawar1305-fix-ros2_control-usage branch February 15, 2024 13:32
@elad-eyal
Copy link

noob question if you will, @omichel - how long until sudo apt ros-humble-ros2-control on Ubuntu 22.04 takes the version with this change? (or actually, how could tell that that version should be working?). thanks

@omichel
Copy link
Member

omichel commented Feb 18, 2024

I don't have time for this, but @Yadunund was planning to bloom a release, see #883.

@Yadunund
Copy link
Member

I don't have time for this, but @Yadunund was planning to bloom a release, see #883.

The release is blocked by several test failures on master which need to be resolved first. See #892 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

ROS2 Humble with Ubuntu 22.04 can't communicate with the demos robots
4 participants