Notes from Robuddies January 23, 2006
--
RobertSim - 24 Jan 2006
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:
- Begin logged on to a Linux box, and being inside the directory where you want the code to end up.
- Join the groups with permissions to access all parts of the CVS repository with the commands:
- newgrp little
- newgrp lci
- Execute the CVS checkout instruction which grabs the code and puts it in your directory:
- cvs -d ~simra/ai/.cvs co fastslam
- 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.
- Install the ImageMagick development libraries, and ensure that these are in the path.
- 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:
- Navigator.cc. Lines 402 and 403 need (unsigned int)() casts put around the hardcoded zeros.
- GlobalNavigator.cc. Lines 60 and 61 need (unsigned int)() casts put around the hardcoded zeros.
- Compile the code:
- make checkout_install GCC=4.1
- make PRODUCTION=yes
Please contact Dave Meger with any feedback on these instructions.
-- Main.DavidMeger - 13 Feb 2007