Closed robot256 closed 1 year ago
Not sure if we fixed this last night. The line that checks if the lift is done is different from the line that commands the lift.
drive.getScorer().liftToPreset(LiftPresets.HIGH);
versus
drive.getScorer().getHardware().getLift().getExtensionEncoder() < GenericOptions.Companion.dynamicLiftPreset(options, LiftPresets.AUTO_HIGH) - 15
Not sure if we fixed this last night. The line that checks if the lift is done is different from the line that commands the lift.
drive.getScorer().liftToPreset(LiftPresets.HIGH);
versus
drive.getScorer().getHardware().getLift().getExtensionEncoder() < GenericOptions.Companion.dynamicLiftPreset(options, LiftPresets.AUTO_HIGH) - 15