Navigation Menu

Skip to content

hanyas/trajopt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trajectory Optimization

A toolbox for trajectory optimization of dynamical systems

Installation

This toolbox uses pybind11 to compile C++ code and use it in python. The following setup has been test only while using Conda envs.

  • Install Pybind11:

    conda install pybind11
  • Compile OpenBLAS:

    USE_THREAD=0 C=gcc FC=gfortran NO_AFFINITY=1 NO_SHARED=1 COMMON_OPT=" -O2 -march=native "  make
    • Edit local CMakeLists.txt to reflect the path of OpenBLAS
  • Configure Armadillo:

    ./configure
    • Edit local CMakeLists.txt to reflect the path of Armadillo
  • Install Python Package:

    pip install -e .