-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
NOTE: This response is generated from an AI agent, try it but do it with a pinch of salt
Resolution:
The issue appears to be due to using the wrong branch or incompatible dependencies for kindr_ros in your ROS 2 workspace. To resolve this, please ensure you are using the correct branch for ROS 2 compatibility and that all dependencies are properly sourced.
Suggested Fix:
- Use the
galacticbranch ofkindr_ros. It offers better ROS 2 support and is confirmed by the maintainer to work. - Remove any previous clones of
kindr_rosfrom your workspace. Then clone the galactic branch with:cd ~/ros2_ws/src rm -rf kindr_ros git clone -b galactic https://github.com/SivertHavso/kindr_ros.git
- Check if your workspace includes the needed
kindrcore headers. If not, you may need to pull them from the upstreamANYbotics/kindrrepository (but note that only ROS 1 is officially supported). For ROS 2, only the headers are needed bykindr_ros. - Make sure
std_msgsfor ROS 2 is installed and properly sourced.sudo apt install ros-humble-std-msgs source /opt/ros/humble/setup.bash - If errors persist, try deleting build and install folders:
cd ~/ros2_ws rm -rf build install log colcon build --symlink-install --event-handlers console_cohesion+ # Optional: see full output
If you follow these steps, most users are able to successfully build kindr_ros (galactic branch) in ROS 2 Humble. If any additional errors appear, please paste them here for further help.
References:
Let us know if you need more detailed help or if additional errors appear after following these steps!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels