Skip to content

Commit

Permalink
doc/pupdevices: add sensor icons
Browse files Browse the repository at this point in the history
Only the ColorDistanceSensor is added to the docs for now. Other icons are included for future use.
  • Loading branch information
laurensvalk committed Mar 25, 2020
1 parent 0dd6752 commit d31fd02
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/api/diagram_source/pupsensors.ldr
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
0 Name: pupmotors
0 Author: Pybricks {laurens@pybricks.com}
0 !LICENSE MIT
1 15 600 -280 240 -1 0 0 0 -1 0 0 0 1 37316c01.dat
1 15 60 -272 160 -1 0 0 0 -1 0 0 0 1 37312c01.dat
1 15 -400 -280 240 -1 0 0 0 -1 0 0 0 1 37308c01.dat
1 0 -400 -310 -374 -1 0 0 0 -1 0 0 0 1 u9218c01.dat
1 15 -400 -320 -410 0 0 1 0 1 0 -1 0 0 20841.dat
1 15 630 -320 -420 1 0 0 0 1 0 0 0 1 26912.dat
1 0 630 -310 -384 -1 0 0 0 -1 0 0 0 1 u9218c01.dat
1 15 60 -320 -430 0 0 1 0 1 0 -1 0 0 20844.dat
1 0 60 -310 -394 -1 0 0 0 -1 0 0 0 1 u9218c01.dat
Binary file added doc/api/images/sensor_color.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/api/images/sensor_colordistance.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/api/images/sensor_force.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/api/images/sensor_proximity.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/api/images/sensor_tilt.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/api/images/sensor_ultrasonic.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions doc/api/pupdevices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ Motors with Rotation Sensors
Color and Distance Sensor
^^^^^^^^^^^^^^^^^^^^^^^^^

.. figure:: ../api/images/sensor_colordistance.png
:width: 35 %

.. autoclass:: pybricks.pupdevices.ColorDistanceSensor
:no-members:

Expand Down

0 comments on commit d31fd02

Please sign in to comment.