You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed powered (bool) to power_pin (int) on I2CDevice() to make it
generic enough for all iodevices like UARTDevice. Added permission request.
Moved BLE broadcasting and observing to pybricks.messaging.BLERadio instead
of an object on each hub (support#2274).
Moved pybricks.tools.AppData to pybricks.messaging.AppData (support#2274).
Fixed
Fixed SPIKE Prime and possibly other hubs with Bluetooth stuck on shutdown in
case of an unhandled Bluetooth issue. This fixes the forced shutdown guard.
This would otherwise prevent shutdown and reboot in some cases if the hub
was being shutdown while still connected to Bluetooth.
Fixed SPIKE Prime waiting indefinitely on sending a Bluetooth message if the
hub became disconnected. On shutdown, this would then lead to the issue above.
Increased number of data messages that may be missed in the LUMP protocol before
falling out of sync. We were more lenient about this in v3.6.1 and third
party devices have come to rely on this, so we keep it (support#2698).
Changed initialization of AppData to allow multiple modes instead of a
single format. ustruct.unpack is no longer automatically called. Now it
works seemlessly with the camera sensors in Pybricks Code.
Added Motor Button Control and Motor IR Control on EV3 apps tab.
Enabled USB coding support for SPIKE Prime, SPIKE Essential, and MINDSTORMS
Robot Inventor.
Changed
The EV3 Color Sensor now returns Color.NONE instead of None when no color
is detected, for consistency with other Color Sensors (support#2603).
The EV3 Infrared Sensor buttons method now returns a set instead of a list,
for consistency with hub buttons.
Fixed
Fixed EV3 light animation stopping when screen is used (support#2599).
Fixed Powered Up motors not resetting to the absolute value (support#2620).
Fixed segfault when user or block code generator forgets await in one or
more tasks that use the same resource (like a DriveBase) along
with race=True (support#2621).
Added connect=True parameter to the Remote, LWP3Device
and XboxController classes, along with a connect() method to optionally
connect later (support#1800).
Added timeout and name parameters to the XboxController.
Added support for Powered Up touch sensors that are supported according to
the specification, but were never released. Users can make their own switch
inputs (pybricks-micropython#454).
Added pybricks.pupdevices.TechnicMoveHub to control it as a peripheral. It
cannot be used as a standalone device since it cannot run third-party firmware.
Added pybricks.pupdevices.DuploTrain to control it as a peripheral. It
cannot be used as a standalone device since it cannot ne updated.
Added basic user interface for EV3 brick.
Changed
Changed the default XboxController connection timeout from indefinite
to 10 seconds, consistent with the Remote.
Devices like the Remote, LWP3Device, and the XboxController now stay
connected when the program ends (support#1382).
Fixed
Fixed EV3 motor detection not working correctly while moving (support#2536).
Added host_connected_usb to hub.system.info() dictionary.
Added program_id to hub.system.info() dictionary (support#2538).
Changed
Reduced user stack size to 12 KB on SPIKE Prime Hub to make it the same as
SPIKE Essential Hub. This frees up some RAM for system resources, and we never
use this much in practice.
Allow simultaneous USB and up to two Bluetooth connections to SPIKE Prime.
Press the Bluetooth button to allow a connection when already connected.
Fixed
Fixed internal rounding error that could could cause a Drive Base to be 1 mm
off after driving 3 meters, depending on configuration parameters (support#2500).
Fixed Powered Up remote light getting the wrong color (support#2497).
Fix shutdown animation not visible when shutting down due to Bluetooth glitches (support#2521).
Fixed Powered Up remote raising the wrong exception on timeout (support#2521).
Fixed Xbox Controller connection waiting indefinitely if it isn't in pairing mode (support#2521).
Fixed Xbox Controller attempting to pair with host (support#2522).
Fixed Powered Up remote and Xbox Controller working only after the first
connection. All of the above Remote and Xbox Controller were introduced in
the previous beta release, so did not affect any stable release (support#2521).
Fixed Xbox Controller sometimes not working the first time (support#1509).
Fixed motors sometimes not working after boot (support#2550).
Make 3D orientation default for heading and drivebase heading control (support#1962).
Improved color detection when using default colors. Also changed the HSV calculation
for the SPIKE Color Sensor and Boost Color and Distance Sensor to make them
more similar. User code should measure HSV values again in old code (pybricks-micropython#421).
Fixed
Fixed race=False ignored in pybricks.tools.multitask(). (support#2468)
Fixed Essential Hub button being disabled after power off so it could not be
switched on again.
Fixed TechnicHub class being unavailable on Technic Hub in a recent
pre-release (pybricks-micropython#425).