From afab7c151173a6218822ea8b1b6a281fb4db2c95 Mon Sep 17 00:00:00 2001 From: Jason Israilov Date: Wed, 28 Feb 2018 18:03:37 -0500 Subject: [PATCH] Updates to the autonomous command --- .classpath | 1 + src/org/usfirst/frc/team4737/robot/Robot.java | 4 ++-- src/org/usfirst/frc/team4737/robot/RobotMap.java | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.classpath b/.classpath index 91c6cb0..7cc8b0a 100644 --- a/.classpath +++ b/.classpath @@ -8,5 +8,6 @@ + diff --git a/src/org/usfirst/frc/team4737/robot/Robot.java b/src/org/usfirst/frc/team4737/robot/Robot.java index aabc297..a253926 100644 --- a/src/org/usfirst/frc/team4737/robot/Robot.java +++ b/src/org/usfirst/frc/team4737/robot/Robot.java @@ -80,8 +80,8 @@ public void disabledPeriodic() { */ @Override public void autonomousInit() { - autonomousCommand = chooser.getSelected(); - + //autonomousCommand = chooser.getSelected(); + autonomousCommand = new AutoBlindBaseline(); /* * String autoSelected = SmartDashboard.getString("Auto Selector", "Default"); * switch(autoSelected) { case "My Auto": autonomousCommand = new diff --git a/src/org/usfirst/frc/team4737/robot/RobotMap.java b/src/org/usfirst/frc/team4737/robot/RobotMap.java index 504da31..a8e9bd8 100644 --- a/src/org/usfirst/frc/team4737/robot/RobotMap.java +++ b/src/org/usfirst/frc/team4737/robot/RobotMap.java @@ -70,7 +70,7 @@ public class RobotMap { * Adjust these variables to tune autonomous */ public static final double AUTO_BLIND_TIME = 5; - public static final double AUTO_BLIND_SPEED = 0.3; + public static final double AUTO_BLIND_SPEED = 0.5; /** * The steering value to use in autonomous to counteract any natural tendencies * for the robot to veer left or right. A positive value (should) steer the