mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Add DutyCycleEncoder and AnalogEncoder (#2040)
This commit is contained in:
committed by
Peter Johnson
parent
5510960068
commit
8280b7e3af
@@ -89,6 +89,8 @@ unsigned int DutyCycle::GetOutputScaleFactor() const {
|
||||
return retVal;
|
||||
}
|
||||
|
||||
int DutyCycle::GetSourceChannel() const { return m_source->GetChannel(); }
|
||||
|
||||
void DutyCycle::InitSendable(SendableBuilder& builder) {
|
||||
builder.SetSmartDashboardType("Duty Cycle");
|
||||
builder.AddDoubleProperty("Frequency",
|
||||
|
||||
Reference in New Issue
Block a user