|
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"?
Last edited by darkorbit : 24-01-2009 at 19:57.
|