Weston Middle School |
Technology/EngineeringCourse Materials |
Weston, Massachusetts |
| Home | Lego Robotics | Grade 7 Design-Construction | Grade 8 Design-Construction | Links | | ||
Lego NxT Roboticst-Walk
the Dog |
||
"Walk the Dog" is an exercise in direct control of the robot( vs autonomous control programs such as the line follower). It also introduces another application of switches in a polling loop, in which the program serially 'polls' each switch. Algorithm:
Loop:
----------------------------------------------------
end of loop Question: Is direct, manual control easier and/or more accurate than autonomous control loops such as the line follower? |
Links |
|
EditRegion5
|
||
Revised
January 2011 by Jonathan Dietz,
dietzj@mail.weston.org |