How To Code a Drivetrain - WPILib FRC Java Programming Tutorial Video 3

Поделиться
HTML-код
  • Опубликовано: 21 дек 2024

Комментарии • 5

  • @mattsini
    @mattsini 3 года назад +3

    Hi! First of all I would like to thank you for this tutorial, helped me alot! I have question: What would you add in your code if you didn't want to motors to use 100% output? I used your code for our robot and since the output is at 100%, it is very hard to pilot. Thank you!

    • @dannydevito400
      @dannydevito400 3 года назад +2

      When you do the drivetrain.arcadeDrive() method, just multiply the values you put in there by like .8 or .5, that'll slow everything down. So it would be drivetrain.arcadeDrive(stick.getY() * .5, stick.getZ() * .5);

    • @hyphen8d725
      @hyphen8d725 2 года назад

      instead of using 1, use a decimal value, like 50% speed would be .5

  • @danielcervantes2737
    @danielcervantes2737 3 года назад +1

    You're the MVP, thanks!