Quote:
Originally Posted by Jared Russell
Bleh, now that you mention it I remember that it is a HAL accumulator, but the 200Hz bit is news to me; all Java code and documentation suggests that the period requested by spiInitAccumulator will be honored. Stuff like that ought to be documented.
|
You made me curious too. I thought I had remembered 200Hz, but it does look like we bumped it to 1KHz by default, and it does honor the period requested by spiInitAccumulator.
The documentation and cleanup of WPILib has actually been one of the big goals this summer and offseason. The HAL API was basically rewritten to be typesafe and faster too, along with being closer to what a HAL should be. In addition to some much needed consistency improvements and cleanups.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of
RobotDotNet, a .NET port of the WPILib.