-
-
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
Enable set
builtin type on hubs with enough flash memory.
#402
Comments
It should work. What is the problem? Is there an error message? |
We could probably add an example that sets the direction correctly. |
NameError: name 'set' isn't defined
David, Laurens, I've looked further at the error that @AntoniLuongPham encountered the other day, and it actually didn't have to do with the DriveBase. Rather, he was using I've asked him to change the title of this issue accordingly. Thank you. Vinh |
Since we are using dual boot on these hubs, space is limited. It's not quite as bad as the restrictions on Move Hub, but we still have to carefully consider which features we enable. See also pybricks/pybricks-micropython#60, where we decided not to enable set, at least not for now. |
Thanks Laurens for the clarification -- I understand the rationale. We were trying to use For now, I think these technical decisions should be documented so that the users of the Pybricks 3.x versions are aware. Vinh |
That's being done in #286 😉 |
Brilliant!! -- looking forward to the formal release! :) |
NameError: name 'set' isn't defined
set
builtin type on hubs with enough flash memory.
Add type stubs and docs for builtin `set` type. Issue: pybricks/support#402
Add type stubs and docs for builtin `set` type. Issue: pybricks/support#402
Dear @dlech and @laurensvalk,
I am trying to use the DriveBase code with the PrimeHub but it doesn't work.
Could you let me know if it works with only EV3 for now?
Thank you very much.
Antoni
The text was updated successfully, but these errors were encountered: