mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ea780cc9e | ||
|
|
78a8fea78f | ||
|
|
99a7c69ac5 | ||
|
|
1a64ba718f | ||
|
|
6d332deb3f | ||
|
|
a7df6988ab | ||
|
|
a2e17f6889 | ||
|
|
866b50fef6 | ||
|
|
9c7378ce64 |
@@ -1,49 +0,0 @@
|
||||
:mod:`geometry <pybricks.geometry>` -- Geometry and algebra
|
||||
============================================================
|
||||
|
||||
.. module:: pybricks.geometry
|
||||
|
||||
.. autoclass:: pybricks.geometry.Matrix
|
||||
:no-members:
|
||||
|
||||
.. autoattribute:: pybricks.geometry::Matrix.T
|
||||
|
||||
.. autoattribute:: pybricks.geometry::Matrix.shape
|
||||
|
||||
.. autofunction:: pybricks.geometry.vector
|
||||
|
||||
.. autoclass:: pybricks.geometry.Axis
|
||||
:no-members:
|
||||
|
||||
.. _robotframe:
|
||||
|
||||
Reference frames
|
||||
-----------------------
|
||||
|
||||
The Pybricks module and this documentation use the following conventions:
|
||||
|
||||
- X: Positive means forward. Negative means backward.
|
||||
- Y: Positive means to the left. Negative means to the right.
|
||||
- Z: Positive means upward. Negative means downward.
|
||||
|
||||
To make sure that all hub measurements (such as acceleration) have the correct
|
||||
value and sign, you can specify how the hub is mounted in your creation. This
|
||||
adjust the measurements so that it is easy to see how your *robot* is moving,
|
||||
rather than how the *hub* is moving.
|
||||
|
||||
For example, the hub may be mounted upside down in your design. If you
|
||||
configure the settings as shown in :numref:`fig_imuexamples`, the hub
|
||||
measurements will be adjusted accordingly. This way, a positive acceleration
|
||||
value in the X direction means that your *robot* accelerates forward, even
|
||||
though the *hub* accelerates backward.
|
||||
|
||||
.. _fig_imuexamples:
|
||||
|
||||
.. figure:: ../api/images/imuexamples_label.png
|
||||
:width: 100 %
|
||||
|
||||
How to configure the ``top_side`` and ``front_side`` settings for three
|
||||
different robot designs. The same technique can be applied to other hubs
|
||||
and other creations, by noting which way the top and
|
||||
front :class:`Side <Side>` of the hub are pointing. The example
|
||||
on the left is the default configuration.
|
||||
@@ -10,7 +10,6 @@
|
||||
movehub
|
||||
cityhub
|
||||
technichub
|
||||
primehub
|
||||
ev3brick
|
||||
|
||||
.. pybricks-classlink:: MoveHub
|
||||
@@ -31,18 +30,6 @@
|
||||
:height: 10 em
|
||||
:target: technichub.html
|
||||
|
||||
.. pybricks-classlink:: PrimeHub
|
||||
|
||||
.. figure:: ../../api/images/primehub.png
|
||||
:height: 10 em
|
||||
:target: primehub.html
|
||||
|
||||
.. pybricks-classlink:: InventorHub
|
||||
|
||||
.. figure:: ../../api/images/inventorhub.png
|
||||
:height: 10 em
|
||||
:target: primehub.html
|
||||
|
||||
.. pybricks-classlink:: EV3Brick
|
||||
|
||||
.. figure:: ../../api/images/ev3brick.png
|
||||
|
||||
@@ -19,12 +19,6 @@ Move Hub
|
||||
|
||||
.. automethod:: pybricks.hubs::MoveHub.light.animate
|
||||
|
||||
.. rubric:: Using the IMU
|
||||
|
||||
.. automethod:: pybricks.hubs::MoveHub.imu.up
|
||||
|
||||
.. automethod:: pybricks.hubs::MoveHub.imu.acceleration
|
||||
|
||||
.. rubric:: Using the battery
|
||||
|
||||
.. automethod:: pybricks.hubs::MoveHub.battery.voltage
|
||||
@@ -46,17 +40,3 @@ Making the light blink
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_movehub/light_blink.py
|
||||
|
||||
IMU examples
|
||||
---------------
|
||||
|
||||
Testing which way is up
|
||||
********************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_movehub/imu_up.py
|
||||
|
||||
Reading acceleration
|
||||
**************************************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_movehub/imu_read_acceleration.py
|
||||
|
||||
@@ -1,210 +0,0 @@
|
||||
Prime Hub / Inventor Hub
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. figure:: ../../api/images/primeinventorhub.png
|
||||
:height: 15 em
|
||||
|
||||
.. class:: InventorHub
|
||||
|
||||
This class is the same as the ``PrimeHub`` class, shown below. Both classes
|
||||
work on both hubs.
|
||||
|
||||
These hubs are completely identical. They use the same Pybricks firmware.
|
||||
|
||||
.. autoclass:: pybricks.hubs.PrimeHub
|
||||
:no-members:
|
||||
|
||||
.. rubric:: Using the hub status light
|
||||
|
||||
.. figure:: ../../api/images/primehub_light_label.png
|
||||
:width: 22 em
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.light.on
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.light.off
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.light.blink
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.light.animate
|
||||
|
||||
.. rubric:: Using the light matrix display
|
||||
|
||||
.. figure:: ../../api/images/primehub_display_label.png
|
||||
:width: 22 em
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.display.orientation
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.display.off
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.display.pixel
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.display.image
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.display.animate
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.display.number
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.display.char
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.display.text
|
||||
|
||||
.. rubric:: Using the buttons
|
||||
|
||||
.. figure:: ../../api/images/primehub_buttons_label.png
|
||||
:width: 22 em
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.buttons.pressed
|
||||
|
||||
.. rubric:: Using the IMU
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.imu.up
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.imu.tilt
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.imu.acceleration
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.imu.angular_velocity
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.imu.heading
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.imu.reset_heading
|
||||
|
||||
.. rubric:: Using the speaker
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.speaker.beep
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.speaker.play_notes
|
||||
|
||||
.. rubric:: Using the battery
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.battery.voltage
|
||||
|
||||
.. automethod:: pybricks.hubs::PrimeHub.battery.current
|
||||
|
||||
.. note:: The examples below use the ``PrimeHub`` class. The examples work fine
|
||||
on both hubs because they are the identical. If you prefer, you can
|
||||
change this to ``InventorHub``.
|
||||
|
||||
Status light examples
|
||||
---------------------
|
||||
|
||||
Turning the light on and off
|
||||
****************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/light_off.py
|
||||
|
||||
Changing brightness and using custom colors
|
||||
*******************************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/light_hsv.py
|
||||
|
||||
Making the light blink
|
||||
**********************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/light_blink.py
|
||||
|
||||
Creating light animations
|
||||
*************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/light_animate.py
|
||||
|
||||
Matrix display examples
|
||||
-----------------------
|
||||
|
||||
Displaying images
|
||||
*****************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/display_image.py
|
||||
|
||||
Displaying numbers
|
||||
******************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/display_number.py
|
||||
|
||||
Displaying text
|
||||
***************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/display_text.py
|
||||
|
||||
Displaying individual pixels
|
||||
****************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/display_pixel.py
|
||||
|
||||
Changing the display orientation
|
||||
********************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/display_orientation.py
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/display_orientation_imu.py
|
||||
|
||||
Making your own images
|
||||
**********************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/display_matrix.py
|
||||
|
||||
Combining images to make expressions
|
||||
************************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/display_expression.py
|
||||
|
||||
Displaying animations
|
||||
*********************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/display_animate.py
|
||||
|
||||
Button examples
|
||||
---------------
|
||||
|
||||
Detecting button presses
|
||||
************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/button_main.py
|
||||
|
||||
IMU examples
|
||||
---------------
|
||||
|
||||
Testing which way is up
|
||||
********************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/imu_up.py
|
||||
|
||||
|
||||
Reading the tilt value
|
||||
********************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/imu_tilt.py
|
||||
|
||||
Using a custom hub orientation
|
||||
**************************************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/imu_tilt_blast.py
|
||||
|
||||
Reading acceleration and angular velocity vectors
|
||||
**************************************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/imu_read_vector.py
|
||||
|
||||
Reading acceleration and angular velocity on one axis
|
||||
*****************************************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_primehub/imu_read_scalar.py
|
||||
@@ -4,8 +4,7 @@ Technic Hub
|
||||
.. figure:: ../../api/images/technichub.png
|
||||
:height: 15 em
|
||||
|
||||
.. autoclass:: pybricks.hubs.TechnicHub
|
||||
:no-members:
|
||||
.. class:: TechnicHub
|
||||
|
||||
.. rubric:: Using the hub status light
|
||||
|
||||
@@ -17,20 +16,6 @@ Technic Hub
|
||||
|
||||
.. automethod:: pybricks.hubs::TechnicHub.light.animate
|
||||
|
||||
.. rubric:: Using the IMU
|
||||
|
||||
.. automethod:: pybricks.hubs::TechnicHub.imu.up
|
||||
|
||||
.. automethod:: pybricks.hubs::TechnicHub.imu.tilt
|
||||
|
||||
.. automethod:: pybricks.hubs::TechnicHub.imu.acceleration
|
||||
|
||||
.. automethod:: pybricks.hubs::TechnicHub.imu.angular_velocity
|
||||
|
||||
.. automethod:: pybricks.hubs::TechnicHub.imu.heading
|
||||
|
||||
.. automethod:: pybricks.hubs::TechnicHub.imu.reset_heading
|
||||
|
||||
.. rubric:: Using the battery
|
||||
|
||||
.. automethod:: pybricks.hubs::TechnicHub.battery.voltage
|
||||
@@ -63,37 +48,3 @@ Creating light animations
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_technichub/light_animate.py
|
||||
|
||||
IMU examples
|
||||
---------------
|
||||
|
||||
Testing which way is up
|
||||
********************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_technichub/imu_up.py
|
||||
|
||||
|
||||
Reading the tilt value
|
||||
********************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_technichub/imu_tilt.py
|
||||
|
||||
Using a custom hub orientation
|
||||
**************************************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_technichub/imu_tilt_blast.py
|
||||
|
||||
Reading acceleration and angular velocity vectors
|
||||
**************************************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_technichub/imu_read_vector.py
|
||||
|
||||
Reading acceleration and angular velocity on one axis
|
||||
*****************************************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_technichub/imu_read_scalar.py
|
||||
|
||||
@@ -70,7 +70,6 @@ findings on our `support page`_ so we can make Pybricks even better.
|
||||
robotics
|
||||
media
|
||||
messaging
|
||||
geometry
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
+105
-105
@@ -236,7 +236,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/b944cb55a5775696298d64ee851ace43/boing.wav" type="audio/wav">
|
||||
<source src="_downloads/boing.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -247,7 +247,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/ea7e11c484e34fcaf27a69754cd17f2f/boo.wav" type="audio/wav">
|
||||
<source src="_downloads/boo.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -258,7 +258,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/ba0b72ad10fdc60cb55cdd148b60d9ca/cheering.wav" type="audio/wav">
|
||||
<source src="_downloads/cheering.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -269,7 +269,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/98a3c519b10e0678a220d9a8fd4f75c4/crunching.wav" type="audio/wav">
|
||||
<source src="_downloads/crunching.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -280,7 +280,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/2a351015ee7991b3c5cdf091349c42ce/crying.wav" type="audio/wav">
|
||||
<source src="_downloads/crying.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -291,7 +291,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/fe3a5c8cfd539a19d2e125cd3d09925e/fanfare.wav" type="audio/wav">
|
||||
<source src="_downloads/fanfare.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -302,7 +302,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/b420a7196ea0e0d448629bf8411d9a18/kung_fu.wav" type="audio/wav">
|
||||
<source src="_downloads/kung_fu.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -313,7 +313,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/8f344a69525a1363a24197a944e4e889/laughing_1.wav" type="audio/wav">
|
||||
<source src="_downloads/laughing_1.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -324,7 +324,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/bdc8586f7e1aa11a8f7f59608b258282/laughing_2.wav" type="audio/wav">
|
||||
<source src="_downloads/laughing_2.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -335,7 +335,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/5b625fd3e50894dd8fd00d7a82abd444/magic_wand.wav" type="audio/wav">
|
||||
<source src="_downloads/magic_wand.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -346,7 +346,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/d3190754b2a5a2810ec8e58faad80aa0/ouch.wav" type="audio/wav">
|
||||
<source src="_downloads/ouch.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -357,7 +357,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/19afb20dc569394df64285240357bcb9/shouting.wav" type="audio/wav">
|
||||
<source src="_downloads/shouting.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -368,7 +368,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/eed7a4c460df736068054a66e3b398eb/smack.wav" type="audio/wav">
|
||||
<source src="_downloads/smack.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -379,7 +379,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/4e6b29e8cd056f9fcdda34b0f586dcca/sneezing.wav" type="audio/wav">
|
||||
<source src="_downloads/sneezing.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -390,7 +390,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/9a8d4ecc97db992cb132d93a7a4870e4/snoring.wav" type="audio/wav">
|
||||
<source src="_downloads/snoring.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -401,7 +401,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/ba1d663a61c1d7c22848061bcf71fd04/uh-oh.wav" type="audio/wav">
|
||||
<source src="_downloads/uh-oh.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -415,7 +415,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/b732c0bb59841c6d7bd9ae1ac66f2b7a/activate.wav" type="audio/wav">
|
||||
<source src="_downloads/activate.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -426,7 +426,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/42a7600ad32aa70f0ae65f6fe87df16a/analyze.wav" type="audio/wav">
|
||||
<source src="_downloads/analyze.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -437,7 +437,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/d5fccfd2d4bc349992b1d3a769cce852/backwards.wav" type="audio/wav">
|
||||
<source src="_downloads/backwards.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -448,7 +448,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/1d94a6f6c9366bdd58ef1ea4e913fa91/color.wav" type="audio/wav">
|
||||
<source src="_downloads/color.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -459,7 +459,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/a7f751e62eda2c3cb7305d152baacaec/detected.wav" type="audio/wav">
|
||||
<source src="_downloads/detected.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -470,7 +470,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/29b40c48a495e8642644c8b482edfe9e/down.wav" type="audio/wav">
|
||||
<source src="_downloads/down.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -481,7 +481,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/b0dfa1c62b0507a0c73f42af7f7d48cf/error.wav" type="audio/wav">
|
||||
<source src="_downloads/error.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -492,7 +492,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/12b7e7b80c992edef495d9039fe38c81/error_alarm.wav" type="audio/wav">
|
||||
<source src="_downloads/error_alarm.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -504,7 +504,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/e0cda6bd2911871e5d8efe07ddd0204a/flashing.wav" type="audio/wav">
|
||||
<source src="_downloads/flashing.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -515,7 +515,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/d0ca20711ebfaabe03cb19aaa7591a64/forward.wav" type="audio/wav">
|
||||
<source src="_downloads/forward.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -526,7 +526,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/34c75b65be9c243917f710bd3a99b864/left.wav" type="audio/wav">
|
||||
<source src="_downloads/left.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -537,7 +537,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/1b7b8bd9d98edc72425c0a3d13355a62/object.wav" type="audio/wav">
|
||||
<source src="_downloads/object.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -548,7 +548,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/df9920c7eab74a1b9b88669cb40cc70c/right.wav" type="audio/wav">
|
||||
<source src="_downloads/right.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -559,7 +559,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/1eb1baec8745f4a0258588d048af2faf/searching.wav" type="audio/wav">
|
||||
<source src="_downloads/searching.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -570,7 +570,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/687ce2c79e5dd5e3bf1856769f4dbc66/start.wav" type="audio/wav">
|
||||
<source src="_downloads/start.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -581,7 +581,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/2ffaf2c0aea075cd085f7e7e9bfde3da/stop.wav" type="audio/wav">
|
||||
<source src="_downloads/stop.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -592,7 +592,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/1b2e04632c9d5493e7892e9063f4c774/touch.wav" type="audio/wav">
|
||||
<source src="_downloads/touch.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -603,7 +603,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/3b93fb451261396cb22803bca32ffc98/turn.wav" type="audio/wav">
|
||||
<source src="_downloads/turn.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -614,7 +614,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/4d57fb9f5016ab031509003bd5e2599e/up.wav" type="audio/wav">
|
||||
<source src="_downloads/up.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -627,7 +627,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/a59280f3dccc7fabe5fec2f08d7a5531/bravo.wav" type="audio/wav">
|
||||
<source src="_downloads/bravo.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -638,7 +638,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/16e3cba2752b2bd7e7b679554e2af9be/ev3.wav" type="audio/wav">
|
||||
<source src="_downloads/ev3.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -649,7 +649,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/5d47bd0472935f4a003b6d5f3ddf689e/fantastic.wav" type="audio/wav">
|
||||
<source src="_downloads/fantastic.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -660,7 +660,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/1608f605abf2147d1e1c24868345140f/game_over.wav" type="audio/wav">
|
||||
<source src="_downloads/game_over.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -671,7 +671,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/07ca1a415b549f46fedfae99d1a96aa5/go.wav" type="audio/wav">
|
||||
<source src="_downloads/go.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -682,7 +682,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/8bd379acf75502b828ba914a3bc3e427/good_job.wav" type="audio/wav">
|
||||
<source src="_downloads/good_job.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -693,7 +693,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/4bdca05d0338824c9c57123e3688fd4a/good.wav" type="audio/wav">
|
||||
<source src="_downloads/good.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -704,7 +704,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/94480a85f6482adadc5b42899107915a/goodbye.wav" type="audio/wav">
|
||||
<source src="_downloads/goodbye.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -715,7 +715,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/04d29715977ff8744aa96a0c02bee9cc/hello.wav" type="audio/wav">
|
||||
<source src="_downloads/hello.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -726,7 +726,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/d179305e8c4f3303a4e8d81470d31d66/hi.wav" type="audio/wav">
|
||||
<source src="_downloads/hi.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -737,7 +737,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/04470100c29fe28963c1ec294155c17f/lego.wav" type="audio/wav">
|
||||
<source src="_downloads/lego.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -748,7 +748,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/ebfbf138f94b02ee98c0dc4b48024f69/mindstorms.wav" type="audio/wav">
|
||||
<source src="_downloads/mindstorms.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -759,7 +759,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/a6c1130e01dd511c5db03b44e3b8ca82/morning.wav" type="audio/wav">
|
||||
<source src="_downloads/morning.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -770,7 +770,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/1b17c7c11fbd18719d4ed95896180b41/no.wav" type="audio/wav">
|
||||
<source src="_downloads/no.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -781,7 +781,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/c87eda5c4a6f0cc90b15d5298f3fd2e4/okay.wav" type="audio/wav">
|
||||
<source src="_downloads/okay.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -792,7 +792,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/63213245edef225194bf8a27d845306c/okey-dokey.wav" type="audio/wav">
|
||||
<source src="_downloads/okey-dokey.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -803,7 +803,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/51e56126d63130ceab8f3e117883d6c7/sorry.wav" type="audio/wav">
|
||||
<source src="_downloads/sorry.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -814,7 +814,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/fa960a507c5c19a5fa3ef68a3bf89006/thank_you.wav" type="audio/wav">
|
||||
<source src="_downloads/thank_you.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -825,7 +825,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/d8e1b79be55b12172c3cdb8dae87e500/yes.wav" type="audio/wav">
|
||||
<source src="_downloads/yes.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -839,7 +839,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/9ca3327caddb0984624cf897b3cab7a6/speed_down.wav" type="audio/wav">
|
||||
<source src="_downloads/speed_down.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -850,7 +850,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/ebae3bb4b8bea8c307f81454f8871369/speed_idle.wav" type="audio/wav">
|
||||
<source src="_downloads/speed_idle.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -861,7 +861,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/b9ba6804e4fc490b5991de59e18bbc27/speed_up.wav" type="audio/wav">
|
||||
<source src="_downloads/speed_up.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -874,7 +874,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/4ec641727ef967eae4094713799dcb87/black.wav" type="audio/wav">
|
||||
<source src="_downloads/black.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -885,7 +885,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/7c76ecd9d178acd347d180134c163d19/blue.wav" type="audio/wav">
|
||||
<source src="_downloads/blue.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -896,7 +896,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/9b8576ad237f5a909643c44d0e0f8fdb/brown.wav" type="audio/wav">
|
||||
<source src="_downloads/brown.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -907,7 +907,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/e7db31dd878f95fbd9450330cf307e61/green.wav" type="audio/wav">
|
||||
<source src="_downloads/green.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -918,7 +918,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/e01ec34c4c304b627ab6cad85cab4f3c/red.wav" type="audio/wav">
|
||||
<source src="_downloads/red.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -929,7 +929,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/4998b5d327d0ed0c47ed22bd54871d00/white.wav" type="audio/wav">
|
||||
<source src="_downloads/white.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -940,7 +940,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/5978ea64c468fcc6e29ef275bdd05c53/yellow.wav" type="audio/wav">
|
||||
<source src="_downloads/yellow.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -954,7 +954,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/9995ce699985b42f9e35d316bc1656ff/air_release.wav" type="audio/wav">
|
||||
<source src="_downloads/air_release.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -965,7 +965,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/a6ecee4507319bc7f7be0f4cf443f945/airbrake.wav" type="audio/wav">
|
||||
<source src="_downloads/airbrake.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -976,7 +976,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/8c9992be9bd53d991a9c68e345419ab4/backing_alert.wav" type="audio/wav">
|
||||
<source src="_downloads/backing_alert.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -987,7 +987,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/c933279fb74362bb2a8212e8a7d3c986/horn_1.wav" type="audio/wav">
|
||||
<source src="_downloads/horn_1.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -998,7 +998,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/4aff855ecbc8c1d1990644459b9e4691/horn_2.wav" type="audio/wav">
|
||||
<source src="_downloads/horn_2.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1009,7 +1009,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/c3dad0070eaf14f37c4fd833ee2582b6/laser.wav" type="audio/wav">
|
||||
<source src="_downloads/laser.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1020,7 +1020,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/9ad779fa443396bf655fa4941fa00555/motor_idle.wav" type="audio/wav">
|
||||
<source src="_downloads/motor_idle.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1031,7 +1031,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/4170a2f720d8fc69cbeb15884ef8005c/motor_start.wav" type="audio/wav">
|
||||
<source src="_downloads/motor_start.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1042,7 +1042,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/e53e1d13274a14350428c97b79cfef8f/motor_stop.wav" type="audio/wav">
|
||||
<source src="_downloads/motor_stop.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1053,7 +1053,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/5f15a075f732ecb59da6a2b567f022be/ratchet.wav" type="audio/wav">
|
||||
<source src="_downloads/ratchet.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1064,7 +1064,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/a3a9f5db7e771598a20e092029414a38/sonar.wav" type="audio/wav">
|
||||
<source src="_downloads/sonar.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1075,7 +1075,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/3d5ed9d439851dc0d9498198e3e607dd/tick_tack.wav" type="audio/wav">
|
||||
<source src="_downloads/tick_tack.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1089,7 +1089,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/4694c85a42f6a788cef83dbcfd98fcc3/cat_purr.wav" type="audio/wav">
|
||||
<source src="_downloads/cat_purr.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1100,7 +1100,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/c7da3202c16b18c6c8739d645616fc0a/dog_bark_1.wav" type="audio/wav">
|
||||
<source src="_downloads/dog_bark_1.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1111,7 +1111,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/5041f485aea84ceb556b3651cf28e29f/dog_bark_2.wav" type="audio/wav">
|
||||
<source src="_downloads/dog_bark_2.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1122,7 +1122,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/a50921fb985b4c3eb754a7acd0a1db3c/dog_growl.wav" type="audio/wav">
|
||||
<source src="_downloads/dog_growl.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1133,7 +1133,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/9aadf239f507defc6ab4b21f294c18e6/dog_sniff.wav" type="audio/wav">
|
||||
<source src="_downloads/dog_sniff.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1144,7 +1144,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/d02000b17efa8a07e5b4c543c9ded1aa/dog_whine.wav" type="audio/wav">
|
||||
<source src="_downloads/dog_whine.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1155,7 +1155,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/b1c1e431b258f0f6b0fb5bb046948bf2/elephant_call.wav" type="audio/wav">
|
||||
<source src="_downloads/elephant_call.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1166,7 +1166,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/f2a89bfce31f89c4c0a18f463b283ebd/insect_buzz_1.wav" type="audio/wav">
|
||||
<source src="_downloads/insect_buzz_1.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1177,7 +1177,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/5913cfa39dc1e67e809f76be8fd65f96/insect_buzz_2.wav" type="audio/wav">
|
||||
<source src="_downloads/insect_buzz_2.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1188,7 +1188,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/3addbcfc1952ae61cd9214cba29de3b8/insect_chirp.wav" type="audio/wav">
|
||||
<source src="_downloads/insect_chirp.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1199,7 +1199,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/20c3a57752c7bf1d0fd8019e334fd326/snake_hiss.wav" type="audio/wav">
|
||||
<source src="_downloads/snake_hiss.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1210,7 +1210,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/e80fda03977f450bbaf4a2aa6c546a57/snake_rattle.wav" type="audio/wav">
|
||||
<source src="_downloads/snake_rattle.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1221,7 +1221,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/04e91ebc628278165a9c5223a43c42d4/t-rex_roar.wav" type="audio/wav">
|
||||
<source src="_downloads/t-rex_roar.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1236,7 +1236,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/4a0dd703ccc0a39fa770d7452aceb75a/zero.wav" type="audio/wav">
|
||||
<source src="_downloads/zero.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1247,7 +1247,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/af38ef82b676e52aa3e4e19d8a3b266c/one.wav" type="audio/wav">
|
||||
<source src="_downloads/one.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1258,7 +1258,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/c7519408a5909c58b42fd5e2550ab3f0/two.wav" type="audio/wav">
|
||||
<source src="_downloads/two.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1269,7 +1269,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/fcdf73cd26b6b6ae425ecea7b6157a2e/three.wav" type="audio/wav">
|
||||
<source src="_downloads/three.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1280,7 +1280,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/f6a1e4321548226d3fa425a06f03f6ec/four.wav" type="audio/wav">
|
||||
<source src="_downloads/four.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1291,7 +1291,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/b89b2ae608016677c214d22660fd1810/five.wav" type="audio/wav">
|
||||
<source src="_downloads/five.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1302,7 +1302,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/cfbb82133b24cb22b9f6be2f72e8410b/six.wav" type="audio/wav">
|
||||
<source src="_downloads/six.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1313,7 +1313,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/b970687710cce4e4a61116e2fe4a165d/seven.wav" type="audio/wav">
|
||||
<source src="_downloads/seven.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1324,7 +1324,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/e8e13344d41e8e972019eba243905dd4/eight.wav" type="audio/wav">
|
||||
<source src="_downloads/eight.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1335,7 +1335,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/44877fe3b7ab43f0dfbdb1cb8473e50c/nine.wav" type="audio/wav">
|
||||
<source src="_downloads/nine.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1346,7 +1346,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/dfc2e6d07ce2e78043833c70a44658be/ten.wav" type="audio/wav">
|
||||
<source src="_downloads/ten.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1360,7 +1360,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/e2b0ba3e2187949a70d98d8586318268/click.wav" type="audio/wav">
|
||||
<source src="_downloads/click.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1371,7 +1371,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/7b517a25eb0c610d0c7b4b75585ca09d/confirm.wav" type="audio/wav">
|
||||
<source src="_downloads/confirm.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1382,7 +1382,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/989d1cc35edba4a15f7baf7e89daa950/general_alert.wav" type="audio/wav">
|
||||
<source src="_downloads/general_alert.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1393,7 +1393,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/1132af3a5999cb9f63da3af06cf2e5a0/overpower.wav" type="audio/wav">
|
||||
<source src="_downloads/overpower.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
@@ -1404,7 +1404,7 @@ Sound Files
|
||||
.. raw:: html
|
||||
|
||||
<audio controls="controls">
|
||||
<source src="_downloads/41b4038c31b97bbed12827b086b14f4a/ready.wav" type="audio/wav">
|
||||
<source src="_downloads/ready.wav" type="audio/wav">
|
||||
Your browser does not support the <code>audio</code> element.
|
||||
</audio>
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
color
|
||||
direction
|
||||
port
|
||||
side
|
||||
stop
|
||||
|
||||
.. pybricks-classlink:: Button
|
||||
@@ -23,7 +22,5 @@
|
||||
|
||||
.. pybricks-classlink:: Port
|
||||
|
||||
.. pybricks-classlink:: Side
|
||||
|
||||
.. pybricks-classlink:: Stop
|
||||
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
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
|
||||
@@ -18,7 +18,6 @@
|
||||
ultrasonicsensor
|
||||
forcesensor
|
||||
light
|
||||
remote
|
||||
|
||||
.. pybricks-classlink:: DCMotor
|
||||
|
||||
@@ -79,9 +78,3 @@
|
||||
.. figure:: ../../api/images/light.png
|
||||
:width: 90 %
|
||||
:target: light.html
|
||||
|
||||
.. pybricks-classlink:: Remote
|
||||
|
||||
.. figure:: ../../api/images/pupremote.png
|
||||
:width: 50 %
|
||||
:target: remote.html
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
Remote Control
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. figure:: ../../api/images/pupremote.png
|
||||
:width: 60 %
|
||||
|
||||
.. autoclass:: pybricks.pupdevices.Remote
|
||||
:no-members:
|
||||
|
||||
.. autoattribute:: pybricks.pupdevices::Remote.address
|
||||
:annotation:
|
||||
|
||||
.. automethod:: pybricks.pupdevices::Remote.light.on
|
||||
|
||||
.. automethod:: pybricks.pupdevices::Remote.light.off
|
||||
|
||||
.. automethod:: pybricks.pupdevices::Remote.buttons.pressed
|
||||
|
||||
.. note::
|
||||
|
||||
The ``light`` and ``address`` features are not yet supported.
|
||||
|
||||
Examples
|
||||
-------------------
|
||||
|
||||
Check which buttons are pressed
|
||||
*******************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/remote/basics.py
|
||||
@@ -1,14 +1,3 @@
|
||||
# 1.5.0 - 2021-07-01
|
||||
|
||||
## Added:
|
||||
- Documentation for Powered Up Remote Control.
|
||||
|
||||
# 1.4.0 - 2021-06-23
|
||||
|
||||
## Added:
|
||||
- Enabled beta content that was hidden for the 3.0 release.
|
||||
- Added notice about using the latest beta version.
|
||||
|
||||
# 1.3.3 - 2021-05-21
|
||||
|
||||
## Changed:
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
.. include:: ../api/geometry.rst
|
||||
@@ -10,7 +10,6 @@
|
||||
movehub
|
||||
cityhub
|
||||
technichub
|
||||
primehub
|
||||
|
||||
.. pybricks-classlink:: MoveHub
|
||||
|
||||
@@ -30,14 +29,3 @@
|
||||
:height: 10 em
|
||||
:target: technichub.html
|
||||
|
||||
.. pybricks-classlink:: PrimeHub
|
||||
|
||||
.. figure:: ../../api/images/primehub.png
|
||||
:height: 10 em
|
||||
:target: primehub.html
|
||||
|
||||
.. pybricks-classlink:: InventorHub
|
||||
|
||||
.. figure:: ../../api/images/inventorhub.png
|
||||
:height: 10 em
|
||||
:target: primehub.html
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
.. include:: ../../api/hubs/primehub.rst
|
||||
+1
-14
@@ -12,7 +12,6 @@ Pybricks Documentation
|
||||
parameters/index
|
||||
tools/index
|
||||
robotics
|
||||
geometry
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
@@ -22,16 +21,6 @@ Pybricks Documentation
|
||||
signaltypes
|
||||
motors
|
||||
|
||||
.. note::
|
||||
|
||||
**You are using a new beta version of Pybricks!**
|
||||
|
||||
This is great for trying the very latest features, but some things
|
||||
might not work.
|
||||
|
||||
If in doubt, use the `latest stable release`_. Please report any
|
||||
issues via our `support page`_. Thanks!
|
||||
|
||||
To begin, install the Pybricks firmware on your hub. Check
|
||||
`pybricks.com/install`_ to learn how.
|
||||
|
||||
@@ -40,7 +29,7 @@ commonly used devices and classes are listed below for quick reference.
|
||||
|
||||
.. rubric:: Programmable Hubs
|
||||
|
||||
.. figure:: ../api/images/hubsoverview.png
|
||||
.. figure:: ../api/images/powereduphubs.png
|
||||
:width: 100 %
|
||||
:target: hubs/index.html
|
||||
|
||||
@@ -51,5 +40,3 @@ commonly used devices and classes are listed below for quick reference.
|
||||
:target: pupdevices/index.html
|
||||
|
||||
.. _pybricks.com/install: https://pybricks.com/install/
|
||||
.. _latest stable release: https://www.code.pybricks.com/
|
||||
.. _support page: https://github.com/pybricks/support
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pybricks/ide-docs",
|
||||
"version": "1.5.0",
|
||||
"version": "1.3.3",
|
||||
"description": "Special build of Pybricks API docs for embedding in an IDE.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
.. include:: ../../api/parameters/button.rst
|
||||
@@ -1 +1,23 @@
|
||||
.. include:: ../../api/parameters/index.rst
|
||||
:mod:`parameters <pybricks.parameters>` -- Parameters and Constants
|
||||
===================================================================
|
||||
|
||||
.. automodule:: pybricks.parameters
|
||||
:no-members:
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:hidden:
|
||||
|
||||
color
|
||||
direction
|
||||
port
|
||||
stop
|
||||
|
||||
.. pybricks-classlink:: Color
|
||||
|
||||
.. pybricks-classlink:: Direction
|
||||
|
||||
.. pybricks-classlink:: Port
|
||||
|
||||
.. pybricks-classlink:: Stop
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
.. include:: ../../api/parameters/side.rst
|
||||
@@ -1 +0,0 @@
|
||||
.. include:: ../../api/pupdevices/remote.rst
|
||||
@@ -1,20 +0,0 @@
|
||||
from pybricks.pupdevices import Remote
|
||||
from pybricks.parameters import Button
|
||||
from pybricks.tools import wait
|
||||
|
||||
# Connect to the remote.
|
||||
my_remote = Remote()
|
||||
|
||||
while True:
|
||||
# Check which buttons are pressed.
|
||||
pressed = my_remote.buttons.pressed()
|
||||
|
||||
# Show the result.
|
||||
print("pressed:", pressed)
|
||||
|
||||
# Check a specific button.
|
||||
if Button.CENTER in pressed:
|
||||
print("You pressed the center button!")
|
||||
|
||||
# Wait so we can see the result.
|
||||
wait(100)
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "pybricks"
|
||||
version = "3.1.0a1"
|
||||
version = "3.0.0-rc.1"
|
||||
description = "Documentation and user-API stubs for Pybricks MicroPython"
|
||||
authors = ["The Pybricks Authors <dev@pybricks.com>"]
|
||||
maintainers = ["Laurens Valk <laurens@pybricks.com>", "David Lechner <david@pybricks.com>" ]
|
||||
|
||||
Reference in New Issue
Block a user