Skip to content

3.4.0b3

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Mar 10:25
· 64 commits to master since this release

3.4.0b3 - 2024-03-05

Added

  • Added joystick_deadzone keyword argument to suppress controller drift in
    the XboxController (support#1473).
  • Added pybricks.tools.running to return if a stopwatch is currently running
    (support#1490).

Changed

  • Use Button parameter for XboxController (support#1488), not strings.
  • If pybricks.tools.run_task is called without arguments, it will return
    whether the runloop is running or not (support#1499).
  • On Move Hub, the verbosity of error messages is further reduced to reduce
    the firmware size, to allow for bug fixes/updates (pybricks-micropython#240).
  • Re-implemented pybricks.robotics.Car in C so it can be enabled on Move Hub
    which does not support frozen modules (support#1502).

Fixes

  • Fix pybricks.iodevices not allowing writing -128 value (support#1366) and
    raise informative error messages instead of clamping the input.

3.4.0b2 - 2024-02-10

Added

  • Added pybricks.iodevices.XboxController (support#191, support#1024).
  • Re-enable pybricks.iodevices.LWP3Device missing from last beta.

Fixes

  • Fix hub not shutting down while a program runs (support#1438).

Changed

  • On Technic Hub and City Hub, the Bluetooth chip is now configured to reject
    connection parameter updates from peripherals. This avoids interference with
    broadcast when used with the Xbox controller.

3.4.0b1 - 2024-01-30

Added

  • Added pybricks.robotics.Car for controlling a car with one or more drive
    motors and a steering motor. This is a convenience class that combines
    several motors to provide the functionality used in most Technic cars.

Fixes

  • Fix observing stopping on City and Technic hubs after some time (support#1096).
  • Fix Bluetooth locking up when connecting Bluetooth adapter with small MTU to Technic and City hubs (support#947).
  • Fix Technic Hub not always starting automatically after firmware exiting
    update mode (support#1408). Also apply this to Move Hub and City Hub.
  • Fix Bluetooth locking up when connecting Bluetooth adapter with small MTU to
    Technic and City hubs (support#947).
  • Fix Remote pairing difficulty (support#880).
  • Fix Remote light not working or crashing the hub (support#1357).
  • Fix Technic Hub and City Hub broadcasting missing messages (support#1357).
  • Fix Technic Hub and City Hub broadcasting delays.

Changed

  • Changed polarity of output in the Light class. This makes no difference for
    the Light class, but it makes the class usable for certain custom
    devices ([pybricks-micropython#166]).
  • Improved Bluetooth peripheral scanning and connect process to allow for new
    device types to be added in the future.

Changed

  • Changed keypad return type to set instead of tuple. This affects the remote
    and hubs.