diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-03-24 08:13:03 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-03-24 08:13:03 -0400 |
commit | 7a107109cea7b6b5496465c3d013a4c2f81d6433 (patch) | |
tree | 3b000854a01bb15028933b985efc83f73cb3c213 /src/org/usfirst/frc/team4272 | |
parent | c43d565a0505cc305a7009688efb70e3886079c6 (diff) |
remove PDP display; silence CAN errors
Diffstat (limited to 'src/org/usfirst/frc/team4272')
-rw-r--r-- | src/org/usfirst/frc/team4272/robot2017/HwRobot.java | 6 |
1 files changed, 0 insertions, 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); } } |