Self-uprighting & line-following, balancing LEGO Robots: SPIKE Prime & Mindstorms Robot Inventor

Поделиться
HTML-код
  • Опубликовано: 27 янв 2025

Комментарии • 132

  • @imaginationsquare
    @imaginationsquare 4 года назад +3

    I love how they both look, you guys even nailed to make a color cheme with spike prime! GG!

  • @alextheautonomousman8709
    @alextheautonomousman8709 3 года назад +1

    Will try over the weekend. Looks cool

  • @pybricks
    @pybricks 4 года назад +3

    2:08 and onwards is just so peaceful :D

  • @imaginationsquare
    @imaginationsquare 4 года назад +1

    I just keep comming back to this cuz I adore them!

  • @johannesteerlinck387
    @johannesteerlinck387 4 года назад +1

    Nice & functional designs Dimi!

  • @GamendMeme
    @GamendMeme 2 года назад +1

    Good review, thank you. Don't give up posting videos

  • @monsterbricks
    @monsterbricks 4 года назад +1

    Nice work man! Really great!

  • @byronasaur
    @byronasaur 2 года назад +1

    i just realised spike and robot inventor are the exact same model with color changes

  • @imaginationsquare
    @imaginationsquare 4 года назад +2

    It's officially the 10th time I revisit this video...

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад +1

      Haha, thanks! It's great to hear that the all the work I put into this little video is being appreciated.

  • @chadsarni5984
    @chadsarni5984 2 года назад +1

    I am also very interested in the line following while balancing!

  • @hello-nv4ps
    @hello-nv4ps 4 года назад +3

    This looks so cute!

  • @patgamer4567
    @patgamer4567 4 года назад +3

    You know what would be cool. If you can make a hand folower : you put the hand to the distance sensor and if you move your hand forward the robot will move forward. If you make this program please post it next to the original code

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад

      Good idea and perfectly feasible with these robots, I'll see if I can find the time for it. ;-)

  • @timandjoshbricks6715
    @timandjoshbricks6715 3 года назад +1

    Amazing!

  • @zrxly_293
    @zrxly_293 4 года назад +1

    Soooo cool!

  • @Georginator1
    @Georginator1 4 года назад +1

    i tried it and it works very well! thx!
    great video by the way :)

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад +1

      Haha, thanks for the feedback! It's nice to hear that you were able to build this little robot yourself and got it working.

  • @anshnavsingh7272
    @anshnavsingh7272 3 года назад +2

    Can you please make the code in English and in a website. Its blurry on the screen and I don't know that language.

  • @LORrDXXX
    @LORrDXXX 3 года назад +1

    is it possibly with control plus hub?

    • @DimitriDekyvere
      @DimitriDekyvere  3 года назад

      To remote control them? Yes it is. Nard has made a Python library for that too. (I am still working on that video)

    • @DimitriDekyvere
      @DimitriDekyvere  3 года назад

      If you want to make a balancer with a control + hub, that is possible too. See: ruclips.net/video/muVCJEmVa_M/видео.html

  • @Unbrickme
    @Unbrickme 3 года назад +1

    This is awesome! Can I ask what program you used to create that beautiful animation at the beginning?

    • @DimitriDekyvere
      @DimitriDekyvere  3 года назад +1

      Thanks, the falling brick animations are done with Studio 2.0 from Bricklink.

    • @dinhtuan752
      @dinhtuan752 3 года назад

      thanks

  • @alfonsobarbagelatalado1538
    @alfonsobarbagelatalado1538 4 года назад

    Dimitri Dekyvere you can also create designs with instructions and the program but for the mindstorms ev4 robot. Please thank you very much.

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад

      What do you mean with the Mindstorms ev4 robot? If that is the new Mindstorms Robot Inventor robot, the instructions and program are already in the description of this video...?

  • @johnweber380
    @johnweber380 5 месяцев назад

    Very nice. Just curious if there is a known issue with Spike V3? There seems to be a deceleration when the motors are turned off/reversed, so the robot slows down a bit when the "get up" myblock is run, and won't tip forward onto its wheels.

    • @johnweber380
      @johnweber380 5 месяцев назад

      I found that there are motor acceleration setting blocks, and one can set the acceleration to fast, medium (default), or slow. Setting it to fast enables the robot to tip forward with a sudden deceleration. Now, just to get the tuning right to enable stable upright balancing...

  • @kidsvandentillaar8557
    @kidsvandentillaar8557 Месяц назад

    HOW DID YOU DO THAT 1:45

    • @DimitriDekyvere
      @DimitriDekyvere  Месяц назад

      @@kidsvandentillaar8557 dat was een mogelijkheid in de Pybricks firmware. Ik weet niet of dit met de laatste versie nog mogelijk is.

  • @coreyharris8207
    @coreyharris8207 4 года назад +1

    What's the advantage of using the pybricks OS instead of the default python firmware?

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад

      The biggest advantage is that you can use it for all new LEGO hubs. I am no expert on the topic but i believe they have more/larger libraries. In my case here, they gave me an example with their own balancer code, that i could use for my model with some minor changes.

  • @joshMene
    @joshMene 16 дней назад

    I want dual booter firmware. How i can get it?

    • @DimitriDekyvere
      @DimitriDekyvere  16 дней назад

      @@joshMene you can ask for it here: github.com/orgs/pybricks/discussions

  • @noahmiller628
    @noahmiller628 Год назад

    I don’t know if I can build that off my Lego spike prime

    • @DimitriDekyvere
      @DimitriDekyvere  Год назад +1

      Yes you can. The yellow one is 100% spike Prime parts.

    • @noahmiller628
      @noahmiller628 Год назад +1

      @@DimitriDekyvere I think I do have the pieces

  • @esmailman1
    @esmailman1 Год назад

    Has anyone tried a Python version of this? I wrote mine using the Mindstorm IDE. The code runs, but I can't get the robot to balance after trying to adjust the PID tuning constants.

  • @BManCan1
    @BManCan1 4 года назад +1

    Thanks for sharing this balancing bot. Very well done. For the Pybricks line follower, any tips for positioning robot when launching program (in balance position / over line)? Thanks.

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад

      The start was not very good yet. In upright position on a straight part of the line worked best. But how did you get acces to this Pybricks firmware already? I believe it is not available yet?

    • @BManCan1
      @BManCan1 4 года назад +1

      @@DimitriDekyvere I found the information here github.com/pybricks/support/issues/167

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад

      @@BManCan1 Great, Did you get it working?

    • @BManCan1
      @BManCan1 4 года назад

      @@DimitriDekyvere it is somewhat working for me, but having some reliability issues with Pybricks locking up and requiring a reboot. This is pre-release firmware so not completely unexpected.

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад +1

      @@BManCan1 Indeed, there are still some bugs to be fixed, i had the same issues. They are working on it. Glad to hear you got it working.

  • @reenabondada7490
    @reenabondada7490 2 года назад

    I made this using my mindstorms. It doesn't work, just goes backwards and stops. I was using streaming mode though, which Dimitri says is slower

    • @DimitriDekyvere
      @DimitriDekyvere  2 года назад

      I am sorry to hear that. Did you put it in download mode? Streaming mode is to slow, it does go arround in all directions then...

    • @DimitriDekyvere
      @DimitriDekyvere  2 года назад

      If you can send me a video of the problem, maybe i can see what is going wrong?

    • @reenabondada7490
      @reenabondada7490 2 года назад +1

      @@DimitriDekyvere Oh sorry. I used streaming mode, as I find it easier to control. I'll definitely give it a second try

    • @reenabondada7490
      @reenabondada7490 2 года назад

      @@DimitriDekyvere I would build it again, but I just built something else using my mindstorms

  • @lolojeph1360
    @lolojeph1360 Год назад

    Hi dimitri, my spike robot just moves backwords and stoos

  • @tibacsaba7592
    @tibacsaba7592 Год назад

    Does a mindstorm hub work on the spike coding app interface?

  • @markusw.3138
    @markusw.3138 4 года назад +1

    Absolutely amazing, thank you so much! Is there a way to Control Them, are you able to create a Code for us so we can move it With our Smartphone/Bluetooth? Regards and thank you so much for this cute Robots

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад +2

      I'm working on a remote control, but due to the lack of Bluetooth communication blocks, this will probably require some extra work...

  • @karlkopinski4438
    @karlkopinski4438 4 года назад +1

    Hi demitri I'm a bit stuck on how I can connect my RI hub to pybricks is there any chance you could help me out?

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад

      What is the problem?

    • @karlkopinski4438
      @karlkopinski4438 4 года назад +1

      @@DimitriDekyvere I'm not sure how to connect it to pybricks so I can play the code

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад +1

      @@karlkopinski4438 The Pybricks version for Spike & RI has not been officially released yet, they are still working on the optimal user experience and getting rid of the last bugs. I have been able to test a beta version. I read in an earlier reply here that you can also find the beta through this link: github.com/pybricks/support/issues/167 However, I think it is best to refer you to the official question & answer page of Pybricks: github.com/pybricks/support/discussions

    • @karlkopinski4438
      @karlkopinski4438 4 года назад +1

      @@DimitriDekyvere Thanks so much!!! I've got the pybricks working but the robot goes so fast and won't follow the line. Any chance you know the problem?

  • @anitalocken5289
    @anitalocken5289 4 года назад +1

    Hi Dimitri- Any Chance to get the instructions and the Programm for the Mindstorms Inventor ?

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад +1

      Hi Anita, the link to everything is in the first line of the video description. ;-) : Free building instructions & programs: legostudiovives.be/bouwideeen/​

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад

      Did you find it?

    • @anitalocken5289
      @anitalocken5289 4 года назад +1

      Yes, i found it - thanks a lot - can‘t wait to built it 😃

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад

      @@anitalocken5289 Let me know how it goes.

    • @anitalocken5289
      @anitalocken5289 4 года назад +1

      @@DimitriDekyvere hi Dimitri, Robot is built, but I cannot open the programm. How can I open it? A pdf would be perfect to see the blocks, in order to built them in the mindstorms app..... Can you help?

  • @janblajerski9056
    @janblajerski9056 3 года назад +1

    Hello. I have a question.
    If I understood correctly, I can go to your website and download the inventor robot program, so that I can build a balancing robot myself.
    When I download a file from your link and try to turn it on on my tablet (here where I have the inventor app), it doesn't work.
    How to turn on a program written by you so that a balancing robot works?

    • @DimitriDekyvere
      @DimitriDekyvere  3 года назад

      If you want the remote controlled version (2 hubs) than you have to use the Spike app. (And do a Spike firmware update on your Robot Inventor Hub. (Is reversible 😉) ). If you just want the balancer you can download the RI program from the Sumo balancer or basic balancer.
      A Control+ hub remote control is coming soon.

  • @whydesign6805
    @whydesign6805 Год назад

    Love the robot! Build it and it works great.
    I would like to make use of the ultrasonic sensor to make it roam randomly with obstacle avoidance, however I don't know how to make the robot move instead of the usual balancing in place. Any tips?

    • @DimitriDekyvere
      @DimitriDekyvere  Год назад

      When i did the remote control i made it move by changing the setpoint of the gyrosensor PID control. If you change that a bit, he will start driving forward or backwards. Actualy you control the acceleration of the robot by changing its balancing setpoint. If you want a more advanced balancing control, see my Robot Inventor fanmodel in the Mindstorms Robot Inventor app.

    • @whydesign6805
      @whydesign6805 Год назад +1

      @@DimitriDekyvere Thanks for the response, I'll test it out soon!

  • @LourdesDAlessandro
    @LourdesDAlessandro 9 месяцев назад

    Hello! Can someone tell me what the second block in the second column says that is pink at minute 1:22 ? bewegen starten op -10 50 % ..... ???

    • @DimitriDekyvere
      @DimitriDekyvere  9 месяцев назад

      Start moving at -10 (slight turn) at 50% speed. The code is available for download, then you can see the program in your language.

    • @LourdesDAlessandro
      @LourdesDAlessandro 9 месяцев назад

      @@DimitriDekyvere thank you very much for your answer! where can I download the code?

    • @DimitriDekyvere
      @DimitriDekyvere  8 месяцев назад

      @@LourdesDAlessandro see video description 😉: Free building instructions & programs:
      legostudiovives.be/bouwideeen/

    • @HansStadman
      @HansStadman 4 месяца назад

      ​@@DimitriDekyvere i cant download the progam

    • @DimitriDekyvere
      @DimitriDekyvere  4 месяца назад

      @@HansStadman it still works here. Be aware it is a .zip file. You have to unzip the files first before you can use them.

  • @mikey4590
    @mikey4590 3 года назад +1

    Hi Dimitri, do you also have word block programming for the line following part?

  • @ItsThatMeatball
    @ItsThatMeatball Год назад

    Where is the handle for this, I saw it in a short but it was not your channel. I see that it is on the community page tho. I really want to know.

    • @DimitriDekyvere
      @DimitriDekyvere  Год назад

      Hi, i don't realy understand your question. What are you looking for? The remote controled version? ruclips.net/video/M5D429_jVoQ/видео.html

    • @ItsThatMeatball
      @ItsThatMeatball Год назад

      @@DimitriDekyvere I'm sorry, the one I saw had a controller that was in a fixed position and I just found it. It was the Balancing Bot number 2/2 on the app. Thanks for being another great creator.

    • @DimitriDekyvere
      @DimitriDekyvere  Год назад

      @@ItsThatMeatball ah you meant the Joystick from my Robot Inventor Fan Model. The buildinginstructions an program are in the official Robot Inventor app indeed.👍

  • @hutte-y1p
    @hutte-y1p Год назад

    its for what version of spike ?

  • @edipo2
    @edipo2 3 года назад

    Hey, Very nice. Can it be Done with the technic HUB? it has tilt sensor..

    • @DimitriDekyvere
      @DimitriDekyvere  3 года назад +1

      Yes it can, still on my to do list. Have a look for the Pybricks balancer video.

  • @girishbh7816
    @girishbh7816 3 года назад

    My pybricks does not pair with my hub

    • @DimitriDekyvere
      @DimitriDekyvere  3 года назад

      Did you install the Pybricks firmware?

    • @girishbh7816
      @girishbh7816 3 года назад

      @@DimitriDekyvere No, my laptop does not seem to detect my hub.

  • @szkoaparszow8213
    @szkoaparszow8213 2 года назад

    It just keeps on spinning

    • @DimitriDekyvere
      @DimitriDekyvere  2 года назад

      Hmmm. I will need a bit more info to be able to help you.

  • @kinnell6781
    @kinnell6781 3 года назад

    So my kid built this, he calls it Charlie Jr, and we loaded up the code and it ran once but now anytime it runs we just get the frowns face. From the code it seems like it does that when it has fallen over, but it's just sitting happily on the table. Any general thoughts on troubleshooting that? Tried redownloading as well and shutting things down and restarting.

    • @DimitriDekyvere
      @DimitriDekyvere  3 года назад +1

      Hi, do you want the remote controlled version (with an other Spike RC) or just the balancing version?
      Can you check if your Gyrosensor works (sometimes the gyro falls out if the Spike moved during startup, just restart the spike to fix that.)

    • @kinnell6781
      @kinnell6781 3 года назад

      @@DimitriDekyvere I think he was just running the balancing code. It seemed from the code that it was something to do with a sensor being off. I'll have him read this and go from there. Thanks for the reply

  • @iibb6359
    @iibb6359 4 года назад

    I change the stamp target for hours and my robot doesn't want to balance. Now I have 44.666234577899922284449 and it still doesn't work, it rolls over to the rear wheel. When it was 45, he would fall forward. Do you know what the problem could be?

    • @DimitriDekyvere
      @DimitriDekyvere  4 года назад

      Hmmm. That is hard to tell. Maybe you can send me a video of the problem?

    • @iibb6359
      @iibb6359 3 года назад

      @@DimitriDekyvere I found that the tilt of the robot depends on the battery charge level. This is the link to the video: www.icloud.com/sharedalbum/pl-pl/#B0C5fk75vHYUjjJ

    • @DimitriDekyvere
      @DimitriDekyvere  3 года назад

      @@iibb6359 hmm, that doesn't look like a setpoint problem. More likely a too low cycle time of the PID loop or indeed that it can't give enough power anymore because the battery would be too low.
      With the same code, does it work properly when fully charged? Is this still my original code, or have modifications been made to it?
      Are you sure that the latest firmware is on it?

    • @iibb6359
      @iibb6359 3 года назад

      When the battery is fully charged, it falls to the front, and if I modify the program, it also does not work.

    • @iibb6359
      @iibb6359 3 года назад

      I updated it about 2 weeks ago.

  • @ahmetterkan2580
    @ahmetterkan2580 Год назад

    If I do this work with Spike 3, will it work or should I use Spike 2? If anyone has done line tracking with Spike 2 or Spike 3, can they send their codes?

    • @DimitriDekyvere
      @DimitriDekyvere  Год назад

      The linetracking was done with Pybricks. I am sure you can find examples on their website.

  • @girishbh7816
    @girishbh7816 4 года назад +1

    cool