Interbotix / interbotix_ros_core

Core ROS Packages for Interbotix Robots
BSD 3-Clause "New" or "Revised" License
30 stars 57 forks source link

Galactic build fails #19

Closed Zhuomin-Zhou closed 2 years ago

Zhuomin-Zhou commented 2 years ago

Hi,

I was trying to colcon build the galactic wrapper, but the error occurred below. and I was trying to use rosdep install to fix it, but that was not working. Thanks in advance!

Min

errors: ``` Starting >>> interbotix_xs_msgs Finished <<< interbotix_xs_msgs [12.1s] Starting >>> interbotix_xs_sdk --- stderr: interbotix_xs_sdk CMake Error at CMakeLists.txt:16 (find_package): By not providing "Finddynamixel_workbench_toolbox.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "dynamixel_workbench_toolbox", but CMake did not find one. Could not find a package configuration file provided by "dynamixel_workbench_toolbox" with any of the following names: dynamixel_workbench_toolboxConfig.cmake dynamixel_workbench_toolbox-config.cmake Add the installation prefix of "dynamixel_workbench_toolbox" to CMAKE_PREFIX_PATH or set "dynamixel_workbench_toolbox_DIR" to a directory containing one of the above files. If "dynamixel_workbench_toolbox" provides a separate development package or SDK, be sure it has been installed. --- Failed <<< interbotix_xs_sdk [1.41s, exited with code 1] Summary: 1 package finished [13.6s] 1 package failed: interbotix_xs_sdk 1 package had stderr output: interbotix_xs_sdk 1 package not processed ```
lukeschmitt-tr commented 2 years ago

The galactic branch is still under development and is not yet fully supported. However, if you would like to start using the ROS2 packages, you can run the following commands to build the interbotix_ros_core/interbotix_ros_xseries packages.

mkdir -p interbotix_ros2_ws/src
cd interbotix_ros2_ws/src
git clone https://github.com/Interbotix/interbotix_ros_core.git -b galactic
cd interbotix_ros_core
git submodule init interbotix_ros_xseries/dynamixel_workbench_toolbox/
git submodule update
rm interbotix_ros_xseries/COLCON_IGNORE
cd ../..
rosdep install --from-paths src --ignore-src -r -y --rosdistro=$ROS_DISTRO
colcon build
Zhuomin-Zhou commented 2 years ago

Hi @LSinterbotix,

It works, thank you! The reason that I did not successfully colon build is that I used the wrong version of dynamixel_workbench_toolbox . Thank you for your help!

Min

lukeschmitt-tr commented 2 years ago

Great! Feel free to close this if your issue is solved.