getting_started:tutorials:systemros1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:tutorials:systemros1 [2024/10/09 11:53] – [Subscribing] ursgraf | getting_started:tutorials:systemros1 [2024/12/06 18:53] (current) – ursgraf | ||
---|---|---|---|
Line 20: | Line 20: | ||
IMPORTANT You have to run a program using real time threads with root privileges. | IMPORTANT You have to run a program using real time threads with root privileges. | ||
==== 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 /// |
- | * /test/vector | + | * /test/analogSignal |
- | * /test/val (of type double) | + | * /test/analogSignalVector |
- | * / | + | * / |
+ | * / | ||
+ | * / | ||
+ | * / | ||
With | With | ||
Line 33: | Line 36: | ||
$ rostopic list | $ rostopic list | ||
</ | </ | ||
- | will list the three topics which are published be our node, /// | + | will list all the 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. | ||
< | < | ||
- | $ rostopic echo /test/vector | + | $ rostopic echo /test/analogSignalVector |
</ | </ | ||
With | With | ||
< | < | ||
- | $ rostopic hz /test/val | + | $ rostopic hz /test/analogSignalVector |
</ | </ | ||
you can easily check how often data is sent from out ROS node. Try to plot 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 /test1/vector/data[0] /test/vector/data[1] / | + | $ rqt_plot /test/analogSignal |
</ | </ | ||
getting_started/tutorials/systemros1.1728467582.txt.gz · Last modified: 2024/10/09 11:53 by ursgraf