VEX EDR Python API
|
Config Gyro. More...
Public Member Functions | |
def | __init__ (self, analognum) |
def | gyro_degrees (self) |
Get the gyro angle, in degrees. More... | |
def | raw_value (self) |
Get the raw readout from the sensor. More... | |
def | percent (self) |
Get the calibrated reading, in percent [0...100]. More... | |
Config Gyro.
analognum | analog port the sensor is connected to (1-8) |
def vex.GyroSensor.__init__ | ( | self, | |
analognum | |||
) |
Reimplemented from vex.AnalogSensor.
def vex.GyroSensor.gyro_degrees | ( | self | ) |
Get the gyro angle, in degrees.
|
inherited |
Get the raw readout from the sensor.
|
inherited |
Get the calibrated reading, in percent [0...100].