To build Acados from source, see instructions here or as follows:
Clone acados and its submodules by running:
$ git clone https://github.com/acados/acados.git
$ cd acados
$ git submodule update --recursive --init
Install acados as follows:
$ mkdir -p build
$ cd build
$ cmake -DACADOS_WITH_QPOASES=ON ..
$ make install -j4
Install acados_template Python package:
$ cd acados
$ pip install -e interfaces/acados_template
Note: The <acados_root>
is the full path from /home/
.
Add two paths below to ~/.bashrc
in order to add the compiled shared libraries libacados.so
, libblasfeo.so
, libhpipm.so
to LD_LIBRARY_PATH
(default path is <acados_root/lib>
):
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"<acados_root>/lib"
export ACADOS_SOURCE_DIR="<acados_root>"
The full explanation of the quadrotor dynamics is presented in here.
The quadrotor state space is described between the inertial frame
where
The input space given by
For
For
with the quadrotor’s arm length
Moving to goal | Trajectory tracking |
---|---|
ave estimation time is 0.00075
max estimation time is 0.00104
min estimation time is 0.00070