Thread: Magnetic Sensor
View Single Post
  #17   Spotlight this post!  
Unread 28-02-2013, 17:58
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 495
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: Magnetic Sensor

i changed :

Code:
m_counter->writeTimerConfig_AverageSize(6, &localStatus);
to:

Code:
m_counter->writeTimerConfig_AverageSize(1, &localStatus);
and im getting a consistant rpm with that function i had in there. every once and a while ill get a blip of 30k rpm or something should the set max period fix that?

Edit: consistent rpm of 247 rpm when i do

Code:
talon.Set(.1);
Reply With Quote