User Tools

Site Tools


getting_started:install_and_setup_development_environment:use_on_bbb

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_bbb [2021/02/12 17:36] ursgrafgetting_started:install_and_setup_development_environment:use_on_bbb [2021/03/24 11:43] – [Prerequisites] ursgraf
Line 1: Line 1:
 ====== Use on a Beaglebone Blue Board ====== ====== Use on a Beaglebone Blue Board ======
-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 set up the cross development tool chain. The application is developed on a Linux host machine and can then be deployed to the board. 
  
-Fetch the [[https://github.com/eeros-project/eeros-build-scripts.git|EEROS scripts]] on your cross development system with +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]] boardIt 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.
-<code> +
-$ git clone https://github.com/eeros-project/eeros-build-scripts.git eeros-project +
-$ cd eeros-project +
-</code> +
-Edit the file ''config.sh.in'' as follows +
-<code> +
-use_simulator=false +
-use_flink=false +
-use_bbblue=true +
-use_comedi=false +
-use_ros=false +
-use_can=false +
-use_custom_application=true +
-use_cross_compilation_environment=true +
-use_ros_setup_script=false +
-</code> +
-Setting the entry ''use_custom_application'' to //true// will fetch an existing application from a git repository. Per default this will will be [[https://github.com/eeros-project/simple-motor-control.git]]. However, you could choose another repository in ''config.sh.in''. Or you could set the entry to //false// if you want to develop your own application.+
  
-The entry ''use_cross_compilation_environment'' ensures that you compile using an SDK built for the target platform. This SDK already contains the [[http://beagleboard.org/librobotcontrol/index.html|librobotcontrol]]. Make sure to install the SDK by +===== Prerequisites =====
-  * downloading the SDK from [[https://wiki.bu.ost.ch/infoportal/software/linux/images/start]]  +
-  * installing the SDK as described in [[https://wiki.bu.ost.ch/infoportal/software/linux/bbblue-sdk]]+
  
-Now you can run the ''clone'' script  +  - On the host, you have to fetch the cross development SDK for the Beaglebone blue from [[https://wiki.bu.ost.ch/infoportal/software/linux/images/downloads|Downloads]] and install it on the host according to [[https://wiki.bu.ost.ch/infoportal/software/linux/yocto/sdk#installing_the_sdk|Installing the SDK]].  
-<code> +  - Make sure to have the newest image from our download section [[https://wiki.bu.ost.ch/infoportal/software/linux/images/start|Linux Images]] installed on your Beaglebone blue board. This image already contains the EEROS library together with examples. Further is includes necessary hardware libraries, notably the [[http://beagleboard.org/librobotcontrol/index.html|librobotcontrol]] as well as basic functionalities of ROS.  
-./clone.sh+  - 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 <code> 
 +apt-get install kdevelop
 </code> </code>
- +  - Fetch the [[https://github.com/eeros-project/eeros-build-scripts.git|EEROS scripts]] on your host and checkout the branch for the Beaglebone Blue <code> 
-The library for the roboticscape must be compiled manuallyThough the library is already on the target, we must also have it on the host, in order to be able to link an application.  +git clone https://github.com/eeros-project/eeros-build-scripts.git eeros-project 
-At the time of writing, the Beaglebone blue boards are shipped with an image that has the robotics cape library version 0.3.4 installed. Therefore, it is highly recommended to use this version. The bbblue-eeros wrapper library was implemented to work with the robotics cape library v0.3.4. Newer version were not tested yet. The right version is checked out by the clone script. \\ +$ git checkout sdk_bbb 
-Now, the cross tool chain is installed on the host machine with the following command. +$ cd eeros-project
-<code> +
-sudo apt-get install g++-4.9-arm-linux-gnueabihf+
 </code> </code>
  
  
- +Continue with [[getting_started:write_app:use_on_bbb|]].
- +
-After this you can continue with [[getting_started:compile_eeros|]]. +