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
Laurens Valk
428bca79ab
pybricks.common.Control: Document deadzone.
2023-02-02 14:45:34 +01:00
David Lechner
5ccc60c177
jedi/pyproject: v1.7.0
2022-12-28 16:09:37 -06:00
David Lechner
93c4fcc884
jedi: add update_user_modules() function
...
This function will be used to fix import completion of user module
names in Pybricks Code.
Issue: https://github.com/pybricks/support/issues/759
2022-12-28 16:06:47 -06:00
David Lechner
aa72605e99
jedi: fix code completion for local _*
...
This fixes code completion for identifier names starting with "_" in
the local ("__main__") file.
2022-12-28 15:33:33 -06:00
David Lechner
8ee725722f
jedi: fix completion of builtin types
...
Completions for `x.` where `x` is an instance of a builtin type was
broken because of filtering on the `builtins` modules. This extends
the filtering to allow attributes available on common builtin types
in Pybricks MicroPython.
2022-12-28 15:33:33 -06:00
David Lechner
b4b17d6f55
jedi/pyproject: bump version to v1.6.0
...
Getting ready to publish to PyPI.
2022-12-09 15:19:53 -06:00
David Lechner
a074c60c9e
jedi/pyproject: fix authors
...
The expected format is "Name <email>".
2022-12-09 15:18:56 -06:00
David Lechner
9f80deec4a
jedi/pyproject: bump pybricks package to v3.2.0c1
2022-12-09 15:17:12 -06:00
Laurens Valk
ecbfbcfccc
jedi/pyproject: v1.5.0
2022-12-02 15:18:10 +01:00
Laurens Valk
eff6eaa253
jedi: Add ustruct, json modules.
2022-12-02 15:17:55 +01:00
Laurens Valk
7fd508cc84
jedi/pyproject: v1.4.0
2022-12-02 14:34:47 +01:00
Laurens Valk
3a12de4766
jedi: update pybricks package to v3.2.0b6
2022-12-02 14:33:16 +01:00
Laurens Valk
82340c3eec
jedi: Update tests for stalled, done.
2022-12-02 12:43:24 +01:00
Laurens Valk
87c2802b17
jedi/tests: Fix order for Poll/poll.
...
Poll needs to come first for correct typing of poll.
2022-12-01 15:06:31 +01:00
Laurens Valk
3c0aaea207
usys: Add version info.
...
Fixes https://github.com/pybricks/pybricks-api/issues/119
2022-12-01 15:02:25 +01:00
Laurens Valk
9b314777e0
micropython: Document heap_lock, heap_unlock.
...
Fixes https://github.com/pybricks/pybricks-api/issues/116
2022-11-29 13:51:34 +01:00
Laurens Valk
1ae0a9005f
pybricks.parameters.Stop: Document NONE.
...
Fixes https://github.com/pybricks/pybricks-api/issues/104
2022-11-28 17:10:53 +01:00
Laurens Valk
7dd3edaee4
jedi/tests: Make PrimeHub the same as InventorHub.
2022-11-22 14:26:25 +01:00
Laurens Valk
ef57dbf4a1
pybricks.common.LightMatrix: Rename image() to icon().
...
Fixes https://github.com/pybricks/support/issues/409
2022-11-22 14:26:15 +01:00
David Lechner
19673da32e
jedi/pyproject: v1.3.0
2022-11-11 11:31:02 -06:00
David Lechner
b8b5652cb6
jedi: update pybricks package to v3.2.0b5
2022-11-11 11:30:01 -06:00
David Lechner
62f6fc85a5
jedi: fix code completion for Color and Icon
...
The pybricks.parameters.Color and Icon types were not working with Jedi
for code completion since the constants were never assigned a value.
2022-11-10 12:23:24 -06:00