Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
fixed seesaw documentation and added readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielenava committed Oct 5, 2017
1 parent 5909895 commit 5f080ef
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
15 changes: 15 additions & 0 deletions worlds/icub_seesaw_world/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## To load iCub seesaw world in Gazebo

Normally, for loading a `world`, Gazebo needs to be launched in the folder where the `world` is. You can avoid this by appending these lines to your `.bashrc`:

```
source /usr/share/gazebo/setup.sh
export GAZEBO_RESOURCE_PATH=$GAZEBO_RESOURCE_PATH:/PATH/WHERE/YOUR/WORLD/IS
```

Furthermore, if you are working with Simulink controllers, it is necessary to sincronize Gazebo with Simulink by running Gazebo with the option `-slibgazebo_yarp_clock.so`.

Final command to run in the terminal is something like this: `gazebo -slibgazebo_yarp_clock.so nameOfYourWorld`. For seesaw demo, it is also required to start Gazebo in "pause" mode, and therefore final command will be: `gazebo -slibgazebo_yarp_clock.so icub_seesaw_world -u`.


5 changes: 3 additions & 2 deletions worlds/icub_seesaw_world/icub_seesaw_world
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@
<uri>model://ground_plane</uri>
</include>

<!-- Chair for sittin' on -->
<!-- Seesaw -->
<include>
<uri>model://seesaw</uri>
</include>

<!-- iCub in the sitting position -->
<!-- iCub above the seesaw -->
<include>
<uri>model://icub_on_seesaw</uri>
</include>

</world>
</sdf>

0 comments on commit 5f080ef

Please sign in to comment.