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

Next revision
Previous revision
Last revisionBoth sides next revision
getting_started:ros_prep [2021/03/29 15:51] – created ursgrafgetting_started:ros_prep [2023/02/25 07:37] – [Building the EEROS library with ROS] ursgraf
Line 1: Line 1:
-===== Preparations and Building with ROS ===== +====== Preparations and Building EEROS with ROS Support ====== 
-ROS needs to be installed on the developer machine as well as on the target machine.+ 
 +Back to [[getting_started:ros|]]. 
 + 
 +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 10: Line 13:
 IMPORTANT If an integrated development environment such as ''kdevelop'' or ''Qt Creator'' is used, the IDE has to be started from a terminal after the ''setup.bash'' script has run. IMPORTANT If an integrated development environment such as ''kdevelop'' or ''Qt Creator'' is used, the IDE has to be started from a terminal after the ''setup.bash'' script has run.
  
-=== 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.txt · Last modified: 2023/02/25 07:38 by ursgraf