mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 08:48:01 -06:00
Fix Climber and Add Multiple Driver Station Objects
Co-Authored-By: Keenan D. Buckley <hfocus@users.noreply.github.com>
This commit is contained in:
@@ -29,8 +29,9 @@ public class DisengageRachet extends CommandBase {
|
||||
// Called every time the scheduler runs while the command is scheduled.
|
||||
@Override
|
||||
public void execute() {
|
||||
if (m_climber.climberSafety) {
|
||||
if (m_climber.m_climberSafety) {
|
||||
m_climber.shiftServo(false);
|
||||
System.err.println("Disengage Rachet");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@ public class RunClimberWithTriggers extends CommandBase {
|
||||
if (leftTrigger > rightTrigger) {
|
||||
output = -leftTrigger;
|
||||
m_climber.shiftServo(true);
|
||||
System.err.println("Engage Rachet");
|
||||
}
|
||||
} else {
|
||||
output = rightTrigger;
|
||||
|
||||
Reference in New Issue
Block a user