Laurens Valk
f509178dab
pybricks.pupdevices.Motor: Document close.
2023-11-20 14:03:12 +01:00
Laurens Valk
91bc9a5d60
pybricks.hubs.MoveHub: Enable imu orientation.
2023-11-13 11:06:57 +01:00
Laurens Valk
d935841399
pybricks.robotics.DriveBase: Add brake.
2023-10-26 14:18:56 +02:00
David Lechner
3335042218
ubuiltins: add set class
...
Add type stubs and docs for builtin `set` type.
Issue: https://github.com/pybricks/support/issues/402
2023-10-26 09:21:41 +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
b97eef8152
conf: Fix RTD theme.
...
Fixes https://github.com/pybricks/pybricks-api/issues/150
2023-10-23 20:49:35 +02:00
Laurens Valk
578abab24e
signaltypes: Bare minimal async docs.
...
This is nowhere near complete, but provides handles to start documenting async for the relevant methods.
2023-10-23 16:28:50 +02:00
Laurens Valk
1a49d396d2
pybricks.robotics: Document use_gyro.
2023-10-23 15:39:52 +02:00
Laurens Valk
397663d631
poetry: Update deps and fix Sphinx breakage.
2023-10-23 15:30:19 +02: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
6d69f04fe5
docs/cityhub: add ble.broadcast
...
A workaround has been implemented in the firmware so this is available
now.
2023-05-23 13:37:05 -05:00
David Lechner
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
8e5891d9e8
all: spelling
...
Misc spelling fixes.
2023-05-10 14:16:15 -05:00
David Lechner
31d3a117d6
doc/main/conf: update copyright year
2023-04-21 17:39:28 -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
d6c78f1f39
pybricks.robotics: Drop note restricting when to change settings.
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
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
0e8b6cfd97
doc/main/cad/devices: Generate motor model.
2023-02-02 14:44:50 +01:00
Laurens Valk
44c6191b2f
doc/main/diagrams_source: Add labels to DFU screenshots.
2022-12-19 10:55:20 -06:00
Laurens Valk
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
Laurens Valk
585b1b8ba3
pybricks.parameters.Side: Change Technic Hub orientation.
...
This makes it consistent with other hubs.
See: https://github.com/pybricks/support/issues/848
The IMU section was not included in V3.1 so it is not a breaking change,
but we add a versionchanged comment just in case.
2022-12-09 14:23:01 +01:00
Laurens Valk
d9dfd0e370
doc/common/extensions: Separate checkmark from image.
...
This makes it easier to see when the images are small.
Fixes: https://github.com/pybricks/support/issues/838
2022-12-09 08:35:33 +01:00
David Lechner
8bfc2e10c8
doc: Use Pybricks blue.
...
This changes the navbar background color to use the official Pybricks
blue color.
2022-12-08 17:16:32 -06:00
Laurens Valk
e2710157f0
doc/main/hubs: Use width to set scale.
...
Fixes https://github.com/pybricks/support/issues/844
2022-12-08 20:07:11 +01:00
Laurens Valk
96a3c04836
doc/main/index: Drop links from menu.
...
Table of contents can't be hidden based on tags, so we just remove them.
Instead, add a note in the body of the standalone version.
Fixes: https://github.com/pybricks/support/issues/839
2022-12-08 09:47:04 +01:00
David Lechner
e939c14fee
docs/main/{prime,essential}hub: Remove beta note.
...
We are close to final release, so these are no longer considered beta.
2022-12-07 16:31:19 -06:00
David Lechner
3418c8320c
doc/common/css/ide: improve styling of field list
...
The default style of using a grid with two columns wastes space when
displayed in a narrow pane, like in Pybricks Code. Using flex with
column direction makes it flow from top to bottom.
Fixes: https://github.com/pybricks/support/issues/832
2022-12-07 20:21:47 +01:00
Laurens Valk
4da4ce8f7c
pybricks.robotics.DriveBase: Add clarifying comments.
...
Fixes https://github.com/pybricks/support/issues/698
2022-12-06 16:38:31 +01:00
Laurens Valk
ab4d4cc848
pybricks.pupdevices.Motor: Add versionchanged.
...
Document moving stalled, load, done.
2022-12-02 14:20:51 +01:00
Laurens Valk
14a4fc0d74
pybricks.robotics: Document behavior on shared resources.
...
Fixes https://github.com/pybricks/pybricks-api/issues/105 .
2022-12-02 12:43:24 +01:00
Laurens Valk
99d5210313
pybricks.robotics.DriveBase: Add stalled, done.
2022-12-02 12:43:24 +01:00
Laurens Valk
c3802d38c2
pybricks.ev3devices: Keep motor class in sync.
...
Let's make sure we keep EV3 pages building.
2022-12-02 12:43:24 +01:00
Laurens Valk
ac23a9bb59
pybricks.common.Motor: Document compatibility.
...
Control methods are not available on Move Hub.
Fixes: https://github.com/pybricks/pybricks-api/issues/106
2022-12-02 12:15:25 +01:00
Laurens Valk
631cf31a07
pybricks.common.Motor: Document when settings take effect.
...
This updates how and when settings take effect. In this release, you can
change them even while the motor is moving. Some settings do not
take effect right away, as now indicated in the relevant methods.
See also https://github.com/pybricks/pybricks-api/issues/105
2022-12-02 12:10:31 +01:00
Laurens Valk
115ae0d856
pybricks.common.Motor: Add done, stalled, load.
...
These used to be implemented as part of the Control object,
but now they are available directly on the motor.
This way they:
- Also give useful values when control is passive, via dc().
- Can be supported on Move Hub
- Give useful values for drive bases (see next commits).
Fixes https://github.com/pybricks/pybricks-api/issues/115
2022-12-02 12:02:22 +01:00
Laurens Valk
eec6d2ff85
pybricks.parameters: Delete TODO on hue.
...
This should be an issue, not a mark in the released docs.
2022-12-01 16:59:54 +01:00
Laurens Valk
961cebe48b
ustruct: Document modules.
2022-12-01 16:48:20 +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
553490874b
usys: Add examples.
2022-12-01 14:21:12 +01:00
Laurens Valk
31d3872405
uselect: Rewrite the docs.
2022-12-01 14:11:41 +01:00