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 are already included in our target images or get installed automatically if you follow the steps given in Use on the Host.
Simulator
Clone the eeros simulator wrapper source repository:
$ git clone https://github.com/eeros-project/sim-eeros.git sim-eeros
Checkout a stable version of the wrapper:
$ cd sim-eeros $ git checkout v1.0.0
Continue with Compile Manually.
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 flink-eeros
Checkout a stable version of the wrapper:
$ cd flink-eeros $ git checkout v1.0.0
Continue with Compile Manually.
Beagle Bone blue
Make sure to have the librobotcontrol installed on your host and target machine. It is already included in our SDK for the BeagleBone blue board. 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 v1.2.0
Continue with Compile Manually.
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 comedi-eeros
Checkout a stable version of the wrapper:
$ cd comedi-eeros $ git checkout master
Continue with Compile Manually.
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:
$ git clone https://github.com/eeros-project/ros-eeros.git ros-eeros
Checkout a stable version of the wrapper:
$ cd ros-eeros $ git checkout v.1.0.0
Continue with Compile Manually.
EtherCAT
The detailed documentation about EtherCAT together with installation and setup information is given on OST Infoportal.
Use the predefined EtherCAT blocks within a control system, see 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 Blocks for Interfacing with CAN. Add -DUSE_CAN 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
to the cmake arguments when building EEROS.
PixyCam
When using the pixy camera (see PixyCam 2, you have to fetch and install its necessary library.
Add -DUSE_PIXYCAM
to the cmake arguments when building EEROS to include an example with PixyCam.