From 7a107109cea7b6b5496465c3d013a4c2f81d6433 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 24 Mar 2017 08:13:03 -0400 Subject: remove PDP display; silence CAN errors --- src/org/usfirst/frc/team4272/robot2017/HwRobot.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java index c43d0c5..aeb8934 100644 --- a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java +++ b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java @@ -77,7 +77,6 @@ public class HwRobot { public final Encoder lDriveE = new Encoder(/*DIO*/0,/*DIO*/1, /*reverse*/false); public final Encoder rDriveE = new Encoder(/*DIO*/2,/*DIO*/3, /*reverse*/true); public final PIDSource lRate, rRate; - public final PowerDistributionPanel PDP = new PowerDistributionPanel(); /* via CAN */ public final DriverStation ds = DriverStation.getInstance(); public final double axleWidth = 2.0; // in feet @@ -92,8 +91,6 @@ public class HwRobot { lRate = new RollingAvg(5, lDriveE); rRate = new RollingAvg(5, rDriveE); - - PDP.initTable(NetworkTable.getTable("PDP")); } private double maxRate = 0; @@ -124,8 +121,5 @@ public class HwRobot { SmartDashboard.putBoolean("highGear", c.highGear); SmartDashboard.putBoolean("gedOut", c.gedOut); - - PDP.updateTable(); - SmartDashboard.putData("PDP", PDP); } } -- cgit v1.2.3-54-g00ecf