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

The structure of result on compass commands. More...

#include <compass.h>

Public Attributes

int resultcmd
 
int exec_result
 
int errcode
 
float azimuth
 
float pitch
 
float roll
 
float decl
 
int acc_azimuth
 
int calib_lv
 

Detailed Description

The structure of result on compass commands.

Member Data Documentation

◆ resultcmd

int resultcmd

Indicates the result of any command. The command type at transmission is set.

◆ exec_result

int exec_result

The command execution result is set.

◆ errcode

int errcode

A detailed code of the command execution result is set.

◆ 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: