Laurens Valk
1118aa2af8
jedi: Fallback to tomllib backport.
2026-06-02 12:03:41 +02:00
Laurens Valk
7409057b9c
pybricks: Indexing fixes.
...
The noindex made them not show up. Also fix misc related indexing issues.
2026-06-01 16:26:24 +02:00
Laurens Valk
a402ae02e9
poetry: Update locks.
...
0.0.0 can't be pinned.
2026-05-30 11:47:05 +02:00
Laurens Valk
2926b4af71
npm/jedi: Build pybricks-api from source.
...
Now that we use a single release pipeline, the API itself might not yet be on
PyPI by the time we build jedi, so we build it locally.
We'll still keep the API docs on PyPI so users can have local autocomplete,
but that path is no longer a dependency for building jedi.
Also explain CHANGELOG synchronization with firmware repo.
2026-05-30 11:39:00 +02:00
Laurens Valk
0f6b8dee67
npm: Simplify release pipeline.
...
Releasing API updates is quite a long and error prone process, so the point
that it was limiting our ability to push frequent updates in practice. There
were 5 tag, commit, wait, and proceed steps and you'd have to start over or
force push if a mistake was made.
This keeps all the npm packages as they were, but versions everything from a
single source of truth, which is this project's main version. Everything
builds on a tag on the main repo, much like we did for a regular IDE docs RTD
release.
It also skips the PyPI for jedi as an intermediate step, which isn't really
needed and required us to have this strict order of publication steps.
2026-05-30 11:31:38 +02:00
Laurens Valk
acb5206349
pybricks.robotics: Update DriveBase.
2026-05-29 20:06:56 +02:00
Laurens Valk
6686fce3c3
pybricks.pupdevices: Document MarioHub, TechnicMoveHub and DuploTrain.
2026-05-29 16:59:51 +02:00
Laurens Valk
1f8f0f777a
pybricks.iodevices: Update PUPDevice and LUMPDevice.
...
Also remove Ev3devSensor, which is no longer used.
2026-05-29 12:30:58 +02:00
Laurens Valk
45b9b89d11
pybricks.messaging: Add tests.
2026-05-29 11:48:15 +02:00
Laurens Valk
a2ba8e4dcd
pybricks.hubs: Move .ble to BLERadio.
...
Follows upstream firmware change.
Update tests and examples too.
2026-05-29 11:12:50 +02:00
Frederik Leonhardt and Laurens Valk
7900f03574
jedi: Add tests for methods on hub.ble.
2026-05-28 11:20:54 +02:00
Frederik Leonhardt and Laurens Valk
7411a246c9
pybricks.common.BLE: Improve typing for hub constructor.
...
Update type hint for broadcast_channel to Optional, as None is allowed.
2026-05-28 11:12:17 +02:00
Gabriel Couchenour and GitHub
32f974e7e5
Robotics.py: Fix issue with the type stub for DriveBase.angle() ( #165 )
...
The type was changed from `int` to `float` in https://github.com/pybricks/pybricks-micropython/commit/4d457a17fc13d42d9b311df99e05dafaeed67862 .
Technically, it is still `int` on BOOST Move hub (any system without floating point support). But most platforms use `float` so makes sense to have that in the type hints.
2025-09-19 21:53:37 -05:00
Laurens Valk
6083b17d9a
pybricks_jedi/v1.17.0
2025-02-26 12:49:04 +01:00
Laurens Valk
c5cfcd0ac8
tests: Update for IMU changes.
2025-02-25 11:16:27 +01:00
Laurens Valk
8ffdde38e6
pybricks_jedi/v1.16.0
2024-04-05 11:45:50 +02:00
Laurens Valk
52b3b4c007
pybricks.tools.read_input_byte: Add last and chr options.
2024-04-04 21:45:26 +02:00
Laurens Valk
d2fee3557d
pybricks_jedi/v1.15.0
2024-03-21 19:21:52 +01:00
Laurens Valk
01070eea34
jedi: v1.14.0
2024-03-05 17:06:16 +01:00
Laurens Valk
2e538b66c3
pybricks.hubs: Change button to buttons.
...
Fixes https://github.com/pybricks/support/issues/1254
2024-03-05 14:52:54 +01:00
Laurens Valk
72f25cb88e
pybricks.robotics: Car class updates.
...
Match minor firmware changes.
2024-03-05 14:29:58 +01:00
Laurens Valk
d3ca8ee719
pybricks.iodevices: Add XboxController.
2024-02-11 14:26:03 +01:00
Laurens Valk
d1b7d0f61b
jedi: v1.13.0
2024-01-30 16:48:20 +01:00
Laurens Valk
b4adb50adf
pybricks.robotics: Add Car class.
2024-01-25 20:38:02 +01:00
Laurens Valk
60ec65bd19
jedi: v1.12.0
2023-11-24 11:26:05 +01:00
Laurens Valk
463b608817
jedi: v1.11.0
2023-11-20 14:24:37 +01:00
Laurens Valk
91bc9a5d60
pybricks.hubs.MoveHub: Enable imu orientation.
2023-11-13 11:06:57 +01:00
Laurens Valk
252adb3e85
jedi: v1.10.0
2023-10-26 20:43:28 +02:00
Laurens Valk
d935841399
pybricks.robotics.DriveBase: Add brake.
2023-10-26 14:18:56 +02:00
Laurens Valk
209fba5c7e
pybricks.tools: Document multitasking.
2023-10-24 17:05:10 +02:00
Laurens Valk
faf11581c0
pybricks.tools: Document hub_menu.
...
Fixes https://github.com/pybricks/pybricks-api/issues/144
2023-10-24 16:23:59 +02:00
Laurens Valk
1a49d396d2
pybricks.robotics: Document use_gyro.
2023-10-23 15:39:52 +02:00
David Lechner
821a3e4455
pybricks.*: add MaybeAwaitable types
...
Many blocking functions now return Awaitable[T] when the async run
loop is running. The static analysis tools don't have a way of
knowing this, so the best we can do is return both types so that
x = method() and x = await method() both work mostly as expected.
2023-06-12 17:04:09 -05:00
David Lechner
41b9ce71dd
pybricks.tools: add read_input_byte()
...
This adds stubs and docs for the new `pybricks.tools.read_input_byte()`
function.
2023-06-12 11:06:20 -05:00
David Lechner
784c7ec5fc
jedi: v1.9.0
...
Update pybricks package for next beta.
2023-05-16 15:43:09 -05:00
David Lechner and GitHub
3274cef849
pybricks.common: Add new BLE class.
...
This adds a new BLE class that is used for connectionless broadcasting/
observing on hubs with built-in Bluetooth Low Energy.
Also see https://github.com/pybricks/pybricks-micropython/pull/158 .
2023-05-16 14:46:53 -05:00
David Lechner
db8de447d5
jedi: v1.8.0
2023-04-21 17:26:38 -05:00
David Lechner
46d6189eb1
jedi: update pybricks package version
...
also bump python requirement since Pyodide is now using Python 3.11.
2023-04-21 17:24:47 -05:00
Laurens Valk
870aae83c0
pybricks.tools: Document cross product.
2023-04-21 13:39:08 +02:00
Laurens Valk
9cde749e8a
pybricks.geometry: Drop module.
...
See https://github.com/pybricks/pybricks-micropython/pull/160
2023-04-21 13:33:19 +02:00
Laurens Valk
8bca5eb6e4
pybricks.robotics: Add GyroDriveBase.
2023-04-21 10:42:30 +02:00
Laurens Valk
98f2bb27fe
pybricks.robotics.DriveBase: Drop positive direction.
...
This reverts commit e4650cb1c9 .
This is not needed for gyro support, so it is better to remove it
before it is ever released.
2023-04-21 10:42:30 +02:00
Laurens Valk
ccd2b46819
pybricks.robotics.DriveBase: Revert gyro use via init.
...
This reverts commit dadaab6f61 .
We will introduce a separate class instead.
2023-04-21 10:42:30 +02:00
Laurens Valk
c0cb05dd74
pybricks.robotics.DriveBase: Document use of gyro.
2023-04-21 10:42:30 +02:00
Laurens Valk
b183e1420a
pybricks.pupdevices.Motor: Document speed time window.
2023-04-21 10:42:30 +02:00
Laurens Valk
b311c54261
pybricks._common.IMU: Change settings setter.
2023-04-21 10:42:30 +02:00
Laurens Valk
bb37b94f5e
pybricks._common.IMU: Add imu status.
2023-04-21 10:42:30 +02:00
Laurens Valk
5b25606afa
pybricks._common.IMU: Add rotation and orientation.
...
Also update implementation status for heading and reset_heading.
2023-04-21 10:42:30 +02:00
Laurens Valk
c415296b71
pybricks._common.Motor: Document profile.
...
Fixes https://github.com/pybricks/support/issues/966
2023-03-20 15:12:36 +01:00
Laurens Valk
e4650cb1c9
pybricks.robotics.DriveBase: Document positive direction.
...
Fixes https://github.com/pybricks/support/issues/992
2023-03-20 14:22:25 +01:00