I am simply giving 4 states to the robot that is (LEFT, RIGHT, FRONT, BACK) and i am recording the time for which they are in that state and again reading these values back from EEPROM and then running the robot at those states for that time.
And as i said i am able to retrace the robots path in forward direction with a good accuracy . the backward path is causing problems