Finding the direction of the robot

A compass might be an option.