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

ChandniUsingButtons

Using Buttons

This is just how i went about doing this. You can check out my text file here:

http://www.cs.uml.edu/teams-academy/uploads/Robots/ChandniBraitExample.txt

To differentiate between the two different codes (which would only different in the color of the egg we are looking for), I used buttons to switch between the two choice pretty easily. I used it for my Braitenberg Code and it worked very effectively. With the way I set it up, we didn't have any issues where it would not have stayed in the loop after a button was pressed. Using an if, it would check once, and using a while would mean the button would have to be held the entire time. So the way I set it up (If loop with a while inside) it works pretty effectively, and requires the least human input. ~Chandni

: )


Allison's and Chandni's Super-Secret Egg Hunt Planning Blueprints!!
See Allison's Progress
See Chandni's Progress
Allison's and Chandni's Discussion\\

Edit - History - Print - Recent Changes - Search
Page last modified on January 15, 2008, at 12:12 AM