QGyroscopeReading¶
The
QGyroscopeReading
class represents one reading from the gyroscope sensor. More…
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.
- 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
- PySide2.QtSensors.QGyroscopeReading.setY(y)¶
- Parameters:
y – float
Sets the angular velocity around the y axis to
y
.See also
- PySide2.QtSensors.QGyroscopeReading.setZ(z)¶
- Parameters:
z – float
Sets the angular velocity around the z axis to
z
.See also
- 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
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.