getting_started:tutorials:hal4
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:tutorials:hal4 [2023/02/26 19:20] – [Another Example] ursgraf | getting_started:tutorials:hal4 [2023/02/27 14:02] (current) – [Subscribing] ursgraf | ||
---|---|---|---|
Line 7: | Line 7: | ||
In the EEROS library you will find a directory with examples. For this example see [[https:// | In the EEROS library you will find a directory with examples. For this example see [[https:// | ||
- | Open a shell and run '' | + | This examples with ROS will only be present in your build directory if ROS was installed before building EEROS with '' |
+ | Open a shell in the build directory of your EEROS library and run | ||
< | < | ||
- | $ sudo -E ./examples/ros/rosTest2 -c RosTest2Config.json | + | $ sudo -E ./examples/ros2/rosTest2 -c RosTest2Config.json |
</ | </ | ||
Line 17: | Line 18: | ||
* / | * / | ||
- | Use the same tools as in [[getting_started: | + | Use the same tools as in [[getting_started: |
==== Subscribing ==== | ==== Subscribing ==== | ||
Line 36: | Line 37: | ||
In the EEROS library you will find a directory with examples. For this example see [[https:// | In the EEROS library you will find a directory with examples. For this example see [[https:// | ||
- | Open a shell and run '' | + | Open a shell in the build directory of your EEROS library. This examples with ROS will only be present in your build directory if ROS2 was installed before building EEROS with '' |
+ | |||
+ | If you work on a target make sure to setup the environment as given in [[getting_started: | ||
+ | |||
+ | Open a shell in the build directory of your EEROS library and run | ||
< | < | ||
$ sudo -E ./ | $ sudo -E ./ | ||
</ | </ | ||
+ | |||
+ | ==== Publishing ==== | ||
+ | This example runs your EEROS application as a ROS node under the name /// | ||
+ | * / | ||
+ | * / | ||
+ | |||
+ | Use the same tools as in [[getting_started: | ||
+ | |||
+ | ==== 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 | ||
+ | </ | ||
+ | to show a graph with all involved nodes together with their topics or to plot messages. | ||
+ | |||
getting_started/tutorials/hal4.1677435608.txt.gz · Last modified: 2023/02/26 19:20 by ursgraf