getting_started:tutorials:controlsystemros1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:tutorials:controlsystemros1 [2019/06/11 09:29] – [Control System Interacting with ROS] graf | getting_started:tutorials:controlsystemros1 [2020/12/03 10:14] (current) – removed ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Control System Interacting with ROS ====== | ||
- | In the EEROS library you will find a directory with examples. Open a shell and run '' | ||
- | ==== Publishing ==== | ||
- | This example runs your EEROS application as a ROS node under the name /// | ||
- | * / | ||
- | * / | ||
- | * / | ||
- | |||
- | With | ||
- | < | ||
- | $ rosnode list | ||
- | </ | ||
- | you will see the new node. With | ||
- | < | ||
- | $ rostopic list | ||
- | </ | ||
- | will list the two topics which are published be our node, /// | ||
- | Open another shell to show the messages sent by EEROS, e.g. | ||
- | < | ||
- | $ rostopic echo / | ||
- | </ | ||
- | With | ||
- | < | ||
- | $ rostopic hz /test/val | ||
- | </ | ||
- | you can easily check how often data is sent from out ROS node. Try to plot the data with | ||
- | < | ||
- | $ rqt_plot /test/val / | ||
- | </ | ||
- | |||
- | ==== Subscribing ==== | ||
- | Open another shell in the build directory of your EEROS library and run '' | ||
- | * / | ||
- | * / | ||
- | and logs its transported message values into the console. Use | ||
- | < | ||
- | $ rqt_graph | ||
- | </ | ||
- | to show a graph with all involved nodes together with their topics. | ||
getting_started/tutorials/controlsystemros1.1560238152.txt.gz · Last modified: 2019/06/11 09:29 by graf