hku-mars / MARSIM

MARSIM: A light-weight point-realistic simulator for LiDAR-based UAVs
GNU General Public License v2.0
315 stars 34 forks source link

Changes to build on Ubuntu 20.04 ROS Noetic #6

Closed fratopa closed 1 year ago

fratopa commented 1 year ago

Hi! I and at least another user had a few problems compiling your repo. I changed every instance of #include <Eigen/ to #include <eigen3/Eigen/ and every instance of default(none) to /*default(none)*/ in order to compile correctly.

Furthermore, having compiled and run a few of the examples I noticed that i couldn't visualize the point-cloud coming from the sensor on Rviz. To solve the problem I changed every instance of /world into world.

Now everything works correctly, thanks again for having shared your code!

jackykongfz commented 1 year ago

Really thanks for your contribution! I have merged your code into a new branch call ubuntu20, sorry for my late reply. In fact I already solved the problem before by adding the variables into the "shared{}", but you solution also worked! Thanks again!