Difference between revisions of "Data Collection Howto"

From Earlham CS Department
Jump to navigation Jump to search
(Every time data collection)
Line 25: Line 25:
 
When you are finished, press "q" to stop the program.
 
When you are finished, press "q" to stop the program.
  
Send your resulting data file to /tmp in quark
+
Put the data file you've created on quark:
  scp <your username>@cs.earlham.edu:/tmp <data file>
+
* from the laptop you've taken the data file
 +
  $ scp mydatafile.dat myusername@cs.earlham.edu
 +
* from your home directory on quark
 +
$ cp -i mydatafile.dat /tmp/robotics

Revision as of 10:12, 8 April 2010

A short description of how to do data collection. You may find it useful to look at these maps. http://cs.earlham.edu/~carrick/courses/cs282/lab6/visualization/viz.php

First time Precollection setup

  1. Update hicompass to the [latest version cs.earlham.edu/~leemasa/robotics/hicompass.py]
  2. Checkout the github repository

Every time data collection

Setup

  1. Make sure all the compasses you will be using are connected
    • The current plan is to use 4
  2. Make sure that bot_id.py refers to your bot
  3. Start up your program
  4. Follow the on-screen instructions.
    • Each compass's ID is written on it in permanent dry-erase marker.
    • Expected values and the details of the coordinate system are on their way.

Running: Repeat the following steps until the entire room is mapped

  1. Place your robot on the center of a tile
    • Make sure to keep it facing the same direction!
  2. use the WASD keys to move the abstract coordinates of the box to reflect its new location
  3. press the spacebar and wait for the data collection to complete

When you are finished, press "q" to stop the program.

Put the data file you've created on quark:

  • from the laptop you've taken the data file
$ scp mydatafile.dat myusername@cs.earlham.edu
  • from your home directory on quark
$ cp -i mydatafile.dat /tmp/robotics