hanyas / trajopt

A toolbox for trajectory optimization of dynamical systems
MIT License
50 stars 16 forks source link

python mb_cartpole.py error #1

Closed mtatum7 closed 4 years ago

mtatum7 commented 4 years ago

I'm getting this error: Screenshot from 2019-12-10 08-39-08

Do you know where trajopt.gps.core is supposed to be?

hanyas commented 4 years ago

You need to compile the module GPS. Please check the readme inside the GPS folder. It is a bit involved because you need to configure pybind11 and Armadillo

I will be updating the main readme soon to make installation easier.

The procedure is to prepare the libraries as described in the README in the GPS folder then run pip install -e . to install the whole package

mtatum7 commented 4 years ago

I still cannot get it to run. It's missing pybind11_DIR. Would you be able to give explicit directions for installation and running from start to finish?

hanyas commented 4 years ago

Please follow the README step by step. You have to edit the path to your pybind11. I cannot give explicit directions. This project is presented as is.