MagnetometerData Struct Reference

Attributes

bool available
 Indicates if mag data is available More...
 
ulong timestamp
 mag Data timestamp in ns More...
 
Vector3 magneticField
 Magnetic field calibrated values in uT More...
 
Vector3 magneticFieldUncalibrated
 Magnetic field raw values in uT More...
 
float magneticHeading
 The camera heading in degrees relative to the magnetic North Pole. note: The magnetic North Pole has an offset with respect to the geographic North Pole, depending on the geographic position of the camera. To get a correct magnetic heading the magnetometer sensor must be calibrated using the ZED Sensor Viewer tool More...
 
HEADING_STATE magnetic_heading_state
 The state of the /ref magnetic_heading value More...
 
float magnetic_heading_accuracy
 The accuracy of the magnetic heading measure in the range [0.0,1.0]. A negative value means that the magnetometer must be calibrated using the ZED Sensor Viewer tool More...
 

Variables

◆ available

bool available

Indicates if mag data is available

◆ timestamp

ulong timestamp

mag Data timestamp in ns

◆ magneticField

Vector3 magneticField

Magnetic field calibrated values in uT

◆ magneticFieldUncalibrated

Vector3 magneticFieldUncalibrated

Magnetic field raw values in uT

◆ magneticHeading

float magneticHeading

The camera heading in degrees relative to the magnetic North Pole. note: The magnetic North Pole has an offset with respect to the geographic North Pole, depending on the geographic position of the camera. To get a correct magnetic heading the magnetometer sensor must be calibrated using the ZED Sensor Viewer tool

◆ magnetic_heading_state

HEADING_STATE magnetic_heading_state

The state of the /ref magnetic_heading value

◆ magnetic_heading_accuracy

float magnetic_heading_accuracy

The accuracy of the magnetic heading measure in the range [0.0,1.0]. A negative value means that the magnetometer must be calibrated using the ZED Sensor Viewer tool