Wednesday, 13 February 2013

Example - 2


However, if part of the obstacle, or another obstacle, is dead ahead (someone
tries to herd the robot into a wall), the robot will stop, then apply the
results of RUNAWAY. So it will stop, turn and begin to move forward again.
Stopping prevents the robot from side-swiping the obstacle while it is turning
and moving forward. Level 0 shows how a fairly complex set of actions
can emerge from very simple modules.
It is helpful to recast the subsumption architecture in the terms used in this
book, as shown in Fig. 4.8. Note how this looks like the vertical decomposition
in Fig. 4.2: the sensor data flows through the concurrent behaviors to
the actuators, and the independent behaviors cause the robot to do the right
thing. The SONAR module would be considered a global interface to the sensors,
while the TURN and FORWARD modules would be considered part of
the actuators (an interface). For the purposes of this book, a behavior must
consist of a perceptual schema and a motor schema. Perceptual schemas are
connected to a sensor, while motor schemas are connected to actuators. For
Level 0, the perceptual schemas would be contained in the FEELFORCE and
COLLIDE modules. The motor schemas are RUNAWAY and COLLIDE modules.
COLLIDE combines both perceptual processing (extracts the vector for
the sonar facing directly ahead) and the pattern of action (halt if there is a







































No comments:

Post a Comment