Releases: pybricks/pybricks-code
Releases · pybricks/pybricks-code
v2.2.0-beta.3
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 toMotor.speed()
method.
Changed
- Moved
Matrix
class fromgeometry
module totools
module (pybricks-micropython#160). - Moved
vector
method fromgeometry
module totools
module (pybricks-micropython#160). - Moved
Axis
class fromgeometry
module toparameters
module (pybricks-micropython#160).
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
fromDriveBase
initializer (support#992).
- Added
v2.2.0-beta.1
Added
- Added ability to import ZIP files containing Python files (support#833).
Changed
-
Updated firmware to v3.2.0b2:
Added
- Added
precision_profile
parameter toMotor
initializer. - Added
Motor.model
object to interact with the motor state estimator. - Added
Stop.BRAKE_SMART
asthen
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).
- Added
Fixed
- Fixed importing file with same name overwrites existing without asking user.
v2.1.0
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).
- Fixed some objects do not implement
v2.1.0-beta.4
Changed
- Code completion trigger improvements (support#894).
Fixed
- Fixed terminal layout issues when resizing window vertically.
- Fixed editor find widget visible over modal dialogs.
v2.1.0-beta.3
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
Changed
-
Updated firmware to v3.2.1:
Fixed
- Fixed
imu.angular_velocity
returning the values ofimu.acceleration
.
- Fixed
v2.1.0-beta.1
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
orawait
keywords (support#873).
v2.0.1
Fixed
- Fixed terminal scroll not working (support#866).
- Fixed terminal breaks if input is given before hub is connected (support#865).
v2.0.0
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
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 wasNone
. - Fixed crash on calling methods on uninitialized objects (support#805).
- Fixed crash on calling methods in
__init__(self, ...)
before
callingsuper().__init(...)
on uninitialized objects (support#777). - Reverted Pybricks Code stop button raises
SystemAbort
instead of
SystemExit
(support#834). - Improved stop message raised on
SystemExit
andSystemAbort
(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
- 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).