ANYbotics / elevation_mapping

Robot-centric elevation mapping for rough terrain navigation
BSD 3-Clause "New" or "Revised" License
1.25k stars 436 forks source link

ros2 cannot build due to catkin #206

Open chestnerd opened 2 years ago

chestnerd commented 2 years ago

Hello! The elevation_mapping provides ros2 branch, however it uses catkin, which is the build system only for ros1. ros2 uses colcon. Therefore I was not able to build elevation_mapping in ros2. Would you mind sharing your experience of how you did it?

The error is:

 Could not find a package configuration file provided by "catkin" with any of the following names:`

    catkinConfig.cmake
    catkin-config.cmake

Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set "catkin_DIR" to a directory containing one of the above files.  If "catkin" provides a separate development package or SDK, be sure it has been installed.

Besides, one of the dependencies of elevation_mapping, kindr_ros, also uses catkin.

Thank you in advance!

Myzhar commented 1 year ago

Any update regarding the ROS2 porting. I'd like to test elevation_mapping in ROS2 Humble, but it seems that the ros2 branch is still not working.