Learn how to use the gyro sensor in order to make precise turns and drive in a straight line.
Пікірлер: 95
@x-raygamma6 ай бұрын
Very useful for making a stabilized tank cannon. Lots of fun!
@dolevvudinsky5875 жыл бұрын
Thank you so much. You just saved me and my team. You have no idea what this mean to me.
@kenahoo8 жыл бұрын
For your first program: I'd suggest that instead of changing the termination condition to a little less than the target, change the speed to still be a small positive number when it reaches the target. For example, if your target is x degrees and the current sensor reading is k degrees, make the speed be something like 30*(x-k+5)/x, to start at speed 35 and end at speed 5, no matter the value of x.
@primestudioandphotoshoot4 жыл бұрын
Thank for your tutorials, after your tutorials, I built two three different my blocks - if I test the myblock individually it works as expected, but did get the same result all the time if I am trying use these myblocks to move the robot such straight - turn 90 R - straight - turn left 90 L also, I have another myblock with the input of speed and number of rotation all these combination of my blocks. Problem I have is if have 3-5 these types of myblocks, program just stop middle, not sure what wrong with the myblock. Can you help?
@smitharayala8 жыл бұрын
Hi Kevin, I did exactly as you did to move the Robot straight. Unfortunately, my robot does not move back to the intended straightline when I move it off the direction like you did. What I also did not understand is, the reason you are using gyro sensor reading to write into the variable staright angle but read the target angle to calculate the differnce. Please help.
@trampbuddies20045 жыл бұрын
Hey smitharayala, I've done the program as well and found out that it starts spinning out of control. The simple thing to do to the program is to change the math block to addition, instead of subtraction. That should fix it.
@rishishah5755 жыл бұрын
Sweet video my team is in FLL and this was very useful
@XenoBray4 жыл бұрын
ITS PRONOUNCED YEERRRRROOO NOY GYYYRO YERRROOO
@vihaanprakash36792 жыл бұрын
Yes I need this
@chezzyboi33347 жыл бұрын
well explained.
@didierhelliet95918 жыл бұрын
The student did the straight line but if they add something after the loop, nothing happened. They want to make the robot go straight with the gyro sensor like you showed on your video but they want to add an other senser the tactil one and an other motor.
@benciruiz64936 жыл бұрын
Hello, my robot does not follow the loop instruction for exiting, I have it program to move just 3 rotations and the robot just keeps going. Do you now why?
@gaojohn94528 жыл бұрын
very good !thanks! it's a big help to me!
@elenagrassi54034 жыл бұрын
very useful tutorial! Thanks!
@daveslurz6 жыл бұрын
Any chance you can help me trouble shoot. my code that I copied from your tutorial is stuck in the loop. it just turns. I checked my ports cables restarted. Still just makes a turn Any thoughts on what to look for all the wires on the math block seem fine too
@murraybrown55217 жыл бұрын
great video! Are you able to provide the algorithm (robotc) for reducing the speed while turning? many thanks
@chainbreaker90796 жыл бұрын
I m wrighting -90, 'cause im going left but my robo starts spining, y?? help plz fast, for straigh going
@ihmsstudent71958 жыл бұрын
I'm having an issue with the 90 deg turn... it doesn't quite make it to 90 degrees, then kind of pauses and waits and never quite makes it. So it doesn't move onto the next part of the program. Any ideas?
@kevinbriggs83548 жыл бұрын
+Ihms Student Have the exit condition of the loop be a few degrees less than than your turn (in your case 87 degrees) This will guarantee it exits the loop.
@ihmsstudent71958 жыл бұрын
Thanks I'll try it!
@brianliu95527 жыл бұрын
thanks this is pretty easy to understand
@luks79622 жыл бұрын
thanks
@shafwananis39915 жыл бұрын
the robot did turn 90 degree well, but the programme still running,help
@eugenechoi91465 жыл бұрын
i tried the code but my robot keeps on spinning forever. what's going on?
@ruslanusmanov35146 жыл бұрын
In the very last program you forgot to change variable to "straight" on reading. That can cause motor to circle around, unless the sensor pointed to calibrated direction.
@arnavprasad75945 жыл бұрын
change which variable to 'straight'? hello people
@valliammaisubbiah10926 жыл бұрын
this was useful thank you and I named the same things as you with out knowing no what you did but thanks for the help
@lynnmyers39146 жыл бұрын
Our robot will not stop turning and will not exit the loop. We tried programming it exactly as you instructed. We also tried recalibrating the gyro to zero and it still won't exit. Any suggestions.
@anapaulanascimentomarega85206 жыл бұрын
Change the rotation to -100, that way the gyro sensor can read the angle. This is happening because the sensor can't read 90 degres because he is turning to the opposite way.
@ayyoubalkhayyat5748 жыл бұрын
Great channel thumbs up for sure :)
@Simon-me9fh6 жыл бұрын
0:57 favorite moment
@name-yf2pl4 жыл бұрын
Bruh same
@captainsarcastic60443 жыл бұрын
12:13 MINE IS THSI
@elsantana10326 жыл бұрын
Hi, I'm a student at a university, I could make a video LEGO robot solving a labyrinth and also please explaining how is the programming.
@xuzhiyuan718 жыл бұрын
please post a video about abundant light intensity
@pikaninja23086 жыл бұрын
How do you make it turn left
@kaiserindustries55677 жыл бұрын
Why is that Robot blinking green on the left sied at 11:50
@ParthavGavini5 жыл бұрын
U better than Ninja
@thillock5 жыл бұрын
Moving in a straight line. This only works once, when used a second time the program simply exits. I have not traced down just how the variables are not using the current heading on the second use even when reseting to Gyro to 0 before it runs.
@hamzasaeedmalik80625 жыл бұрын
To use that program repeatidly you have to reset the motor values at the start of the program
@nathanyang61856 жыл бұрын
This video is really helpful but can you put the program in the description so we can download it? Thanks.
@bosssmer6 жыл бұрын
I have a question, Doesn't matter where whe put the gyro sensor?
@hamzasaeedmalik80625 жыл бұрын
The axis matters
@mostafahusseini64737 жыл бұрын
Hi Kevin! I can not find the gyro sesor in the software. There is not any selection or button in the software for this .
@veebhushah96676 жыл бұрын
you need to dolold the brick
@THEQQMJ6 жыл бұрын
where???
@THEQQMJ6 жыл бұрын
never mind
@ROBOTROLOGY6 жыл бұрын
download gyro sensor block in ev3 g
@tahachaf16834 жыл бұрын
thank you best robot programer
@Skurk118 жыл бұрын
Hello Kevin! Great stuff! I'm a teacher too and just starting to learn the basics. Will there be more tutorials?
@xuzhiyuan718 жыл бұрын
Hey Kevin. I'm a 7 year old boy who is new to ev3.I would like if you could post a video about abundant light intensity.I have already watched many of your videos and like them but I could never find one with abundent light intensity
@ZebraSlapper7 жыл бұрын
shoudn't you be 13 to be in youtube
@xuzhiyuan717 жыл бұрын
I did all robot stuff with my son including watching youtube for EV3. thanks,
@jiesu5325 жыл бұрын
Thanks a lot!
@Sofia-yy2iz7 жыл бұрын
it is 45544?
@ajt19922 ай бұрын
fav part of the video is 12:13 🤣
@YourGMoney2334 жыл бұрын
What amazing!!!!!
@liamsuidan65107 жыл бұрын
My robot won't turn the other way, any suggestions, thanks, great video!
@lucasfranck14864 жыл бұрын
you need to do -90 degrees en -100 for turning
@gaojohn94528 жыл бұрын
why the target value can receive the straight value.is not the same constant!i can't understand.my english is on the way .sorry!
@noobssindcool3 жыл бұрын
THANKS!
@tridentgamer92486 жыл бұрын
what's with the second voice
@AnonyMous-hi5tr6 жыл бұрын
WHERE WAS KEVIN WHEN I STARTED FLL
@arnavprasad75945 жыл бұрын
SAME - WHERE WERE U KEVIN????????
@xDD1418 жыл бұрын
Can I have your mail sir, so I can contact you?
@shotzz86604 жыл бұрын
bro cant you just do greater than equal to 90
@gurmeetkaur-vw2ry7 жыл бұрын
new tutorials please arrays ,advanced blocks etc please sir
@caitlinshen76107 жыл бұрын
The robot has a slight list, but otherwise your robot straight program is perfect!!
@name-yf2pl4 жыл бұрын
Kevinbriggs vs builderdude
@ZebraSlapper7 жыл бұрын
4:32 Turn on [CC] [CC]: Now if I go to jail I returned
@aliburak39826 жыл бұрын
Anladım Abi
@quesopez987 жыл бұрын
Hi
@xuzhiyuan718 жыл бұрын
even though i'm an expert
@lincolndavis33024 жыл бұрын
Jeff
@user-tp1tx7qz6t5 жыл бұрын
My Robot cannot work well on this project
@shafwananis39915 жыл бұрын
@@SanujanSarveswaran-cm8ru You can try by finding the agent @supplier of your country on the internet