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

colcon build error : has no member named ‘hardware_plugin_name #177

Closed
Shuke-rrrw opened this issue Aug 21, 2023 · 1 comment
Closed

Comments

@Shuke-rrrw
Copy link

when i colcon build,it throw the error following:
error: ‘__gnu_cxx::_alloc_traits<std::allocator<hardware_interface::HardwareInfo>, hardware_interface::HardwareInfo>::value_type’ {aka ‘struct hardware_interface::HardwareInfo’} has no member named ‘hardware_plugin_name’
404 | d::string robot_hw_sim_type_str
= control_hardware_info[i].hardware_plugin_name;

solution:change control_hardware_info[i].hardware_plugin_name to control_hardware_info[i].name;

@bmagyar
Copy link
Member

bmagyar commented Aug 21, 2023

You could also use the appropriate branch of this plugin for the distro you use ;)

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