This is an old revision of the document!
Preparations and Building with ROS
ROS 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
source /path_to_ros_installation/setup.bash
The same applies for building the EEROS library with ROS support and for building an EEROS application with ROS support. Our EEROS build scripts already include the setup.bash
.
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
If you build the library with cmake, make sure you use the -DUSE_ROS=TRUE switch.
An example of a cmake call could look like this:
cmake -DCMAKE_INSTALL_PREFIX=“$install_dir” -DUSE_ROS=TRUE ..
Our build scripts already include this switch.