- Bump version to 3.5.0 without additional changes.
- Added
pybricks.pupdevices.Remote.disconnect
method. - Added blocks for
up
,ready
andstationary
for IMUs. - Added
last
andchr
parameters toread_input_byte
and add blocks. - Added block for the
in
operation. - Add double ternary block.
- Added
XboxController.rumble
method. - Added block icons for
hub.system.set_stop_button
andhub.system.shutdown
. - Added program stop block (
raise SystemExit
).
- Fixed Read The Docs virtual environment workflow.
- Update list block screenshots to match implementation.
- Updates for v3.4.0b3 firmware (out of sync with docs).
- Changed
hub.button
tohub.buttons
on single button hubs. Access viahub.button
will keep working in the firmware for backwards compatibility.
- Added
pybricks.iodevices.XboxController
class.
- Changed
buttons.pressed
return type to set.
- Added
pybricks.robotics.Car
class.
- Changed
pybricks.robotics.DriveBase
icon to two wheels instead of steering wheel, which will be used for the new car class.
- Include first batch of block coding images.
- Bump beta version to release version with no further changes.
- Enabled tilt and orientation config for
MoveHub()
. - Documented
Motor.close()
- Fixed missing awaitable for
Remote.light
and LWP3 writes.
- Changed the beta feature for using the hub's gyro. Gyro control can now be
toggled using
use_gyro
instead of using a separateGyroDriveBase
class. - Documentation updates to match firmware 3.3.0b5--3.3.0b9 updates.
- Added
set
toubuiltins
module. - Basic multitasking docs.
- Awaitable keyword for awaitable methods and functions.
- Documented new
hub.ble
methods.
- Documented
integral_deadzone
inControl.pid()
. - Documented
Motor.model
. This can be used to view the estimated motor state and change its settings. - Added
rotation
,orientation
,ready
,stationary
andsettings
methods toIMU
class. - Added
GyroDriveBase
class topybricks.robotics
.
- Change implementation status of
IMU.heading
andIMU.reset_heading
. They are now implemented, with some limitations as noted in a note box. - Moved
Matrix
andvector
frompybricks.geometry
topybricks.tools
. - Moved
Axis
frompybricks.geometry
topybricks.parameters
.
- Removed
pybricks.geometry
module.
- Changed module TOC headings to make it easier to find things.
- Updated "front" side of the Technic Hub to be consistent with the Prime Hub.
- Documented
Stop.NONE
andStop.COAST_SMART
. - Documented
ujson
module. - Added
done
andstalled
methods forDriveBase
.
- Changed
PrimeHub.display.image()
toPrimeHub.display.icon()
and renamed its kwarg fromimage
toicon
. - Improved presentation and docstrings of the
ubuiltins
and other MicroPython modules - Moved the random numbers example for Move Hub to the Move Hub page.
- Moved
done()
,stalled()
,load()
fromControl
toMotor
object.
- Fixed Jedi code completion for
Color
andIcon
classes inpybricks.parameters
.
- Code auto-completion for
EssentialHub
. - Added
System.storage
method.
- Fixed some type hints in
parameters
submodule.
- Fixed more type hints and improved compatibility with jedi.
- Moved remaining type hints from
.pyi
files to the python stub modules, and fixed numerous errors in the type hints throughout.
- Added
__init__.py
topybricks
package.
- Code auto-completion for
hub.charger
,hub.imu
andhub.system
. - Moved typing from several
.pyi
files to the actual python modules.
- Fixed code completion for
DCMotor
andMotor
classes in MS Python VS Code extension. - Fixed missing
DCMotor
type inev3devices
. - Fixed type hint for
Motor.reset_angle()
inpupdevices
.
- Setter for acceleration can now also be used to set acceleration and deceleration to different values, using a two-valued tuple.
- Added maximum voltage setter for
DCMotor
andMotor
. - Documented
DriveBase.curve()
method.
- Removed
duty
setting fromControl.limits
method. - Removed
integral_range
setting fromControl.pid
method.
- Fixed link to Color Light Matrix page.
- Fixed link to Inventor Hub page.
- Added
ColorLightMatrix
class. - Added
LWP3Device
class.
NOTE: version number after this point were from JavaScript package and do not correspond to Pybricks firmware version numbers.
- MicroPython module documentation.
- Examples for hub system functions including stop button and shutdown.
- Build IDE docs as main docs with minor changes, instead of a completely separate build.
- Moved motor control documentation to the motor page.
- Documentation for Powered Up Remote Control.
- Enabled beta content that was hidden for the 3.0 release.
- Added notice about using the latest beta version.
- Match example snippet styling to IDE.
- Add more examples.
- Theme style fixes.
- Example code fixes
- Match doc version to firmware version.
- Upgrade sphinx and rtd-theme to fix style issues.
- Removed features which not be in the official 3.0 release. These features are still in beta. They'll come back in future releases once tested.
- Moved installation guide to external site.
- Added installation guide.
- Various documentation fixes.
- Scrollbar styling.
- Sphinx build output.