From cdd897d3280e194b801e0065b8663e8c726d216f Mon Sep 17 00:00:00 2001 From: aarav18 Date: Sat, 11 Jan 2020 11:26:59 -0700 Subject: [PATCH] Added Velocities to Smart Dashboard Right and Left Front Motor Velocities Added --- src/main/java/frc4388/robot/subsystems/Drive.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/frc4388/robot/subsystems/Drive.java b/src/main/java/frc4388/robot/subsystems/Drive.java index c5640e1..7821c97 100644 --- a/src/main/java/frc4388/robot/subsystems/Drive.java +++ b/src/main/java/frc4388/robot/subsystems/Drive.java @@ -68,6 +68,8 @@ public class Drive extends SubsystemBase { SmartDashboard.putNumber("Pigeon Yaw", getGyroYaw()); SmartDashboard.putNumber("Pigeon Pitch", getGyroPitch()); SmartDashboard.putNumber("Pigeon Roll", getGyroRoll()); + SmartDashboard.putNumber("Left Motor Velocity Raw", m_leftFrontMotor.getSelectedSensorVelocity()); + SmartDashboard.putNumber("Right Motor Velocity Raw", m_rightFrontMotor.getSelectedSensorVelocity()); } catch (Exception e) { System.err.println("The operation failed successfully."); }