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

Migrating to ubuntu 18.04/ROS melodic #81

Open realdealneil opened 3 years ago

realdealneil commented 3 years ago

I tried building this in Ubuntu 18.04, and I'm running into a couple of issues. I have fixed one, but not the second:

1) In uav_simulator/so3_control/src/so3_control_nodelet.cpp, PLUGINLIB_DECLARE_CLASS has been deprecated and replaced with PLUGINLIB_EXPORT_CLASS. I fixed this and it now compiles.
2) When re-running catkin_make, I get this error:

make[2]: No rule to make target '/usr/local/lib/libnlopt.so', needed by '/home/neil/devel/raptor_quad/raptor_ws/devel/lib/libbspline_opt.so'. Stop. CMakeFiles/Makefile2:3103: recipe for target 'Fast-Planner/fast_planner/bspline_opt/CMakeFiles/bspline_opt.dir/all' failed make[1]: [Fast-Planner/fast_planner/bspline_opt/CMakeFiles/bspline_opt.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....

I am trying to track this one down. Any idea how to fix this?

realdealneil commented 3 years ago

I see that others have addressed this in some recent pull requests. I'll try following what they've done.

ZbyLGsc commented 3 years ago

The project has been tested comprehensively on Ubuntu 18.04. Pls follow the new doc in readme to deploy it.

zwn commented 3 years ago

@ZbyLGsc What a great news! Now I can really simplify my docker build and remove the patch I have there: https://github.com/zwn/robotic-dockers/blob/master/fast-planner/fp.patch

ZbyLGsc commented 3 years ago

@zwn Good to hear!