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 |
The structure of result on compass commands.
int resultcmd |
Indicates the result of any command. The command type at transmission is set.
int exec_result |
The command execution result is set.
int errcode |
A detailed code of the command execution result is set.
float azimuth |
Indicates calculation of azimuth from input sensor data. The unit is[rad]. (*)No deviation correction.
float pitch |
Indicates calculation of pitch attitude from input sensor data. The unit is[rad].
float roll |
Indicates calculation of roll attitude from input sensor data. The unit is[rad].
float decl |
Argument angle. The unit is[rad]. (*)Use Azimuth - Decl
int acc_azimuth |
Return the azimuth accuracy level. [0 - 3]
int calib_lv |
Return the calibration accuracy level. [0 - 3]