David Lechner
4da3618428
v3.3.0b4
v3.3.0a4
2023-04-21 17:00:18 -05:00
Laurens Valk
5bc11b185d
pybricks.tools: Add versionchanged note.
2023-04-21 14:07:46 +02:00
Laurens Valk
be9f99d41b
pybricks.tools: Add category headings.
2023-04-21 13:59:16 +02: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
95a12a7386
pybricks.robotics: Drop note suggesting to flip motors.
...
This will still work, but it is asking for trouble when including the gyro.
So it is probably better not to mention this at all.
2023-04-21 10:42:30 +02:00
Laurens Valk
d6c78f1f39
pybricks.robotics: Drop note restricting when to change settings.
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
fdbd078388
pybricks._common.IMU: Heading is clockwise positive.
...
This is not a breaking change because heading() was never implemented until now.
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
8172d11ef6
urandom: Fix formula in getrandbits.
2023-03-28 08:50:00 +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
91154a394c
pybricks.robotics.DriveBase: Clarify settings method.
...
Fixes https://github.com/pybricks/support/issues/882
2023-03-20 14:00:42 +01:00
David Lechner and laurensvalk
3c36010c04
pybricks.ev3devices: Fix Gyro direction parameter name.
...
The actual implemented name is `direction`, not `positive_direction`.
Fixes: https://github.com/pybricks/support/issues/509
2023-03-20 13:56:16 +01:00
Laurens Valk
a553df3b03
pybricks.iodevices.PUPDevice: Add device class as comments.
2023-02-23 16:31:38 +01:00
Hans Willemen and laurensvalk
dbd1cc8dc9
pybricks.iodevices.PUPDevice: Add more devices.
...
Added:
- non-uart DCMotors (Medium and Train)
- non-uart Light
- SPIKE 3x3 Color Matrix
- SPIKE Small Angular Motor
2023-02-23 16:31:38 +01:00
Laurens Valk
b40c3989aa
pybricks.common.Motor: Add Model() class instance.
...
This is mainly used to debug the motor model, and to quickly select the
feedback parameters. This is useful when adding or configuring new motor
types.
Reading the estimated speed can also be useful in advanced applications
where the user builds their own PID controller.
We may choose to hide this method from the documentation before the
release.
2023-02-09 10:25:15 +01:00
Laurens Valk
13612bdb1a
README: Fix D002 Trailing whitespace.
2023-02-09 10:25:10 +01:00
kai-morich and GitHub
031e905e12
README: document stub usage in vs code
...
Fixes: pybricks/support#937
2023-02-07 15:37:15 -06:00
Laurens Valk
428bca79ab
pybricks.common.Control: Document deadzone.
2023-02-02 14:45:34 +01:00
Laurens Valk
0e8b6cfd97
doc/main/cad/devices: Generate motor model.
2023-02-02 14:44:50 +01:00
David Lechner
eea8ff0924
examples/ev3/bluetooth: remove 3rd party dependency
...
Since Python 3.10, RFCOMM sockets are available in Python on Windows
so we no longer need 3rd party code.
Fixes: pybricks/support#902
2023-01-06 14:17:29 -06:00
David Lechner
8c673ab280
github: update actions/checkout to v3
...
This fixes deprecation warnings about node v12.
2022-12-28 16:16:01 -06:00
David Lechner
73477169ae
npm/jedi: v1.7.0
...
Update pybricks_jedi package to v1.7.0 and bump version for release.
@pybricks/jedi/v1.7.0
2022-12-28 16:13:28 -06:00
David Lechner
5ccc60c177
jedi/pyproject: v1.7.0
pybricks_jedi/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
236bda5f31
ubuiltins.round: Fix example.
...
The example did not have proper line breaks between statements.
Also add an additional example using f-strings.
2022-12-28 14:09:18 -06:00
David Lechner
36ee3bd9ef
pyproject: v3.2.0
v3.2.0
2022-12-20 15:46:44 -06:00
David Lechner
16a0621e03
@pybricks/ide-docs v2.7.0
@pybricks/ide-docs/v2.7.0
2022-12-20 11:05:36 -06:00
Laurens Valk
7c4c5439a4
pyproject: v3.2.0c2
v3.2.0c2
2022-12-20 16:08:48 +01:00
David Lechner
f7314bc1bc
npm/images: v1.3.0
...
Bump version for release to npm.
@pybricks/images/v1.3.0
2022-12-19 11:16:57 -06:00
David Lechner
f14bbc3a36
npm/images: add DFU Windows driver images
...
This will be used in Pybricks Code for Windows driver installation
instructions.
2022-12-19 11:15:37 -06:00
Laurens Valk and David Lechner
44c6191b2f
doc/main/diagrams_source: Add labels to DFU screenshots.
2022-12-19 10:55:20 -06:00
Laurens Valk and David Lechner
829b0ab97a
doc/main/diagrams_source: Draft DFU screenshots.
2022-12-19 10:55:20 -06:00
Laurens Valk
1c5e390e13
doc/main/index: Clarify categories.
...
This is more descriptive than just repeating the module name.
2022-12-16 22:30:09 +01:00
David Lechner
98e7d814b1
npm/jedi/build: update @pybricks/jedi package version to v1.6.0
...
Update version for release to npm.
@pybricks/jedi/v1.6.0
2022-12-09 15:28:11 -06:00
David Lechner
0117e50599
npm/jedi/build: update pybricks-jedi Python package to v1.6.0
2022-12-09 15:26:57 -06:00
David Lechner
b4b17d6f55
jedi/pyproject: bump version to v1.6.0
...
Getting ready to publish to PyPI.
pybricks_jedi/v1.6.0
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
David Lechner
0655d807e4
github: fix job name in publish-jedi workflow
...
Fixes: https://github.com/pybricks/pybricks-api/issues/124
2022-12-09 15:13:41 -06:00