From 5ac1e281d7330f891d98d59cb9e99a7e6fb1fcec Mon Sep 17 00:00:00 2001 From: aarav18 Date: Sat, 11 Jan 2020 10:46:57 -0700 Subject: [PATCH] Added Error Message Added surprise error message for pigeon on smart dashboard. --- src/main/java/frc4388/robot/subsystems/Drive.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/frc4388/robot/subsystems/Drive.java b/src/main/java/frc4388/robot/subsystems/Drive.java index 06c8fe7..e7088d1 100644 --- a/src/main/java/frc4388/robot/subsystems/Drive.java +++ b/src/main/java/frc4388/robot/subsystems/Drive.java @@ -68,8 +68,7 @@ public class Drive extends SubsystemBase { SmartDashboard.putNumber("Pigeon Pitch", getGyroPitch()); SmartDashboard.putNumber("Pigeon Roll", getGyroRoll()); } catch (Exception e) { - //TODO: handle exception - System.err.println(); + System.err.println("The operation failed successfully."); } }