QAltimeterReading

The QAltimeterReading class holds readings from the altimeter sensor. More

Inheritance diagram of PySide2.QtSensors.QAltimeterReading

Synopsis

Functions

Detailed Description

The altitude is reported in meters relative to mean sea level.

class PySide2.QtSensors.QAltimeterReading(parent)
Parameters:

parentPySide2.QtCore.QObject

PySide2.QtSensors.QAltimeterReading.altitude()
Return type:

float

This property holds The altitude in meters relative to mean sea level..

PySide2.QtSensors.QAltimeterReading.setAltitude(altitude)
Parameters:

altitude – float

Sets the altitude to altitude .

See also

altitude()