mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +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:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user