Assignment 2
CSCI-4290/6290: Robot Motion Planning
Fall 2003


FAQ

Updated 1:45pm, October 19, 2003.

Description

Please contact Mayur Patel , the undergrad TA for the course, at patelm4@cs.rpi.edu if you have questions regarding the support code or use of dolt.

dolt

You will use the drawableObject Library (dolt) to display your results. dolt was created by Wes Huang and Kris Beevers at RPI specifically as a tool for creating small simulations and for generating figures and demonstrations. dolt makes use of the GLUT OpenGL graphics library and requires the library to be installed. Optionally, it can also be used in conjunction with the Computational Geometry Algorithms Library (CGAL) , though CGAL is not required for use of dolt.

(If you plan to install dolt on your personal machine, go here for information on dolt installation and to download dolt source code.)

Getting the Assignment 2 support code working

You will need the following libraries:

Getting Started

  1. On the CS department Suns, you will need to edit your .bashrc file to include the following lines:
    export CGAL_MAKEFILE=/usr/local/make/makefile_sparc_SunOS-5.9_g++-2.95
    export DOLT_MAKEFILE=/usr/local/make/Makefile-dolt
    
    After you have done this, you should run the command:
    $ source ~/.bashrc
    
    That will make sure that these environment variables are set. In the future, your new .bashrc file will be executed when you log in.

  2. Next install the filereader code: **Note**: I changed the make command above to just "gmake" instead of "gmake filereader" which causes an error. (Sept 18, 4:50pm)

  3. Create a directory to work in, and download the assign2code.tar file to this directory. Then do the following:
    $ tar xvf assign2code.tar
    $ gmake assign2
    $ ./assign2 Problem1.txt
    
    Note that the Makefile must be modified so the directory path to the filereader library reflects its location in your account. Compiling the program will take a minute and produce a bunch of output. When you run the executable, it should open a window and draw the world. Press 'h' to get a list of commands.

Program specifications

Labs


Back to the course home page

Srinivas Akella
Email: sakella@cs.rpi.edu