Це відео не доступне.
Перепрошуємо.
How to make your SPIKE robot drive Perfectly Straight using Blocks
Вставка
- Опубліковано 18 сер 2024
- This video explains how to make your SPIKE robot drive perfectly straight using the gyro sensor.
Chapters:
0:00 Introduction
1:19 Explanation on iPad
10:17 Coding the Gyro Straight
This was a great video! Thank you so much for the thorough explanation. My team really understood the concepts after watching this.
very helpful! Before I watch this video, I couldn't understand why my robot doesn't go straight. Thank you very much! 👍🏻
Very helpful video!!! You explained it so well. I appreciate it!!
Amazing explanation.
How would you do this, but moving backwards?
Very helpful
How would you able to higher the speed?
How would I turn this into a function where I could make the robot move forward a certain amount of degrees with this code every time?
For me, however, GSPK does not accept decimal fractions (e.g. 1.4) and does not expire. However, it also works quite well with the whole number. I do not know why? Thank You!
this can only move forward, not backward, right?
Nice🎉
Very helpful video! I got a question tho. When I go in the app I don't find the block doe movement, "hold position at stop" . Is it an extension?
yeah sorry the extensions didn't work on my tablet, all good on pc now
I don't understand what Block "Set realitive o" do ?
i cant find some of the blocks that you use
One question: If you were going to add this to a code, how will it know when to stop. For example, I'm doing FLL super-powered and my robot is drifting a lot. If I add this piece of code to my mission, how can you make it so the robot stops or hits the brakes when the mission is done after blank rotations or degrees.
you get that ibto a loop
If i use the same code, my robot turns left first and then goes straight. Why is this?
using gspk
I have the same issue. Should I not use gspk? Or modify it?
To clarify. At start there is about a 40 degree deviation then it continues on straight as if that 40 degree deviation was the original yaw zero setting, using the gspk multiplier to correct any further deviations.
@@PeopleInPassing01I would try putting the ‘set yaw to 0” block nearer to the top of the program. It’s interesting that this is happening though. I don’t have a clear solution yet.
the robot does not stop just keeps going forward
Yes, because of when the wheele turn forward the relative position always negative . I put in the ralative position into abs function. This way it works. 🙂
@@inasasito7104 Please post an example of this. Thank you.
@@inasasito7104thanks this was super helpful bc I was struggling with the same thing