User Tools

Site Tools


getting_started:install_and_setup_development_environment:use_on_host

This is an old revision of the document!


Use on the Host

Back to Use on the Host.

The following is a step-by-step procedure to get started using EEROS on your host computer.

Prerequisites

We use Ubuntu on the host machine. Other distributions are supported but not documented here.

  1. You have to patch the kernel with a realtime patch as described in https://rt.wiki.kernel.org/index.php/Main_Page. It is possible to work without the realtime patch. However, the latency of the system will be much worse and will depend greatly on the load of other programs running on your system.
  2. Install the following packages on your machine
    $ apt-get install git make cmake g++

    Please make sure to use a g++ version of at least 5.3.

  3. In order to be able to write your own EEROS programs or alter existing example applications, you could use any text editor. However, we recommend to use an integrated development environment such as https://www.kdevelop.org/. Get the program with
    $ apt-get install kdevelop
  4. Fetch the EEROS scripts and checkout the branch for the host
    $ git clone https://github.com/eeros-project/eeros-build-scripts.git eeros-project
    $ cd eeros-project
    $ git checkout sdk_host

After this you can continue with Writing EEROS Applications for Beaglebone Blue Board. Download the EEROS scripts with

$ git clone https://github.com/eeros-project/eeros-build-scripts.git eeros-project
$ git checkout host
$ cd eeros-project

Edit the config.sh.in file as follows

use_simulator=true
use_comedi=false
use_ros=false
use_ros_setup_script=false

This will build EEROS without the ROS examples. If you have ROS installed and want to build the ROS examples, change the config.sh.in to

use_simulator=true
use_comedi=false
use_ros=true
use_ros_setup_script=true

ros_setup_script=/opt/ros/kinetic/setup.bash

The last line must point to your ROS installation path. In general this will be /opt/ros/$ros_version_name/setup.bash.

Now you can run the clone script

$ ./clone.sh

After this you can continue with Compile on the Host.

getting_started/install_and_setup_development_environment/use_on_host.1616572889.txt.gz · Last modified: 2021/03/24 09:01 by ursgraf