Skip to content

Commit 783e841

Browse files
committed
Merged in JChoclin/gazebo_tutorials/dev_files_for_topics_subscribe (pull request #477)
Suggest download dev files in topic subscribe Approved-by: Louise Poubel <[email protected]> Approved-by: Ian Chen <[email protected]>
2 parents 1775b65 + bccf2b6 commit 783e841

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

topics_subscribe/tutorial.md

+6
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ gz topic -l
1616

1717
This example subscribes to a [WorldStatistics message](http://gazebosim.org/api/msgs/dev/world__stats_8proto.html) and assumes that you can link against Gazebo.
1818

19+
First, if you installed Gazebo from debians, make sure you've installed the Gazebo development files. If you installed Gazebo from source, you can ignore this step. Replace X with whatever version number of Gazebo you have.
20+
21+
~~~
22+
sudo apt-get install libgazeboX-dev
23+
~~~
24+
1925
Download `listener.cc` and `CMakeLists.txt` and put them into to a folder
2026
called `listener` at your home directory and then compile the example:
2127

0 commit comments

Comments
 (0)