View Single Post
  #4   Spotlight this post!  
Unread 25-11-2005, 15:30
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: EEPROM and Encoders

Quote:
Originally Posted by Bharat Nain
In the past, I have seen teams use EEPROM to record an autonomous mode at the click of a joystick. Of course this makes life SO MUCH SIMPLER except it has some major flaws. The results will vary every time you run it because of battery power(big one), wear and tear on wheels, motor damage, slight modifications etc. So I thought of a neat idea although I haven't yet figured out how this is feasible - record encoder counts into the EEPROM. We would have to avoid time as a variable(unless someone thinks up of a clever scheme). Any ideas?
If I had to do it, I would setup the 'bot to keep track of it's position on the field, and when a joystick button were pushed, store the current location as a way point to EEPROM. If you kept your moves to straight lines and turns-in-place, you could modify the 2005 scripting code to play back the commands from EEPROM.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org