[Feature] Improve device detection and UART device process #1140
Labels
enhancement
New feature or request
software: pybricks-micropython
Issues with Pybricks MicroPython firmware (or EV3 runtime)
topic: sensors
Issues involving sensors
Is your feature request related to a problem? Please describe.
The device connection manager (DCM) and LEGO UART Devices (pup_uart) currently run as parallel processes that have to exchange some data to inform the other when to start and stop doing things.
It has been that way historically but there is probably room for improvement in future releases.
Describe the solution you'd like
Instead of two parallel processes, maybe we need just one process (which pushes N "processes" along). In pseudo-code, perhaps it could look like this for each sensor.
pup_uart
code is entirely independent and can be used on ev3 too, etc.The text was updated successfully, but these errors were encountered: