summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-03-24 08:13:03 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-03-24 08:13:03 -0400
commit7a107109cea7b6b5496465c3d013a4c2f81d6433 (patch)
tree3b000854a01bb15028933b985efc83f73cb3c213
parentc43d565a0505cc305a7009688efb70e3886079c6 (diff)
remove PDP display; silence CAN errors
-rw-r--r--src/org/usfirst/frc/team4272/robot2017/HwRobot.java6
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);
}
}