ZJU-FAST-Lab / EGO-Planner-v2

Swarm Playground, the codebase of the paper "Swarm of micro flying robots in the wild"
GNU General Public License v3.0
400 stars 71 forks source link

Fix Build Issues for Using RoboStack's ROS Noetic Environment #28

Open ErcBunny opened 1 year ago

ErcBunny commented 1 year ago

Hi,

I've made minor changes to the CMakeLists.txt files, and included deque in map.hpp files, to fix building issues that may appear when building this project with RoboStack's ROS Noetic in a virtual environment. I've also added instructions to setup the virtual environment in README.

In addition, top-level CMakeLists.txts are deleted as they will be automatically generated upon runnning catkin_make. So it is safe to delete them.

These changes have been verified on Ubuntu 22 with virtual env (with catkin_make only, catkin build still fails) and Ubuntu 20 with system-installed ROS. I hope these changes are helpful for others also running Ubuntu 22 and don't want to build ROS 1 from source.

Cheers~ Ercbunny