-
Notifications
You must be signed in to change notification settings - Fork 124
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
Load the URDF to the resource_manager before parsing it to CM #262
Load the URDF to the resource_manager before parsing it to CM #262
Conversation
bd8e5be
to
86ac698
Compare
@christophfroehlich |
CI is not passing because of the new API in |
@ahcorde Bence tagged and released the required changes in the distros |
With testing package CI is passing, merging it |
https://github.com/Mergifyio backport humble iron |
✅ Backports have been created
|
* Load the URDF to the resource_manager before parsing it to CM constructor (fixes ros-controls/ros2_control#1299) (cherry picked from commit f5baf71)
* Load the URDF to the resource_manager before parsing it to CM constructor (fixes ros-controls/ros2_control#1299) (cherry picked from commit f5baf71)
…267) * Load the URDF to the resource_manager before parsing it to CM constructor (fixes ros-controls/ros2_control#1299) (cherry picked from commit f5baf71) Co-authored-by: Sai Kishor Kothakota <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
…266) * Load the URDF to the resource_manager before parsing it to CM constructor (fixes ros-controls/ros2_control#1299) (cherry picked from commit f5baf71) Co-authored-by: Sai Kishor Kothakota <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
…ntrols#262) (ros-controls#266) * Load the URDF to the resource_manager before parsing it to CM constructor (fixes ros-controls/ros2_control#1299) (cherry picked from commit f5baf71) Co-authored-by: Sai Kishor Kothakota <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
These changes are needed after the merging of ros-controls/ros2_control#1271 and ros-controls/ros2_control#1272. It seems like the gazebo_ros2_control doesn't load the URDF into the resource manager, and this is causing the CM services not to start.
However, loading the URDF with the
load_urdf
method will probably fail, because this method originally loads and initializes the hardware interfaces and this step might probably fail. For this reason, I'm catching the exception here, but the overall behaviour will work.If approved, this will need backport to Iron and Humble
Needs: ros-controls/ros2_control#1301
Fixes: ros-controls/ros2_control#1299