Тёмный

Line Following: FIRST LEGO League SPIKE Prime and EV3 Replay Coding 

Zachary Trautwein
Подписаться 13 тыс.
Просмотров 72 тыс.
50% 1

We take a look at a simple Line following method!
Check out some other videos!
FLL 2020: RePlay
FIRST LEGO League RePlay Field Build: • FLL RePlay 2020 - Fiel...
FIRST LEGO League RePlay Game Overview: • FLL RePlay: Game Overv...
How to Win FIRST LEGO League! - FLL 2020: RePlay: • How to Win FIRST LEGO ...
NEW FLL ROBOT! - Spike Prime FIRST LEGO League Robot! • NEW FLL ROBOT! - Spike...
Building a SPIKE Prime FLL Robot from a SPIKE Prime Education Base Kit and an Expansion Kit! • SPIKE Prime FLL Robot ...
Coding:
Basic Movement: • Basic Movement: LEGO S...
"Perfect" Turns: Turning by the Gyro: • "Perfect" Turns: Turni...
Line Following: • Line Following: FIRST ...
Building a LEGO EV3 Robot: / watch
v=0DPMt2pMabU&list=PLu486RXmcQz9LJABzaqvNZDl3ZuUb2w6A
FLL Robot MODS: / watch
FIRST LEGO League 2019: CITY SHAPER:
Game Overview: • Game Overview: FLL CIT...
FIRST LEGO League Into Orbit
Core Collection Mission: • FLL Into Orbit - Core ...
Habitation Hub Tip: • FLL Into Orbit- FIRST ...
Space Travel Mission: • FLL Into Orbit - Space...
Tube Module Mission: • FLL Into Orbit - Tube ...
v=xxBVJ5H7OjY&list=PLu486RXmcQz9LJABzaqvNZDl3ZuUb2w6A&index=2
FIRST LEGO League Hydro Dynamics
Fountain Mission: • FLL Hydro Dynamics Att...
Filter Mission: • FLL Hydro Dynamics Att...
Pipe Removal Mission: • FLL Hydro Dynamics Att...
Pipe Replacement Mission: • FLL Hydro Dynamics Att...
Pipe Mission(The other way): • Pipe Removal (Alternat...
Flow Mission: • FLL Hydro Dynamics Att...
Fire Truck: • FLL Hydro Dynamics Att...
Man Hole Covers: • FLL Hydro Dynamics Att...

Опубликовано:

 

1 окт 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 51   
@nuraadamugulma6459
@nuraadamugulma6459 3 года назад
Very useful Mr. Zachary, you are really encouraging and helping the world.
@cindystorck9431
@cindystorck9431 3 года назад
Thanks Zach! Exactly what I was looking for!
@hectorazevedo2843
@hectorazevedo2843 Год назад
Thank you very much! I'm from Brazil and my team don't know how to follow the lines, so I decided to search. You helped me a lot!
@user-rd7vb4zw8j
@user-rd7vb4zw8j 6 месяцев назад
Try elevating the color sensors to get more accuracy out of them so that the color sensors could catch the colors better too. Thanks for the video! ❤
@surfcastingreaks6058
@surfcastingreaks6058 2 года назад
Thx u are very cool teacher on FLL :)
@coderdubai1790
@coderdubai1790 2 года назад
Thanks
@lighthousesports7291
@lighthousesports7291 Год назад
THANK YOU BRO
@painYT660
@painYT660 2 года назад
THANKs BRO
@Farmer_fam
@Farmer_fam 9 месяцев назад
THANKS
@HexhamFoodCo
@HexhamFoodCo 3 года назад
Great vid,
@ZacharyTrautwein
@ZacharyTrautwein 3 года назад
Thanks, Paul!
@jonathanwallis6854
@jonathanwallis6854 4 месяца назад
Hi - great video...thank you very much. Quick question: When I click on more movement blocks I only get 3 extra blocks, and I don't get the moving at power block you used. Do you know how I can solve this?
@loismaclennan2342
@loismaclennan2342 3 года назад
Thanks for the video Zach! I was trying to get out of the Repeat Until block based on motor degrees vs timer. Before my repeat until block I reset my B relative position to 0. (B is my left wheel) I repeat until B relative position is > 720 (which would be 2 rotations). The if statement to follow the black line are inside the Repeat Until. It follows the black line but never gets out of the Repeat Until. I do have a Stop Moving block at the end. Any help?
@Archanakeswani
@Archanakeswani 3 года назад
Your videos are awesome!! they are very helpful. I am facing small issue with Spike prime. I tried straight line with Gyro. but it is still not accurate, it drifts a little. any tips? can you make any video for straight line with Gyro
@s2stem14
@s2stem14 3 года назад
Hey Zach, Thank you so much for this video. For our robot, we are trying to add one color sensor in the front, and one color sensor in the back (instead of having 2 in the front). The front color sensor does the job, when we use the code similar to the code in this video. For the back color sensor to work, we need to use negative values in the "start moving at x, y %power". How do you think the code will change if the wheel motors are turning backwards, instead of forward?
@mariusdornin3327
@mariusdornin3327 2 года назад
Just added ours!
@MelodiKunnmidlothian-texas
@MelodiKunnmidlothian-texas 7 месяцев назад
Thank you! We have been using sensing exact colors. We have had more errors than success. Definitely trying reflective light next! We don't have a % power block in Spike 3. We are going to try it with speed; but does anyone know where or when the % power block will be returning?
@joyhea8125
@joyhea8125 3 года назад
Thanks for the video! I tried to do line follow for the top black line instead. It worked for straight line but it didn't turn (when the black line turns left) and kept going straight into the green zone. So just wonder how to fix it? Thanks.
@ZacharyTrautwein
@ZacharyTrautwein 3 года назад
So you can do one of two things. 1. Increase the difference between the two motor speeds. 2. Stop the line follow, turn the 45 degrees, the start another line follow. I encountered the same issue on that particular turn and my kids opted to go with number 2 for a few reasons. It kept the line follow smoother and faster. It takes more time to allow the robot to swing back and forth. If that makes since.
@Potentflowconsult
@Potentflowconsult 5 месяцев назад
Thanks but note that % speed will also work as well as %power.
@ianearl1554
@ianearl1554 2 года назад
I am commenting for fun :)
@Mmgxmer
@Mmgxmer 7 месяцев назад
Ok
@ingridgerrmann9218
@ingridgerrmann9218 3 года назад
We learn a lot from your videos. But is there a way to use line tracking for a number of degrees with Spike Prime. Because when you're working with seconds, the distance from the stop is a different place each time.
@ZacharyTrautwein
@ZacharyTrautwein 3 года назад
Ah! Good observation. Yes there is, you can certainly do some logic with a change in position with any motor as an exit condition for a loop!
@mikegolfaviation6340
@mikegolfaviation6340 Год назад
the power blocks have left the newest update of prime app
@CablesCodex
@CablesCodex Год назад
So do we instead use just speed? Now I'm not sure what to do
@mikegolfaviation6340
@mikegolfaviation6340 Год назад
@@CablesCodex i found another solution that works, just in time as i am teaching aftercare kids (8-10 yo) on spike prime for them to solve replay mission map, use turn 15 and turn -15 instead, it works good
@mikegolfaviation6340
@mikegolfaviation6340 Год назад
@@CablesCodex @zachary's videos have been a lifesaver as it is the beginning of my bachelor´s final project, if all goes well im bringing a small FLL comp to my city division of aftercare programs, my kids are the lucky guinea pigs for this program, might even be a middle school FLL coach next season as i have good freedom at both jobs (LSA, and leisure specialist) to bring in projects like this
@diamondknight5213
@diamondknight5213 2 года назад
For me, it does not show the keypad next to your, Timer and Reset timer. Is this the problem? If it is, could someone please tell me how I get said keypad. Thanks.
@meritxellmolto5923
@meritxellmolto5923 2 года назад
Please help our sensors don't work how can we fix it?
@cmalab6303
@cmalab6303 6 месяцев назад
ics spice yaassss
@iceify6181
@iceify6181 3 года назад
First off, love your videos! I don't see the pink block that says start moving at blank blank %power. I only see start moving straight:0.
@iceify6181
@iceify6181 3 года назад
Nevermind lol I just need to watch the full video
@ZacharyTrautwein
@ZacharyTrautwein 3 года назад
Glad you found it!!
@brainybrickbuilder1066
@brainybrickbuilder1066 Год назад
i couldnt get it to work it will just drive in circles and the code is the same as his but it wont line follow
@mauifarmlet
@mauifarmlet 3 года назад
Hello! I am a mentor of a first year team of 9 year olds. Some have coded and some have not. (Including myself!). We are trying to do this code and it is not working for us. Our robot has 2 sensors on the front corners. My girls love your videos and have tons of questions. Any chance we can do a zoom chat?!!!
@ssacharoff
@ssacharoff 3 года назад
I am the mentor for a FLL team. This is our second year competing. Last year we used the Mindstorms EV3 software to develop our code with many files and blocks. This year, we are hoping to use EV3 Classroom, in fact, I think we are forced to use it because I have upgraded my mac to Catalina. I am struggling to understand how to break up the code into different files. As far as I can tell, we are stuck with one giant file that will contain all our code and blocks. We will have hundreds, possibly thousands of lines of code. Is this the case?
@vandankaushik2917
@vandankaushik2917 8 месяцев назад
its our first year doing this? if you find out, please share?
@raghadal_khateeb4732
@raghadal_khateeb4732 3 года назад
What about EV3 programming?!! If you can tell us about robot line tracking programming I would be grateful ..
@ZacharyTrautwein
@ZacharyTrautwein 3 года назад
So, it’s my understanding that this should work with ev3’s too because ev3’s are being programmed with drag and drop blocks coding like the spike prime, is that not true?
@raghadal_khateeb4732
@raghadal_khateeb4732 3 года назад
@@ZacharyTrautwein I got it..but trace the line with EV3 Education I can't program the robot to do that and when I tried it didn't materialize .. The school's facilities do not allow you to purchase a spike kit, so I will have to fight again with the EV3, and for sure, I will take your notes into consideration. Thank you very much. By the way, I am from Jordan and the robot team I work in belongs to UNRWA schools..
@ZacharyTrautwein
@ZacharyTrautwein 3 года назад
Hmmm... let me investigate a little bit!
@raghadal_khateeb4732
@raghadal_khateeb4732 3 года назад
@@ZacharyTrautwein take your time..
@cmalab6303
@cmalab6303 6 месяцев назад
good yo
@razerclaww7210
@razerclaww7210 3 года назад
How can you make this work with 2 sensors instead of one?
@ZacharyTrautwein
@ZacharyTrautwein 3 года назад
Great question. Super cool solution to following lines!... Mabye I'll make a video about that.
@abbyamanda8404
@abbyamanda8404 3 года назад
@@ZacharyTrautwein First off, great videos, they help a lot during COVID and not being able to go see your team mates. I would absolutely love to see the two sensor line following video, too.
@user-qv4kj6ox6f
@user-qv4kj6ox6f 2 года назад
does not go on the line. help😭
@hongqian3513
@hongqian3513 2 года назад
hundredth like
@olufemiolla5150
@olufemiolla5150 Месяц назад
well not clear enough.
@aggelostrue957
@aggelostrue957 Год назад
you are @@@@@@@
Далее
LEGO Education Spike Prime - Line Follow Tutorial
42:16
He is liars
00:45
Просмотров 1,2 млн
Line Squaring Tutorial for the Spike Prime
5:56
Просмотров 6 тыс.
FIRST LEGO League Challenge RePLAY Robot Game Video
6:50
Lego EV3 Color Sensor - Follow a Line
11:17
Просмотров 129 тыс.
He is liars
00:45
Просмотров 1,2 млн