Bras telesco v3

This commit is contained in:
2023-03-21 23:21:50 +00:00
parent 8a62c68f8c
commit e13375bc90
2 changed files with 7 additions and 7 deletions

View File

@ -25,11 +25,11 @@ public class Gyro extends CommandBase {
public void execute() {
if(basePilotable.getpitch()>6)
{
basePilotable.drive(0.3*basePilotable.getpitch()/12, 0);
basePilotable.drive(0.4*basePilotable.getpitch()/12, 0);
}
else if(basePilotable.getpitch()<-6)
{
basePilotable.drive(0.3*basePilotable.getpitch()/12, 0);
basePilotable.drive(0.4*basePilotable.getpitch()/12, 0);
}
else
{