Module GyroSensor :: Class GyroSensor
[frames] | no frames]

Class GyroSensor

source code

GenericSensor.GenericSensor --+
                              |
                             GyroSensor

Instance Methods
 
__init__(self, port) source code
 
getValue(self)
Returns list of [angle, rotation speed] values or None, if detection fails.
source code
 
getAngle(self)
Returns the angle position (in degrees) or None, if detection fails.
source code
 
getRate(self)
Returns the rotation speed (degrees per seconds) or None, if detection fails.
source code

Inherited from GenericSensor.GenericSensor: getPortId, getPortLabel

Method Details

__init__(self, port)
(Constructor)

source code 
Overrides: GenericSensor.GenericSensor.__init__