38 static const uint32_t
VSSP_MARK = (
'V' << 0) | (
'S' << 8) | (
'S' << 16) | (
'P' << 24);
39 static const uint32_t
STATUS_OK = (
'0' << 0) | (
'0' << 8) | (
'0' << 16) | (0xA << 24);
47 static const uint32_t
TYPE_GET = (
'G' << 0) | (
'E' << 8) | (
'T' << 16) | (
':' << 24);
48 static const uint32_t
TYPE_SET = (
'S' << 0) | (
'E' << 8) | (
'T' << 16) | (
':' << 24);
49 static const uint32_t
TYPE_DAT = (
'D' << 0) | (
'A' << 8) | (
'T' << 16) | (
':' << 24);
50 static const uint32_t
TYPE_VER = (
'V' << 0) | (
'E' << 8) | (
'R' << 16) | (
':' << 24);
51 static const uint32_t
TYPE_PNG = (
'P' << 0) | (
'N' << 8) | (
'G' << 16) | (
':' << 24);
52 static const uint32_t
TYPE_ERR = (
'E' << 0) | (
'R' << 8) | (
'R' << 16) | (
':' << 24);
53 static const uint32_t
TYPE_RI = (
'_' << 0) | (
'r' << 8) | (
'i' << 16) | (
':' << 24);
54 static const uint32_t
TYPE_RO = (
'_' << 0) | (
'r' << 8) | (
'o' << 16) | (
':' << 24);
55 static const uint32_t
TYPE_AX = (
'_' << 0) | (
'a' << 8) | (
'x' << 16) | (
':' << 24);
56 static const uint32_t
TYPE_ER = (
'_' << 0) | (
'e' << 8) | (
'r' << 16) | (
':' << 24);
142 return k_[
static_cast<int>(id)];
169 XYZI(
const double& v_sin,
const double& v_cos,
const double& h_sin,
const double& h_cos)
210 ang_vel.
x = ang_vel.
y = ang_vel.
z = 0.0;
211 lin_acc.
x = lin_acc.
y = lin_acc.
z = 0.0;
212 mag.
x = mag.
y = mag.
z = 0.0;
217 return operator[](
id);
244 throw "Invalid AUX data id";
248 static const double G = 9.807;
249 static const double DEG = (M_PI / 180.0);
257 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
258 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
259 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
261 0.6e-6, 0.6e-6, 0.6e-6,
262 G / 8192.0, G / 8192.0, G / 8192.0,
263 DEG / 65.5, DEG / 65.5, DEG / 65.5
static const uint32_t TYPE_PNG
static const uint32_t STATUS_COMMAND_INVALID
static const uint32_t TYPE_SET
static const uint32_t AX_MASK_MAG
static const uint32_t STATUS_COMMUNICATION_FAILURE
static const uint32_t STATUS_COMMAND_OUT_OF_RANGE
static const uint32_t TYPE_AX
static const uint32_t AX_MASK_ANGVEL
XYZI operator*(const DataRangeIntensity &data) const
double operator[](AuxId id) const
static const AuxFactorArray AUX_FACTOR_DEFAULT
XYZI(const double &v_sin, const double &v_cos, const double &h_sin, const double &h_cos)
double operator[](AuxId id) const
static const uint32_t STATUS_COMMAND_UNKNOWN
static const uint32_t TYPE_RI
static const uint32_t STATUS_UNKNOWN_ERROR
static const uint32_t AX_MASK_LINACC
static const uint32_t TYPE_ERR
static const uint32_t TYPE_DAT
static const uint32_t TYPE_RO
static const uint32_t TYPE_ER
const RangeHeaderV2R1 RANGE_HEADER_V2R1_DEFAULT
static const uint32_t STATUS_OK
static const uint32_t STATUS_COMMAND_INVALUD_METHOD
static const uint32_t VSSP_MARK
static const uint32_t TYPE_VER
double & operator[](AuxId id)
XYZI operator*(const DataRangeOnly &data) const
static const uint32_t TYPE_GET