-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README to include instructions for using an environment #167
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,24 @@ Eprint = {arXiv:1809.02167}, | |
* [Catch2](https://github.com/catchorg/Catch2): to compile the tests. | ||
|
||
# :hammer: Build the suite | ||
|
||
The dependencies can be installed either using the [robotology-superbuild](https://github.com/robotology/robotology-superbuild) (that installs also this repo) or via an isolated environment (see [here](https://github.com/robotology/robotology-superbuild/blob/master/doc/install-mambaforge.md) to learn how to install mambaforge). | ||
|
||
It's possible to create the environment via the following command: | ||
|
||
```sh | ||
mamba create -n walking -c robotology -c conda-forge bipedal-locomotion-framework idyntree yarp icub-contrib-common icub-main osqp-eigen qpoases libunicycle-footstep-planner gazebo catch2 gazebo-yarp-plugins whole-body-estimators icub-models ergocub-software | ||
``` | ||
|
||
This will create an environment called `walking` that can be activated via: | ||
|
||
```sh | ||
mamba activate walking | ||
``` | ||
|
||
> [!NOTE] | ||
> Remember to activate this environment in every terminal used to run the simulation. | ||
|
||
## Linux/macOs | ||
|
||
```sh | ||
|
@@ -84,6 +102,8 @@ cmake ../ | |
make | ||
[sudo] make install | ||
``` | ||
If using an environment, remember to set `CMAKE_INSTALL_PREFIX` to the value of `$CONDA_PREFIX`. | ||
|
||
Notice: `sudo` is not necessary if you specify the `CMAKE_INSTALL_PREFIX`. In this case it is necessary to add in the `.bashrc` or `.bash_profile` the following lines: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure on how to update this sentence. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What do you mean? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry my comment was originally pointing to the line below, 107. It is now ambiguous since the Maybe it can be rephrased as: "Notice: if you're using the |
||
```sh | ||
export WalkingControllers_INSTALL_DIR=/path/where/you/installed/ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use -c conda-forge -c robotology, not the other way around. conda-forge needs to have higher priority as some packages have older versions in robotology and newer versions in conda-forge .