Skip to content
This repository has been archived by the owner on Sep 17, 2020. It is now read-only.

Commit

Permalink
Updated Presets and fixed watchdog stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush17agarwal committed Mar 5, 2019
1 parent 58f60f7 commit 7643bd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/ConstantsMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class ConstantsMap {

public static final int SHOULDER_FOLLOW_DISTANCE = 20;
public static final double SHOULDER_CHANGE_SETPOINT_SPEED = .5;
public static final int SHOULDER_WRIST_FOLD_ANGLE = -55;
public static final int SHOULDER_WRIST_FOLD_ANGLE = -60;

public static final int SHOULDER_VELOCITY = 24000/2;
public static final int SHOULDER_ACCEL = 24000 ;
Expand Down Expand Up @@ -104,7 +104,7 @@ public class ConstantsMap {
public static final double CARGO_BALL_PRESET = -20.0;
public static final double CARGO_HATCH_PRESET = -20.0;

public static final double HATCH_COLLECT_PRESET = -20.0;
public static final double HATCH_COLLECT_PRESET = -59.0;
public static final double BALL_COLLECT_WRIST_PRESET = -11.0;
public static final double BALL_COLLECT_SHOULDER_PRESET = -46.0;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/commands/GoHome.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public GoHome() {
protected void initialize() {

armSubsystem.setShoulderSetPoint(ConstantsMap.SHOULDER_MIN_ANGLE);
armSubsystem.setWristSetPoint(ConstantsMap.SHOULDER_MIN_ANGLE);
armSubsystem.setWristSetPoint(ConstantsMap.WRIST_MAX_ANGLE);


}
Expand Down

0 comments on commit 7643bd5

Please sign in to comment.