getting_started:ros_run
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
getting_started:ros_run [2021/03/29 16:21] – [Running your Application on a Target] ursgraf | getting_started:ros_run [2023/02/09 10:25] – [Running your Application on the Host] ursgraf | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Running your Application on the Host ===== | ===== Running your Application on the Host ===== | ||
- | If your EEROS-ROS node is on the host where you also run your ROS master is straightforward. You can use all your ROS tools as you do without using EEROS. | + | If your EEROS-ROS node is on the host where you also run your ROS master |
+ | < | ||
+ | $ sudo LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ./ | ||
+ | </ | ||
===== Running your Application on a Target ===== | ===== Running your Application on a Target ===== | ||
Line 11: | Line 14: | ||
==== Network Setup ==== | ==== Network Setup ==== | ||
- | As your application on the target will register as a ROS node, it has to find your host computer. In every shell on your target where you want to run your applications | + | As your application on the target will register as a ROS node, it has to find your host computer. |
- | export ROS_MASTER_URI=http:// | + | |
+ | Find out the ip number of your target as well as the ip number with which your target reaches your host. If in doubt, try to ping your host computer from the target and vice versa. | ||
+ | |||
+ | In every shell on your host where you want to run '' | ||
+ | < | ||
+ | export ROS_MASTER_URI=http:// | ||
+ | export ROS_IP=http:// | ||
+ | </ | ||
+ | |||
+ | In every shell on your target where you want to run your application | ||
+ | < | ||
+ | export ROS_MASTER_URI=http:// | ||
+ | export ROS_IP=http:// | ||
</ | </ | ||
- | An EEROS application using ROS needs to be started with super user privileges. | + | ==== Running the Application ==== |
- | ROS needs some system variables, like '' | + | Generally |
- | To forward | + | |
< | < | ||
$ sudo -E ./ | $ sudo -E ./ | ||
</ | </ | ||
getting_started/ros_run.txt · Last modified: 2023/02/09 10:25 by ursgraf