mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
These were hidden for the 3.0 release, but we can re-enable them for the beta release of 3.1. Revert "v3: Drop parameters Side and Button." This reverts commit07c53e9a3d. Revert "v3: Drop Remote control." This reverts commitb600f5029e. Revert "v3: Drop geometry module." This reverts commit5f767f3fee. Revert "v3: Drop Prime Hub and Inventor Hub." This reverts commit8db7892f8c. Revert "v3: Drop IMU documentation." This reverts commitb325bf4bff.
56 lines
1.3 KiB
ReStructuredText
56 lines
1.3 KiB
ReStructuredText
Side
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
.. class:: Side
|
|
|
|
Side of a hub or a sensor. These devices are
|
|
mostly rectangular boxes with six sides:
|
|
|
|
.. autoattribute:: pybricks.parameters.Side.TOP
|
|
:annotation:
|
|
|
|
.. autoattribute:: pybricks.parameters.Side.BOTTOM
|
|
:annotation:
|
|
|
|
.. autoattribute:: pybricks.parameters.Side.FRONT
|
|
:annotation:
|
|
|
|
.. autoattribute:: pybricks.parameters.Side.BACK
|
|
:annotation:
|
|
|
|
.. autoattribute:: pybricks.parameters.Side.LEFT
|
|
:annotation:
|
|
|
|
.. autoattribute:: pybricks.parameters.Side.RIGHT
|
|
:annotation:
|
|
|
|
|
|
Screens or light matrices have only four sides. For those,
|
|
``TOP`` is treated the same as ``FRONT``, and ``BOTTOM`` is treated the
|
|
same as ``BACK``. The diagrams below define the sides for relevant devices.
|
|
|
|
**Prime Hub**
|
|
|
|
.. figure:: ../../api/images/orientation_primehub_label.png
|
|
:height: 17 em
|
|
|
|
**Inventor Hub**
|
|
|
|
.. figure:: ../../api/images/orientation_inventorhub_label.png
|
|
:height: 17 em
|
|
|
|
**Move Hub**
|
|
|
|
.. figure:: ../../api/images/orientation_movehub_label.png
|
|
:height: 17 em
|
|
|
|
**Technic Hub**
|
|
|
|
.. figure:: ../../api/images/orientation_technichub_label.png
|
|
:height: 17 em
|
|
|
|
**Tilt Sensor**
|
|
|
|
.. figure:: ../../api/images/orientation_tiltsensor_label.png
|
|
:height: 17 em
|