MyBlocks And Variables Part 2: Adding Gyro Straight

Sdílet
Vložit
  • čas přidán 5. 08. 2024
  • This is the 2nd half of the lesson on using MyBlocks and Variables to improve your programming. In this lesson I add the Gyro Straight with the turns to simplify and speed up your programming.
    Here is the link to the video with the simple gyro straight program.
    • Spike Prime Basic Line...

Komentáře • 8

  • @Jumpstarz
    @Jumpstarz Před 10 měsíci

    What is the exit condition for start moving at block from more movements? You mentioned it takes power but for how long is the power supplied before it repeats to get yaw feedback?
    I tried similar loop in python using run_for_degrees but the run is very choppy and slow.

  • @kylegerhard1264
    @kylegerhard1264 Před 2 lety

    I have a question. Is there a way to get the robot to Gyro Straight in the backwards direction?

    • @gibfordsrobotlab
      @gibfordsrobotlab  Před 2 lety

      I have not tried to do it. I would assume you use the same program and run the wheels at negative power. You may have to switch the greater than less than since the robot is running in the opposite direction...

  • @Starfighterace421
    @Starfighterace421 Před 2 lety

    Is there a way to use the gyro straight to go for a distance instead of time?

    • @gibfordsrobotlab
      @gibfordsrobotlab  Před 2 lety +1

      Yes, I just haven't made that video. In extra motors you can reset the motors rotations to 0 and then use that to control distance.

    • @Starfighterace421
      @Starfighterace421 Před 2 lety

      @@gibfordsrobotlab thank you I'll give that a shot

  • @Biggiecheezeathanthe3rd

    Make a gear box video