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:05] – [Subscribing] graf | getting_started:tutorials:controlsystemros1 [2019/06/09 12:58] – [Control System Interacting with ROS] graf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Control System Interacting with ROS ====== | ====== Control System Interacting with ROS ====== | ||
- | 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 ///rosTest//. It publishes | + | This example runs your EEROS application as a ROS node under the name ///eerosNode//. It publishes |
- | * / | + | * / |
- | * / | + | * / |
+ | * / | ||
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 / |
</ | </ | ||