Skip to content

Commit

Permalink
Updates to the autonomous command
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonisrailov committed Feb 28, 2018
1 parent a1bfac3 commit afab7c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
<classpathentry kind="var" path="wpiutil" sourcepath="wpiutil.sources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="var" path="USERLIBS_DIR/CTRE_Phoenix.jar" sourcepath="/USERLIBS_DIR/CTRE_Phoenix-sources.jar"/>
<classpathentry kind="var" path="USERLIBS_DIR/CTRE_Phoenix-sources.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
4 changes: 2 additions & 2 deletions src/org/usfirst/frc/team4737/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/org/usfirst/frc/team4737/robot/RobotMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit afab7c1

Please sign in to comment.