Merge branch 'main' of https://demerso.net/pls5618/2023/robot
This commit is contained in:
commit
6e5539ef1d
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user