Aseba is a set of tools which allow beginners to program robots easily and efficiently. For more information, see: http://aseba.wikidot.com
Copyright (C) 2007--2015:
Stephane Magnenat <stephane at magnenat dot net>
(http://stephane.magnenat.net)
and other contributors, see authors.txt for details
To compile Aseba, you need CMake 2.6 or later (http://www.cmake.org/). The CMake website provides documentation on how to use CMake on the different platforms: http://www.cmake.org/cmake/help/runningcmake.html
Aseba depends on the following libraries:
- Dashel (http://home.gna.org/dashel/)
- Boost (http://www.boost.org/)
- Qt4 (http://www.qtsoftware.com/products/, for IDE)
- Qwt (http://qwt.sourceforge.net/, optional, for graphs)
- Enki (http://home.gna.org/enki/, optional, for simulators)
And optionally, to enumerate serial ports properly on linux:
On Linux, the first four libraries are packages available in your distribution. For instance, on Ubuntu, you can install them, along cmake and the compiler, with:
sudo apt-get install libboost-dev libqt4-dev qt4-dev-tools libqwt5-qt4-dev libudev-dev cmake g++ subversion git
Then you have to fetch Dashel, Enki, compile them, and then you can fetch Aseba and tell it where it can find Dashel and Enki. Then you can compile Aseba. The following script does this for you:
# create build tree
mkdir -p aseba/build-dashel aseba/build-enki aseba/build-aseba
cd aseba
# fetch and compile dashel
git clone https://github.com/aseba-community/dashel.git
cd build-dashel
cmake ../dashel -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF
make
cd ..
# fetch and compile enki
git clone https://github.com/enki-community/enki.git
cd build-enki
cmake ../enki -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
cd ..
# fetch and compile aseba, telling it where to find dashel and enki
git clone --recursive https://github.com/aseba-community/aseba.git
cd build-aseba
export dashel_DIR=../build-dashel
cmake ../aseba -DCMAKE_BUILD_TYPE=RelWithDebInfo -Ddashel_DIR=../build-dashel -DDASHEL_INCLUDE_DIR=../dashel -DDASHEL_LIBRARY=../build-dashel/libdashel.a -DENKI_INCLUDE_DIR=../enki -DENKI_LIBRARY=../build-enki/enki/libenki.a -DENKI_VIEWER_LIBRARY=../build-enki/viewer/libenkiviewer.a
make
Once this script has run, you can find the executables in build-aseba/
, in their respective sub-directories.
If you have some problem to compile Aseba after reading the relevant documentation, feel free to post your question on our development mailing list. You can subscribe to the latter at http://gna.org/mail/?group=aseba
Enjoy Aseba!
The developers