-
Posts
80 -
Joined
-
Last visited
About Pybricks

Spam Prevention
-
What is favorite LEGO theme? (we need this info to prevent spam)
MINDSTORMS
-
Which LEGO set did you recently purchase or build?
51515
Profile Information
-
Gender
Not Telling
-
Interests
Robotics & Python coding.
Extra
-
Country
GitHub
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Enjoy, everyone! Many of you have asked for this. This has been a huge addition to the code base, and we're thrilled that we got it working on the Technic Hub eventually. And thanks to @kbalage for announcing it to the world! For details on compatible models and connection procedures, please see this documentation page. See also this Wikipedia controller overview.
-
Pybricks Q&A
Pybricks replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
It receives a tuple of values even if you just send one value. To get the value out of it, just read the first value like so: my_value = received_data[0] @The_Cook, since you choose the color for the remote light yourself, you could set the hub light to the same value. -
Pybricks Q&A
Pybricks replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
When you see an issue like this, how about opening an issue at https://github.com/pybricks/support? That puts it on our roadmap for things to fix. :) -
Pybricks Q&A
Pybricks replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
That's a great design! As you have perhaps already figured out on the other thread, the `Broadcast` class is still being worked on. It should get stable pretty soon :) -
Pybricks Q&A
Pybricks replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
The best chance to get detailed help is to ask here: https://github.com/pybricks/support/issues Thank you! In order to be able to help, can you share a small program that reproduces your issue? When the program stops, what is the error message that you see? -
Pybricks Q&A
Pybricks replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Are you using Pybricks or the official LEGO MINDSTORMS app? -
Pybricks Q&A
Pybricks replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
You'll want to delete these lines: # Read the current settings #old_kp, old_ki, old_kd, _, _ = steer.control.pid() # Set new values #steer.control.pid(kp=old_kp*4, kd=old_kd*0.4) This was a bit of a hack that was needed only in very early version I shared with @kbalage, but it is has now spread all over the internet 😁. This is now done internally. So if you do it in your script, that makes the kp gain way too high so the motor is all over the place. -
Pybricks Q&A
Pybricks replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
But that's the best part! With Pybricks, your program remains saved without having to think about it :) -
Pybricks Q&A
Pybricks replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Thanks for sharing @Polarlicht, it's awesome! We shared it on Facebook earlier today. It's definitely a use case we hadn't thought of. Now you just need a GPS module ;) @gyenesvi, Thanks for looking through the code. That is always good. Our main focus will probably remain LEGO hubs, but we're always happy to talk to third parties about possible collaborations. -
Pybricks Q&A
Pybricks replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
That's always good too! In this case I meant that the beta app now has the support button (the heart icon in the top right). -
Pybricks Q&A
Pybricks replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
@gyenesvi, it might be possible. See https://github.com/pybricks/support/issues/262 for a high level plan. We have quite a bit of other work in the pipeline too though. If you want to support our work, that is now possible via https://beta.pybricks.com/ -
Pybricks Q&A
Pybricks replied to Pybricks's topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
@Celeri: Yes, that “just works” now, so you don’t need to do anything special to save the program anymore. Just run the program, and restart it with the button whenever you like.