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 QGyroscopeReading(parent)
Parameters

parentQObject

PySide2.QtSensors.QGyroscopeReading.setX(x)
Parameters

xqreal

Sets the angular velocity around the x axis to x .

See also

x()

PySide2.QtSensors.QGyroscopeReading.setY(y)
Parameters

yqreal

Sets the angular velocity around the y axis to y .

See also

y()

PySide2.QtSensors.QGyroscopeReading.setZ(z)
Parameters

zqreal

Sets the angular velocity around the z axis to z .

See also

z()

PySide2.QtSensors.QGyroscopeReading.x()
Return type

qreal

See also

setX()

PySide2.QtSensors.QGyroscopeReading.y()
Return type

qreal

See also

setY()

PySide2.QtSensors.QGyroscopeReading.z()
Return type

qreal

See also

setZ()