Fast-Planner icon indicating copy to clipboard operation
Fast-Planner copied to clipboard

Add compatibility for ROS Melodic on Ubuntu 18.04

Open tinng81 opened this issue 4 years ago • 1 comments

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

  • OS: Ubuntu 18.04.4 LTS
  • ROS Distro: melodic
  • ROS Version: 1.14.9
  • catkin_tools: 0.6.1
  • Python: 2.7.17

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>

tinng81 avatar Nov 08 '20 08:11 tinng81

When will be merged?

Cavalletta98 avatar Nov 11 '22 10:11 Cavalletta98