I would like to build my first robot using 2 servos as wheels, 2 sharp ir (20cm-150cm) with 2 servos under Sharp IR sensors and 2 encoders. I have no problems programming microchips. I’m a little bit stuck, how to structure the program to make everything work. For now I’d like to program my robot to follow my CAT in other words, find and detect moving object and lock on that object then follow it using 2 sharp IR sensors. Instead of reinventing the bicycle I’d like to ask someone to post pseudocode or diagram how everything should work in a program.
Also if anybody has pseudocode / diagram how to program a basic mapping to remember obstacles would be a huge help.
Any help would be much appreciated and thanks in advance.
Also if anybody has pseudocode / diagram how to program a basic mapping to remember obstacles would be a huge help.
Any help would be much appreciated and thanks in advance.
Last edited: