Difference between revisions of "Data Collection Howto"
Jump to navigation
Jump to search
(→Every time data collection) |
(→Every time data collection) |
||
Line 18: | Line 18: | ||
#**'''The compass IDs don't necessarily match up with their sockets!''' Look at the board for the mappings or check the wires! | #**'''The compass IDs don't necessarily match up with their sockets!''' Look at the board for the mappings or check the wires! | ||
#*The rooms are D124 D128 and D129 | #*The rooms are D124 D128 and D129 | ||
− | #*The origin of the room is marked with a large +. Each tape hatch is 5 tiles apart. | + | #*The origin of the room is marked with a large +. Each tape hatch is 5 tiles apart. North is positive y and East is positive x |
Revision as of 09:34, 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
- Update hicompass to the [latest version cs.earlham.edu/~leemasa/robotics/hicompass.py]
- Checkout the github repository
- git://github.com/Sleemanmunk/Magnetic-Mapping.git
- more info at [github www.github.com]
Every time data collection
Setup
- Make sure all the compasses you will be using are connected
- The current plan is to use 4
- Make sure that bot_id.py refers to your bot
- Start up your program
- Follow the on-screen instructions.
- Each compass's ID is written on it in permanent dry-erase marker.
- The compass IDs don't necessarily match up with their sockets! Look at the board for the mappings or check the wires!
- The rooms are D124 D128 and D129
- The origin of the room is marked with a large +. Each tape hatch is 5 tiles apart. North is positive y and East is positive x
- Each compass's ID is written on it in permanent dry-erase marker.
Running: Repeat the following steps until the entire room is mapped
- Place your robot on the center of a tile
- Make sure to keep it facing the same direction!
- use the WASD keys to move the abstract coordinates of the box to reflect its new location
- 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 $ ssh myusername@cs.earlham.edu $ cp -i mydatafile.dat /tmp/robotics
IMPORTANT: Don't overwrite a file you didn't create!