CS 495 Artificial Intelligence Fall 1999, Instructor: Jeffrey Horn
HOMEWORK 3: Stimulus-Response Brains
(Digital Braitenberg Vehicles
| Handed out/Assigned: | Fri. Nov. 19, 1999 |
FROM THE TEXT: Chapter 2, early parts, for background.
(1) DIGITAL Braitenberg Vehicle 1:


We have two binary outputs, one for each motor.
LM is left motor, RM is right. A "0" output means no power to the
motor, while a "1" means go forward. (so an output of 01, which is
0 to the left and 1 to the right motor, would result in an arcing turn
to the left, while 10 would be a right turn)
Here is an example truth table (ie., a "brain") for a strategy to move toward obstacles (hopefully!):
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(1A) Fill in the following blank truth table
for a strategy to move AWAY from obstacles:
|
|
|
|||
|
|
|
|
|
|
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
VEHICLE 2:
Now let's add some resolution to our sensors and effectors. Let there be THREE detectors, arrayed as follows:
Also, let there be two binary outputs to the two motors,
allowing us four different speeds; reverse (00), stop (01), slow
forward (10) and fast forward (11). Now redo the above
strategies for Vehicle 2:
|
|
OUTPUTS | |||||
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
||||
|
|
|
|
||||
|
|
|
|
||||
|
|
|
|
||||
|
|
|
|
||||
|
|
|
|
||||
|
|
|
|
|
|
OUTPUTS | |||||
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
||||
|
|
|
|
||||
|
|
|
|
||||
|
|
|
|
||||
|
|
|
|
||||
|
|
|
|
||||
|
|
|
|
VEHICLE 3:
Design your own! Take vehicle 1 or vehicle 2 (v1 is twice as simple as v2, but also has only half the sensory information!), and add AT LEAST ONE NEW sensor, and/or AT LEAST ONE new effector. These can be just one bit each (note that for every bit of additional sensor data you double the number of rows in the lookup table! this is NOT true for the output (effector) bits however). Be inventive. And explain fully what the sensor gives you, and/or what your effector does, and what the strategy is (yes, you have to give an example lookup table using your new capablities). ALSO: DRAW an example of your robot's behavior using the sensors and effectors and your strategy. This should be a 2-D sketch of the robot, obstacles, walls, light sources, other robots, WHATEVER is appropriate, and trace a path of how you would expect it to move, turn, fire, or whatever, over time in that world. This will help me understand what you have in mind!
Acceptable examples include: