@@ -28,22 +57,23 @@ Please refer to this [link](https://github.com/humanoid-path-planner/hpp-rbprm)
## Example
To see the planner in action, two examples from our IJRR submission with HyQ are available. Examples with HRP-2 are also provided,
though they can only be executed if you have access to HRP-2 model.
To see the planner in action, one example from our IJRR submission with HyQ is available. Examples with HRP-2 are also provided, though they can only be executed if you have access to HRP-2 model.
- First of all, retrieve and build the HyQ model from its github repository:
https://github.com/iit-DLSLab/hyq-description
- If you installed the planner form binaries, you need to download the scripts as explained here. Otherwise you can find them directly in script/scenarios/demos folder. For the binary proceudre, create a folder and cd in to it, then type
- Make sure to install hyq.urdf in $HPP_DEVEL_DIR/install/share/hpp-rbprm-corba/
-Make the run.sh script executable:`chmod +x run.sh`
- The planning is decomposed in two phases / scripts. First, a root path is computed (\*_path.py files). Then, the contacts are generated along the computed path (\*_interp.py files). The scripts are located in the folder /scripts/scenarios/demos.
- To see the different steps of the process run
```$ ./run.sh darpa_hyq_path.py```
``$ ./run.sh darpa_hyq.py`
The script include comments explaining the different calls to the library. You can call the different methods a() ... d() to see the different steps of the planning.