How to program VEX IQ precise turns with gyro using VEXcode blocks

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 30

  • @tracyxu7575
    @tracyxu7575 11 місяців тому +1

    This is so helpful 😁

  • @229member
    @229member 3 роки тому +3

    Can you tell us how to tune your kp

  • @timileyinbanjo6631
    @timileyinbanjo6631 3 роки тому +3

    is this an example of pid/ p loop programming

  • @yongcui1308
    @yongcui1308 2 роки тому +2

    I coped the code and the robot keep on turning, any especial thing about setting up at the beginning? Thanks!

    • @thecappedpin
      @thecappedpin Рік тому

      same!

    • @kiera_reardon
      @kiera_reardon Рік тому +1

      did u ever figure it out

    • @yongcui1308
      @yongcui1308 Рік тому

      Yes. I figured out. In my case need to update my firmware. Anyway, update everything , you should fix the problem. Our bot runs great now

  • @qwerty-6969
    @qwerty-6969 2 місяці тому

    does inertial work too?

  • @riaankapoor6186
    @riaankapoor6186 3 роки тому +2

    I have coded this but for some reason im getting several error messages on the brain. Is there a specific way I need to set up the gyro or use something to start it?

  • @Skelleton0
    @Skelleton0 Рік тому +1

    For some reason both of my motors go straight when only running the turning code. Do you think you have a solution for that?

    • @blocki3041
      @blocki3041 10 місяців тому

      try to reverse one motor

  • @rokapoor1
    @rokapoor1 2 роки тому

    thanks a lot

  • @qwerty-6969
    @qwerty-6969 2 місяці тому

    wut are motorclicks?

  • @leos8216
    @leos8216 2 роки тому

    how would you turn right with this code?

    • @kcparfonova764
      @kcparfonova764 8 місяців тому

      You need to put a negative number in the heading slot.

  • @hamzaalkayyali5945
    @hamzaalkayyali5945 3 роки тому

    Hi, can you reexplain the momentum i did not get it

    • @CautionTapeRobotics
      @CautionTapeRobotics  3 роки тому +1

      Let's say your robot will turn to 90 degrees, but if you tell the robot to stop when it's already at 90 degrees, momentum will carry it and over turn a few more degrees. Instead, you want to simply tell the robot to stop earlier, e.g. 88 degrees. In this case, momentum is 2 degrees.

    • @hamzaalkayyali5945
      @hamzaalkayyali5945 3 роки тому

      @@CautionTapeRobotics ah okay thanks alot

  • @knight8793
    @knight8793 3 роки тому

    How do you get accurate turns without gyros?

    • @CautionTapeRobotics
      @CautionTapeRobotics  3 роки тому

      With some math and wheel encoder, you can do it.

    • @knight8793
      @knight8793 3 роки тому

      @@CautionTapeRobotics Every turn is always a little different

    • @CautionTapeRobotics
      @CautionTapeRobotics  3 роки тому

      @@knight8793 it wouldn't be a big problem, as you will typically have a go straight after the turn. the go straight will fix any over/under turn.

    • @knight8793
      @knight8793 3 роки тому +1

      @@CautionTapeRobotics It does end up being a big problem

    • @timileyinbanjo6631
      @timileyinbanjo6631 3 роки тому

      @@CautionTapeRobotics whats a wheel encoder and also whats a motor encoded

  • @rohanvallamshetla8389
    @rohanvallamshetla8389 3 роки тому +1

    Did you steal from the best innovate the rest?

  • @CautionTapeRobotics
    @CautionTapeRobotics  3 роки тому +1

    If you think the tutorial is helpful to you, please help us nominating our VEX IQ Team 839A to be VEX Innovators! sdqk.me/UnHTWRKV-fszmBRYte/vex-robotics-vex-innovators#/enter