public class GearTooth extends Counter
Counter.CounterMode, Counter.SourceTypeCounterBase.EncodingTypePIDSource.PIDSourceType| Modifier and Type | Field and Description |
|---|---|
private static double |
GEAR_TOOTH_THRESHOLD |
| Constructor and Description |
|---|
GearTooth(DigitalIO.DigitalChannel channel) |
GearTooth(DigitalIO.DigitalChannel channel,
boolean dirSensitive) |
GearTooth(DigitalIO source) |
GearTooth(DigitalIO source,
boolean dirSensitive) |
| Modifier and Type | Method and Description |
|---|---|
void |
enableDirectionSensing(boolean dirSensitive) |
java.lang.String |
getSmartDashboardType() |
clearSource, disableModule, enableModule, free, getCount, getDirection, getDistance, getModuleEnabled, getPeriod, getRate, getSamplesPerAverage, getStopped, pidGet, reset, setDistancePerPulse, setExternalDirectionMode, setMaxPeriod, setPIDSourceType, setPulseLengthMode, setReverseDirection, setSamplesPerAverage, setSemiPeriodMode, setSource, setSource, setSourceEdge, setUpdateWhenEmpty, setUpDownCounterModeget, getFPGAIndexprivate static final double GEAR_TOOTH_THRESHOLD
public GearTooth(DigitalIO source)
public GearTooth(DigitalIO.DigitalChannel channel)
public GearTooth(DigitalIO source, boolean dirSensitive)
public GearTooth(DigitalIO.DigitalChannel channel, boolean dirSensitive)