Warning: Attempt to modify property of non-object in /usr/share/dokuwiki/lib/plugins/pageredirect/action.php on line 94

Instalando em uma distribuição Ubuntu/Debian

  1. Instalando o player:
      sudo aptitude install robot-player-dev
  2. Instalando o stage:
      sudo aptitude install libstage-dev libstage-plugin1 stage
  3. Finalizando a instalação:
      sudo ln /usr/share/X11/rgb.txt /usr/X11R6/lib/X11/

Instalando a partir do código fonte

Baixando os pacotes do player 2.0.5 e stage 2.0.3

  1. Caso você esteja dentro do VerLAB, baixe os pacotes que encontram-se dentro do servidor subversion local, pois eles contêm pequenas mudanças feitas parar habilitar/corrigir pequenos bugs.
  1. Caso contrário, vá até o site:

player/stage

Instalando a versão antiga

Instalando o player-2.0.5

  1. Preparando o sistema:
      sudo aptitude install g++
      sudo aptitude install pkg-config
      sudo aptitude install libltdl-dev
      sudo aptitude install libboost-iostreams-dev libboost-dev libboost-signals-dev libboost-thread-dev
      sudo aptitude install lib3ds-dev 
      sudo aptitude install libcv-dev libcvaux-dev libhigui-dev 
      sudo aptitude install libraw1394-dev libdc1394-dev libgdal-dev libgeos-dev libgsl-dev libjpeg-dev libois-dev libpng-dev
      sudo aptitude install gsl-dev
      sudo aptitude install python-gdal
      sudo aptitude install libjpeg-dev
      sudo aptitude install libpng3
      sudo aptitude install libtiff-dev
      sudo aptitude install libxml2
      sudo aptitude install python-dev
      sudo aptitude install libsphinx2-dev
      sudo aptitude install libcv-dev libcvaux-dev
      sudo aptitude install libgdk-pixbuf-dev
      sudo aptitude install libgsl0-dev
      sudo aptitude install libssl-dev
  2. Instalando o player:
      tar xvfj player-2.0.5.tar.bz2
      cd player-2.0.5
      ./configure
      make
      sudo make install

Instalando o stage-2.0.3

  1. Instalando o stage:
      tar xvfj stage-2.0.3.tar.bz2
      cd stage-2.0.3
      ./configure
      make
      sudo make install

Instalando o gazebo-0.7.0

  1. Preparando o sistema:
      sudo aptitude install swig wxpython
      sudo aptitude install libgeos-dev lib3ds-dev
      sudo aptitude install libxml2-dev
      sudo aptitude install libgdal1-1.3.2-dev
      tar xvfz ode-0.5.tgz
      cd ode-0.5
      vi config/user-settings
      make configure
      make ode-lib
      sudo cp -r include/ode /usr/local/include/
      sudo cp lib/libode.a /usr/local/lib/
      find /usr -iname rgb.txt | sudo xargs ln -s -t /usr/X11R6/lib/X11/
    
      export PYTHONPATH=/usr/lib/python2.4/site-packages/
      sudo aptitude install libxmu-dev
  2. Instalando o gazebo:
      tar xvfz gazebo-0.7.0.tar.gz
      ./configure
      make
      sudo make install

Instalando a versão mais recente

Instalando o player-2.1.1

  1. Preparando o sistema:
      sudo aptitude install g++ libboost-thread-dev libboost-signals-dev libboost-iostreams-dev libltdl-dev
      sudo aptitude install lib3ds-dev libcv-dev libcvaux-dev libdc1394-dev libdgal-dev libgeos-dev libgsl-dev libhigui-dev libjpeg-dev libois-dev libpng-dev
  2. Instalando o player:
      ./configure --prefix=/usr/local/player-2.1.1 --disable-vec2map
      make
      sudo make install
  3. Finalizando a instalação:
      cd /usr/local
      sudo ln -s player-2.1.1 player
    1. Editar o arquivo /etc/profile para que contenha as linhas:
        PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/player/lib/pkgconfig
        PYTHONPATH=$PYTHONPATH:/usr/local/player/lib/python2.5/site-packages
        PATH=$PATH:/usr/local/player/bin
        export PKG_CONFIG_PATH PYTHONPATH PATH
    2. Criar o arquivo /etc/ld.so.conf.d/player.conf
    3. Rodar
        sudo ldconfig
        cd /usr/lib
        sudo ln -s libltdl.so libltdl.so.3

Instalando o Gazebo-0.8-pre3

  1. Preparando o sistema:
      sudo aptitude install libode-dev libogre-dev libfltk-dev scons swig
  2. Corrigindo alguns bugs:
    1. editar o arquivo player/SimulationInterface.cc e acrescentar:
free(req.name);
req.name = (char*) malloc(256*sizeof(char));

antes da linha 253

  1. Instalando o gazebo:
      scons prefix=/usr/local/gazebo-0.8-pre3
      sudo scons prefix=/usr/local/gazebo-0.8-pre3 install
  2. Finalizando a instalação:
      cd /usr/local
      sudo ln -s gazebo-0.8-pre3 gazebo
    1. Editar o arquivo /etc/profile para que contenha as linhas:
        PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/gazebo/lib/pkgconfig
        PYTHONPATH=$PYTHONPATH:/usr/local/gazebo/lib/python2.5/site-packages
        PATH=$PATH:/usr/local/gazebo/bin
        export PKG_CONFIG_PATH PYTHONPATH PATH

Instalando o Stage-3.0.1

  1. Preparando o sistema:
      sudo aptitude install cmake
  2. Instalando o stage:
      cmake -DCMAKE_INSTALL_PREFIX=/usr/local/stage-3.0.1/ .
      make
      sudo make install
  3. Finalizando a instalação:
      cd /usr/local
      sudo ln -s stage-3.0.1 stage

FAQ

O player trava quando tento usá-lo com o stage

Copie o arquivo /usr/share/X11/rgb.txt para a pasta /usr/X11R6/lib/X11/

tutoriais/instalacao_psg.txt · Última modificação: 2009/04/02 17:18 por pshiroma