FLL Accurate turns using Gyroscope - Software

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

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

  • @thataceleres3429
    @thataceleres3429 4 года назад +1

    Woowww.. very clear explanation for me as a new classroom teacher in robotics

  • @ericstephenson8749
    @ericstephenson8749 4 года назад

    Thanks for the vids and guidance. When my team tries this method by itself it works, but when they include it within a program, the robot just spins. It’s almost like it forgets to read or see the gyro after start. Any ideas??

    • @borjonx
      @borjonx  4 года назад +1

      The gyro can start to increment when the robot isn't moving - you can tell by looking at the real time value on the robot or in the EV3 software. If it's incrementing (drifting) you'll need to unplug it, wait a second then plug it in again. That's the most common cause I've seen, for spinning a robot.

    • @ericstephenson8749
      @ericstephenson8749 4 года назад

      Thanks jerry. I’ve noticed the incrementing before on certain test runs of other programs. So would the incrementing explain the lack of stopping when we incorporate this turn mechanism later in a program and it keeps turning?

    • @borjonx
      @borjonx  4 года назад +1

      @@ericstephenson8749 Yes. basically the program says "turn until the gyro is equal to 90 degrees"... but since the gyro is in a bad state(drifting/incrementing by itself) the turning continues forever because the gyro was already at five thousand degrees(et al.) - because it's been incrementing the whole time(or decrementing). Another tip use >= or

  • @matteopalima9747
    @matteopalima9747 5 лет назад

    Are there any benefits choosing the unregulated motor blocks instead of the large motor blocks?

    • @borjonx
      @borjonx  5 лет назад

      On the normal blocks the software tries to control & measure rotation - like if you say go forward for 2 rotations, the motors provide feedback to the EV3 so it can correct for things like low battery, resistance, etc.. I want to have full control of the motors, because I will control them based on the gyro sensor.

    • @matteopalima9747
      @matteopalima9747 5 лет назад

      @@borjonx Cool, I didn't know that. Thanks for the reply

  • @marcelosantospires4064
    @marcelosantospires4064 6 лет назад

    boi, i lov u