You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
The text was updated successfully, but these errors were encountered: