内容表

上一话题

QGyroscopeFilter

下一话题

QHolsterFilter

QGyroscopeReading

QGyroscopeReading class represents one reading from the gyroscope sensor. 更多

Inheritance diagram of PySide2.QtSensors.QGyroscopeReading

概要

函数

详细描述

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 )
参数

parent QObject

PySide2.QtSensors.QGyroscopeReading. setX ( x )
参数

x qreal

Sets the angular velocity around the x axis to x .

另请参阅

x()

PySide2.QtSensors.QGyroscopeReading. setY ( y )
参数

y qreal

Sets the angular velocity around the y axis to y .

另请参阅

y()

PySide2.QtSensors.QGyroscopeReading. setZ ( z )
参数

z qreal

Sets the angular velocity around the z axis to z .

另请参阅

z()

PySide2.QtSensors.QGyroscopeReading. x ( )
返回类型

qreal

另请参阅

setX()

PySide2.QtSensors.QGyroscopeReading. y ( )
返回类型

qreal

另请参阅

setY()

PySide2.QtSensors.QGyroscopeReading. z ( )
返回类型

qreal

另请参阅

setZ()