Added Velocities to Smart Dashboard

Right and Left Front Motor Velocities Added
This commit is contained in:
aarav18
2020-01-11 11:26:59 -07:00
parent 6819d78768
commit cdd897d328
@@ -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.");
}