Quote:
Originally Posted by bilal1219
There is something called COPYCAT code
|
How would the controller save the variables after reset? You would either have to type all the recorded distances and angles into the code by hand, or else you would have to use EEPROM, a bit difficult for a rookie team using EasyC.
As a suggestion, you should try hooking up a gyro and geartooth sensors. I have been very impressed with how well EasyC reads these sensors and gives you usable data. You could then write a drive function and a turn function, and use these, along with angles and distances, to run a successful autonomous mode.
As a side note: is there any way to use EEPROM with EasyC? That would be really useful.
__________________
Branden Ghena - Michigan Tech Student and Team 240 Alumnus
Working Towards: Electrical Engineering and Computer Engineering Double Major
"All we have to decide is what to do with the time that is given to us." - Gandalf