getting_started:tutorials:controlsystemros1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
getting_started:tutorials:controlsystemros1 [2019/01/17 09:04] – [Publishing] graf | getting_started:tutorials:controlsystemros1 [2019/01/17 11:26] – [Publishing] graf | ||
---|---|---|---|
Line 2: | Line 2: | ||
In the EEROS library you will find a directory with examples. Open a shell and run '' | In the EEROS library you will find a directory with examples. Open a shell and run '' | ||
==== Publishing ==== | ==== Publishing ==== | ||
- | This example runs your EEROS application as a ROS node under the name /// | + | This example runs your EEROS application as a ROS node under the name /// |
- | * / | + | * / |
- | * / | + | * / |
+ | * / | ||
With | With | ||
Line 14: | Line 15: | ||
$ rostopic list | $ rostopic list | ||
</ | </ | ||
- | will list the two topics which are published be our node, /// | + | will list the two topics which are published be our node, /// |
Open another shell to show the messages sent by EEROS, e.g. | Open another shell to show the messages sent by EEROS, e.g. | ||
< | < | ||
Line 23: | Line 24: | ||
$ rostopic hz /test/val | $ rostopic hz /test/val | ||
</ | </ | ||
- | you can easily check how often data is sent from out ROS node. Try to plot some of the data with | + | you can easily check how often data is sent from out ROS node. Try to plot the data with |
< | < | ||
- | $ rqt_plot /test/val / | + | $ rqt_plot /test/val / |
</ | </ | ||
==== Subscribing ==== | ==== Subscribing ==== | ||
- | Open another shell in the build directory of your EEROS library and run '' | + | Open another shell in the build directory of your EEROS library and run '' |
* / | * / | ||
* / | * / |