View Single Post
  #2   Spotlight this post!  
Unread 04-01-2017, 01:04
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,076
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Why the sudden burst of code postings?

Quote:
Originally Posted by Jared Russell View Post
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.
Reply With Quote