MyBlocks And Variables Part 2: Adding Gyro Straight
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...
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.
I have a question. Is there a way to get the robot to Gyro Straight in the backwards direction?
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...
Is there a way to use the gyro straight to go for a distance instead of time?
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.
@@gibfordsrobotlab thank you I'll give that a shot
Make a gear box video
I haven't done much with gear boxes.