tu-darmstadt-ros-pkg / pointcloud_accumulator

Nodelet to build an ikd-Tree from incoming PointCloud messages to build a downsampled cloud of the complete environment.
1 stars 0 forks source link

make fail. cartographer msgs problem #1

Open mjlee111 opened 1 year ago

mjlee111 commented 1 year ago

I got this error while building the package. Seems there is no msg file in cartographer_ros called StampedSubmapEntry.

In file included from /home/m/catkin_ws/src/pointcloud_accumulator/pointcloud_accumulator/src/pointcloud_accumulator_nodelet.cpp:4:
/home/m/catkin_ws/src/pointcloud_accumulator/pointcloud_accumulator/include/pointcloud_accumulator/pointcloud_accumulator.h:10:10: fatal error: cartographer_ros_msgs/StampedSubmapEntry.h: No such file or directory
   10 | #include <cartographer_ros_msgs/StampedSubmapEntry.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [pointcloud_accumulator/pointcloud_accumulator/CMakeFiles/pointcloud_accumulator.dir/build.make:102: pointcloud_accumulator/pointcloud_accumulator/CMakeFiles/pointcloud_accumulator.dir/src/pointcloud_accumulator_nodelet.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/m/catkin_ws/src/pointcloud_accumulator/pointcloud_accumulator/src/pointcloud_accumulator.cpp:1:
/home/m/catkin_ws/src/pointcloud_accumulator/pointcloud_accumulator/include/pointcloud_accumulator/pointcloud_accumulator.h:10:10: fatal error: cartographer_ros_msgs/StampedSubmapEntry.h: No such file or directory
   10 | #include <cartographer_ros_msgs/StampedSubmapEntry.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [pointcloud_accumulator/pointcloud_accumulator/CMakeFiles/pointcloud_accumulator.dir/build.make:76: pointcloud_accumulator/pointcloud_accumulator/CMakeFiles/pointcloud_accumulator.dir/src/pointcloud_accumulator.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9243: pointcloud_accumulator/pointcloud_accumulator/CMakeFiles/pointcloud_accumulator.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j16 -l16" failed
Martin-Oehler commented 11 months ago

This repository uses our cartographer fork hectorgrapher. It seems like this information is missing in the README, sorry about that. However, this dependency should not be required for the core functionality, just for submap-support. You might be able to comment it out with low effort.