[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:
Peter Johnson
2025-01-25 10:52:19 -08:00
committed by GitHub
parent adbe95e610
commit eee30c49e2
88 changed files with 85 additions and 1356 deletions

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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 {