Skip to content

Commit 881e505

Browse files
committed
save_jpeg-link-updated
1 parent 256fb89 commit 881e505

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: gazebojs_camera_topics/tutorial.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ Now you can create javascript files and execute them by invoking node.
3030

3131
Create a file
3232

33-
gedit save_jpeg.js
33+
gedit save_camera_frames.js
3434

35-
and add the following content ([save_jpeg.js](https://bitbucket.org/osrf/gazebojs/raw/default/examples/save_jpeg.js)):
35+
and add the following content ([save_camera_frames.js](https://bitbucket.org/osrf/gazebojs/raw/default/examples/save_camera_frames.js)):
3636

37-
<include src='https://bitbucket.org/osrf/gazebojs/raw/default/examples/save_jpeg.js' />
37+
<include src='https://bitbucket.org/osrf/gazebojs/raw/default/examples/save_camera_frames.js' />
3838

3939

4040
### Code explained
@@ -137,12 +137,12 @@ First, you must setup Gazebo. In an empty world, add a few items (the double pen
137137

138138
Invoke the script
139139

140-
node save_jpeg.js camera frame 10
140+
node save_camera_frames.js camera frame 10
141141

142142
You should see the following output:
143143

144144
~~~
145-
node save_jpeg.js camera frame 10
145+
node save_camera_frames.js camera frame 10
146146
saving [~/camera/link/camera/image] to [frame] for 10 frames
147147
setup a loop with 5 sec interval tick
148148
frame_0001.jpeg saved

0 commit comments

Comments
 (0)