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

ign_ros2_control fail to build [humble] #229

Closed
carlospereira179 opened this issue Jan 26, 2024 · 1 comment
Closed

ign_ros2_control fail to build [humble] #229

carlospereira179 opened this issue Jan 26, 2024 · 1 comment

Comments

@carlospereira179
Copy link

I encountered this issue when building this package on the humble branch.

.../gz_ros2_control/ign_ros2_control/src/ign_ros2_control_plugin.cpp:382:33: error: no matching function for call to ‘hardware_interface::ResourceManager::load_urdf(std::string&, bool, bool)’ 382 | resource_manager_->load_urdf(urdf_string, false, false); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~

The error seems to be with one extra boolean argument on that load_urdf method. The log also show this:

/opt/ros/humble/include/hardware_interface/resource_manager.hpp:84:8: note: candidate: ‘void hardware_interface::ResourceManager::load_urdf(const string&, bool)’ 84 | void load_urdf(const std::string & urdf, bool validate_interfaces = true); | ^~~~~~~~~
check here

I deleted one of the "false" arguments and the package builds just fine

@ahcorde
Copy link
Collaborator

ahcorde commented Jan 26, 2024

related with this other issue #228

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

No branches or pull requests

2 participants