Society of Robots - Robot Forum
Software => Software => Topic started by: lobo on October 29, 2008, 02:26:40 PM
-
Hello,
I was wondering if somebody had already made an object avoidance program for the $50 dollar robot using the Sharp GP2Y0A2YK IR Ranger?
I know that admin provides one for the $50 robot but that program is not for object avoidance it sort of just a teaser and it just follows and object. Something like that. Any how i already tried it out .
But I need a simple program for the atmega8 that avoids objects that I can download into the robot and study as well, to further my understanding of C programing for uC.
Please post program.
Thank you for your help in advance.
-
just reverse the control structure so instead of turning into the object, it turns away from it
-
how you mean?
-
have it go the opposite way of the side it detects an object on
-
which file there is the .h the .c the make file?
-
header files are for definition, and the c files are for implementation