getting_started:ros_run
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:ros_run [2021/03/29 16:08] – [Running your Application on the Host] ursgraf | getting_started:ros_run [2023/02/09 10:25] (current) – [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 |
+ | When running programs with root priviledges you have to pass the library path with | ||
+ | < | ||
+ | $ sudo LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ./ | ||
+ | </ | ||
===== Running your Application on a Target ===== | ===== Running your Application on a Target ===== | ||
- | We strongly recommend to run your ROS master on the host. You will have enough computing power and you can use graphical utilities such as [[http:// | + | We strongly recommend to run your ROS master on the host. You will have enough computing power and you can use graphical utilities such as [[http:// |
- | An EEROS application | + | ==== Network Setup ==== |
- | ROS needs some system | + | As your application |
- | To forward | + | |
+ | Find out the ip number of your target as well as the ip number | ||
+ | |||
+ | 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 you have to set the environment variables | ||
+ | < | ||
+ | export ROS_MASTER_URI=http:// | ||
+ | export ROS_IP=http:// | ||
+ | </ | ||
+ | |||
+ | ==== Running the Application ==== | ||
+ | Generally EEROS applications need to be started with super user privileges. Hence, you have to forward | ||
< | < | ||
$ sudo -E ./ | $ sudo -E ./ | ||
</ | </ | ||
getting_started/ros_run.1617026921.txt.gz · Last modified: 2021/03/29 16:08 by ursgraf