Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.91 KB

README.md

File metadata and controls

46 lines (26 loc) · 1.91 KB

COLMPC: Collision Avoidance for MPC

This repo is mainly a addon residual for Crocoddyl for collision avoidance for trajectory optimisation and model predictive control (MPC). It has several dependencies:

Dependencies

For OCP & MPC scripts:

For visualization:

For the examples:

Installations

HPP-FCL & Pinocchio must be built from sources. Don't forget to checkout to the right commits. Build pinocchio with the flag : WITH_COLLISION_SUPPORT=ON.

Usage

Before trying the scripts, test your hppfcl installation. To do this and make sure the hppfcl librairy works well in your computer, run : python tests/__init__.py.

If you have a problem with FakeCollisionGeometry, it is likely that the linking of Pinocchio with HPPFCL wasn't done properly. Verify that you have the right commits & the right compilation flags. If the unit tests don't pass, it is likely that you don't have the right HPPFCL version.

For the MPC part:

Simply run python examples/mpc_panda_reaching.py

As the code is still in developpement, the code is constantly moving and sometimes, examples do not work. Hence, do not hesitate to contact me at [email protected].

Credits

The examples are based on https://github.com/machines-in-motion/minimal_examples_crocoddyl/tree/master from Sebastien Kleff.

Citation

Please, if you use this library, please cite this paper: https://laas.hal.science/hal-04425002.