Quote:
Originally Posted by tawnos23
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.
|
well, sorry, i meant the copy cat code works in C.you have to code it like you said. Its a very complex code. me and my other partner worked hard on it.but as you said its hard for a rookie team to do it. so i think they are better off with GTS and gyro sensor with easy C.Becuase we tried to run GTS
on C and we couldnt run it.we thought there is a some problem in the sensor. Therefore we did not use is, instead we ended u using the copy cat code,which actually worked well for us. we were able to cross 2 lines with the delay of 5 secnds.