-
Notifications
You must be signed in to change notification settings - Fork 82
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
Build gz_ros2_control for humble+harmonic #394
Comments
Have you read the compatibility table in the readme? This combination is not officially supported. |
I have read the documentation, but I want to run |
Have you tried humble or iron branch as suggested? |
I did try those branches, there is get dependency error |
Sorry, this is just not supported. What you can try is to compile the iron version of the whole ros2_control stack, this could work on humble distro but without guarantee to be stable. |
I tried building using the Starting >>> gz_ros2_control
--- stderr: gz_ros2_control
/home/jazzer/gz_ros2_control_ws/src/gz_ros2_control/gz_ros2_control/src/gz_ros2_control_plugin.cpp: In member function ‘virtual void gz_ros2_control::GazeboSimROS2ControlPlugin::Configure(const Entity&, const std::shared_ptr<const sdf::v14::Element>&, gz::sim::v8::EntityComponentManager&, gz::sim::v8::EventManager&)’:
/home/jazzer/gz_ros2_control_ws/src/gz_ros2_control/gz_ros2_control/src/gz_ros2_control_plugin.cpp:428:67: 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’
428 | std::string robot_hw_sim_type_str_ = control_hardware_info[i].hardware_plugin_name;
| ^~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [CMakeFiles/gz_ros2_control-system.dir/build.make:76: CMakeFiles/gz_ros2_control-system.dir/src/gz_ros2_control_plugin.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/gz_ros2_control-system.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [Makefile:146: all] Error 2 This might be fixable with some tweaking in the source code. |
I Did It!!! changing I will create a new branch in my fork called |
fyi, there is a similar fork for humble+garden: #268 It might have been possible to also compile iron version of ros2_control+controllers from source instead of changing the variable, for example with this repos file. |
That is the idea, I am trying to understand the CI process so that I can publish a branch, and make it available through |
THB I don't think that this is worth it. |
Thanks! I will do that and update here. |
System Config:
ROS Distro : Humble
Gazebo Version: Harmonic
Linux Version: Ubuntu Jammy (Running Inside Docker)
Help Needed:
I need help on how to install and setup
gz_ros2_control plugin
onROS Humble
withGazebo Harmonic
.While Compiling from source I get the following error:
The text was updated successfully, but these errors were encountered: