Skip to content

Commit 94c659b

Browse files
committed
pybricks.geometry: Hide module and IMU examples.
This is not part of the upcoming release. Hiding is nicer than adding not-ready disclaimers throughout, especially since this information is very easy to access via our beta channel.
1 parent 9c0298b commit 94c659b

3 files changed

Lines changed: 4 additions & 51 deletions

File tree

doc/common/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@
266266
'ev3devices.rst',
267267
'hubs/ev3brick.rst',
268268
'hubs/primehub.rst',
269+
'geometry.rst',
269270
'iodevices/analogsensor.rst',
270271
'iodevices/dcmotor.rst',
271272
'iodevices/ev3devsensor.rst',

doc/main/hubs/technichub.rst

Lines changed: 3 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ Technic Hub
66
.. figure:: ../../main/images/technichub.png
77
:height: 15 em
88

9-
.. autoclass:: pybricks.hubs.TechnicHub
10-
:no-members:
9+
.. class:: TechnicHub
10+
11+
LEGO® Technic Hub.
1112

1213
.. rubric:: Using the hub status light
1314

@@ -19,20 +20,6 @@ Technic Hub
1920

2021
.. automethod:: pybricks.hubs::TechnicHub.light.animate
2122

22-
.. rubric:: Using the IMU
23-
24-
.. automethod:: pybricks.hubs::TechnicHub.imu.up
25-
26-
.. automethod:: pybricks.hubs::TechnicHub.imu.tilt
27-
28-
.. automethod:: pybricks.hubs::TechnicHub.imu.acceleration
29-
30-
.. automethod:: pybricks.hubs::TechnicHub.imu.angular_velocity
31-
32-
.. automethod:: pybricks.hubs::TechnicHub.imu.heading
33-
34-
.. automethod:: pybricks.hubs::TechnicHub.imu.reset_heading
35-
3623
.. rubric:: Using the battery
3724

3825
.. automethod:: pybricks.hubs::TechnicHub.battery.voltage
@@ -78,40 +65,6 @@ Creating light animations
7865
.. literalinclude::
7966
../../../examples/pup/hub_technichub/light_animate.py
8067

81-
IMU examples
82-
---------------
83-
84-
Testing which way is up
85-
********************************
86-
87-
.. literalinclude::
88-
../../../examples/pup/hub_technichub/imu_up.py
89-
90-
91-
Reading the tilt value
92-
********************************
93-
94-
.. literalinclude::
95-
../../../examples/pup/hub_technichub/imu_tilt.py
96-
97-
Using a custom hub orientation
98-
**************************************************
99-
100-
.. literalinclude::
101-
../../../examples/pup/hub_technichub/imu_tilt_blast.py
102-
103-
Reading acceleration and angular velocity vectors
104-
**************************************************
105-
106-
.. literalinclude::
107-
../../../examples/pup/hub_technichub/imu_read_vector.py
108-
109-
Reading acceleration and angular velocity on one axis
110-
*****************************************************
111-
112-
.. literalinclude::
113-
../../../examples/pup/hub_technichub/imu_read_scalar.py
114-
11568
Button and system examples
11669
----------------------------------
11770

doc/main/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ Pybricks Documentation
100100
parameters/index
101101
tools/index
102102
robotics
103-
geometry
104103
signaltypes
105104

106105
.. toctree::

0 commit comments

Comments
 (0)