コード例 #1
0
 def getX(self):
     """
        :returns: The acceleration of the RoboRIO along the X axis in
                  g-forces
        :rtype: float
     """
     return hal.getAccelerometerX()
コード例 #2
0
 def getX(self) -> float:
     """
        :returns: The acceleration of the roboRIO along the X axis in
                  g-forces
     """
     return hal.getAccelerometerX()