From eee8bff17bfb6b47f3378ce85fcf2a001214bc5c Mon Sep 17 00:00:00 2001 From: David Lechner Date: Wed, 8 Mar 2023 17:10:34 -0600 Subject: [PATCH] update Pybricks firmware to v3.3.0b2 --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ package.json | 2 +- yarn.lock | 10 +++++----- 3 files changed, 35 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66b2f9c2..9687fa65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,35 @@ ### 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]). + + [support#366]: https://github.com/pybricks/support/issues/366 + [support#466]: https://github.com/pybricks/support/issues/466 + [support#863]: https://github.com/pybricks/support/issues/863 + [support#956]: https://github.com/pybricks/support/issues/956 + ### Fixed - Fixed importing file with same name overwrites existing without asking user. diff --git a/package.json b/package.json index 7b8bc859..90b9ceb8 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "@blueprintjs/popover2": "^1.13.10", "@blueprintjs/select": "^4.9.10", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10", - "@pybricks/firmware": "6.8.0", + "@pybricks/firmware": "7.1.1", "@pybricks/ide-docs": "2.7.0", "@pybricks/images": "^1.3.0", "@pybricks/jedi": "1.7.0", diff --git a/yarn.lock b/yarn.lock index 2f05333d..3be58fec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2574,12 +2574,12 @@ __metadata: languageName: node linkType: hard -"@pybricks/firmware@npm:6.8.0": - version: 6.8.0 - resolution: "@pybricks/firmware@npm:6.8.0" +"@pybricks/firmware@npm:7.1.1": + version: 7.1.1 + resolution: "@pybricks/firmware@npm:7.1.1" dependencies: jszip: ^3.7.1 - checksum: 6d85758188dbf9cbe31ea6e5d66b11b0ad34da518e1ff86224cd0f52c7cde93d67159820582b50cb78e1f0f2555a85c2f7a9236e201c5efd1620a8ab8ec1e2e8 + checksum: 1d6044457f7b0e6a9df4292727e88808db20462c96425a73636842214befb2019c38f9f3a579c4332e1f7037de3900b2c5a2a1c1e432275c70087a3033025aa8 languageName: node linkType: hard @@ -2627,7 +2627,7 @@ __metadata: "@blueprintjs/popover2": ^1.13.10 "@blueprintjs/select": ^4.9.10 "@pmmmwh/react-refresh-webpack-plugin": ^0.5.10 - "@pybricks/firmware": 6.8.0 + "@pybricks/firmware": 7.1.1 "@pybricks/ide-docs": 2.7.0 "@pybricks/images": ^1.3.0 "@pybricks/jedi": 1.7.0