Skip to content

Trajectory tracking controllers for micro aerial vehicles

License

Notifications You must be signed in to change notification settings

cor-drone-planning/mav_tracker

 
 

Repository files navigation

mav_tracker

Trajectory tracking controllers for micro aerial vehicles

Create workspace

Create a catkin workspace:

source /opt/ros/noetic/setup.bash
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws
catkin_make

Install dependencies:

cd ~/catkin_ws/src
git clone https://github.com/ethz-asl/mav_comm.git
cd ..
catkin_make

Clone the repository:

cd ~/catkin_ws/src
git clone https://github.com/hai-zhu/mav_tracker.git

Install acados

cd ~/catkin_ws/src/mav_tracker/external
git clone https://github.com/acados/acados.git
cd acados
git checkout 16f677a716ea4abc06b88b1cad7bb433512d66db
git submodule update --recursive --init
mkdir -p build
cd build
cmake -DACADOS_WITH_QPOASES=ON ..
make install

Python environment

Create a python virtual environment and build the package:

cd ~/catkin_ws/src/mav_tracker
python3 -m venv .env
source .env/bin/activate
source env_set.sh
pip install -e external/acados/interfaces/acados_template/
pip install pyyaml rospkg
cd ~/catkin_ws
catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3
catkin_make 
source devel/setup.bash

To use the tracker

cd ~/catkin_ws/src/mav_tracker
source .env/bin/activate
source env_set.sh
cd ~/catkin_ws
source devel/setup.bash
roslaunch mav_nmpc_tracker mav_nmpc_tracker.launch tracking_mode:='track'

About

Trajectory tracking controllers for micro aerial vehicles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 78.9%
  • Python 14.9%
  • MATLAB 3.7%
  • Makefile 2.0%
  • CMake 0.5%
  • Shell 0.0%