|
Re: Talons, Jaguars and Victors - where do you stand?
Quote:
Originally Posted by Ether
The "standard" update rate of the Talon driver in WPILib is 10ms not 5.
At least it is in the 12/20/2012 version of Talon.java.
|
Interesting.
I assumed that since Mike Copioli said the Talon would accept a PWM to something around 3ms that it was set in the WPIlib to 5.05ms (1 DIO loop frequency)
I set ours to 1 DIO loop frequency (5.05ms) and have no issues, not even with practice bot Victors using the Talon output scaling and pulse period of 5.05ms. I'm not entirely sure why the output frequency was ever set to 2 DIO loops (10.1ms) to begin with, or why the DIO loop is 5.05ms instead of 5ms or something even faster.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|