User Tools

Site Tools


getting_started:ros_prep

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
getting_started:ros_prep [2021/03/29 15:55] ursgrafgetting_started:ros_prep [2023/02/25 07:38] (current) – [Building the EEROS library with ROS] ursgraf
Line 1: Line 1:
-====== Preparations and Building with ROS ======+====== Preparations and Building EEROS with ROS Support ======
  
 Back to [[getting_started:ros|]]. Back to [[getting_started:ros|]].
  
-ROS needs to be installed on the developer machine as well as on the target machine.+ROS1 or ROS2 needs to be installed on the developer machine as well as on the target machine.
 Before a ROS application can be started, you need to run the ''setup.bash'' script of ROS. This can be done with  Before a ROS application can be started, you need to run the ''setup.bash'' script of ROS. This can be done with 
 <code> <code>
Line 14: Line 14:
  
 ==== Building the EEROS library with ROS ==== ==== Building the EEROS library with ROS ====
-If you build the library with cmake, make sure you use the -DUSE_ROS=TRUE switch. +If you build the library with cmake, make sure you use the -DUSE_ROS=TRUE (for ROS1) or the -DUSE_ROS2=TRUE (for ROS2) switch. 
-An example of a cmake call could look like this:\\ +An example of a cmake call could look like this: 
-''cmake -DCMAKE_INSTALL_PREFIX="$install_dir" -DUSE_ROS=TRUE ..''+ 
 +''cmake -DCMAKE_INSTALL_PREFIX="$install_dir" -DUSE_ROS2=TRUE ..'' 
 Our build scripts already include this switch. Our build scripts already include this switch.
  
  
getting_started/ros_prep.1617026144.txt.gz · Last modified: 2021/03/29 15:55 by ursgraf