Skip to content
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

Unavailable API #2

Closed
strichter opened this issue Mar 22, 2020 · 8 comments
Closed

Unavailable API #2

strichter opened this issue Mar 22, 2020 · 8 comments
Labels
platform: EV3 Issues related to LEGO MINDSTORMS EV3 support Request for technical support for a problem that is not a bug or feature request

Comments

@strichter
Copy link

Hi,

I was very excited seeing messaging support in the pybricks API. However, I got stopped in my tracks today when I actually tried to use it. I am currently building a 2-brick model with my son and we were planning to use BT messaging.

Where can I find a pybricks-micropython version that has the API documented here?

@laurensvalk
Copy link
Member

We're working hard to get everything online in the week to come. Great to see you found this already :)

You can get the latest build of ev3dev which now comes with pybricks-micropython here:

https://oss.jfrog.org/list/oss-snapshot-local/org/ev3dev/brickstrap/

@laurensvalk
Copy link
Member

It is still a beta version, though, so there may be a few things here and there that are not up to speed with the documentation yet.

But messaging is already working. We'd love to hear about your experiences when you try it.

@strichter
Copy link
Author

I just found it and I am thrilled! Thanks for getting back to me so fast!

Be assured, I will be beta testing all week for you!

@laurensvalk
Copy link
Member

laurensvalk commented Mar 22, 2020

Excellent, much appreciated! Feel free to share your findings at https://github.com/pybricks/support

Extra note while you are testing:

We're trying to make sure that any user script written with version 1.0, will still work in this new release, despite some API changes (the docs are 2.0 only, so we do encourage people to upgrade, but still). So if you still have any old scripts ready to be tried out, we'd love to hear if we broke anything.

@strichter
Copy link
Author

Unfortunately, I just started with pybricks and the messaging was my first experiment beyond some trivial motor testing.

When I built a printer/plotter wiht my other sone last year, we used ev3dev2. But given how much faster micropython is (I am joyfully surprised) and how much tighter the controls seem to be, I will switch over completely even with the other project.

@laurensvalk
Copy link
Member

No problem, I'm sure there's still plenty we have to fix in the 2.0 version alone :)

Yes, Pybricks has its own set of motor control drivers, which was a major piece of this whole project, so I'm glad its being noticed, and feedback on this is very welcome too.

@strichter
Copy link
Author

Ok, Bluetooth is working well. I wish there would be some high-level connectivity control, but I will play around with it.

For example, I would like to leave the server running and restart the client as I keep developing. Having to restart both on every testing cycle is annoying. I am sure I can come up with a solution, but a child learning this stuff will not. I know it is not easy to do, but a simple is_connected() function would be nice, so when the client disconnects, the server knows to wait for a connection again.

On the other hand, maybe it would be best to hide the connection stuff altogether and only deal with mailboxes. Code behind the scenes can deal with everything connection related.

@laurensvalk
Copy link
Member

Thanks for your feedback, glad to hear you got Bluetooth working.

I've copied your feedback to an internal issue about ongoing Bluetooth improvements. Feel free to create a dedicated issue about it if you like though.

As far as this issue is concerned, I've just populated the downloads page with some links. It's very minimal, but at least it can be found now. The docs already have a link to this download page too.

So I think this issue is ready to be closed as the very first public issue. Thanks for reporting! :)

@dlech dlech added platform: EV3 Issues related to LEGO MINDSTORMS EV3 support Request for technical support for a problem that is not a bug or feature request labels Mar 26, 2020
hwillemen added a commit to hwillemen/pybricks-api that referenced this issue Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: EV3 Issues related to LEGO MINDSTORMS EV3 support Request for technical support for a problem that is not a bug or feature request
Projects
None yet
Development

No branches or pull requests

3 participants