[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

@@ -5,7 +5,6 @@
package edu.wpi.first.wpilibj.templates.timeslice;
import edu.wpi.first.wpilibj.TimesliceRobot;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
@@ -25,10 +24,6 @@ public class Robot extends TimesliceRobot {
// Run robot periodic() functions for 5 ms, and run controllers every 10 ms
super(0.005, 0.01);
// LiveWindow causes drastic overruns in robot periodic functions that will
// interfere with controllers
LiveWindow.disableAllTelemetry();
// Runs for 2 ms after robot periodic functions
schedule(() -> {}, 0.002);

View File

@@ -5,7 +5,6 @@
package edu.wpi.first.wpilibj.templates.timesliceskeleton;
import edu.wpi.first.wpilibj.TimesliceRobot;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;
/**
* The methods in this class are called automatically corresponding to each mode, as described in
@@ -18,10 +17,6 @@ public class Robot extends TimesliceRobot {
// Run robot periodic() functions for 5 ms, and run controllers every 10 ms
super(0.005, 0.01);
// LiveWindow causes drastic overruns in robot periodic functions that will
// interfere with controllers
LiveWindow.disableAllTelemetry();
// Runs for 2 ms after robot periodic functions
schedule(() -> {}, 0.002);