-
-
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
[Bug] TechnicHub with L (88013) Motor #1131
Comments
This is just one example of the issues I encountered after installing v3.3.0b7. I won't be ticketing all of them right away just in case they could have the same cause (e.g. the latest refactors pybricks/pybricks-micropython#174) |
I just tested it on one of my Technic Hubs with motors 88018 and 88008, ColorDistanceSensor and Light. Everything seems to work fine when motor or sensor connected to Ports A, C or D. Only port B gives the same result as mentioned by Tomasz for both motors and the ColorDistanceSensor: in REPL the statement |
For me, 88018 and 88008 doesn't work on port A but work on any other. 88013 consistently doesn't work on any of the ports. |
Thanks for reporting! We changed the port interface extensively so it's possible something slipped through. If anyone has a prime hub or inventor hub to repeat the tests that would be useful. I'll try reproducing it on all hubs on Monday. |
I can reproduce this. This does not seem to affect the Prime Hub (where most testing was done). On Technic Hub, UART sensors are giving this error while syncing up:
And then the detection process for that port gets confused. So at first glance, this does not seem unique to a particular port (it can happen everywhere), it just appears that way if something was plugged in and then removed. |
Just tested it briefly on Inventor Hub. Mine is build now as Gelo and all motors and sensors work fine on all ports. |
InventorHub:Motors 88018 and 88008 - work on all ports |
Thank you both for the fast responses! We should be able to fix this in the coming week. |
This is constant information used in several places. Keeping it in one place is easier to maintain and less error prone. Also fixes Technic Large motor not being detected because it was missing on one of these (duplicated) lists. See pybricks/support#1131.
This is constant information used in several places. Keeping it in one place is easier to maintain and less error prone. Also fixes Technic Large motor not being detected because it was missing on one of these (duplicated) lists. See pybricks/support#1131.
The Technic motor and Light were not working on any hub in this release, which has now been fixed. These were small independent mistakes made during a large code overhaul we did recently.
|
@KWSmit, @tomijah, to try this out, get the firmware from https://nightly.link/pybricks/pybricks-micropython/workflows/build/master and install it like this: https://pybricks.com/install/technic-boost-city/#installing-the-latest-build-advanced Not everything is fully fixed. You still have to plug in the cables after switching the hub on. This will be addressed in #1134. |
Confusion here, Laurens. Installing the CI-firmware you point to above shows: Basic 3.3.0b7 firmware shows: Only the date changed. I would expect "the git id" to show something like Probably my ignorance . . . Bert |
Just tested on Technic and Prime hubs and 88013 motor and 88005 Light work nicely. |
Use these links to test version where motors/sensors also work when already plugged in
|
These links should fix this open issue as a whole. If anyone wants to give this a go, we may be able to release a new beta for everyone by the end of the week 😄 We'll also do some more testing ourselves across a range of hubs/sensors/motors. |
Confirmed OK on TechnicHub. And now with a version that I understand a bit better 😉 |
Confirmed OK on TechnicHub. Motor (88008 and 88018) doesn't seem to work on CityHub, whatever I try. Light does. Hope to try Robot Inventor later tonight... |
City Hub should be fixed on https://nightly.link/pybricks/pybricks-micropython/workflows/build/master when it finishes building in 15 minutes or so. Thanks for reporting @KWSmit ! |
@laurensvalk CityHub ok now. I have a question: I only can run programs by using Pybricks webapp. Running from the commandline with pubricksdev does not work: no error but program does nothing. Can this be because of new beta for firmware on hub? To test on Robot Inventor, can I use the link to the Prime firmare? |
Forget my first question about pybricksdev, it works fine now. Probably did something wrong... |
Yes, they both use the same firmware. |
I don't have the time right now for a thourough test, but Robot Inventor seems to work fine now. Tested with Motors (88008 and 88018), Light, UltrasonicSensor and Colorsensor on different ports. Motors/sensors already connected or changing ports works well. |
Seems like L 88013 motors are not being recognized. I tried it on City, Technic, Inventors Hubs.
I tested all ports in Technic Hub with 3 different 88013 motors. I also tried to mix up the ports (like connect to A and indicate B in code). Every time I'm getting
My code:
To reproduce
Firmware v3.3.0b7
Expected behavior
The motor should run for 2 seconds
The text was updated successfully, but these errors were encountered: