User Tools

Site Tools


getting_started:install_and_setup_development_environment:use_on_host

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
Last revisionBoth sides next revision
getting_started:install_and_setup_development_environment:use_on_host [2021/03/24 08:51] ursgrafgetting_started:install_and_setup_development_environment:use_on_host [2021/03/24 09:04] – [Prerequisites] ursgraf
Line 1: Line 1:
 ====== Use on the Host ====== ====== Use on the Host ======
-The following is a step-by-step procedure to get started using EEROS on the [[https://wiki.bu.ost.ch/infoportal/embedded_systems/ti_sitara_am335x/beaglebone_blue/start|BeagleBone Blue]] board. It describes how to use our SDK for the Beaglebone blueThe application is developed on a Linux host machine and can then be deployed to the board+ 
-Download the [[https://github.com/eeros-project/eeros-build-scripts.git|EEROS scripts]] with +The following is a step-by-step procedure to get started using EEROS on your host computer.  
-<code>+ 
 +===== Prerequisites ===== 
 +We use Ubuntu on the host machine. Other distributions are supported but not documented here.  
 + 
 +  - 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 patchHowever, the latency of the system will be much worse and will depend greatly on the load of other programs running on your system.  
 +  - Install the following packages on your machine <code> 
 +$ apt-get install git make cmake g++ 
 +</code> Please make sure to use a g++ version of at least 5.3. 
 +  - In order to be able to write your own EEROS programs or alter existing example applications, you could use any text editorHowever, we recommend to use an integrated development environment such as [[https://www.kdevelop.org/]]. Get the program with <code> 
 +$ apt-get install kdevelop 
 +</code> 
 +  - Fetch the [[https://github.com/eeros-project/eeros-build-scripts.git|EEROS scripts]] and checkout the branch for the host <code>
 $ git clone https://github.com/eeros-project/eeros-build-scripts.git eeros-project $ git clone https://github.com/eeros-project/eeros-build-scripts.git eeros-project
-$ git checkout host 
 $ cd eeros-project $ cd eeros-project
-</code> +$ git checkout host
-Edit the ''config.sh.in'' file as follows +
-<code> +
-use_simulator=true +
-use_comedi=false +
-use_ros=false +
-use_ros_setup_script=false+
 </code> </code>
  
-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 
-<code> 
-use_simulator=true 
-use_comedi=false 
-use_ros=true 
-use_ros_setup_script=true 
  
-ros_setup_script=/opt/ros/kinetic/setup.bash +After this you can continue with [[getting_started:write_app:use_on_host|]].
-</code> +
-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  
-<code> 
-$ ./clone.sh 
-</code> 
-After this you can continue with [[getting_started:compile_eeros_host|]].