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
getting_started:install_wrapper [2017/11/30 17:56] – external edit 127.0.0.1getting_started:install_wrapper [2023/03/09 09:08] (current) – [ROS] 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.1</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. \\
 As a next step 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.10</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/libflinkeeros.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|]].
 ===== Beagle Bone blue ===== ===== Beagle Bone blue =====
-Follow the installation instructions in [[http://www.strawsondesign.com/#!manual-install]] to install the roboticscape library.+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: When this is done clone the eeros bbblue wrapper source repository:
 <code> <code>
-$ git clone https://github.com/eeros-project/bbblue-eeros.git+$ git clone https://github.com/eeros-project/bbblue-eeros.git bbblue-eeros
 </code> </code>
  
Line 71: Line 37:
 <code> <code>
 $ cd bbblue-eeros $ cd bbblue-eeros
-$ git checkout master +$ git checkout v1.3.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/libbbblueeeros.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|]].
 ===== comedi ===== ===== comedi =====
 Follow the installation instructions in [[http://www.comedi.org/]] to install the comedi library. \\ 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: When this is done clone the eeros comedi wrapper source repository:
 <code> <code>
-$ git clone https://github.com/eeros-project/comedi-eeros.git+$ git clone https://github.com/eeros-project/comedi-eeros.git comedi-eeros
 </code> </code>
  
Line 104: Line 53:
 </code> </code>
  
-Compile to a custom folder: +Continue with [[getting_started:compile_eeros_man|]].
-<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/libcomedieeros.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> +
 ===== ROS ===== ===== ROS =====
-Follow the installation instructions in [[http://www.ros.org/]] to install ROS. \\+Follow the installation instructions in [[http://www.ros.org/]] to install ROS itself. We suggest using ROS2. However, you can also use ROS1.\\
 After this you have to clone the eeros ROS wrapper source repository: After this you have to clone the eeros ROS wrapper source repository:
 <code> <code>
-$ git clone https://github.com/eeros-project/ros-eeros.git+$ git clone https://github.com/eeros-project/ros-eeros.git ros-eeros
 </code> </code>
  
-Checkout a stable version of the wrapper:+Checkout a stable version of the wrapper. For ROS2, this is:
 <code> <code>
 $ cd ros-eeros $ cd ros-eeros
-$ git checkout master +$ git checkout v.2.0.0</code> 
-</code>+For ROS1, use the version v.1.0.1.\\ 
 +Continue with [[getting_started:compile_eeros_man|]]. 
 +===== EtherCAT ===== 
 +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]].
  
-Compile to custom folder+Use the predefined EtherCAT blocks within control system, see [[eeros_architecture:control_system:available_blocks#blocks_for_interfacing_with_ethercat|Blocks for Interfacing with EtherCAT]]. 
-<code> + 
-$ mkdir build-x86-64 + 
-$ cd build-x86-64 +===== CANopen ===== 
-$ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .+The detailed documentation about CANopen together with installation and setup information is given on [[https://gitlab.ost.ch/tech/inf/public/canopenlib]]
-$ 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+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. 
-<code> + 
-$ sudo cp lib/libroseeros.so /usr/lib +===== MODBUS ===== 
-</code> +We use MODBUS for accessing sensor dataOn Linux, use [[https://libmodbus.org/]] for information about installing the library. 
-Or you could add the directory to your library path with +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. 
-<code> + 
-$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/absolute/path/to/compiled/lib/ +===== PixyCam ===== 
-</code>+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.1512060988.txt.gz · Last modified: 2017/11/30 17:56 by 127.0.0.1