4WD robot self navigating with 'brain power'

Hello,

I’m new to using the 4WD robot. I got the robot to move forward and
turning, controlled by the buttons A, B, C on the Atom 28 board and powered
by the Scorpion board. I’m in the process of connecting the sensors and
navigating the robot via some sensors. The ultimate goal of my project is to:

a) navigate a maze using infared sensors (which I think I can do) and
b) after navigating through the maze with sensors, be able to navigate with
no sensors.

So I will probably will have to use the microcontroller on the Atom 28 to
remember the movements via the sensors. I’m having trouble for part (b).
Would anyone have ideas or sample code I can see?

Thanks,
Andrea

For b, you will have to put encoders on the wheels, and store their counts during phase a, so that you can ‘play them back’ in phase b.

However, a 4WD chassis is very wrong for this application. Skid steer inherently is unpredictable when turning, and thus with a skid steer vehicle, you will never be able to play back your moves. You will want to use only two motors and two drive wheels, and then add a caster or omniwheels or something.