diff --git a/doc/api/diagram_source/pupdcmotors.ldr b/doc/api/diagram_source/pupdcmotors.ldr new file mode 100644 index 0000000..a014fe6 --- /dev/null +++ b/doc/api/diagram_source/pupdcmotors.ldr @@ -0,0 +1,14 @@ +0 Name: pupmotors +0 Author: Pybricks {laurens@pybricks.com} +0 !LICENSE MIT +1 0 60 -352 -90 1 0 0 0 1 0 0 0 1 87574.dat +1 15 60 -336 -70 0 0 1 0.259 0.966 0 -0.966 0.259 0 20844c01.dat +1 0 60 -312 -150 1 0 0 0 1 0 0 0 1 3706.dat +1 0 100 -312 -150 0 0 -1 0 1 0 1 0 0 u9241.dat +1 0 100 -312 -30 0 0 -1 0 1 0 1 0 0 u9241.dat +1 0 20 -312 -30 0 0 1 0 1 0 -1 0 0 u9241.dat +1 0 20 -312 -150 0 0 1 0 1 0 -1 0 0 u9241.dat +1 0 60 -312 -30 1 0 0 0 1 0 0 0 1 3706.dat +1 0 90 -344 -90 1 0 0 0 1 0 0 0 1 2871b.dat +1 0 30 -344 -90 -1 0 0 0 1 0 0 0 -1 2871b.dat +1 15 10 -376 -310 0 0 -1 0 1 0 1 0 0 21980c01.dat diff --git a/doc/api/diagram_source/pupdcmotors.png b/doc/api/diagram_source/pupdcmotors.png new file mode 100644 index 0000000..ae5c018 Binary files /dev/null and b/doc/api/diagram_source/pupdcmotors.png differ diff --git a/doc/api/diagram_source/pupdcmotors.svg b/doc/api/diagram_source/pupdcmotors.svg new file mode 100644 index 0000000..85bd878 --- /dev/null +++ b/doc/api/diagram_source/pupdcmotors.svg @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/api/images/pupdcmotors_label.png b/doc/api/images/pupdcmotors_label.png new file mode 100644 index 0000000..95965aa Binary files /dev/null and b/doc/api/images/pupdcmotors_label.png differ diff --git a/doc/api/pupdevices.rst b/doc/api/pupdevices.rst index 8341cb5..f2e94a6 100644 --- a/doc/api/pupdevices.rst +++ b/doc/api/pupdevices.rst @@ -7,6 +7,16 @@ Motors without Rotation Sensors ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +.. _fig_pupdcmotors: + +.. figure:: ../api/images/pupdcmotors_label.png + :width: 70 % + :alt: pupmotors + :align: center + + Powered Up motors without rotation sensors. The arrows indicate the default + positive direction. + .. autoclass:: pybricks._common.DCMotor :noindex: :no-members: @@ -31,7 +41,7 @@ Motors with Rotation Sensors :align: center Powered Up motors with rotation sensors. The arrows indicate the default - clockwise direction. + positive direction. .. autoclass:: pybricks.pupdevices.Motor :noindex: