Release v3.2.0b4
Pre-release
Pre-release
Added
- Indicate that the hub is shutting down by quickly flashing the hub light for
half a second. This makes it easier to see when you can stop pressing the
button. - Indicate that the SPIKE Prime hub is booting and shutting down by fading
the stop sign in and out. - Implemented iterator protocol on
geometry.Matrix
class. - Added support for multi-file projects (pybricks-micropython#115).
- Added new
System.storage()
API (support#85).
Changed
- Battery full indication (green light) comes on earlier (support#647).
- New indication for over-charging battery (blinking green light).
- On Move Hub, City Hub, and Technic Hub, programs can now be restarted with
the button after downloading them. They are saved on shutdown. - Improved program download process. Reduces the likelihood of getting errors
about incompatible .mpy files when accidentally entering characters in the
terminal window when no program is active. - On Prime Hub and Essential Hub, there is no longer a wait time after boot
before you can start programs. - On Prime Hub and Essential Hub, the user program is now stored in a section
of the external flash that is not used by any file system of other known
firmwares, in order to avoid compatibility issues when changing firmware. - Restored the
Motor.speed()
method andDriveBase
equivalent to provide
speed as a numerical derivative of the motor position, instead of a
model-based estimate. For most use cases, this is a more intuitive result
because this speed value is not affected by mechanical load. - When using the REPL, everything from all Pybricks modules was automatically
imported for convenience. Now, MicroPython modules are also automatically
imported (support#741). - Updated Bluetooth to Pybricks Profile v1.2.0.
- Bluetooth now uses random private address instead of static public address
(support#600).
Fixed
- Fixed motors going out of sync when starting program (support#679).
- Fixed motor torque signal overflowing under load (support#729).
- Fixed city hub turning back on after shutdown (support#692).
- Fixed IMU I2C bus lockup on SPIKE hubs (support#232).
- Fixed REPL history corrupt after soft reset (support#699).
- Fixed "ValueError: incompatible .mpy file" when pressing the button when
there is no program yet (support#599).