How to Synchronize 4 Motors in Python with MINDSTORMS Robot Inventor Gelo

  Рет қаралды 8,048

Antons Mindstorms

Antons Mindstorms

Күн бұрын

Пікірлер: 23
@fabianogalimberti2272
@fabianogalimberti2272 3 жыл бұрын
you are my new programming star! Thanks for sharing.
@luvjs66791
@luvjs66791 3 жыл бұрын
Hi! I have a question for you. I have been struggling the ev3 stair climber program. The "my block" piece is the one I'm having trouble with I really don't know what's the program in the my block... -Thanks! (Keep up with the great work!)
@AntonsMindstorms
@AntonsMindstorms 3 жыл бұрын
I never made a stair climber. I would like to, one day.
@rasmusjrgensen9623
@rasmusjrgensen9623 2 жыл бұрын
Hi, super nice contents! it really help me learning python. I have a question for you, how do I enable the drop down search function ? :) - Thanks :-)
@ericbarnes8
@ericbarnes8 3 жыл бұрын
I find that the wordblock one 2:11 starts really rough, but it looks a little more fluid than the code 24:00. The body looks like it stay at more oven an even pace, but the other code it seems to go forward fast, and then slow down. Is it because it slows down and speeds up at certain part of the rotations? (Like the sine wave in your blog) Really well done. I learned a lot from the video. I love your little jokes :)
@AntonsMindstorms
@AntonsMindstorms 3 жыл бұрын
It is because I use a P-controller only. With PI or PID it would be smoother. But that would also introduce a lot of complexity. The video is hard enough as it is. ;)
@ericbarnes8
@ericbarnes8 3 жыл бұрын
@@AntonsMindstorms honestly, I'm not going to pretend I understand. I'll be need google what your saying to get up to speed. I'm gonna build Gelo now to give the code a shot, and try to figure it out. Super cool though and appreciate it.
@dinoscheidt
@dinoscheidt 3 жыл бұрын
Nice. Software Engeneeir here that bought Mindstorms to play around during lockdown. Weird to have to solve synchronization issues all over again 😅 they should have used JavaScript ... anyway -> Subscribed !
@AntonsMindstorms
@AntonsMindstorms 3 жыл бұрын
Let me know if you have questions or requests.
@dinoscheidt
@dinoscheidt 3 жыл бұрын
@@AntonsMindstorms Sure, this may be a little high tech for some viewers but here is what I want to do: I do a lot of machine learning so right now I am building a parallel robot arm out of lego technic that can operate a touch surface (like a tablet). Above the tablet I will have a smartphone hanging that detects shapes with computer vision on the tablet and instructs the arm to tap on them. So related to that a couple ideas / questions: [1] What is the bluetooth latency of computer/smartphone -> to Mindstorms Inventor hub (critical for quick reaction application). [2] When going on AliExpress searching for “WeDo 2.0 Connector” you find a lot of suppliers. Many people have a raspberry pi at home and I am thinking to maybe build a break out board for the raspy (I didn’t find one!) to drive lego technic motors sensors directly from the raspy (and many more). Maybe you know more here, can explore an upgrade path from Mindstorms brick or mix and match with a raspy (Bluetooth latency again). [3] How to extend to more motors with Mindstorms inventor hub, i.e. by connecting to peer control+ hubs via bluetooth. [4] An overview of good GitHub libraries (so a video for programmers) to connect to, use or extend Mindstorms functionality. [5] Good strategies to zero home motors that are not the Mindstorms absolute positioned ones. I.e. the control plus motors have sensors too, but how to make most use of them. Also, since some control+ models (like the 4WD Yellow Crawler, the Liebherr etc) go through a calibration step first, sensing if a motor hits resistance for self calibration
@AntonsMindstorms
@AntonsMindstorms 3 жыл бұрын
@@dinoscheidt ​ [1] Low. Usually, image recognition framerate is the limiting factor. [2] You can also just wait................ [3] This is in the works too. Check out Pybricks and ubluetooth [4] There is a Github library that does that. I lost the URL, but you'll find it. [5] This is a core part of Pybricks. run_until_stalled() [6] That's nice. I just finished a breakout to run the servos but I haven't started on the plastic connector parts. [7] Isn't most of it on Thingiverse? Some curation would be nice, however. I'd love to get a 3D printer sometime, but I just don't have time to play with it at the moment. I have enough ideas with LEGO bricks as they are.
@dinoscheidt
@dinoscheidt 3 жыл бұрын
@@AntonsMindstorms thanks for the replies! Exited for [2]. Maybe some of that lends to videos for general viewers - but I appreciate the direct replies! Regarding [1]: do you have some concrete ms number or a link where to read up on that? I ask because I have other project ideas were latency could be an issue (not related to computer vision)
@planetplushy3705
@planetplushy3705 3 жыл бұрын
Cool video
@ArtMGavr
@ArtMGavr 3 жыл бұрын
So you start from "it's looks not quite natural"... And what changes in the end? Why your python program better then wordblocks one?
@AntonsMindstorms
@AntonsMindstorms 3 жыл бұрын
I agree. My next video will improve this.
@drjuit
@drjuit 8 ай бұрын
can you control in scratch prime too?
@AntonsMindstorms
@AntonsMindstorms 8 ай бұрын
Yes, but you need a LOT of blocks.
@drjuit
@drjuit 8 ай бұрын
@@AntonsMindstorms could you do a video on woed block version?
@drjuit
@drjuit 8 ай бұрын
@@AntonsMindstorms do you have a 4 motor on 2 wheel, 2 eye ev3 program for sumobot?
@AntonsMindstorms
@AntonsMindstorms 7 ай бұрын
@@drjuit no, it's been a while since played sumo.
@drjuit
@drjuit 7 ай бұрын
@@AntonsMindstorms I havent been able to make it work I have been trying it for 2 weeks, clould you please help me out? I can pay for your trouble
@williamhuang5329
@williamhuang5329 3 жыл бұрын
Hanzhen harmonic drive gear , robot gear , joint gear reducer, over 30 years experience ,
How to use a Robot Inventor motor as a Force Touch Sensor
25:42
Antons Mindstorms
Рет қаралды 8 М.
How to animate your Robot Inventor Moc with Keyframes in Python
24:10
Antons Mindstorms
Рет қаралды 7 М.
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 58 МЛН
路飞做的坏事被拆穿了 #路飞#海贼王
00:41
路飞与唐舞桐
Рет қаралды 18 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 117 МЛН
LEGO 51515 Motor Secrets - Accuracy, Speed, Torque, Form Factor
11:10
Robot Inventor 51515 vs. 45678 LEGO SPIKE Prime: how to choose?
17:11
Antons Mindstorms
Рет қаралды 116 М.
PID Balancing with Python for Mindstorms/SPIKE Prime: Gyro Girl
10:58
Creator Academy Australia
Рет қаралды 19 М.
This tiny computer changes EVERYTHING
15:57
Jeff Geerling
Рет қаралды 735 М.
10 LEGO Power Functions Tricks You NEED To Know
14:22
Sariel's Bricks & Pets
Рет қаралды 808 М.
OpenMV vs. Huskylens: which one to buy with LEGO MINDSTORMS or SPIKE
24:39
Learn Python for Mindstorms (LEGO 51515) Part 3: Loops and Events Tutorial
19:56
Creator Academy Australia
Рет қаралды 9 М.
How to make three motors move in Sync with MINDSTORMS and SPIKE
24:00
Antons Mindstorms
Рет қаралды 13 М.
Master the LEGO 51515 Color Sensor
14:15
Builderdude35
Рет қаралды 23 М.
I Built a Fully Functional LEGO ROBOT DOG!
8:48
I Build Stuff
Рет қаралды 402 М.
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 58 МЛН