-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Getting Started Documentation for Robot Inventor? #167
Comments
NOTE: This discussion is outdated.Please see #591 for updated instructionsThanks for asking John! You're right, we're quite far along with Pybricks for the Inventor Hub and the Prime Hub. The documentation currently says coming soon, because it is still a bit tricky for beginning users. But since you are asking here, this is a good opportunity to show the more curious users how to get started already. In the mean time, we're working to make it stable and easy for everyone else too. OverviewThe installation consists of three steps:
1: Installing the firmware
2: Starting Pybricks
A regular (short) press will start the stock firmware instead. NOTE: For the moment, the battery does not automatically charge while running Pybricks. So, make sure to reboot the hub when you are done using it, so it can charge the battery using the standard firmware. 3: Running scripts
4 (Optional) Installing the Pybricksdev command line tool to download and run programs locally
5 (Optional) RecoveryA regular firmware update using the official app will remove Pybricks. If this does not work, or if something else does not work, you can recover to the official firmware using this page. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Had it installed. My experiences: Many thanks for this happening. |
Error on code.pybricks.com screen . After connection thrue bluetooth. I get the message unexpected error while trying to connect: Connection failed for unknown reason. I use: Windows 10 Education: Versie: 10.0.19044 Build 19044. Chrome browser Versie 96.04.4664.93 (64 bits). The update of My Inventor (51515) with pybricks (with USB) went ok. Do you have advise for me? |
Please see #270 for troubleshooting tips and open a new issue with logs/packet capture. |
I tried to install pybricks again. I have got the following error message: your hub runs LEGO Firmware version: b'v1.4.01.0000-594ce3d' Here the complete text:
|
Hi guys, |
We've been working on an updated firmware and installer, but it isn't quite ready yet. Hopefully we can get the next version out in a few weeks. And if not, we can certainly give this older version a maintenance update to allow V1.4.01, if there's demand for it. |
Thanks for quick reply on this. Seems like having your software and the Lego hub software track each other is tricky business. Thanks for the help. |
That’s right - we verify the version just to make sure everything is working. In this case, v1.4 does not seem to be out yet in my country. Once the installer is integrated in our main app, most of this complexity will go away, but this is what we have to do for now. |
Not sure if Lego hub updates are linked to App updates but the 10.3 App update on my iPhone shows released 2 weeks ago. I could help to check functionality using your software on new hub version if that would help. |
In the mean time, you can install the official SPIKE firmware, which should still be compatible with our dual-boot installer. To do so, launch the SPIKE app. When you connect, it will ask you to do the update. |
spike is now at LEGO Firmware version: b'v1.3.00.0000-e8c274a', so its too new as well |
I also have v1.4.01.0000-594ce3d, as reported by https://install.pybricks.com/, and so the install fails. For me (in the US, on a modern Android phone) this has been the case at least since I started using my 51515 MINDSTORMS Robot Inventor Lego set on 2021 Dec 25. I'm also looking forward to trying Pybricks, so looking forward to any updates! For the record, I've tried rolling back to firmware-backup-v1.2.01.0103-d08b6f, and then istalling pybricks, which works, but when I try to run programs, I get all kinds of weird errors. I did not bother with this, because I assumed I should just wait until the modern Hub firmware is supported by Pybricks, and then try again. |
Thanks for your patience everyone! 😄 |
A rollback to the firmware "firmware-backup-v1.2.01.0103-d08b6f". doesn't work for me either. After installing the "old" firmware, I can no longer connect the hub for the dual-boot installation. The following error: |
I've got the same error on Linux, but on MacOS the installations went through. I've also had v1.4.01.0000-594ce3d firmware that gave me error but after rolling back to v1.3.00.0203-71f6a41 everything went fine and now I can code ;> |
I solved the problem on Win 11 / Edge by deleting the driver (hub) in the device manager. then the hub has reconnected properly. rollback is always necessary (at least in Germany) because the firmware of the native applications (Lego Mindstorms, Spike) currently "not yet" work for the dual boot. |
Thanks everyone for sharing your experiences. Good news --- we expect to release the next beta version next week or so. The installation will be compatible with the latest official firmware, so please stay tuned :) |
The beta release is now out. Thanks for waiting everyone! Please see #591 for updated instructionsIf you have any questions or concerns regarding the update, please feel free to open a new issue or discussion. We will be closing this discussion about the alpha version so we don't confuse new users. |
Question
Is there documentation for how to get started using Pybricks with the Robot Inventor?
Context
Seems like it is being used to do projects by some, however the Docs don't show how to get going.
Screenshots
There is a saying that a picture is worth a 1000 words. Screenshots really help to identify and solve problems.
The text was updated successfully, but these errors were encountered: