This is an old revision of the document!
Installing Hardware Libraries
As soon as you want to access hardware on your system you need a 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 the Sources with a Script.
Simulator
Clone the eeros simulator wrapper source repository:
$ git clone https://github.com/eeros-project/sim-eeros.git
Checkout a stable version of the wrapper:
$ cd sim-eeros $ git checkout master
Compile to a custom folder:
$ mkdir build-x86-64 $ cd build-x86-64 $ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. $ make
Finally you have to install the library so that your system will find it at runtime. Depending on your system this could be:
$ sudo cp lib/libsimeeros.so /usr/lib
Or you could add the directory to your library path with
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/absolute/path/to/compiled/lib/
flink
Follow the installation instructions in http://flink-project.ch/ to install flink.
As a next step clone the eeros flink wrapper source repository:
$ git clone https://github.com/eeros-project/flink-eeros.git
Checkout a stable version of the wrapper:
$ cd flink-eeros $ git checkout master
Compile to a custom folder:
$ mkdir build-x86-64 $ cd build-x86-64 $ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. $ make
Finally you have to install the library so that your system will find it at runtime. Depending on your system this could be:
$ sudo cp lib/libflinkeeros.so /usr/lib
Or you could add the directory to your library path with
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/absolute/path/to/compiled/lib/
Beagle Bone blue
Follow the installation instructions in http://www.strawsondesign.com/#!manual-install to install the roboticscape library. When this is done clone the eeros bbblue wrapper source repository:
$ git clone https://github.com/eeros-project/bbblue-eeros.git bbblue-eeros
Checkout a stable version of the wrapper:
$ cd bbblue-eeros $ git checkout master
Continue with compile_manually_in_terminal
Compile to a custom folder:
$ mkdir build-x86-64 $ cd build-x86-64 $ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. $ make
Finally you have to install the library so that your system will find it at runtime. Depending on your system this could be:
$ sudo cp lib/libbbblueeeros.so /usr/lib
Or you could add the directory to your library path with
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/absolute/path/to/compiled/lib/
comedi
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:
$ git clone https://github.com/eeros-project/comedi-eeros.git
Checkout a stable version of the wrapper:
$ cd comedi-eeros $ git checkout master
Compile to a custom folder:
$ mkdir build-x86-64 $ cd build-x86-64 $ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. $ make
Finally you have to install the library so that your system will find it at runtime. Depending on your system this could be:
$ sudo cp lib/libcomedieeros.so /usr/lib
Or you could add the directory to your library path with
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/absolute/path/to/compiled/lib/
ROS
Follow the installation instructions in http://www.ros.org/ to install ROS.
After this you have to clone the eeros ROS wrapper source repository:
$ git clone https://github.com/eeros-project/ros-eeros.git
Checkout a stable version of the wrapper:
$ cd ros-eeros $ git checkout master
Compile to a custom folder:
$ mkdir build-x86-64 $ cd build-x86-64 $ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. $ make
Finally you have to install the library so that your system will find it at runtime. Depending on your system this could be:
$ sudo cp lib/libroseeros.so /usr/lib
Or you could add the directory to your library path with
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/absolute/path/to/compiled/lib/
EtherCAT
The detailed documentation about EtherCAT together with installation and setup information is given on NTB Infoportal.