mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
8fe888dbc9a7d2c8c7566774ccb9453cf7493d00
Analog accumulators now wait for the amount of time a full sample (including oversampling and averaging) lasts after AnalogInput::ResetAccumulator() is called, so they don't return old values after being reset. This delay should be microseconds long and will only happen when an accumulator is reset. A new test is is the C++ TiltPanCameraTest that tests this behavior with the Gyro class. Change-Id: I1b3ffdeec187959f95c5e637a6d428c9a4bc2cf4
Description
WPILib - FRC Robotics Library
Languages
C++
53%
Java
32.7%
Python
7.6%
C
2.6%
Jinja
1.6%
Other
2.4%