This is an old revision of the document!
Use with Comedi
The following is a step-by-step procedure to get started using EEROS with comedi. comedi stands for linux control and measurement device interface. It is a collection of drivers for a variety of common data acquisition plug-in boards.
As a first step install comedi, see Installing Hardware Libraries - comedi As cross tool chain, the arm-linux-gnueabihf-gcc-4.9 is needed. It is recommended to use a Ubuntu 16.04 as host operating system, since this packet is available in the default repositories. If a Linux host is used in a virtual machine, a lightweight Ubuntu distribution is recommended. In case you are using a newer Ubuntu version, you have to add xenial to your sources list, see https://askubuntu.com/questions/1036108/install-gcc-4-9-at-ubuntu-18-04.
Fetch the EEROS scripts on your cross development system with
$ git clone https://github.com/eeros-project/eeros-build-scripts.git eeros-project $ cd eeros-project
Edit the file config.sh.in
as follows
use_simulator=false use_flink=false use_bbblue=false use_comedi=true use_ros=false use_custom_application=true
Setting the last entry 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.
Now you can run the clone
script
$ ./clone.sh
After this you can continue with Compile.