debug
This commit is contained in:
@ -48,10 +48,10 @@ public class AprilTag3G extends Command {
|
||||
double a = limelight3g.getX();
|
||||
if(limelight3g.getV() == true){
|
||||
drivetrain.setControl(drive.
|
||||
withRotationalRate(-a/5).
|
||||
withRotationalRate(-a/7).
|
||||
withVelocityX(x.getAsDouble()).
|
||||
withVelocityY(y.getAsDouble()));
|
||||
System.out.println(a/5);
|
||||
System.out.println(a/7);
|
||||
}
|
||||
else{
|
||||
drivetrain.setControl(drive.
|
||||
|
Reference in New Issue
Block a user