Accelerometer¶
-
class
wpilib.interfaces.
Accelerometer
[source]¶ Bases:
object
Interface for 3-axis accelerometers
-
getX
()[source]¶ Common interface for getting the x axis acceleration
Returns: The acceleration along the x axis in g-forces
-
getY
()[source]¶ Common interface for getting the y axis acceleration
Returns: The acceleration along the y axis in g-forces
-