Skip to content

Commit

Permalink
readme: Add Pixi build instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Oct 21, 2024
1 parent b68ea38 commit 8f4cf09
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,23 @@ Please note that we always advise including the `pinocchio/fwd.hpp` header as th
| | |      | **Humble** | [![](https://build.ros2.org/job/Hbin_uJ64__pinocchio__ubuntu_jammy_amd64__binary/badge/icon)](https://build.ros2.org/job/Hbin_uJ64__pinocchio__ubuntu_jammy_amd64__binary) |
| | |      | **Rolling** | [![](https://build.ros2.org/job/Rbin_uJ64__pinocchio__ubuntu_jammy_amd64__binary/badge/icon)](https://build.ros2.org/job/Rbin_uJ64__pinocchio__ubuntu_jammy_amd64__binary) |

## Build/install from source with Pixi

To build **Pinocchio** from source the easiest way is to use [Pixi](https://pixi.sh/latest/#installation).

[Pixi](https://pixi.sh/latest/) is a cross-platform package management tool for developers that
will install all required dependencies in `.pixi` directory.
It's used by our CI agent so you have the guarantee to get the right dependencies.

Run the following command to install dependencies, configure, build and test the project:

```bash
pixi run test
```

The project will be built in the `build` directory.
You can run `pixi shell` and build the project with `cmake` and `ninja` manually.

## Visualization

**Pinocchio** provides support for many open-source and free visualizers:
Expand Down

0 comments on commit 8f4cf09

Please sign in to comment.