Sunday, June 10, 2007

Installing rcssserver3d-0.5.5

First of all, get the tar ball from the sourceforge site, or use these direct links.

http://jaist.dl.sourceforge.net/sourceforge/sserver/rcssserver3d-0.5.5-data.tar.gz

http://jaist.dl.sourceforge.net/sourceforge/sserver/rcssserver3d-0.5.5.tar.gz

Note that there are two distinct files, one containing the data (textures, models, etc.) for the fancier coloring, etc. of the bot, and the other the code files.

Extract the rcssserver3d-0.5.5.tar.gz

Run ./configure
(No need for --enable-kerosin, but you may want to put in the flag --with-gnu-ld)
(spades is not needed, besides that, the other dependencies are the same as the previous version)

Run make

(You can choose to run "make doc" after (apt-)getting doxygen and graphviz to generate the documentation too, though it will take a little while)

Run make install

Then where ever the files have been installed (/usr/local/share/rcssserver3d: NOTE follows),
there extract the rcssserver3d-0.5.5-data.tar.gz

In the ~/rcssserver3d-0.5.5/app/simspark/simspark.rb file:
change the 37th line from:

run "materials.rb"

to

run "materials-textures.rb"

NOTE: That installs the fancy textures. For the correct information of where the files need to be present, check the 9th line of "materials-texture.rb" file. This is the actual place where you need to extract the files. The first one was my best guess.

To enable the Force Perceptor (FRP) is a little more complicated. The rsg files in the simspark directory ned to be changed to do that. More on that will follow.

If simspark has a problem with finding the libraries, then make all the softlinks as in the last blog, then things should continue smoothly.

Friday, May 18, 2007

Instructions to install RoboSoccer On Ubuntu Feisty

You can follow these steps to install RoboSoccer (rcssserver0.5.4) on Ubuntu:

I think kerosin has a few issues with beryl and Desktop Effects of Ubuntu itself (NOT CONFIRMED). Hence disable/uninstall it to be on the safe side.


  1. Download rcssserver3d-0.5.4 from here.


  2. Install some of its compile-time dependencies using the following command (Take care of the Ruby version):

    sudo aptitude install expat libexpat-dev \
    libglut-dev libjpeg-dev libsdl-dev libdevil-dev ruby \
    libruby-dev libode-dev libtiff-dev libxmu-dev \
    freeglut-dev libxi-dev libx11-dev



  3. The next dependency is SPADES.
    Get it and extract it.
    There is a bug in spades which is fixed by the patch given here.
    Click here to download the patch. Download it in the same directory where you extracted SPADES.
    Now, run the following commands


    mv clone_num_arg.patch spades-1.10
    cd spades-1.10
    patch -p0 < clone_num_arg.patch
    ./configure
    make
    sudo make install



  4. Next (Or if you run into any problems in the make phase, again the ), run the following commands:

    sudo ln -sf /usr/local/lib/libspades* /lib/
    sudo ln -sf /usr/local/lib/rcssserver3d/* /lib/
    sudo ln -sf /usr/lib/libslang.so /usr/lib/libslang.so.1

    (some extra symlinks might be created, but they don't hurt ;) )


  5. Now, compile rcssserver3d. Goto its directory and run the following commands:

    ./configure --enable-kerosin=yes
    make
    sudo make install





References:
I think you can get a complete archives of packages to install from this site:
[1]: Simspark Downloading and Installing Guide
[2]: http://gii2.nagaokaut.ac.jp/gii/index.php?itemid=784
[3]: http://gii2.nagaokaut.ac.jp/gii/index.php?itemid=781
(Thanks to YcChew.)

Sunday, May 6, 2007

NVIDIA Drivers and installation.

Problem with nVidia drivers



I ran into a problem, after meddling with my nVidia drivers, which has that something to do with redefinition of a function in gl.h and glut.h

This error occured during the make phase.

To resolve this, I uninstalled/reinstalled the following libraries:

mesa-command-dev
freeglut3-dev
libsdl-dev

This resolved the problem, or so it seems.

HTH,
musically_ut