Lego Wallplotter

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024
  • A plotter built from the Lego Mindstorms Robot Inventor 51515 set. Want to build it yourself? Find the instructions and code at voot.de/project...

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

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

    And instead do the same thing but with the horizontal plotter with wheels?

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

    Really really awesome!!!

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

    This is so awesome 👏

  • @KW-mu8gy
    @KW-mu8gy 3 года назад

    Good job!!!

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

    how do you transform the svg to x and y coordinates and where do I put them in the program once I have them?

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

      maybe you could do a whole tutorial video from start to finish. It would help a lot of non-coders(hint: me)

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

      @@reelbricks Hi Evan. Did you see the article I wrote at voot.de/projects/lego-wallplotter/ ? It is explaining all steps in detail.

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

      @@marcos913 thank you

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

    Fantastic!
    I'm trying to replicate it, but it gives me this error:
    execfile('/plotter/plotter.py')
    Traceback (most recent call last):
    File "", line 1, in
    OSError: [Errno 2] ENOENT
    Can you help me?
    Thank you

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

      Hey Luca. The most likely explanation is that the file plotter.py is not found in the folder /plotter/. Could you verify, that the file has been copied successfully? The is possible with the ls command when connected to the hub

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

      @@marcos913 Hi, yes the file was present together with cube.txt. I'll check better tonight, thanks for the reply. I'm a beginner, this project is amazing! I'll probably still need some help)))...thanks

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

      But should the /plotter/ folder be created in the hub?

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

      ​@@lucacusanno105 I created a "/plotter/" folder on the hub, to save all files regarding the plotter in there. This is the mkdir command. But it will work in other locations as well, as long as you reference the files correctly.

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

      ​@@marcos913 After various tests, with the USB cable I succeeded! Now I wanted to try to communicate with bluetooth, but with rshell it doesn't work

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

    Hi Marco, How do you find the device name for the Lego that you list when copy the script to it - rshell -p /dev/cu.LEGOHub...?

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

      Hi Jason. It depends on your OS. On macOS you should find it by typing "ls /dev/cu.*" in your terminal. Not 100% sure about Linux, but it should also be under "/dev/". My guess would be "ls /dev/tty*". On windows I would assume it would be some kind of COM port. If you are on windows you should probably search for using rshell on windows. I hope that helps

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

      @@marcos913 Perfect. I was working on a Windows machine, but had switched over to a Mac. Was able to get rshell connected, but copying to /plotter/ failed. My best guess is that I need to create that folder in /pyboard prior, just assuming that it won't create the directory into which the file is to be copied on the board.

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

      @@jasoncrow4704 You are most likely right. You can create the folder using "mkdir /plotter". I should add this to the instructions, thanks for pointing out

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

      @@marcos913 Hi Marco... I am slowly getting this thing to work. I can communicate with the Hub. I am now trying to run your code, but I get an 'invalid syntax' error when I try and use execfile. The issue could still have something to do with the directory - trying to execute the script in the plotter folder on the Hub? Not sure. Any ideas?

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

      @@jasoncrow4704 Hm, my guess would be that the files were transferred incompletely, rshell failed me a coupe of times.. You can try to compare the file sizes on your machine and on the hub using "ls -l" or print the file using "cat plotter.py" and see if something is missing at the end. Using a connection via usb cable instead of bluetooth seemed to be more reliable. Also, as I have written on my homepage, for large files I started using ampy which was far more reliable