In this video I will show how to create a program in Spike prime classroom that allows you to turn a robot to a given angle using the built in gyro sensor, and a proportional controller.
Пікірлер: 15
@finimcglinchey58134 ай бұрын
Really good information, thank you!
@gotrobotfll3861 Жыл бұрын
Nice concept, code, and results.
@kasperfallesen14152 жыл бұрын
I have a bit of a problem getting the robot read error = 0. It helped me to replace it with “ is error in between -1 and 1 ? Besides my gyro turns a bit more than 90 degrees every time. 🤷♂️
@AaedMusa2 жыл бұрын
If you have it turn too fast it will keep wobbling and never read error = 0. Try reducing its minimum speed and reducing the p - constant while still having read error = 0, that way it should get closer to 90 degrees.
@user-og5jr9hu8m7 күн бұрын
Hey dude: you most clever and genius engineer in the world but you selected program looks like scratch program i thing you are like scratch program
@aberachraf2 жыл бұрын
Thank you . Can you help me i want know how match rotation of motors i need to mouve my robot in destination
@AaedMusa2 жыл бұрын
To move to what destination?
@bayarearob2 жыл бұрын
can you do more spike prime videos?
@AaedMusa2 жыл бұрын
Yea, specifically for what?
@bayarearob2 жыл бұрын
@@AaedMusa breaking down what the block do? I have not found anyone on KZbin who actually walks through the spike prime activity's. Like training camp, advanced driving base. I guess the basics
@AaedMusa2 жыл бұрын
@@bayarearob Interesting. Yea I can try an get videos like that out. Maybe next week. Did you have any specific questions that I could answer?
@bayarearob2 жыл бұрын
@@AaedMusa cool! I will check out the app send you some. Thank you! We are working on a line follower map in school and my robot won't turn where it should. Maybe I could send you a screenshot of my code and a pic of the map
@AaedMusa2 жыл бұрын
@@bayarearob Yea sure. My email is printedgadgets@gmail.com if it’s easier to send.
@probably93804 ай бұрын
The code seems to be breaking for any absolute values over 179 degrees
@coding-spin4 ай бұрын
He said its not supposed to go over 179 as the gyro only measures until 180 and if you go over the gyro will create issues