optical flow sensor for mobile robot navigation

Hi friends..I badly need your help.My project is to design a flow sensor for mobile robot navigation.That is the mobile should not hit the walls on right and left,just go straight.distance is to be measured continuously as velocity of the image and the this data is used to navigate the robot along the straight path.I will be very thankful if anyone guides me on this..Waiting for reply..

Now what the heck is wrong with you? Four similar posts in one forum, that must be a record?

Cheers,
Kari