quick tele op update on carousel/duck wheel x controls 50% power while a controls 100% power

This commit is contained in:
Spencer
2021-12-08 16:53:48 -06:00
parent 12a306965a
commit 99bbfee101

View File

@@ -88,10 +88,12 @@ public class TeleOpState extends CyberarmState {
// button x pressed carousel wheel move.
if (engine.gamepad1.x){
if (engine.gamepad2.x){
robot.carouselWheel.setPower(0.5);
}
else if (engine.gamepad2.a){
robot.carouselWheel.setPower(1);
}
else {
robot.carouselWheel.setPower(0);
}