View Single Post
  #9   Spotlight this post!  
Unread 05-04-2008, 23:19
bilal1219's Avatar
bilal1219 bilal1219 is offline
Registered User
AKA: Bilal
FRC #1219 (Iron Eagles)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Canada
Posts: 56
bilal1219 is an unknown quantity at this point
Re: Programming n3wb needs help

Quote:
Originally Posted by tawnos23 View Post
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.
__________________


<a href="http://www.thebluealliance.net/tbatv/team.php?team=1219" style="border: 0"><img src="http://www.thebluealliance.net/tbatv/teambadge/gen/1219/FF3300/0066FF/teambadge.png" alt="Team 1219" /></a>

Robots Might Lose But Teams Never Do