Merge pull request #1577 from pybricks/dlech

v2.2.0-beta.1
This commit is contained in:
David Lechner
2023-03-08 18:28:31 -06:00
committed by GitHub
6 changed files with 61 additions and 9 deletions
+33 -1
View File
@@ -4,9 +4,40 @@
## [Unreleased]
## [2.2.0-beta.1] - 2023-03-08
### 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.
@@ -720,7 +751,8 @@ Prerelease changes are documented at [support#48].
<!-- links for version headings -->
[Unreleased]: https://github.com/pybricks/pybricks-code/compare/v2.1.1...HEAD
[Unreleased]: https://github.com/pybricks/pybricks-code/compare/v2.2.0-beta.1...HEAD
[2.2.0-beta.1]: https://github.com/pybricks/pybricks-code/compare/v2.1.1..v2.2.0-beta.1
[2.1.1]: https://github.com/pybricks/pybricks-code/compare/v2.1.0...v2.1.1
[2.1.0]: https://github.com/pybricks/pybricks-code/compare/v2.1.0-beta.4...v2.1.0
[2.1.0-beta.4]: https://github.com/pybricks/pybricks-code/compare/v2.1.0-beta.3...v2.1.0-beta.4
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@pybricks/pybricks-code",
"version": "2.1.1",
"version": "2.2.0-beta.1",
"license": "MIT",
"author": "The Pybricks Authors",
"repository": {
@@ -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",
@@ -6,5 +6,9 @@
.#{bp.$ns}-dialog.pb-explorer-replaceImportDialog {
.#{bp.$ns}-dialog-footer-actions {
flex-direction: column;
.#{bp.$ns}-button {
margin: 0;
}
}
}
+3 -1
View File
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: MIT
// Copyright (c) 2022 The Pybricks Authors
// Copyright (c) 2022-2023 The Pybricks Authors
import './sponsorsDialog.scss';
import { AnchorButton, Classes, Dialog, Intent } from '@blueprintjs/core';
import classNames from 'classnames';
import React from 'react';
@@ -24,6 +25,7 @@ const SponsorDialog: React.VoidFunctionComponent = () => {
return (
<Dialog
className="pb-sponsors-dialog"
title={i18n.translate('title', { pybricks: 'Pybricks' })}
isOpen={showDialog}
onClose={() => dispatch(sponsorHideDialog())}
+14
View File
@@ -0,0 +1,14 @@
// SPDX-License-Identifier: MIT
// Copyright (c) 2023 The Pybricks Authors
@use '@blueprintjs/core/lib/scss/variables' as bp;
.#{bp.$ns}-dialog.pb-sponsors-dialog {
.#{bp.$ns}-dialog-footer-actions {
flex-direction: column;
.#{bp.$ns}-button {
margin: 0;
}
}
}
+5 -5
View File
@@ -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