|
5 | 5 | ## [Unreleased]
|
6 | 6 |
|
7 | 7 | ### Changed
|
8 |
| -- Changed order of the `DriveBase.arc` method. This method has not yet been |
9 |
| - released or documented, so this is not a breaking change ([support#1157]). |
| 8 | +- Changed order of the `DriveBase.arc` method parameters. This method has not |
| 9 | + yet been released or documented, so this is not a breaking change ([support#1157]). |
10 | 10 | - Reduced voltage threshold at which the charging light goes from red to green
|
11 | 11 | to indicate that the battery is full from 8300 to 8190 mV ([pybricks-micropython#292]).
|
| 12 | +- Simplified API for `hub.imu.up()` and `hub.imu.tilt()` to only use a single |
| 13 | + `calibrated` keyword argument instead of separate `use_gyro` options. This |
| 14 | + had not been released yet so is not a breaking change. |
12 | 15 |
|
13 | 16 | ## [3.6.0b4] - 2025-02-14
|
14 | 17 |
|
|
31 | 34 | scale and acceleration offset and scale.
|
32 | 35 | - Added `hub.system.reset_storage` to restore storage and settings to default
|
33 | 36 | state.
|
| 37 | +- Replaced `update_heading_correction` with `_imu_calibrate.py` for 3D |
| 38 | + calibration ([support#1907]). |
34 | 39 |
|
35 | 40 | ### Changed
|
36 | 41 | - Enabled UTF-8 support for `str` objects.
|
37 | 42 | - The method `DriveBase.angle()` now returns a float ([support#1844]). This
|
38 | 43 | makes it properly equivalent to `hub.imu.heading`.
|
39 | 44 | - Re-implemented tilt using the gyro data by default. Pure accelerometer tilt
|
40 |
| - can still be obtained with `hub.imu.tilt(use_gyro=False)`. |
| 45 | + can still be obtained with `hub.imu.tilt(calibrated=False)`. |
41 | 46 | - Re-implemented `hub.imu.heading()` to use optionally use the projection of 3D
|
42 | 47 | orientation to improve performance when the hub is lifted off the ground.
|
43 | 48 | The 1D-based heading remains the default for now.
|
|
67 | 72 | [support#943]: https://github.com/pybricks/support/issues/943
|
68 | 73 | [support#1886]: https://github.com/pybricks/support/issues/1886
|
69 | 74 | [support#1844]: https://github.com/pybricks/support/issues/1844
|
| 75 | +[support#1907]: https://github.com/pybricks/support/issues/1907 |
70 | 76 | [support#1975]: https://github.com/pybricks/support/issues/1975
|
71 | 77 | [support#1996]: https://github.com/pybricks/support/issues/1996
|
72 | 78 | [support#2055]: https://github.com/pybricks/support/issues/2055
|
|
151 | 157 | - Allow gyro calibration only while all motors are coasting ([support#1840]) to
|
152 | 158 | prevent recalibration during very steady moves ([support#1687])
|
153 | 159 | - Reduced default angular velocity stationary threshold from an undocumented
|
154 |
| - 5 deg/s to 3 deg/s to reduce unwanted calibration while moving ([support#1105]). |
| 160 | + 5 deg/s to 2 deg/s to reduce unwanted calibration while moving ([support#1105]). |
155 | 161 | - If `imu.reset_heading()` is called while a drive base is actively using the
|
156 | 162 | gyro, an exception will be raised ([support#1818]).
|
157 | 163 |
|
|
0 commit comments