src/main/java/frc/robot/commands/DriveWithJoystick.java
// Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run
@Override
  protected void execute() {
    double joystickX = Robot.controller0.getX(Hand.kLeft);
    double joystickY = Robot.controller0.getY(Hand.kLeft);
    Robot.drivetrain.drive.arcadeDrive(joystickY * (-0.7), joystickX * (0.7));
  }
@ Override protected void execute ( ) { double joystickX = Robot . controller0 . getX ( Hand . kLeft ) ; double joystickY = Robot . controller0 . getY ( Hand . kLeft ) ; Robot . drivetrain . drive . arcadeDrive ( joystickY * ( - 0.7 ) , joystickX * ( 0.7 ) ) ; }
Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run