Skip to content

Commit 95cb0c3

Browse files
committed
Merged in add_laser_hokuyo (pull request #465)
Update instructions in Add Sensor tutorial Approved-by: Carlos Agüero <[email protected]> Approved-by: Louise Poubel <[email protected]>
2 parents e8b21e6 + 4f46afc commit 95cb0c3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

add_laser/tutorial_6+.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@ Adding a laser to a robot, or any model, is simply a matter of including the sen
5555
5656
When the hokuyo model is inserted, the hokuyo's links are namespaced with their model name. In this case the model name is `hokuyo`, so each link in the hokuyo model is prefaced with `hokuyo::`.
5757
58-
1. Now start gazebo, and add the robot to the simulation using the Insert tab on the GUI. You should see the robot with a laser attached.
58+
1. Now start gazebo, and add the robot to the simulation using the Insert tab on the GUI. If the hokuyo model does not exist locally, Gazebo will pull the model from the [Model Database](https://bitbucket.org/osrf/gazebo_models). Alternatively, manually download the model files to your local cache:
5959
60-
[[file:files/Add_laser_pioneer.png]]
61-
62-
1. (Optional) Try adding a camera to the robot. The camera's model URI is `model://camera`, it should have been locally caches for you in:
60+
cd ~/.gazebo/models
61+
wget -q -R *index.html*,*.tar.gz --no-parent -r -x -nH http://models.gazebosim.org/hokuyo/
6362
64-
ls ~/.gazebo/models/camera/
63+
Once gazebo is launched, you should see the robot with a laser attached.
6564
65+
[[file:files/Add_laser_pioneer.png]]
6666
67-
For reference, the SDF documentation can be found [here](http://gazebosim.org/sdf/).
67+
1. (Optional) Try adding a camera to the robot. The camera's model URI is `model://camera`. For reference, the SDF documentation can be found [here](http://gazebosim.org/sdf/).
6868
6969
## Next
7070

0 commit comments

Comments
 (0)