Professional Documents
Culture Documents
We use a matrix to index the arena into rows and columns and this is used to locate the position of
the auto bot in the arena.
Column
1
2 R
4
o
3 w
Blind spots: the distance sensors can only sense an object precisely in the range 20 cm to
150 cm (as given in the data sheet) and if the object is less than 20 cm the readings will not
be precise and the object distance may be misinterpreted as in the range of its vision. Hence
to avoid such ambiguity we place a blind spot at both the positions i.e. at a distance <20 cm
and in the appropriate distance in the range 20-150 cm.
Auto-bot deployment
After power on, check if both the proximity sensors read white. If white wait i=1, else check
i. If i=1, move forward by following the line until an intersection is reached and update the
current position of the bot as (-1, 1).
Else if i=0, move forward by following the line until an intersection is reached and update the
current position of the bot as (-1, 5). Turn right and move forward by following the line until
an intersection is reached and update the current position of the bot as (-1, 4). Continue
moving forward until (-1, 1) is reached and turn left.
Now move forward by following the line until an intersection is reached and update the
current position of the bot as (0, 1).