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

Messeage_logger header not found #212

Closed valli96 closed 1 year ago

valli96 commented 2 years ago

When I try to build the tests for the elevation_mapping project with catkin build --catkin-make-args run_tests -- --this

the build fails with this error message

~/catkin_ws/src/elevation_mapping/elevation_mapping/test/ThreadSafeParameterWrapperTest.cpp:7:10: fatal error: message_logger/message_logger.hpp: No such file or directory
 #include <message_logger/message_logger.hpp>

I installed the missing packed even if it is not mentioned in the dependencies, nevertheless I get this error message.

I tried to run the project demo without the test with roslaunch elevation_mapping_demos ground_truth_demo.launch

I encounter this error

ERROR: cannot launch node of type [point_cloud_io/read]: point_cloud_io

Are the errors connected to each other? Do I need a different version of PCL?

I encounter the same problems using melodic (Ubuntu 18.04) and noetic (Ubuntu 20.04).
Thank you in advance.

valli96 commented 2 years ago

I could solve the first problem with the missing message_logger package. The message_logger project of ANYbotics has to be cloned and build in the same catkin src directory as all the other dependencies.

I still can't run the "ground_truth_demo.launch" I am getting the same error as before.

 ERROR: cannot launch node of type [point_cloud_io/read]: point_cloud_io

Did anyone face the same problem?

maximilianwulf commented 2 years ago

Hey, thank you for the issue.

We will make an MR to solve the first one. You are right the dependency is missing. https://github.com/ANYbotics/message_logger

For the 2nd one, you should have the dependency installed. We at least require it in the demo package, see here: https://github.com/ANYbotics/elevation_mapping/blob/master/elevation_mapping_demos/package.xml#L21

valli96 commented 1 year ago

Thank you, this solved the problem :)