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.
@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)
@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 :-)
@planetplushy3705
@planetplushy3705 3 жыл бұрын
Cool video
@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.
@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 М.
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 43 МЛН
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 М.
I Made a 32-bit Computer Inside Terraria
15:26
From Scratch
Рет қаралды 4 МЛН
LEGO Robot Inventor 51515 Rubik's Cube Solver
2:39
Mladen D.
Рет қаралды 275 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 111 МЛН
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 736 М.
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 1,4 МЛН
Spike Prime / Robot Inventor Automatic Positioning Motor
4:33
Gibford's Robot Lab
Рет қаралды 4,6 М.
Engines are now getting smaller
10:43
DIY Garage
Рет қаралды 35 М.
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 43 МЛН