Merge pull request #819 from ruffsl/patch-1

[Gazebo] Updating docs about curl
This commit is contained in:
yosifkit 2017-02-03 15:07:58 -08:00 committed by GitHub
commit d9f7008a1b
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Robot simulation is an essential tool in every roboticist's toolbox. A well-desi
## Create a `Dockerfile` in your Gazebo project
```dockerfile
FROM gazebo:gzserver5
FROM gazebo:gzserver8
# place here your application's setup specifics
CMD [ "gzserver", "my-gazebo-app-args" ]
```
@ -69,6 +69,7 @@ $ docker run -d -v="/tmp/.gazebo/:/root/.gazebo/" --name=gazebo gazebo
```console
$ docker exec -it gazebo bash
$ apt-get update && apt-get install -y curl
$ curl -o double_pendulum.sdf http://models.gazebosim.org/double_pendulum_with_base/model-1_4.sdf
$ gz model --model-name double_pendulum --spawn-file double_pendulum.sdf
```