Laurens Valk
bcf610a29e
doc/index: regroup hubs by platform
...
Make it easier to pick the right installation guide.
2020-10-25 19:51:40 +01:00
Laurens Valk
55001644d2
doc/start_inventor: add placeholder quick start
...
This adds an empty page so we can link to it from the main page.
2020-10-25 19:49:18 +01:00
Laurens Valk
d4c44a292c
api: add PrimeHub
2020-10-09 22:50:49 +02:00
Laurens Valk
90bea73c11
doc/hubs: Add light examples
2020-10-09 22:46:35 +02:00
Laurens Valk
a603c19d0e
doc/hubs: expose color light functionality
...
This enables the blink and animate methods.
The examples are not yet included.
2020-10-09 19:58:35 +02:00
Laurens Valk
1b730836e4
api/pupdevices/Light: drop blink, animate
...
External single-color lights won't have this for now.
2020-10-09 19:58:35 +02:00
Laurens Valk
ede503f6fe
config: rename CPlusHub to TechnicHub
...
This replaces the name in internal files.
2020-10-09 19:16:33 +02:00
Laurens Valk
24d35993e9
api: rename CPlusHub to TechnicHub
...
This reflects the newly adopted naming convention.
See https://github.com/pybricks/support/issues/119
2020-10-09 19:16:33 +02:00
Laurens Valk
d6651fc3c5
api/pupdevices: replace color_map
...
This reclects the implementation update that changes how
color sensing is performed and interfaced with by the user.
2020-10-08 20:19:33 +02:00
Laurens Valk
6671e3def0
pybricks-projects: update color sensing examples
2020-10-08 19:25:04 +02:00
Laurens Valk
4319b2fad8
api/common/Light: add blink and animate
2020-08-25 13:38:09 +02:00
Laurens Valk
c6c14afca2
doc/parameters/Color: add colors to each class atribute
...
This makes it much easier to pick the right color.
2020-08-12 12:22:14 +02:00
Laurens Valk
1eb75e24e7
api/parameters/Color: generalize color type
...
First step towards making a color type with HSV representation.
Colors such as Color.RED or Color.BLUE continue to exist, but now you
can also define your own colors:
DARK_RED = Color(h=0, s=100, v=50)
2020-08-12 12:18:24 +02:00
Laurens Valk
be8592f096
doc/pupdevices/PFMotor: Documentation and examples
2020-08-11 12:13:06 +02:00
Laurens Valk
4d88fbbbd2
api/pupdevices/PFMotor: DCMotor functionality
...
This replaces the on-off method in ColorDistanceSensor.remote()
with a PFMotor class that works just like the DCMotor class. This
provides much more functionality without having to invent a new API.
2020-08-11 12:05:53 +02:00
Laurens Valk
70ffbfa4f3
doc/parameters/Color: sort colors by hue/value
2020-08-10 11:39:56 +02:00
Laurens Valk
6aa6059974
doc/pupdevices: add Motor action examples
2020-07-21 16:14:35 +02:00
Laurens Valk
98f247688e
doc/pupdevices: add Motor measuring examples
2020-07-21 14:50:26 +02:00
Laurens Valk
51f9d916e0
doc/pupdevices: add Motor init examples
2020-07-21 14:50:26 +02:00
Laurens Valk
8a9386ffc5
doc/pupdevices: add DCMotor examples
2020-07-21 14:50:26 +02:00
Bert
bcd44dad84
doc/start_pup: fix mixed http and https contents
...
Fixes #106 .
2020-07-19 21:47:11 +02:00
Laurens Valk
ac96985c71
doc/pupdevices/ForceSensor: add examples
2020-07-13 15:40:59 +02:00
Laurens Valk
b98f487f3c
doc/pupdevices/ColorSensor: add examples
2020-07-13 14:24:57 +02:00
Laurens Valk
42917f14ef
doc/parameters: fix link to move hub
...
This is no longer a generic hub reference
2020-07-12 13:17:45 +02:00
Laurens Valk
938c62430f
doc/hubs: remove content tabs
...
This caused links not to work to anything other than the default tab.
2020-07-12 13:11:38 +02:00
Laurens Valk
6132ae66da
doc/pupdevices/ColorDistanceSensor: add examples
2020-07-11 19:40:00 +02:00
Laurens Valk
a02c7023e5
doc/pupdevices/ColorDistanceSensor: group methods
...
We are already using a rubric for the lights, so add two more to better
group the many methods of this sensor.
2020-07-11 17:09:49 +02:00
Laurens Valk
d15aa22131
doc/pupdevices/Light: and blink and fade examples
2020-07-11 13:00:28 +02:00
Laurens Valk
19009d1637
doc/pupdevices: InfraredSensor, TiltSensor example
2020-07-11 12:46:30 +02:00
Laurens Valk
4dbaf5f68e
doc/pupdevices/UltrasonicSensor: math example
2020-07-10 13:06:22 +02:00
Laurens Valk
af2b1c66c9
doc/pupdevices/UltrasonicSensor: add example
2020-07-10 12:42:20 +02:00
Laurens Valk
f26d750fbf
doc/ev3devices/InfraredSensor: document mode delay
2020-07-10 11:46:04 +02:00
Laurens Valk
6e6c8956b9
doc/start_pup: clean up custom firmware steps
2020-07-10 11:35:39 +02:00
Laurens Valk
80a426bc4f
doc/start_pup: update instructions
...
- We no longer require a password
- We support more hubs
- Mention known key issues
- Simplify Chrome 85 discussion
- Add instructions to unplug cables prior to update
2020-07-10 11:21:12 +02:00
Laurens Valk
93da01c7ce
api/pupdevices/ColorDistanceSensor: add hsv
...
The hsv and color_map methods are the same as for the SPIKE ColorSensor class, except for the surface kwarg.
2020-07-07 14:07:35 +02:00
Laurens Valk
8078b6febb
doc/_common/ColorLight: docstring clean up
...
This adds a (commented out) preview of the methods to the city hub light
2020-07-07 09:44:16 +02:00
Laurens Valk
8a43dc936a
doc/signaltypes: add hue placeholder
...
We will have to add a helpful diagram, but having the placeholder allows us to link to it already.
2020-07-07 09:44:16 +02:00
Laurens Valk
d66e18b113
api/pupdevices: add TiltSensor
...
This class and its methods are subject to change when the complete
API for IMUs is introduced.
2020-07-01 13:33:36 +02:00
Laurens Valk
55fe666dac
api/pupdevices: add InfraredSensor
2020-07-01 12:02:13 +02:00
David Lechner
3554814c86
config: add Pybricks favicon
2020-06-17 13:38:22 -05:00
David Lechner
70cc605b56
config: update version to 3.0
...
We are working on the v3.0 release now.
2020-06-17 13:04:06 -05:00
Laurens Valk
0779b8df16
doc/pupdevices: workaround to show class attribute
...
We are using an older version of Sphinx which does not support
autodoc of inherited class attributes yet. This works
around it by just referencing the EV3 attribute, which does work.
2020-06-14 15:39:04 +02:00
Laurens Valk
ecc30c2d92
doc/start_pup: add imports to example
...
This reflects a firmware update that makes it more consistent with
pybricks-micropython for EV3. Making imports explicit is also more
Pythonic. This will make it clearer when some classes are not available
on some hubs.
2020-06-09 14:28:32 +02:00
Laurens Valk
80840396aa
api/pupdevices: add Powered Up Light
2020-06-08 15:26:19 +02:00
David Lechner
c536081dea
doc/start_pup: fix line too long lint error
2020-06-06 13:47:28 -05:00
David Lechner
87a488e790
doc/start_pup: update chrome download link
...
A new dev build was released for all platforms yesterday with the required patches.
2020-06-06 11:15:41 -05:00
Laurens Valk
90647e25dd
doc/start_pup: update chrome release schedule
2020-06-05 16:17:23 +02:00
Laurens Valk
01c6e29dd5
doc/start_pup: add note about password
2020-06-05 15:56:04 +02:00
Laurens Valk
1eac0972ac
api/hubs: add CPlusHub
2020-06-05 15:56:04 +02:00
Laurens Valk
ce087f5330
doc/index: fix pup link
2020-06-05 15:56:04 +02:00