Recent Changes - Search:

TEAMS Academy Wiki

THS

Explore TEAMS!
for visiting sophomores & juniors


Robotics


EnvBioTech

Bat Design

Assistive Tech

Students

Instructors

TEAMS Forum

TEAMS Calendar

TEAMS Web Site

Wiki Info

edit Robots.SideBar

MananMarkPseudocode

  1. Wait for Input:
    • If Play is Pressed:
      • Desired Color = Blue
      • Other Color = Yellow
    • Else If Advanced is Pressed:
      • Desired Color = Yellow
      • Other Color = Yellow
  2. While Time < 2 Minutes
    1. If FindObject()
      • Go Towards Object
      1. If DetectColor() == Desired Color
        • Go Towards Ball
        • CaptureBall()
        • FindGoal()
        • Go Towards Goal
        • ReleaseBall()
      2. Else If DetectColor() == Other Color
        • Go Towards Ball
        • CaptureBall()
        • FindGoal()
        • Go Away From Goal
        • ReleaseBall()
  3. Stop

Back to Main Page

Edit - History - Print - Recent Changes - Search
Page last modified on January 06, 2008, at 11:44 PM