Open duane701 opened 5 years ago
HatchIntake::GetEncoderFromAngle() could be (very) slow as preferences are read on every call.
Work out a system for caching the angle and slope so that preferences are not regularly read.
Be sure to catch re-calibration and to reset the cached values.
HatchIntake::GetEncoderFromAngle() could be (very) slow as preferences are read on every call.
Work out a system for caching the angle and slope so that preferences are not regularly read.
Be sure to catch re-calibration and to reset the cached values.