Developer World
Spresense SDK Library v3.2.0-ebc0364
CompassData Struct Reference

the structure of Compass results. the result is returned only when COMPASS_CMD_UPDATE_MAG is specified as the command type. More...

#include <compass_command.h>

Public Attributes

float azimuth
 
float pitch
 
float roll
 
float decl
 
int acc_azimuth
 
int calib_lv
 

Detailed Description

the structure of Compass results. the result is returned only when COMPASS_CMD_UPDATE_MAG is specified as the command type.

Member Data Documentation

◆ azimuth

float azimuth

Indicates calculation of azimuth from input sensor data. The unit is[rad]. (*)No deviation correction.

◆ pitch

float pitch

Indicates calculation of pitch attitude from input sensor data. The unit is[rad].

◆ roll

float roll

Indicates calculation of roll attitude from input sensor data. The unit is[rad].

◆ decl

float decl

Argument angle. The unit is[rad]. (*)Use Azimuth - Decl

◆ acc_azimuth

int acc_azimuth

Return the azimuth accuracy level. [0 - 3]

◆ calib_lv

int calib_lv

Return the calibration accuracy level. [0 - 3]


The documentation for this struct was generated from the following file: