Skip to content

Commit

Permalink
Changing the
Browse files Browse the repository at this point in the history
Changing 180 in auton init in Robot.java had no change on auton, but it did impact teleop
  • Loading branch information
JediScoy committed Mar 31, 2024
1 parent 1b9adf4 commit 990569e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/main/deploy/pathplanner/paths/2meters.path
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxVelocity": 2.0,
"maxAcceleration": 2.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 180.0,
"rotation": 0.0,
"rotateFast": false
},
"reversed": false,
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ public void disabledExit() {
@Override
public void autonomousInit() {

// gyro.setAutonStartingPose180(180); // TODO Added by Scoy, value already set
gyro.setAutonStartingPose(180); // TODO Added by Scoy

// gyro.setAutonStartingPose180(180);
// gyro.setAutonStartingPose(-180); // TODO Seems to impact Teleop and auton
m_autonomousCommand = m_robotContainer.getAutonomousCommand();

if (m_autonomousCommand != null) {
Expand Down

0 comments on commit 990569e

Please sign in to comment.