HKUST-Aerial-Robotics / Fast-Planner

A Robust and Efficient Trajectory Planner for Quadrotors
GNU General Public License v3.0
2.4k stars 665 forks source link

Add compatibility for ROS Melodic on Ubuntu 18.04 #74

Open tinng81 opened 3 years ago

tinng81 commented 3 years ago

Summary

I'm working on this project on ROS Melodic and stumble across small issues to build it but manage to resolve it and am proceeding to the next step. Hope everyone can benefit from the following notes.

Configurations

Replication Steps

  sudo apt-get install libnlopt-dev libarmadillo-dev
  cd ${YOUR_WORKSPACE_PATH}/src
  git clone https://github.com/HKUST-Aerial-Robotics/Fast-Planner.git
  cd ../
  catkin build

Side note: My installation ofnlopt library require an extra step to symlink otherwise it couldn't detect it

$ sudo apt-get install libnlopt-dev
$ dpkg -L libnlopt-dev
...
/usr/lib/x86_64-linux-gnu/libnlopt.so
...
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libnlopt.so /usr/local/lib/libnlopt.so

Also, a quick catkin build multi_map_server resolved the following problem

/Fast-Planner/uav_simulator/Utils/multi_map_server/src/multi_map_visualization.cc:5:10: fatal error: multi_map_server/MultiOccupancyGrid.h: No such file or directory
 #include <multi_map_server/MultiOccupancyGrid.h>
Cavalletta98 commented 1 year ago

When will be merged?