User Tools

Site Tools


getting_started:install_wrapper

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
Next revisionBoth sides next revision
getting_started:install_wrapper [2017/11/21 21:38] – [Beagle Bone blue] grafgetting_started:install_wrapper [2023/01/26 13:00] – [PixyCam] ursgraf
Line 1: Line 1:
 ====== Installing Hardware Libraries ====== ====== Installing Hardware Libraries ======
-As soon as you want to access hardware on your system you need a [[eeros_architecture:hal:hardware_libraries|Hardware Library]]. Depending on the type of the hardware you have to install one of the libraries given below. Please keep in mind that these libraries get installed automatically if you follow the steps given in [[getting_started:install_and_setup_development_environment#Getting the Sources with a Script|]].+As soon as you want to access hardware on your system you need a [[eeros_architecture:hal:hardware_libraries|Hardware Library]]. Depending on the type of the hardware you have to install one of the libraries given below. Please keep in mind that these libraries are already included in our target images or get installed automatically if you follow the steps given in [[getting_started:install:use_on_host|]].
  
 ===== Simulator ===== ===== Simulator =====
 Clone the eeros simulator wrapper source repository: Clone the eeros simulator wrapper source repository:
 <code> <code>
-$ git clone https://github.com/eeros-project/sim-eeros.git+$ git clone https://github.com/eeros-project/sim-eeros.git sim-eeros
 </code> </code>
  
Line 11: Line 11:
 <code> <code>
 $ cd sim-eeros $ cd sim-eeros
-$ git checkout master +$ git checkout v1.0.0</code>
-</code> +
- +
-Compile to a custom folder: +
-<code> +
-$ mkdir build-x86-64 +
-$ cd build-x86-64 +
-$ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. +
-$ make +
-</code> +
- +
-Finally you have to install the library so that your system will find it at runtime. Depending on your system this could be: +
-<code> +
-$ sudo cp lib/libsimeeros.so /usr/lib +
-</code> +
-Or you could add the directory to your library path with +
-<code> +
-$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/absolute/path/to/compiled/lib/ +
-</code>+
  
 +Continue with [[getting_started:compile_eeros_man|]].
 ===== flink ===== ===== flink =====
-Follow the installation instructions in [[http://flink-project.ch/]] to install flink. +Follow the installation instructions in [[http://flink-project.ch/]] to install flink. \\ 
-Clone the eeros flink wrapper source repository:+As a next step clone the eeros flink wrapper source repository:
 <code> <code>
-$ git clone https://github.com/eeros-project/flink-eeros.git+$ git clone https://github.com/eeros-project/flink-eeros.git flink-eeros
 </code> </code>
  
Line 41: Line 24:
 <code> <code>
 $ cd flink-eeros $ cd flink-eeros
-$ git checkout master +$ git checkout v1.0.0</code>
-</code>+
  
-Compile to a custom folder:+Continue with [[getting_started:compile_eeros_man|]]. 
 +===== Beagle Bone blue ===== 
 +Make sure to have the [[http://beagleboard.org/librobotcontrol/index.html|librobotcontrol]] installed on your host and target machine. It is already included in our SDK for the [[http://beagleboard.org/blue|BeagleBone blue]] board. 
 +When this is done clone the eeros bbblue wrapper source repository:
 <code> <code>
-mkdir build-x86-64 +git clone https://github.com/eeros-project/bbblue-eeros.git bbblue-eeros
-$ cd build-x86-64 +
-$ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. +
-$ make+
 </code> </code>
  
-Finally you have to install the library so that your system will find it at runtime. Depending on your system this could be:+Checkout a stable version of the wrapper:
 <code> <code>
-sudo cp lib/libflinkeeros.so /usr/lib +cd bbblue-eeros 
-</code> +git checkout v1.2.0</code>
-Or you could add the directory to your library path with +
-<code> +
-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/absolute/path/to/compiled/lib/ +
-</code>+
  
-===== Beagle Bone blue ===== +Continue with [[getting_started:compile_eeros_man|]]. 
-Follow the installation instructions in [[http://www.strawsondesign.com/#!manual-install]] to install the roboticscape library. +===== comedi ===== 
-Clone the eeros bbblue wrapper source repository:+Follow the installation instructions in [[http://www.comedi.org/]] to install the comedi library. \\ 
 +When this is done clone the eeros comedi wrapper source repository:
 <code> <code>
-$ git clone https://github.com/eeros-project/bbblue-eeros.git+$ git clone https://github.com/eeros-project/comedi-eeros.git comedi-eeros
 </code> </code>
  
 Checkout a stable version of the wrapper: Checkout a stable version of the wrapper:
 <code> <code>
-$ cd bbblue-eeros+$ cd comedi-eeros
 $ git checkout master $ git checkout master
 </code> </code>
  
-Compile to a custom folder:+Continue with [[getting_started:compile_eeros_man|]]. 
 +===== ROS ===== 
 +Follow the installation instructions in [[http://www.ros.org/]] to install ROS itself. \\ 
 +After this you have to clone the eeros ROS wrapper source repository:
 <code> <code>
-mkdir build-x86-64 +git clone https://github.com/eeros-project/ros-eeros.git ros-eeros
-$ cd build-x86-64 +
-$ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. +
-$ make+
 </code> </code>
  
-Finally you have to install the library so that your system will find it at runtime. Depending on your system this could be:+Checkout a stable version of the wrapper:
 <code> <code>
-sudo cp lib/libbbblueeeros.so /usr/lib +cd ros-eeros 
-</code> +$ git checkout v.1.0.0</code> 
-Or you could add the directory to your library path with + 
-<code> +Continue with [[getting_started:compile_eeros_man|]]. 
-$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/absolute/path/to/compiled/lib+===== EtherCAT ===== 
-</code>+The detailed documentation about EtherCAT together with installation and setup information is given on [[https://wiki.ntb.ch/infoportal/embedded_systems/ethercat/start|OST Infoportal]]. 
 + 
 +Use the predefined EtherCAT blocks within a control system, see [[eeros_architecture:control_system:available_blocks#blocks_for_interfacing_with_ethercat|Blocks for Interfacing with EtherCAT]]. 
 + 
 + 
 +===== CANopen ===== 
 +The detailed documentation about CANopen together with installation and setup information is given on [[https://gitlab.ost.ch/tech/inf/public/canopenlib]].  
 + 
 +Use the predefined CAN blocks within a control system, see [[eeros_architecture:control_system:available_blocks#blocks_for_interfacing_with_can|Blocks for Interfacing with CAN]]. Add -DUSE_CAN=TRUE to the cmake arguments when building EEROS to include an example using CANopen. 
 + 
 +===== MODBUS ===== 
 +We use MODBUS for accessing sensor data. On Linux, use [[https://libmodbus.org/]] for information about installing the library. 
 +For the examples in EEROS which use MODBUS to be built, you have to add ''-DUSE_MODBUS=TRUE'' to the cmake arguments when building EEROS. 
 + 
 +===== PixyCam ===== 
 +When using the pixy camera (see [[eeros_architecture:control_system:available_blocks:pixycam2|]]), you have to fetch and install its necessary library. 
 +Add ''-DUSE_PIXYCAM=TRUE'' to the cmake arguments when building EEROS to include an example with PixyCam. 
 + 
 +===== RealSense ===== 
 +When using the RealSense camera (see [[eeros_architecture:control_system:available_blocks:realsenset256|]]), you have to fetch and install its necessary library. 
 +Add ''-DUSE_REALSENSE=TRUE'' to the cmake arguments when building EEROS to include an example with RealSense T256. 
 + 
 +===== RP Lidar ===== 
 +When using a RPLidar (see [[eeros_architecture:control_system:available_blocks:rplidar|]]), you have to fetch and install its necessary library. 
 +Add ''-DUSE_RPLIDAR=TRUE'' to the cmake arguments when building EEROS to include an example with RPLidar sensor. This argument will also fetch a driver from the ''external'' directory within EEROS. 
 + 
 +===== SBG Ellipse-A ===== 
 +When using a SBG Ellipse-A sensor (see [[eeros_architecture:control_system:available_blocks:sbgellipsea|]]), you have to fetch and install its necessary library. 
 +Add ''-DUSE_SBGECOMM=TRUE'' to the cmake arguments when building EEROS to include an example with Ellipse-A sensor. 
 + 
 +===== ODrive ===== 
 +When using ODrive motor controllers (see [[eeros_architecture:control_system:available_blocks:odrive|]]), you need a library with the ''external/odrive'' directory of EEROS. Build this library and install it. 
 +Add ''-DUSE_ODRIVE=TRUE'' to the cmake arguments when building EEROS to include an example controlling an odrive.
getting_started/install_wrapper.txt · Last modified: 2024/06/13 13:50 by ursgraf