User Tools

Site Tools


getting_started:ros_run

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
getting_started:ros_run [2026/04/09 19:06] – [Running your Application on the Host] ursgrafgetting_started:ros_run [2026/04/21 16:48] (current) ursgraf
Line 9: Line 9:
  
 ===== 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://wiki.ros.org/rqt|rqt]] or [[http://wiki.ros.org/rviz|rviz]].  
  
 ==== Network Setup ==== ==== Network Setup ====
-As your application on the target will register as a ROS node, it has to find your host computer. For more details see [[http://wiki.ros.org/ROS/NetworkSetup]] and [[http://wiki.ros.org/ROS/Tutorials/MultipleMachines]].  +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 ''roscore'' or any other ros command you have to set the environment variables ''ROS_MASTER_URI'' and ''ROS_IP'' with e.g.  +
-<code> +
-export ROS_MASTER_URI=http://192.168.7.3:11311  // ip number of host +
-export ROS_IP=http://192.168.7.3                // ip number of host +
-</code> +
-  +
-In every shell on your target where you want to run your application you have to set the environment variables ''ROS_MASTER_URI'' and ''ROS_IP'' with e.g.  +
-<code> +
-export ROS_MASTER_URI=http://192.168.7.3:11311  // ip number of host +
-export ROS_IP=http://192.168.7.2                // ip number of target +
-</code>+
  
 ==== Running the Application ==== ==== Running the Application ====
-Generally EEROS applications need to be started with super user privilegesHence, you have to forward your environment variables to the super user process with the option //-E//.  +Start your application as a regular EEROS application.
-<code> +
-$ sudo -E ./application +
-</code>+
  
 +Use graphical utilities such as [[http://wiki.ros.org/rqt|rqt]] or [[http://wiki.ros.org/rviz|rviz]] on the host. 
getting_started/ros_run.txt · Last modified: by ursgraf