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 [2023/02/09 10:25] – [Running your Application on the Host] ursgraf | getting_started:ros_run [2026/04/21 16:48] (current) – 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 the procedure is straightforward. You can use all your ROS tools as you do without using EEROS. Beware that you built EEROS with ROS support. When running EEROS examples or any other EEROS application you have to make sure that the ROS libraries can be found when dynamic linking comes up. Run your '' | + | If your EEROS-ROS node is on the host where you also run your ROS master the procedure is straightforward. You can use all your ROS tools as you do without using EEROS. Beware that you built EEROS with ROS support. When running EEROS examples or any other EEROS application you have to make sure that the ROS libraries can be found when dynamic linking comes up. Run your ROS setup scripts |
| - | < | + | Do not run your program |
| - | $ 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:// | ||
| ==== Network Setup ==== | ==== Network Setup ==== | ||
| - | As your application on the target will register as a ROS node, it has to find your host computer. | + | As your application on the target will register as a ROS node, it has to find your host computer. 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. |
| - | + | ||
| - | 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 you have to set the environment variables '' | + | |
| - | < | + | |
| - | export ROS_MASTER_URI=http:// | + | |
| - | export ROS_IP=http:// | + | |
| - | </ | + | |
| ==== Running the Application ==== | ==== Running the Application ==== | ||
| - | Generally | + | Start your application as a regular |
| - | < | + | |
| - | $ sudo -E ./ | + | |
| - | </ | + | |
| + | Use graphical utilities such as [[http:// | ||
getting_started/ros_run.1675934712.txt.gz · Last modified: by ursgraf
