touche, amperage, distance
This commit is contained in:
@ -49,8 +49,8 @@ public class AprilTag3G extends Command {
|
||||
if(limelight3g.getV() == true){
|
||||
drivetrain.setControl(drive.
|
||||
withRotationalRate(-a/7).
|
||||
withVelocityX(x.getAsDouble()).
|
||||
withVelocityY(y.getAsDouble()));
|
||||
withVelocityY(x.getAsDouble()).
|
||||
withVelocityX(-y.getAsDouble()));
|
||||
System.out.println(a/7);
|
||||
}
|
||||
else{
|
||||
@ -73,6 +73,6 @@ public class AprilTag3G extends Command {
|
||||
// Returns true when the command should end.
|
||||
@Override
|
||||
public boolean isFinished() {
|
||||
return limelight3g.getX()<1 && limelight3g.getX()>-1;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user