engcang / ieee_uav_2022

IEEE UAV Competition 2022 - Low Power Computer Vision Challenges (LPCVC): Chase
GNU General Public License v3.0
13 stars 5 forks source link
competition drone gazebo obstacle-avoidance path-planning quadrotor simulation target-tracking tracking uav

IEEE UAV Competition 2022 - link1, link2


Team: Hercules

Members: EungChang Lee, Dongkyu Lee, HyungTae Lim, Seungwon Song



Testing setup


How to install and setup

$ cd ieee_uav_2022/uavcc-simulator/trial_2_setup $ mkdir build && cd build $ cmake .. $ make

$ cd ieee_uav_2022/uavcc-simulator $ echo "export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:$(pwd)/trial_1_setup:$(pwd)/trial_2_setup" >> ~/.bashrc $ source ~/.bashrc

$ cd ieee_uav_2022/uavcc-simulator $ echo "export GAZEBO_PLUGIN_PATH=$GAZEBO_PLUGIN_PATH:$(pwd)/trial_1_setup/build:$(pwd)/trial_2_setup/build" >> ~/.bashrc $ source ~/.bashrc


+ Setup `OOQP`
    + Dependencies.
    ~~~shell
    $ sudo apt-get install gfortran
    $ sudo apt-get install doxygen
    $ sudo apt-get install texlive-latex-base
+ Install `ma27` and type below commands in MA27's folder.
~~~shell
$ cd ieee_uav_2022/ma27-1.0.0
$ ./configure
$ make
$ sudo make install
~~~
+ Install `OOQP` and type below commands in OOQP's folder.
~~~shell
$ cd ieee_uav_2022/OOQP
$ ./configure
$ make 
$ sudo make install
~~~

$ cd .. $ catkin build -DCMAKE_BUILD_TYPE=Release


---

<br>

### How to run
+ Run `roscore`
~~~shell
$ roscore

add /distance/data


+ Launch Gazebo world
~~~shell
$ roslaunch ieee_uav trial1.launch

or

$ roslaunch ieee_uav trial2.launch

Important: launching gazebo and running the main code should be done in a short second (ASAP).


Expected result

References