I'm excited to share that we just launched the latest version of Pybricks in beta. We'd love to get your feedback. If there are no last-minute issues or bugs, we expect to launch it on the stable channel within a few weeks. If you discover an issue, please let us know!
We have implemented 3D fusion of the gyro and accelerometer. Tilt measurements are much more stable, and you can even access the rotation matrix that describes the orientation of the hub.
Due to manufacturing differences, each hub consistently reports a heading value for a full rotation that isn't quite right. For example, your hub might always report 357.4. You can now tell your hub about this value with the following block. Once you do that, heading values will be scaled to properly report 360 for a full rotation.

We have improved the blocks for driving curves. Directions are now more clearly defined. You can also specify the curve length now, which is helpful when veering slightly along large circles.
If you use the previous version of this block, your program will continue to work. It will display a notification that a new version of the block is available.

By popular request, you can now also reset the driven distance and angle separately. If your drive base uses the gyro, this will update the gyro angle as well.

By popular request from the community, you can now toggle Bluetooth off using the Bluetooth button on the hub. This helps comply with some local competition rules. Note that USB for loading programs is not yet supported. We are working on this for a future release.
Advanced users can now detect how their program was started, or detect whether the robot is connected to the computer. This allows you to run certain code only the first time, or only while connected.

Loops within multi-tasked programs now run faster. Programs with multitasking should now run just as fast as normal, sequential programs.
You can view the full changelog or all 188 changes here. Many changes have been made under the hood to prepare for exciting features to be included in the next release.
Thanks to everyone who has helped test previous beta releases. All of the features listed above have been made at the request of the community! You can join the discussion on our forum to suggest your own ideas.
Herodotus
2025-04-01 00:20:44 +0000 UTCLuca Parvu
2025-03-03 09:32:23 +0000 UTC