30 lines
505 B
Plaintext
30 lines
505 B
Plaintext
|
Gazebo Publisher Example
|
||
|
|
||
|
This is very simple example of how to publish a gazebo topic.
|
||
|
|
||
|
===================
|
||
|
Build Instructions
|
||
|
===================
|
||
|
|
||
|
* From this directory:
|
||
|
|
||
|
$ mkdir build
|
||
|
$ cd build
|
||
|
$ cmake ..
|
||
|
$ make
|
||
|
|
||
|
|
||
|
===================
|
||
|
Execute Instructions
|
||
|
===================
|
||
|
|
||
|
* Launch gazebo as usual then from the build directory above:
|
||
|
|
||
|
$ ./publisher
|
||
|
|
||
|
* In gazebo, from the menu bar select 'Window' > 'Topic Visualization'
|
||
|
* Click the topic you are publishing [/vel_cmd]
|
||
|
* Click ok
|
||
|
|
||
|
|