mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51: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:
@@ -43,7 +43,7 @@ public class BangBangController implements Sendable {
|
||||
|
||||
setTolerance(tolerance);
|
||||
|
||||
SendableRegistry.addLW(this, "BangBangController", instances);
|
||||
SendableRegistry.add(this, "BangBangController", instances);
|
||||
|
||||
MathSharedStore.reportUsage(MathUsageId.kController_BangBangController, instances);
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ public class PIDController implements Sendable, AutoCloseable {
|
||||
m_period = period;
|
||||
|
||||
instances++;
|
||||
SendableRegistry.addLW(this, "PIDController", instances);
|
||||
SendableRegistry.add(this, "PIDController", instances);
|
||||
|
||||
MathSharedStore.reportUsage(MathUsageId.kController_PIDController2, instances);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user