src/main/java/frc/robot/commands/TankDrive.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 leftStickY = Robot.m_oi.GetDriverRawAxis(RobotMap.LEFT_STICK_Y);
    double rightStickY = Robot.m_oi.GetDriverRawAxis(RobotMap.RIGHT_STICK_Y);
    Robot.drivertrain.setRightMotors(rightStickY * 0.7);
    Robot.drivertrain.setLeftMotors(leftStickY * 0.7);
    , não esquece do robo.map ta
  }
@ Override protected void execute ( ) { double leftStickY = Robot . m_oi . GetDriverRawAxis ( RobotMap . LEFT_STICK_Y ) ; double rightStickY = Robot . m_oi . GetDriverRawAxis ( RobotMap . RIGHT_STICK_Y ) ; Robot . drivertrain . setRightMotors ( rightStickY * 0.7 ) ; Robot . drivertrain . setLeftMotors ( leftStickY * 0.7 ) ; }
Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run
//double leftStickY = Robot.m_oi.GetDriverRawAxis(RobotMap.LEFT_STICK_Y); //double rightStickX = Robot.m_oi.GetDriverRawAxis(RobotMap.RIGHT_STICK_X); // apaga o de cima que os verdim funfa, foi mal caio do futuro //Robot.drivertrain.setLeftMotors(leftStickY * 0.7); // Robot.drivertrain.setRightMotors(leftStickY * 0.7); //Robot.drivertrain.setLeftMotors(rightStickX * 0.3); //Robot.drivertrain.setRightMotors(rightStickX * -0.3); // apaga o de cima que os verdim funfa, foi mal caio do futuro, não esquece do robo.map ta //é eu sei retrabalho