Exemplo n.º 1
0
 def getX(self):
     """
        :returns: The acceleration of the RoboRIO along the X axis in
                  g-forces
        :rtype: float
     """
     return hal.getAccelerometerX()
Exemplo n.º 2
0
 def getX(self) -> float:
     """
        :returns: The acceleration of the roboRIO along the X axis in
                  g-forces
     """
     return hal.getAccelerometerX()