fixed mode manuel du bras
This commit is contained in:
parent
a34723f4cb
commit
d1e82b7474
@ -29,7 +29,7 @@ public class BrasManuel extends CommandBase {
|
||||
// Called every time the scheduler runs while the command is scheduled.
|
||||
@Override
|
||||
public void execute() {
|
||||
if(doubleSupplier.getAsDouble()>0.2 && doubleSupplier.getAsDouble()<-0.2){
|
||||
if(doubleSupplier.getAsDouble()>0.2 || doubleSupplier.getAsDouble()<-0.2){
|
||||
brasTelescopique.AvanceRecule(doubleSupplier.getAsDouble());
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ public class PivotManuel extends CommandBase {
|
||||
// Called every time the scheduler runs while the command is scheduled.
|
||||
@Override
|
||||
public void execute() {
|
||||
if(doubleSupplier.getAsDouble()>0.2 && doubleSupplier.getAsDouble()<-0.2){
|
||||
if(doubleSupplier.getAsDouble()>0.2 || doubleSupplier.getAsDouble()<-0.2){
|
||||
pivot.monteDescendre(doubleSupplier.getAsDouble());}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user