13 #include <wpi/deprecated.h>
15 #include "frc/Counter.h"
29 static constexpr
double kGearToothThreshold = 55e-6;
40 "The only sensor this works with is no longer available and no teams use "
41 "it according to FMS usage reporting.")
42 explicit GearTooth(
int channel,
bool directionSensitive =
false);
55 "The only sensor this works with is no longer available and no teams use "
56 "it according to FMS usage reporting.")
70 "The only sensor this works with is no longer available and no teams use "
71 "it according to FMS usage reporting.")
72 explicit GearTooth(std::shared_ptr<DigitalSource> source,
73 bool directionSensitive =
false);
void EnableDirectionSensing(bool directionSensitive)
Common code called by the constructors.
Alias for counter class.
Definition: GearTooth.h:26
A class that enforces constraints on the differential drive kinematics.
Definition: SPIAccelerometerSim.h:16
Class for counting the number of ticks on a digital input channel.
Definition: Counter.h:37
DigitalSource Interface.
Definition: DigitalSource.h:25
WPI_DEPRECATED("The only sensor this works with is no longer available and no teams use " "it according to FMS usage reporting.") explicit GearTooth(int channel
Construct a GearTooth sensor given a channel.
Definition: SendableBuilder.h:23
void InitSendable(SendableBuilder &builder) override
Initializes this Sendable object.