View Single Post
  #3   Spotlight this post!  
Unread 24-01-2009, 19:53
darkorbit's Avatar
darkorbit darkorbit is offline
Electrical?!
AKA: Jin Lem
FRC #0069 (HYPER ROBOTICS)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Quincy, MA
Posts: 57
darkorbit is a name known to alldarkorbit is a name known to alldarkorbit is a name known to alldarkorbit is a name known to alldarkorbit is a name known to alldarkorbit is a name known to all
Re: Encoder reset on power up

We want the encoder to retain it's values because it's going to be use for something with our drive system. So say at the end of the match the wheels are at one position but since you shut the robot off the values of the encoder are gone so then we would therefore have to recalibrate the encoder to read 0 when the wheels are straight...

Sorry i'm a nub programmer xD so how would I go about making the the robot "write the current encoder value to a file on the cRIO, then add code to read from that file when the cRIO boots up"?
__________________


2007 BOSTON REGIONAL WINNERS (NU-HYPER-FORCE)
2008 Florida Regional 2nd Place

Last edited by darkorbit : 24-01-2009 at 19:57.
Reply With Quote