Download presentation
Presentation is loading. Please wait.
Published byJosephine Black Modified over 8 years ago
1
Introduction to Computer Science – Chapter 6 CSc 2010 Spring 2011 Marco Valero
2
Overview Braitenberg vehicles Alive vehicle Coward, aggressive vehicle If, else if, else Reactive behaviors
3
Braitenberg Vehicles Simple rules exhibit complex behavior A simple vehicle with a small suite of sensors and motors Law of uphill analysis and downhill invention
4
Alive One sensor and one motor Direct relationship between sensor and motor ▫Use input from sensor to directly drive robot motors(c, c) or forward(c)
5
Coward & Aggresive Two sensors to feed each motor individually Left & right sensors feed the left & right motors, respectively ▫Coward Left & right sensors feed the right & left motors, respectively ▫Aggresive
6
If, else if, else if : else: if : elif : else:
7
Simple Reactive Behaviors while timeRemaining( ): ▫
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.