Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: pybricks/pybricks-code

v2.2.0-beta.3

24 Apr 17:04

Choose a tag to compare

Added

  • Added support for Pybricks Profile v1.3.0.

Changed

  • Better error message when download and run fails due to disconnected hub.

  • Updated dependencies.

  • Update code completion for API changes and additions.

  • Updated docs.

  • Updated firmware to v3.3.0b4:

    Added

    • Added pybricks.tools.cross(a, b) to get a vector cross product.
    • Added experimental implementation of hub.imu.heading() (support#912).
    • Added support for reading single-axis rotation.
    • Added hub.imu.ready() method.
    • Added GyroDriveBase class.
    • Added optional window parameter to Motor.speed() method.

    Changed

    Fixed

    • Fixed gyro on Technic Hub occasionally giving a bad value (support#1026).
    • Fixed discrepancy in heading value across hubs (support#1022).
    • Fixed iterator for Matrix objects giving bad values.
    • Fixed Bluetooth sometimes locking up on Technic/City hubs (support#567).
    • Fixed GyroDriveBase being slow to respond to heading perturbations when
      driving at high speed (support#1032).

    Removed

    • Removed positive_direction from DriveBase initializer (support#992).

v2.2.0-beta.1

09 Mar 00:16

Choose a tag to compare

Added

  • Added ability to import ZIP files containing Python files (support#833).

Changed

  • Updated firmware to v3.2.0b2:

    Added

    • Added precision_profile parameter to Motor initializer.
    • Added Motor.model object to interact with the motor state estimator.
    • Added Stop.BRAKE_SMART as then option for motors.
    • Added logging support for control stall and pause state.

    Changed

    • Changed how the PID values are initialized for each motor.

    Fixed

    • Fixed workaround for motor hold drifting away under external input
      movement (support#863).
    • Reduced motor motion while holding position and added configurable setter and
      getter for this deadzone.
    • Fixed end-user stall flag coming up too early in position based control.
    • Further reduced stutter at low motor speeds (support#366).
    • Fixed position based commands starting from the wrong position if the
      previous command was a time based command that could not hit its
      target (support#956).
    • Fixed long delay when connecting to remote on SPIKE hubs (support#466).

Fixed

  • Fixed importing file with same name overwrites existing without asking user.

v2.1.0

06 Jan 22:03

Choose a tag to compare

Changed

  • Updated firmware to v3.2.2:

    Fixed

    • Fixed some objects do not implement __hash__ (support#876).
    • Fixed Motor.run_time not completing under load (support#903).

v2.1.0-beta.4

04 Jan 18:10

Choose a tag to compare

Changed

Fixed

  • Fixed terminal layout issues when resizing window vertically.
  • Fixed editor find widget visible over modal dialogs.

v2.1.0-beta.3

04 Jan 18:10

Choose a tag to compare

Changed

  • Improved syntax highlighting for f-strings, operators and numeric literals.

Fixed

  • Fixed clipping of code completion popup by terminal.
  • Fixed code completion for builtin types.
  • Fixed code completion for names starting with _.
  • Fixed code completion for from ... for user modules (support#759).

v2.1.0-beta.2

04 Jan 18:10

Choose a tag to compare

Changed

  • Updated firmware to v3.2.1:

    Fixed

    • Fixed imu.angular_velocity returning the values of imu.acceleration.

v2.1.0-beta.1

04 Jan 18:09

Choose a tag to compare

Added

  • Added audio and visual feedback when typing into terminal while user program is not running.

Changed

  • Changed app display from "fullscreen" to "standalone" (support#867).

Fixed

  • Fixed imports in scripts that use async or await keywords (support#873).

v2.0.1

22 Dec 19:43

Choose a tag to compare

Fixed

  • Fixed terminal scroll not working (support#866).
  • Fixed terminal breaks if input is given before hub is connected (support#865).

v2.0.0

20 Dec 21:55

Choose a tag to compare

Added

  • Added Windows DFU USB driver installation instructions (support#858).

Changed

  • Clicking empty area of file list focuses the list (support#856).

  • Various text, style and accessibility fixes and improvements.

  • Updated dependencies.

  • Updated firmware to v3.2.0:

    Changed

    • Buffered stdout is flushed before ending user program.

    Fixed

    • Fixed SPIKE/MINDSTORMS hubs advertising after disconnect while user program
      is still running (support#849).
    • Fixed Essential hub hanging on boot when bootloader entered but USB cable
      not connected (support#821).
    • Fixed button needs debouncing on City/Technic/Essential hubs (support#716).
    • Fixed motor hold drifting away under external input movement (support#863).

v2.0.0-rc.1

09 Dec 22:38

Choose a tag to compare

Added

  • Added videos to firmware flash dialogs (support#728).

Changed

  • Moved documentation show/hide button from settings to editor area (support#778).

  • Updated documentation and other dependencies.

  • Updated firmware to v3.2.0c1:

    Fixed

    • Fixed motor.control.limits() not working if acceleration was None.
    • Fixed crash on calling methods on uninitialized objects (support#805).
    • Fixed crash on calling methods in __init__(self, ...) before
      calling super().__init(...) on uninitialized objects (support#777).
    • Reverted Pybricks Code stop button raises SystemAbort instead of
      SystemExit (support#834).
    • Improved stop message raised on SystemExit and SystemAbort (support#836).
    • Fixed Technic Hub and City Hub sometimes not shutting down when a Bluetooth
      operation is busy (support#814).
    • Fixed hub.system methods not working (support#837).

    Changed

    • Changed default XYZ orientation of the Technic Hub and the Essential Hub to
      match the SPIKE Prime Hub and Move Hub (support#848).

Fixed

  • Fixed first tour item not shown if settings is not open (support#823).
  • Fixed selected activity tab not controlled independently per window (support#807).
  • Fixed selected documentation visibility not controlled independently per window (support#807).
  • Fixed slow firmware flash on Android (support#438).
Morty Proxy This is a proxified and sanitized view of the page, visit original site.