getting_started:tutorials:hal4
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:hal4 [2023/02/25 10:33] – [Publishing] ursgraf | getting_started:tutorials:hal4 [2023/02/26 19:22] – [Using ROS1] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using ROS through the HAL ====== | ====== Using ROS through the HAL ====== | ||
- | EEROS can communicate with ROS through the HAL, see [[getting_started: | + | EEROS can communicate with ROS through the HAL, see [[getting_started: |
+ | |||
+ | ===== Using ROS1 ===== | ||
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 15: | Line 18: | ||
* / | * / | ||
- | Use the same tools as in [[getting_started: | + | Use the same tools as in [[getting_started: |
==== Subscribing ==== | ==== Subscribing ==== | ||
Line 29: | Line 32: | ||
==== Another Example ==== | ==== Another Example ==== | ||
There is another example, RosExample with HalConfigRos.json. It demonstrates the use of more message types. | There is another example, RosExample with HalConfigRos.json. It demonstrates the use of more message types. | ||
+ | |||
+ | ===== Using ROS2 ===== | ||
+ | |||
+ | In the EEROS library you will find a directory with examples. For this example see [[https:// | ||
+ | |||
+ | Open a shell and run '' | ||
+ | < | ||
+ | $ sudo -E ./ | ||
+ | </ | ||
+ |
getting_started/tutorials/hal4.txt · Last modified: 2023/02/27 14:02 by ursgraf