fixed the screwed up thingie
This commit is contained in:
parent
d98cf15a8d
commit
4598a89b99
|
|
@ -80,6 +80,6 @@ public class RobotContainer {
|
||||||
*/
|
*/
|
||||||
public Command getAutonomousCommand() {
|
public Command getAutonomousCommand() {
|
||||||
// An example command will be run in autonomous
|
// An example command will be run in autonomous
|
||||||
return Commands.parallel(Commands.run(()-> {turretSubsystem.homeTurret();}, turretSubsystem), driveSubsystem.getAutoCommand());
|
return Commands.parallel(Commands.run(()-> {/*turretSubsystem.homeTurret();*/}, turretSubsystem), driveSubsystem.getAutoCommand());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@ public class TurretSubsystem extends TestableSubsystem {
|
||||||
.withReverseSoftLimitEnable(true)
|
.withReverseSoftLimitEnable(true)
|
||||||
.withReverseSoftLimitThreshold(reverseLimit)
|
.withReverseSoftLimitThreshold(reverseLimit)
|
||||||
);
|
);
|
||||||
setTurretRotation(Angle.ofRelativeUnits(180, Units.Degrees));
|
//setTurretRotation(Angle.ofRelativeUnits(180, Units.Degrees));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue