Cómo instalar el software de RD1 sobre Raspbian 7

From Asociación de Robótica UC3M
Jump to: navigation, search

Básico: Abrir una terminal dentro de Raspbian y ejecutar (teclear y 'enter' tras cada línea, aceptando todo y entrando contraseña cuando solicitada):

sudo apt-get install cmake
sudo apt-get install cmake-curses-gui  # Recommended, as it contains ccmake.
sudo apt-get install libcv-dev
sudo apt-get install build-essential libace-dev git
sudo apt-get install libgsl0-dev  # Needed for creating YARP lib_math we use for kinematics
sudo apt-get install libjpeg8-dev   # Needed for mjpeg_carrier for cam
git clone https://github.com/robotology/yarp
cd yarp; mkdir build; cd build
cmake .. -DCREATE_LIB_MATH=ON -DCREATE_OPTIONAL_CARRIERS=ON -DENABLE_yarpcar_mjpeg_carrier=ON -DCREATE_DEVICE_LIBRARY_MODULES=ON -DENABLE_yarpmod_opencv_grabber=ON -DCREATE_SHARED_LIBRARY=OFF
make -j3;  sudo make install; cd ../..
git clone https://github.com/asrob-uc3m/robotDevastation-robots.git  # Download the robotDevastation-robots software from the repository
cd robotDevastation-robots/rd1/software; mkdir build; cd build; cmake ..  # Configure the robotDevastation-robots RD1 software
make  # Compile
sudo make install  # Install :-)

#- Extra robotName config server:
sudo apt-get install php5
sudo ln -s web/index.php /var/www
sudo ln -s web/save.php /var/www

Avanzado: Esto es un enlace a la guía en inglés.