VEX V5 Python API
|
Public Member Functions | |
def | __init__ (self, parent, id) |
Use the axis class to get axis values from the controllers joystick. More... | |
def | value (self) |
Gets the value of the axis. More... | |
def | position (self, percentUnits=PercentUnits.PCT) |
Gets the position of the axis. More... | |
def vex.ControllerAxis.__init__ | ( | self, | |
parent, | |||
id | |||
) |
Use the axis class to get axis values from the controllers joystick.
def vex.ControllerAxis.value | ( | self | ) |
Gets the value of the axis.
def vex.ControllerAxis.position | ( | self, | |
percentUnits = PercentUnits.PCT |
|||
) |
Gets the position of the axis.
percentUnits | The type of unit that should be returned. |