I don't really know where this should be, so if it is in the wrong place could a moderator move it or something?
Anyway, my problem is this:
I am building a small robot for my GCSE systems project. At first, I was going to use 2 sharp IR sensors and an ultrasound module for object detection, but I later realised that I could replace the 2 IR sensors with just one mounted on a servo. Upon reading the sharp IR tutorial, however, I saw that I would need to account for the motion of the robot in my program, and I have no clue as to how this could be done. Could anyone please offer any tips?
I have searched the forum, but not really knowing what keywords to search has stopped me finding anything, so apologies if this has been answered already.