Skip to content

Commit

Permalink
Feature/add docker instructions (#33)
Browse files Browse the repository at this point in the history
* add docker instructions

* adding color

* Fix documentation

---------

Co-authored-by: Krzysztof Wojciechowski <[email protected]>
  • Loading branch information
ArthurH91 and Kotochleb authored Oct 4, 2024
1 parent fce7095 commit 1e2ef7c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,19 @@ An in-depth comparison is [here](https://gepettoweb.laas.fr/articles/haffemayer2
- [MiM Solvers](https://github.com/machines-in-motion/mim_solvers) (tag: v0.0.5) solver for the SQP and Constrained-SQP solver, and [Mim Robot](https://github.com/machines-in-motion/mim_robots/tree/main).

## Installation
### From source
HPP-FCL & Pinocchio must be built from sources. Build pinocchio with the flag : WITH_COLLISION_SUPPORT=ON.
> [!NOTE]
> Don't forget to switch to the right commits!
### Using Docker

You can run examples with docker with following command:
``` bash
docker container run -p 7000:7000 ghcr.io/agimus-project/colmpc:v0.0.2 "python colmpc/examples/simple_ocp.py --scene 1"
```


### Possible issue
- 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.
- The main branch of HPPFCL doesn't compute well the closest points and thus, this repo needs to be built upon the devel branch. If it built but doesn't avoid collision, make sure that you didn't built the main branch.
Expand Down

0 comments on commit 1e2ef7c

Please sign in to comment.