QGyroscopeReading露

The QGyroscopeReading class represents one reading from the gyroscope sensor. More鈥�

Inheritance diagram of PySide2.QtSensors.QGyroscopeReading

Synopsis露

Functions露

Detailed Description露

QGyroscopeReading Units露

The reading contains 3 values, measured in degrees per second that define the movement of the device around the x, y and z axes. Unlike QRotationReading , the values represent the current angular velocity rather than a fixed rotation. The measurements are in degrees per second.

../../_images/sensors-coordinates3.jpg
class PySide2.QtSensors.QGyroscopeReading(parent)露
Parameters:

parent 鈥� PySide2.QtCore.QObject

PySide2.QtSensors.QGyroscopeReading.setX(x)露
Parameters:

x 鈥� float

Sets the angular velocity around the x axis to x .

See also

x()

PySide2.QtSensors.QGyroscopeReading.setY(y)露
Parameters:

y 鈥� float

Sets the angular velocity around the y axis to y .

See also

y()

PySide2.QtSensors.QGyroscopeReading.setZ(z)露
Parameters:

z 鈥� float

Sets the angular velocity around the z axis to z .

See also

z()

PySide2.QtSensors.QGyroscopeReading.x()露
Return type:

float

This property holds the angular velocity around the x axis..

Measured as degrees per second.

See also

QGyroscopeReading Units

PySide2.QtSensors.QGyroscopeReading.y()露
Return type:

float

This property holds the angular velocity around the y axis..

Measured as degrees per second.

See also

QGyroscopeReading Units

PySide2.QtSensors.QGyroscopeReading.z()露
Return type:

float

This property holds the angular velocity around the z axis..

Measured as degrees per second.

See also

QGyroscopeReading Units