mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Deprecate GearTooth class for removal (#1878)
It only works with a specific sensor that isn't available anymore, the class is a trivial wrapper around a Counter, and no one uses this class according to FMS usage reporting.
This commit is contained in:
committed by
Peter Johnson
parent
86b666bba9
commit
904479ad43
@@ -1,5 +1,5 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2008-2018 FIRST. All Rights Reserved. */
|
||||
/* Copyright (c) 2008-2019 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
@@ -15,7 +15,11 @@ import edu.wpi.first.wpilibj.smartdashboard.SendableBuilder;
|
||||
* Alias for counter class. Implement the gear tooth sensor supplied by FIRST. Currently there is no
|
||||
* reverse sensing on the gear tooth sensor, but in future versions we might implement the necessary
|
||||
* timing in the FPGA to sense direction.
|
||||
*
|
||||
* @deprecated The only sensor this works with is no longer available and no teams use it according
|
||||
* to FMS usage reporting.
|
||||
*/
|
||||
@Deprecated(since = "2020", forRemoval = true)
|
||||
public class GearTooth extends Counter {
|
||||
private static final double kGearToothThreshold = 55e-6;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user