Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fbottarel authored Aug 28, 2019
1 parent e287950 commit 5547aff
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
To ease the installation process, please use the Docker image we prepared.

```docker pull fbottarel/graspa-benchmark:latest```
or
```docker pull fbottarel/graspa-benchmark-local:latest```

## How to run
### Using GitPod
Expand All @@ -54,11 +52,21 @@
and the bash script will perform every step required to compute the benchmark score of our platform.

### Locally
You can use the Docker image you just pulled. Fire it up with
```
docker run -it --rm -p 6080 fbottarel/graspa-benchmark
```
and you will be welcomed by a humble console, displaying that you are logged as root in the container. You can start the x11 server and html browser hook by launching `start-vnc-session.sh`
```
root /workspace $ start-vnc-session.sh
```
and then navigating from your favourite web browser to `http://172.17.0.2:6080`. At this point, open a terminal and proceed as outlined in the GitPod instructions section.

Once the data required by the benchmark are available (see [here](https://github.com/robotology/GRASPA-benchmark#how-to-collect-the-data) instructions on how to collect them), all the scores can be computed by:
1. Properly pointing to the folders including the data in the [`src/script_launcher.sh`](https://github.com/robotology/GRASPA-benchmark/blob/master/src/script_launcher.sh). More information on how to fill correctly the script is available [here](https://github.com/robotology/GRASPA-benchmark/blob/master/src/README.md#graspa-score-computation).
2. Launching the script:
```
cd /path/to/GRASPA-benchmark
cd $GRASPA_DIR
$ ./src/script_launcher.sh
```
An example of the benchmark output is available [here](https://github.com/robotology/GRASPA-benchmark/blob/master/src/README.md#output-example).
Expand Down

0 comments on commit 5547aff

Please sign in to comment.