This commit is contained in:
EdwardFaucher 2023-03-08 18:33:29 -05:00
parent 03ff6a2aba
commit ede4116cd9

View File

@ -30,19 +30,16 @@ public class Gyro extends CommandBase {
public void execute() { public void execute() {
if(basePilotable.getpitch()>4) if(basePilotable.getpitch()>4)
{ {
<<<<<<< HEAD
basePilotable.drive(0.3*basePilotable.getpitch()/12, 0); basePilotable.drive(0.3*basePilotable.getpitch()/12, 0);
} }
else if(basePilotable.getpitch()<-4) else if(basePilotable.getpitch()<-4)
{ {
basePilotable.drive(0.3*basePilotable.getpitch()/12, 0); basePilotable.drive(0.3*basePilotable.getpitch()/12, 0);
=======
basePilotable.drive(0.3*basePilotable.getpitch()/15, 0); basePilotable.drive(0.3*basePilotable.getpitch()/15, 0);
} }
else if(basePilotable.getpitch()<-4) else if(basePilotable.getpitch()<-4)
{ {
basePilotable.drive(0.3*basePilotable.getpitch()/15, 0); basePilotable.drive(0.3*basePilotable.getpitch()/15, 0);
>>>>>>> 3d2364b54822fb53a6cd71a0347d11baeef62001
} }
else else
{ {