You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/docs/software/hardware-apis/sensors/accelerometers-software.rst
+22-30Lines changed: 22 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,27 +55,19 @@ The :code:`AnalogAccelerometer` class (`Java <https://github.wpilib.org/allwpili
55
55
56
56
If users have a 3-axis analog accelerometer, they can use three instances of this class, one for each axis.
57
57
58
-
59
-
The Accelerometer interface
60
-
---------------------------
61
-
62
-
All 3-axis accelerometers in WPILib implement the :code:`Accelerometer` interface (`Java <https://github.wpilib.org/allwpilib/docs/release/java/edu/wpi/first/wpilibj/interfaces/Accelerometer.html>`__, `C++ <https://github.wpilib.org/allwpilib/docs/release/cpp/classfrc_1_1_accelerometer.html>`__). This interface defines functionality and settings common to all supported 3-axis accelerometers.
63
-
64
-
The :code:`Accelerometer` interface contains getters for the acceleration along each cardinal direction (x, y, and z), as well as a setter for the range of accelerations the accelerometer will measure.
65
-
66
-
.. warning:: Not all accelerometers are capable of measuring all ranges.
58
+
There are getters for the acceleration along each cardinal direction (x, y, and z), as well as a setter for the range of accelerations the accelerometer will measure.
67
59
68
60
.. tabs::
69
61
70
62
.. code-tab:: java
71
63
72
64
// Sets the accelerometer to measure between -8 and 8 G's
0 commit comments