-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep the documentation updated (#209)
- Loading branch information
1 parent
5dea0ea
commit f95bfa1
Showing
7 changed files
with
11 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,9 @@ on: | |
push: | ||
branches: | ||
- 'master' | ||
pull_request: | ||
branches: | ||
- 'master' | ||
|
||
jobs: | ||
docs: | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--8<-- "src/modules/ergoCubEmotions/README.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1 @@ | ||
# ergoCub Software | ||
|
||
Main collector of ergoCub specific SW | ||
|
||
## Installation | ||
|
||
For installing it just: | ||
|
||
```sh | ||
mkdir build | ||
cd build | ||
cmake -DCMAKE_INSTALL_PREFIX=<install-prefix> .. | ||
make | ||
(make install) | ||
``` | ||
|
||
`ergocub` model needs [Gazebo YARP Plugins v4.6.0](https://github.com/robotology/gazebo-yarp-plugins/releases/tag/v4.6.0) or higher in order to be used. | ||
|
||
In order to use the model, the following env variables must be configured: | ||
|
||
```sh | ||
# ergoCub model in YARP | ||
export YARP_DATA_DIRS=${YARP_DATA_DIRS}:<install-prefix>/share/ergoCub | ||
# ergoCub model in Gazebo | ||
export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:<install-prefix>/share/ergoCub/robots | ||
export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:<install-prefix>/share/ | ||
``` | ||
|
||
## Run Whole-body-dynamics | ||
|
||
Currently whole-body-dynamics does not run along with `ergoCubGazeboV1`. To start it please run the following command in a console once `yarpserver` and | ||
the robot has been placed in `gazebo` | ||
|
||
```console | ||
yarprobotinterface --config conf/launch_wholebodydynamics_ecub.xml | ||
``` | ||
|
||
## URDF generation | ||
|
||
This repo hosts the `ergoCub` urdf, enabling the cmake flag `ERGOCUB_MODEL_GENERATE_SIMMECHANICS` it is possible to generate it from simmechanics xml. | ||
Enabling also `ERGOCUB_MODEL_COPY_TO_SRC` the generated models are copied in the `urdf` directory for being committed. | ||
|
||
### Dependencies | ||
|
||
- [Ruby](https://www.ruby-lang.org/en/) | ||
- [iDynTree](https://github.com/robotology/idyntree) | ||
- [YARP](https://github.com/robotology/yarp) | ||
- [simmechanics-to-urdf](https://github.com/robotology/simmechanics-to-urdf) | ||
|
||
### Usage | ||
|
||
```sh | ||
mkdir build | ||
cd build | ||
cmake -DERGOCUB_MODEL_GENERATE_SIMMECHANICS=BOOL:ON -DERGOCUB_MODEL_COPY_TO_SRC=BOOL:ON .. | ||
make | ||
(make install) | ||
``` | ||
|
||
--8<-- "README.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/bin/bash | ||
|
||
mkdocs build -c -v --site-dir site | ||
cd ../../ | ||
mkdocs build -c -v --site-dir doc/mkdocs/site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters