Difference between revisions of "Team Commando"

From GcatWiki
Jump to: navigation, search
(Detecting Windows)
(Communication Between Detection and Navigation)
Line 70: Line 70:
 
*initialize serial port connection:
 
*initialize serial port connection:
 
**[[Media:InitializeComMod.m.txt]]
 
**[[Media:InitializeComMod.m.txt]]
 +
*read input:
 +
**[[Media:ReadCommand.m.txt]]

Revision as of 04:59, 9 May 2012

Navigation

Image Processing

  • Camera
    • Logitech Orbit (on a stick)
  • Method
    • attach laptop to iRobot
    • receive signal from robot when it has arrived in room via command module serial ports => matlab
    • webcam pans and roborealm scans for magenta
      • matlab checks to see if roborealm has found magenta at every degree of the pan
        • if found, places a one in the vector entry corresponding to that room
  • RoboRealm
    • Color to detect: magenta?
    • attach color to bottom of window so can only be detected when open


  • What We Have So Far:
    • RoboRealm module string to find magenta blobs and control Orbit
    • MatLab script that opens RoboRealm and controls camera/gets magenta detection info
    • sticker mockup

To-Do:

    • Get magenta tape
    • test Orbit in different light conditions
    • look into more filter options
      • sunglasses seemed like an option
      • Rob McSwain has been emailed about video filters
    • Figure out exact frequency of magenta and how that corresponds to hue/intensity in RoboRealm so that extraneous magenta objects are not picked up
    • Add something to MatLab script to interpret the vector once the Roomba has been everywhere
    • Test/figure out the serial port pings to MatLab
  • roborealm over rtacks while panning; needs a second to get oriented
    • change matlab script to only check for blobs once camera has paused for a second.


  • The Most Current To-DO:
    • We'll also fine-tune the script so the center of gravity doesn't appear when it isn't supposed to
    • Communication between command module and matlab
      • serial port
      • microphone
    • Jonah is going to add pause-checks to the MatLab script so it doesn't mis-classify
    • A beautiful sticker will be designed with the specs we currently have
    • And the world shall rejoice in itself and its conservation of energy

What Works

Navigation

  • Command module script:

Detecting Windows

  • Matlab script:
  • RoboRealm filters:
    • for at night with lights on
    • for at night with lights off and flashlight

Communication Between Detection and Navigation