getting_started:tutorials:systemros1
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:systemros1 [2023/02/09 10:33] – ursgraf | getting_started:tutorials:systemros1 [2023/02/09 10:37] – [Publishing] ursgraf | ||
---|---|---|---|
Line 70: | Line 70: | ||
If you work on a target make sure to setup the environment as given in [[getting_started: | If you work on a target make sure to setup the environment as given in [[getting_started: | ||
- | Open a shell and run | + | Open a shell in the build directory of your EEROS library |
< | < | ||
- | $ roscore | + | $ sudo -E ./examples/ros2/rosTest1 |
- | </ | + | |
- | Open another shell in the build directory of your EEROS library and run | + | |
- | < | + | |
- | $ sudo -E ./examples/ros/rosTest1 | + | |
</ | </ | ||
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. | ||
Line 87: | Line 83: | ||
With | With | ||
< | < | ||
- | $ rosnode | + | $ ros2 node list |
</ | </ | ||
you will see the new node. | you will see the new node. | ||
< | < | ||
- | $ rostopic | + | $ ros2 topic list |
</ | </ | ||
- | will list the two topics which are published be our node, /// | + | will list the three 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. | ||
< | < |
getting_started/tutorials/systemros1.txt · Last modified: 2023/02/27 14:00 by ursgraf