From: EvanYap Date: Wed, 8 Feb 2017 02:56:23 +0000 (-0800) Subject: successfully test if smartdashboard can read and write values X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=9781fa248f5e2ab20b67f57a06a9f28d6644be82 successfully test if smartdashboard can read and write values --- diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index bc7966f..7860f1e 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -20,6 +20,17 @@ public class Robot extends IterativeRobot { oi = OI.getOI(); shooter = Shooter.getShooter(); intake = Intake.getIntake(); + + SmartDashboard.putNumber(Constants.DriveTrain.DRIVE_P_Val, 0); + SmartDashboard.putNumber(Constants.DriveTrain.DRIVE_I_Val, 0); + SmartDashboard.putNumber(Constants.DriveTrain.DRIVE_D_Val, 0); + SmartDashboard.putNumber(Constants.DriveTrain.DRIVE_TARGET_DIST, 50); + SmartDashboard.putNumber(Constants.DriveTrain.DRIVE_MOTOR_VAL, 0.5); + + SmartDashboard.putNumber(Constants.DriveTrain.GYRO_P_Val, 0); + SmartDashboard.putNumber(Constants.DriveTrain.GYRO_I_Val, 0); + SmartDashboard.putNumber(Constants.DriveTrain.GYRO_D_Val, 0); + } public static DriveTrain getDriveTrain() {