IR Radar Proof of Concept

My first attempt at Radar using BotCode instead of NQC.

RadarBot 1
I programmed this
bot in BotCode and
have included the
code below.
But first some pics:

A basic wheelchair
type design with the large front
wheel pulling the rear steering wheel.

The steering uses
a worm gear that drives a long shaft via a
40 tooth gear. Essentially creating power steering.
A rotation sensor keeps track of the

Another side shot
showing the rotation sensor.

Here is the front
with that IR transceiver and the light sensor
mounted underneath. The rider and the
steering on top are just for fun.

Finally, a quick gear-down
for the underside motor with a differential
to make turning smooth.

Every rover needs
a driver!
Here is the BotCode
Click Me