Difference: GeneralNotes (1 vs. 6)

Revision 62007-06-12 - rmcantin

Line: 1 to 1
 
META TOPICPARENT name="Robots"
Notes from Robuddies January 23, 2006
Line: 45 to 45
  -- DavidMeger - 13 Feb 2007
Added:
>
>
I found installing ImageMagick really tedious, so I tried to use the one installed in ROBHOME. However, it needs slightly different environment variables:

  • export ROBHOME="/.autofs/homes/ubccshome/s/simra"
  • export MAGICK_HOME="${ROBHOME}"
  • export FASTSLAM_HOME="/.autofs/homes/ubccshome/r/rmcantin/simcode/fastslam"
  • export CPATH="${CPATH}:${MAGICK_HOME}/lib:${MAGICK_HOME}/include"
  • export PYTHONPATH="/usr/lib/python2.4"
  • export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/cs/public/lib/pkgconfig:/lci/project/raid1/elinas/gtk/lib/pkgconfig:${MAGICK_HOME}/lib/pkgconfig"
  • export LD_LIBRARY_PATH="${ROBHOME}/mrl/lib:${ROBHOME}/mrl/lib/Robodaemon:${ROBHOME}/lib:${ROBHOME}/ai/lib: ${ROBHOME}/Localize/lib:${ROBHOME}/ai/aim/usr/lib:/cs/public/lib/pkg/:${MAGICK_HOME}/lib"
  • export PATH="${PATH}:${MAGICK_HOME}/bin"

Note that I'm using bash shell and that's why I use export instead of setenv.

-- Main.rmcantin - 12 Jun 2007

 

Revision 52007-03-30 - djinndw

Line: 1 to 1
 
META TOPICPARENT name="Robots"
Notes from Robuddies January 23, 2006
Line: 20 to 20
 
    1. cvs -d ~simra/ai/.cvs co fastslam
  1. Add some necessary lines to your shell config files. There are several ways to do this, and some components are shell dependent.
    1. setenv ROBHOME /.autofs/homes/ubccshome/s/simra
Changed:
<
<
    1. setenv MAGICK_HOME # the main directory for the ImageMagick files
>
>
    1. setenv MAGICK_HOME # the main directory for the ImageMagick files (set to ROBHOME if you don't want to install a new version of ImageMagick)
 
    1. setenv FASTSLAM_HOME # where you checked out the files
Changed:
<
<
    1. setenv CPATH ${CPATH}:${MAGICK_HOME}/Magick++/lib
>
>
    1. setenv CPATH ${CPATH}:${MAGICK_HOME}/include/Magick++/lib
 
    1. setenv PYTHONPATH /usr/lib/python2.4
    2. setenv PKG_CONFIG_PATH ${PKG_CONFIG_PATH}:/cs/public/lib/pkgconfig:/lci/project/raid1/elinas/gtk/lib/pkgconfig
    3. setenv LD_LIBRARY_PATH ${ROBHOME}/mrl/lib:${ROBHOME}/mrl/lib/Robodaemon:${ROBHOME}/lib:${ROBHOME}/ai/lib:

Revision 42007-03-07 - djinndw

Line: 1 to 1
 
META TOPICPARENT name="Robots"
Notes from Robuddies January 23, 2006
Line: 13 to 13
 The robot code can be compiled and built successfully by following these steps:

  1. Begin logged on to a Linux box, and being inside the directory where you want the code to end up.
Changed:
<
<
  1. Join the groups with permissions to access all parts of the CVS repository with the commands:
    1. newgrp little
    2. newgrp lci
>
>
  1. Get permissions for the following groups from IT to access all parts of the CVS repository with the commands (you can also newgrp them, but they will not be permanent):
    1. little
    2. lci
 
  1. Execute the CVS checkout instruction which grabs the code and puts it in your directory:
    1. cvs -d ~simra/ai/.cvs co fastslam
Changed:
<
<
  1. Add some necessary lines to your shell config files. There are several ways to do this, and some components are shell dependent. Here are the lines that work for me when added to my .cshrc.
>
>
  1. Add some necessary lines to your shell config files. There are several ways to do this, and some components are shell dependent.
    1. setenv ROBHOME /.autofs/homes/ubccshome/s/simra
    2. setenv MAGICK_HOME # the main directory for the ImageMagick files
    3. setenv FASTSLAM_HOME # where you checked out the files
    4. setenv CPATH ${CPATH}:${MAGICK_HOME}/Magick++/lib
    5. setenv PYTHONPATH /usr/lib/python2.4
    6. setenv PKG_CONFIG_PATH ${PKG_CONFIG_PATH}:/cs/public/lib/pkgconfig:/lci/project/raid1/elinas/gtk/lib/pkgconfig
    7. setenv LD_LIBRARY_PATH ${ROBHOME}/mrl/lib:${ROBHOME}/mrl/lib/Robodaemon:${ROBHOME}/lib:${ROBHOME}/ai/lib: ${ROBHOME}/Localize/lib:${ROBHOME}/ai/aim/usr/lib:/cs/public/lib/pkg/:${MAGICK_HOME}/lib
    8. setenv PATH ${PATH}:${MAGICK_HOME}/bin
 
  1. Install the ImageMagick development libraries, and ensure that these are in the path.
Added:
>
>
if the libraries are not on the system that you are using, do the following to get it to work:
    1. download and untar the files
    2. ./configure --prefix=${MAGICK_HOME} # this prevents ImageMagick from trying to put files in /usr/local/bin & /usr/local/lib if you lack the premissions to write there
    3. make # to build the package
    4. display # to test that ImageMagick is working properly
 
  1. At the time I built the code, two files gave errors under gcc 4. I had to modify these files slightly to get the build to work:
    1. Navigator.cc. Lines 402 and 403 need (unsigned int)() casts put around the hardcoded zeros.
    2. GlobalNavigator.cc. Lines 60 and 61 need (unsigned int)() casts put around the hardcoded zeros.
  2. Compile the code:
Changed:
<
<
    1. make checkout_install GCC=4.1
>
>
    1. make checkout-install GCC=4.1
 
    1. make PRODUCTION=yes

Please contact Dave Meger with any feedback on these instructions.

Revision 32007-02-13 - DavidMeger

Line: 1 to 1
 
META TOPICPARENT name="Robots"
Notes from Robuddies January 23, 2006
Line: 20 to 20
 
    1. cvs -d ~simra/ai/.cvs co fastslam
  1. Add some necessary lines to your shell config files. There are several ways to do this, and some components are shell dependent. Here are the lines that work for me when added to my .cshrc.
  2. Install the ImageMagick development libraries, and ensure that these are in the path.
Added:
>
>
  1. At the time I built the code, two files gave errors under gcc 4. I had to modify these files slightly to get the build to work:
    1. Navigator.cc. Lines 402 and 403 need (unsigned int)() casts put around the hardcoded zeros.
    2. GlobalNavigator.cc. Lines 60 and 61 need (unsigned int)() casts put around the hardcoded zeros.
 
  1. Compile the code:
    1. make checkout_install GCC=4.1
Changed:
<
<
  1. At the time I built the code, two files gave errors under gcc 4. I had to modify these files slightly to get the build to work:
    1. Navigator.cc
    2. GlobalNavigator.cc
>
>
    1. make PRODUCTION=yes
  Please contact Dave Meger with any feedback on these instructions.

Revision 22007-02-13 - DavidMeger

Line: 1 to 1
 
META TOPICPARENT name="Robots"
Notes from Robuddies January 23, 2006
Line: 7 to 7
  -- RobertSim - 24 Jan 2006
Added:
>
>
Here is a brief set of instructions for checking out the code and getting it running for the first time. I'm starting this based on my own experiences. If each person using it would be kind enough to add the details they find relevant, then we'll always have an up to date instruction set.

The robot code can be compiled and built successfully by following these steps:

  1. Begin logged on to a Linux box, and being inside the directory where you want the code to end up.
  2. Join the groups with permissions to access all parts of the CVS repository with the commands:
    1. newgrp little
    2. newgrp lci
  3. Execute the CVS checkout instruction which grabs the code and puts it in your directory:
    1. cvs -d ~simra/ai/.cvs co fastslam
  4. Add some necessary lines to your shell config files. There are several ways to do this, and some components are shell dependent. Here are the lines that work for me when added to my .cshrc.
  5. Install the ImageMagick development libraries, and ensure that these are in the path.
  6. Compile the code:
    1. make checkout_install GCC=4.1
  7. At the time I built the code, two files gave errors under gcc 4. I had to modify these files slightly to get the build to work:
    1. Navigator.cc
    2. GlobalNavigator.cc

Please contact Dave Meger with any feedback on these instructions.

-- Main.DavidMeger - 13 Feb 2007

Revision 12006-01-24 - RobertSim

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="Robots"
Notes from Robuddies January 23, 2006

-- RobertSim - 24 Jan 2006

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback