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

Course Home

Syllabus

Course Calendar

Activities and Projects

Building References

Programming References

Presentations

Gallery

Frameworks

Additional Info

"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:

  • Left Motor - B
  • Right Motor- C
  • Left switch- 1
  • Right Switch- 2

Loop:

  • If button 1 released, motor B goes forward indefinitely
  • If button 1 pressed, motor B goes backward indefinitely

----------------------------------------------------

  • If button 2 released, motor C goes forward indefinitely
  • If button 2 pressed, motor C goes backward indefinitely

end of loop


Question:

Is direct, manual control easier and/or more accurate than autonomous control loops such as the line follower?

Links

Google Driverless Vehicles

News Item: Self-Driving cars

Google Car

TED Talks: Self-Driving Cars

EditRegion5
 
Revised January 2011 by Jonathan Dietz, dietzj@mail.weston.org