mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilib] Remove LiveWindow (#7733)
This will be replaced by a different mechanism, but removing it eases the initial implementation burden of a new Telemetry/Sendable framework.
This commit is contained in:
@@ -60,7 +60,7 @@ ExternalDirectionCounter::ExternalDirectionCounter(
|
||||
Reset();
|
||||
|
||||
HAL_Report(HALUsageReporting::kResourceType_Counter, m_index + 1);
|
||||
wpi::SendableRegistry::AddLW(this, "External Direction Counter", m_index);
|
||||
wpi::SendableRegistry::Add(this, "External Direction Counter", m_index);
|
||||
}
|
||||
|
||||
int ExternalDirectionCounter::GetCount() const {
|
||||
|
||||
@@ -34,7 +34,7 @@ Tachometer::Tachometer(std::shared_ptr<DigitalSource> source) {
|
||||
FRC_CheckErrorStatus(status, "{}", m_index);
|
||||
|
||||
HAL_Report(HALUsageReporting::kResourceType_Counter, m_index + 1);
|
||||
wpi::SendableRegistry::AddLW(this, "Tachometer", m_index);
|
||||
wpi::SendableRegistry::Add(this, "Tachometer", m_index);
|
||||
}
|
||||
|
||||
units::hertz_t Tachometer::GetFrequency() const {
|
||||
|
||||
@@ -54,7 +54,7 @@ UpDownCounter::UpDownCounter(std::shared_ptr<DigitalSource> upSource,
|
||||
Reset();
|
||||
|
||||
HAL_Report(HALUsageReporting::kResourceType_Counter, m_index + 1);
|
||||
wpi::SendableRegistry::AddLW(this, "UpDown Counter", m_index);
|
||||
wpi::SendableRegistry::Add(this, "UpDown Counter", m_index);
|
||||
}
|
||||
|
||||
int UpDownCounter::GetCount() const {
|
||||
|
||||
Reference in New Issue
Block a user