MIP_SDK
v3.0.0
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
16 namespace data_sensor {
87 static constexpr
const char*
NAME =
"RawAccel";
88 static constexpr
const char*
DOC_NAME =
"RawAccel";
125 static constexpr
const char*
NAME =
"RawGyro";
163 static constexpr
const char*
NAME =
"RawMag";
201 static constexpr
const char*
NAME =
"RawPressure";
202 static constexpr
const char*
DOC_NAME =
"RawPressure";
239 static constexpr
const char*
NAME =
"ScaledAccel";
240 static constexpr
const char*
DOC_NAME =
"ScaledAccel";
277 static constexpr
const char*
NAME =
"ScaledGyro";
278 static constexpr
const char*
DOC_NAME =
"ScaledGyro";
315 static constexpr
const char*
NAME =
"ScaledMag";
316 static constexpr
const char*
DOC_NAME =
"ScaledMag";
352 static constexpr
const char*
NAME =
"ScaledPressure";
353 static constexpr
const char*
DOC_NAME =
"ScaledPressure";
390 static constexpr
const char*
NAME =
"DeltaTheta";
391 static constexpr
const char*
DOC_NAME =
"DeltaTheta";
428 static constexpr
const char*
NAME =
"DeltaVelocity";
429 static constexpr
const char*
DOC_NAME =
"DeltaVelocity";
475 static constexpr
const char*
NAME =
"CompOrientationMatrix";
476 static constexpr
const char*
DOC_NAME =
"Complementary Filter Orientation Matrix";
481 return std::make_tuple(
m[0],
m[1],
m[2],
m[3],
m[4],
m[5],
m[6],
m[7],
m[8]);
486 return std::make_tuple(std::ref(
m[0]),std::ref(
m[1]),std::ref(
m[2]),std::ref(
m[3]),std::ref(
m[4]),std::ref(
m[5]),std::ref(
m[6]),std::ref(
m[7]),std::ref(
m[8]));
520 static constexpr
const char*
NAME =
"CompQuaternion";
521 static constexpr
const char*
DOC_NAME =
"Complementary Filter Quaternion";
526 return std::make_tuple(
q[0],
q[1],
q[2],
q[3]);
531 return std::make_tuple(std::ref(
q[0]),std::ref(
q[1]),std::ref(
q[2]),std::ref(
q[3]));
560 static constexpr
const char*
NAME =
"CompEulerAngles";
561 static constexpr
const char*
DOC_NAME =
"Complementary Filter Euler Angles";
571 return std::make_tuple(std::ref(
roll),std::ref(
pitch),std::ref(
yaw));
597 static constexpr
const char*
NAME =
"CompOrientationUpdateMatrix";
598 static constexpr
const char*
DOC_NAME =
"Complementary Filter Orientation Update Matrix";
603 return std::make_tuple(
m[0],
m[1],
m[2],
m[3],
m[4],
m[5],
m[6],
m[7],
m[8]);
608 return std::make_tuple(std::ref(
m[0]),std::ref(
m[1]),std::ref(
m[2]),std::ref(
m[3]),std::ref(
m[4]),std::ref(
m[5]),std::ref(
m[6]),std::ref(
m[7]),std::ref(
m[8]));
634 static constexpr
const char*
NAME =
"OrientationRawTemp";
635 static constexpr
const char*
DOC_NAME =
"OrientationRawTemp";
645 return std::make_tuple(std::ref(
raw_temp));
671 static constexpr
const char*
NAME =
"InternalTimestamp";
672 static constexpr
const char*
DOC_NAME =
"InternalTimestamp";
677 return std::make_tuple(
counts);
682 return std::make_tuple(std::ref(
counts));
709 static constexpr
const char*
NAME =
"PpsTimestamp";
710 static constexpr
const char*
DOC_NAME =
"PPS Timestamp";
762 operator uint16_t()
const {
return value; }
790 static constexpr
const char*
NAME =
"GpsTimestamp";
791 static constexpr
const char*
DOC_NAME =
"GpsTimestamp";
833 static constexpr
const char*
NAME =
"TemperatureAbs";
834 static constexpr
const char*
DOC_NAME =
"Temperature Statistics";
876 static constexpr
const char*
NAME =
"UpVector";
877 static constexpr
const char*
DOC_NAME =
"UpVector";
882 return std::make_tuple(
up[0],
up[1],
up[2]);
887 return std::make_tuple(std::ref(
up[0]),std::ref(
up[1]),std::ref(
up[2]));
916 static constexpr
const char*
NAME =
"NorthVector";
917 static constexpr
const char*
DOC_NAME =
"NorthVector";
927 return std::make_tuple(std::ref(
north[0]),std::ref(
north[1]),std::ref(
north[2]));
967 operator uint16_t()
const {
return value; }
1003 static constexpr
const char*
NAME =
"OverrangeStatus";
1004 static constexpr
const char*
DOC_NAME =
"OverrangeStatus";
1009 return std::make_tuple(
status);
1014 return std::make_tuple(std::ref(
status));
1041 static constexpr
const char*
NAME =
"OdometerData";
1042 static constexpr
const char*
DOC_NAME =
"OdometerData";
Matrix3f m
Parameters.
Definition: data_sensor.hpp:469
@ DATA_PRESSURE_RAW
Definition: data_sensor.hpp:53
auto asTuple()
Definition: data_sensor.hpp:484
@ DATA_COMP_EULER_ANGLES
Definition: data_sensor.hpp:44
Vector3f north
Parameters.
Definition: data_sensor.hpp:910
Definition: data_sensor.hpp:625
auto asTuple() const
Definition: data_sensor.hpp:524
void extract(Serializer &serializer)
Definition: data_sensor.cpp:28
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:878
static constexpr const char * NAME
Definition: data_sensor.hpp:163
@ DATA_ACCEL_RAW
Definition: data_sensor.hpp:33
void extract(Serializer &serializer)
Definition: data_sensor.cpp:216
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:917
void extract(Serializer &serializer)
Definition: data_sensor.cpp:116
void extract(Serializer &serializer)
Definition: data_sensor.cpp:233
void extract(Serializer &serializer)
Definition: data_sensor.cpp:304
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:23
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
auto asTuple() const
Definition: data_sensor.hpp:281
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:874
@ DATA_COMP_ORIENTATION_MATRIX
Definition: data_sensor.hpp:41
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:522
@ MAG_X
Definition: data_sensor.hpp:957
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:389
void extract(Serializer &serializer)
Definition: data_sensor.cpp:179
auto asTuple() const
Definition: data_sensor.hpp:167
float uncertainty
Uncertainty of velocity [m/s].
Definition: data_sensor.hpp:1034
Definition: data_sensor.hpp:1030
static constexpr const char * NAME
Definition: data_sensor.hpp:833
uint16_t value
Definition: data_sensor.hpp:963
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:599
auto asTuple()
Definition: data_sensor.hpp:1050
float max_temp
[degC]
Definition: data_sensor.hpp:826
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:124
auto asTuple()
Definition: data_sensor.hpp:96
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:1043
Status & operator=(uint16_t val)
Definition: data_sensor.hpp:968
auto asTuple()
Definition: data_sensor.hpp:134
@ DATA_COMP_QUATERNION
Definition: data_sensor.hpp:42
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:89
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:1004
Serializes or deserializes data to/from a byte buffer.
Definition: serializer.hpp:125
uint32_t useconds
Definition: data_sensor.hpp:703
auto asTuple()
Definition: data_sensor.hpp:399
static constexpr const char * NAME
Definition: data_sensor.hpp:597
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:123
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:100
static constexpr const char * NAME
Definition: data_sensor.hpp:709
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:392
auto asTuple() const
Definition: data_sensor.hpp:129
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:670
void extract(Serializer &serializer)
Definition: data_sensor.cpp:105
auto asTuple()
Definition: data_sensor.hpp:248
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:832
bool towValid() const
Definition: data_sensor.hpp:774
static constexpr const char * NAME
Definition: data_sensor.hpp:315
auto asTuple() const
Definition: data_sensor.hpp:837
static constexpr const char * NAME
Definition: data_sensor.hpp:277
@ ALL
Definition: data_sensor.hpp:961
@ DATA_PRESSURE_SCALED
Definition: data_sensor.hpp:54
ValidFlags()
Definition: data_sensor.hpp:760
auto asTuple() const
Definition: data_sensor.hpp:638
float scaled_pressure
Parameters.
Definition: data_sensor.hpp:346
bool allSet() const
Definition: data_sensor.hpp:778
@ MIP_DATA_DESC_ASPP
Definition: data_sensor.hpp:58
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:559
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:56
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:631
Status(int val)
Definition: data_sensor.hpp:966
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:122
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:351
Definition: data_sensor.hpp:116
bool accelX() const
Definition: data_sensor.hpp:973
void setAll()
Definition: data_sensor.hpp:779
static constexpr const char * NAME
Definition: data_sensor.hpp:201
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:834
@ DATA_DELTA_VELOCITY
Definition: data_sensor.hpp:40
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:474
void timeInitialized(bool val)
Definition: data_sensor.hpp:773
@ GYRO_Y
Definition: data_sensor.hpp:955
@ ACCEL_Z
Definition: data_sensor.hpp:953
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:316
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:133
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:312
uint32_t counts
Parameters.
Definition: data_sensor.hpp:665
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:276
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:317
Definition: data_sensor.hpp:230
Status status
Parameters.
Definition: data_sensor.hpp:997
void accelZ(bool val)
Definition: data_sensor.hpp:978
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:476
auto asTuple() const
Definition: data_sensor.hpp:794
Status & operator=(int val)
Definition: data_sensor.hpp:969
void press(bool val)
Definition: data_sensor.hpp:992
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:162
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:241
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:224
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:295
@ TOW_VALID
True if the time of week is valid.
Definition: data_sensor.hpp:754
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:349
double tow
Parameters.
Definition: data_sensor.hpp:782
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:1005
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:633
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:1042
void extract(Serializer &serializer)
Definition: data_sensor.cpp:83
auto asTuple() const
Definition: data_sensor.hpp:713
ValidFlags(int val)
Definition: data_sensor.hpp:761
Definition: data_sensor.hpp:549
@ DATA_ACCEL_SCALED
Definition: data_sensor.hpp:36
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:830
static constexpr const char * NAME
Definition: data_sensor.hpp:239
@ DATA_TIME_STAMP_GPS
Definition: data_sensor.hpp:50
void timeRefresh(bool val)
Definition: data_sensor.hpp:771
ValidFlags & operator|=(uint16_t val)
Definition: data_sensor.hpp:765
void extract(Serializer &serializer)
Definition: data_sensor.cpp:252
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:427
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:200
Vector3f delta_theta
Parameters.
Definition: data_sensor.hpp:384
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:236
struct mip::C::mip_interface mip_interface
State of the interface for communicating with a MIP device.
@ DATA_TIME_STAMP_INTERNAL
Definition: data_sensor.hpp:46
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:595
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:34
Vector3f delta_velocity
Parameters.
Definition: data_sensor.hpp:422
@ DATA_STAB_MAG
Definition: data_sensor.hpp:48
Definition: data_sensor.hpp:268
@ NONE
Definition: data_sensor.hpp:950
auto asTuple() const
Definition: data_sensor.hpp:205
bool accelY() const
Definition: data_sensor.hpp:975
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:387
@ DATA_STAB_ACCEL
Definition: data_sensor.hpp:49
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:199
void accelX(bool val)
Definition: data_sensor.hpp:974
@ DATA_OVERRANGE_STATUS
Definition: data_sensor.hpp:55
ValidFlags & operator=(uint16_t val)
Definition: data_sensor.hpp:763
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:126
@ DATA_TIME_STAMP_PPS
Definition: data_sensor.hpp:47
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:391
Definition: data_sensor.hpp:662
ValidFlags & operator&=(uint16_t val)
Definition: data_sensor.hpp:766
void magZ(bool val)
Definition: data_sensor.hpp:990
Definition: data_sensor.hpp:78
static constexpr const char * NAME
Definition: data_sensor.hpp:790
auto asTuple() const
Definition: data_sensor.hpp:564
bool timeInitialized() const
Definition: data_sensor.hpp:772
void extract(Serializer &serializer)
Definition: data_sensor.cpp:94
@ MIP_DATA_DESC_GXSB
Definition: data_sensor.hpp:59
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:67
auto asTuple()
Definition: data_sensor.hpp:172
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:425
Definition: data_sensor.hpp:945
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:278
@ NONE
Definition: data_sensor.hpp:750
@ MAG_Y
Definition: data_sensor.hpp:958
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:835
Definition: data_sensor.hpp:699
Definition: data_sensor.hpp:343
Status & operator&=(uint16_t val)
Definition: data_sensor.hpp:971
bool magY() const
Definition: data_sensor.hpp:987
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:558
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:711
float yaw
[radians]
Definition: data_sensor.hpp:554
uint16_t week_number
GPS Week Number since 1980 [weeks].
Definition: data_sensor.hpp:783
@ ACCEL_X
Definition: data_sensor.hpp:951
auto asTuple() const
Definition: data_sensor.hpp:243
auto asTuple()
Definition: data_sensor.hpp:569
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:198
void gyroY(bool val)
Definition: data_sensor.hpp:982
auto asTuple()
Definition: data_sensor.hpp:437
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:185
Vector3f scaled_accel
Parameters.
Definition: data_sensor.hpp:233
float raw_pressure
Parameters.
Definition: data_sensor.hpp:195
auto asTuple() const
Definition: data_sensor.hpp:675
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:45
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:596
auto asTuple()
Definition: data_sensor.hpp:799
void magX(bool val)
Definition: data_sensor.hpp:986
bool timeRefresh() const
Definition: data_sensor.hpp:770
uint16_t valid_flags
If odometer is configured, bit 0 will be set to 1.
Definition: data_sensor.hpp:1035
static constexpr const char * NAME
Definition: data_sensor.hpp:671
auto asTuple()
Definition: data_sensor.hpp:324
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:562
auto asTuple() const
Definition: data_sensor.hpp:1045
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:88
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:792
auto asTuple()
Definition: data_sensor.hpp:606
Definition: data_sensor.hpp:943
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:1002
uint16_t Type
Definition: data_sensor.hpp:947
Vector3f up
Parameters.
Definition: data_sensor.hpp:870
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:274
Definition: data_sensor.hpp:745
auto asTuple() const
Definition: data_sensor.hpp:479
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:598
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:354
Vector3f scaled_mag
Parameters.
Definition: data_sensor.hpp:309
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:477
Definition: data_sensor.hpp:466
Definition: data_sensor.hpp:154
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:202
@ TIME_REFRESH
Toggles each time the time is updated via internal GPS or the GPS Time Update command (0x01,...
Definition: data_sensor.hpp:752
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:144
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:1039
@ DESCRIPTOR_SET
Definition: data_sensor.hpp:31
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:707
@ MAG_Z
Definition: data_sensor.hpp:959
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:472
float mean_temp
[degC]
Definition: data_sensor.hpp:827
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:243
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:203
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:275
auto asTuple() const
Definition: data_sensor.hpp:319
void extract(Serializer &serializer)
Definition: data_sensor.cpp:50
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:517
Definition: data_sensor.hpp:306
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:873
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:238
@ TIME_INITIALIZED
True if the time has ever been set.
Definition: data_sensor.hpp:753
auto asTuple() const
Definition: data_sensor.hpp:880
void extract(Serializer &serializer)
Definition: data_sensor.cpp:164
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:672
@ GYRO_X
Definition: data_sensor.hpp:954
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:284
static constexpr const char * NAME
Definition: data_sensor.hpp:428
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:875
uint16_t value
Definition: data_sensor.hpp:758
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:561
Definition: data_sensor.hpp:867
Vector3f raw_mag
Parameters.
Definition: data_sensor.hpp:157
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:635
static constexpr const char * NAME
Definition: data_sensor.hpp:125
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:1000
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:155
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:209
@ DATA_MAG_SCALED
Definition: data_sensor.hpp:38
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:914
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:429
void ppsValid(bool val)
Definition: data_sensor.hpp:769
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:111
_enumType
Definition: data_sensor.hpp:748
Definition: data_sensor.hpp:588
Definition: data_sensor.hpp:192
void extract(Serializer &serializer)
Definition: data_sensor.cpp:39
void extract(Serializer &serializer)
Definition: data_sensor.cpp:149
Definition: data_sensor.hpp:419
auto asTuple() const
Definition: data_sensor.hpp:394
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:350
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:787
auto asTuple() const
Definition: data_sensor.hpp:920
void extract(Serializer &serializer)
Definition: data_sensor.cpp:61
void extract(Serializer &serializer)
Definition: data_sensor.cpp:289
uint16_t Type
Definition: data_sensor.hpp:747
_enumType
Definition: data_sensor.hpp:948
Definition: data_sensor.hpp:822
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:353
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:127
auto asTuple() const
Definition: data_sensor.hpp:601
Definition: data_sensor.hpp:907
float pitch
[radians]
Definition: data_sensor.hpp:553
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:89
@ WEEK_NUMBER_VALID
True if the week number is valid.
Definition: data_sensor.hpp:755
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:122
auto asTuple()
Definition: data_sensor.hpp:718
bool magZ() const
Definition: data_sensor.hpp:989
static constexpr const char * NAME
Definition: data_sensor.hpp:1003
Definition: data_sensor.hpp:381
Vector3f raw_gyro
Parameters.
Definition: data_sensor.hpp:119
auto asTuple()
Definition: data_sensor.hpp:925
@ ACCEL_Y
Definition: data_sensor.hpp:952
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:636
@ PPS_VALID
True when the PPS signal is present.
Definition: data_sensor.hpp:751
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:198
bool ppsValid() const
Definition: data_sensor.hpp:768
static constexpr const char * NAME
Definition: data_sensor.hpp:560
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:1038
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:313
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:160
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:632
static constexpr const char * NAME
Definition: data_sensor.hpp:87
static constexpr const char * NAME
Definition: data_sensor.hpp:390
auto asTuple()
Definition: data_sensor.hpp:361
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:165
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:164
auto asTuple()
Definition: data_sensor.hpp:529
auto asTuple() const
Definition: data_sensor.hpp:432
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:557
Matrix3f m
Parameters.
Definition: data_sensor.hpp:591
uint16_t raw_temp[4]
Parameters.
Definition: data_sensor.hpp:628
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:430
void gyroX(bool val)
Definition: data_sensor.hpp:980
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:706
bool allSet() const
Definition: data_sensor.hpp:993
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:913
@ DATA_MAG_RAW
Definition: data_sensor.hpp:35
void extract(Serializer &serializer)
Definition: data_sensor.cpp:191
auto asTuple()
Definition: data_sensor.hpp:1012
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:473
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:918
auto asTuple()
Definition: data_sensor.hpp:643
void extract(Serializer &serializer)
Definition: data_sensor.cpp:138
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:262
static constexpr const char * NAME
Definition: data_sensor.hpp:634
void accelY(bool val)
Definition: data_sensor.hpp:976
@ DATA_GYRO_RAW
Definition: data_sensor.hpp:34
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:877
auto asTuple() const
Definition: data_sensor.hpp:91
static constexpr const char * NAME
Definition: data_sensor.hpp:520
@ DATA_GYRO_SCALED
Definition: data_sensor.hpp:37
Vector3f scaled_gyro
Parameters.
Definition: data_sensor.hpp:271
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:1001
bool magX() const
Definition: data_sensor.hpp:985
@ DATA_ODOMETER
Definition: data_sensor.hpp:56
@ DATA_RAW_CLIP_DATA
Definition: data_sensor.hpp:52
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:161
auto asTuple()
Definition: data_sensor.hpp:842
bool gyroY() const
Definition: data_sensor.hpp:981
void extract(Serializer &serializer)
Definition: data_sensor.cpp:267
@ GYRO_Z
Definition: data_sensor.hpp:956
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:1040
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:279
static constexpr const char * NAME
Definition: data_sensor.hpp:876
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:789
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:86
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:426
bool gyroZ() const
Definition: data_sensor.hpp:983
auto asTuple() const
Definition: data_sensor.hpp:356
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:273
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:240
uint32_t seconds
Parameters.
Definition: data_sensor.hpp:702
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:388
@ DATA_TEMPERATURE_RAW
Definition: data_sensor.hpp:45
Status & operator|=(uint16_t val)
Definition: data_sensor.hpp:970
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:673
float speed
Parameters.
Definition: data_sensor.hpp:1033
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:668
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:710
@ PRESS
Definition: data_sensor.hpp:960
Vector3f raw_accel
Parameters.
Definition: data_sensor.hpp:81
ValidFlags & operator=(int val)
Definition: data_sensor.hpp:764
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:831
void extract(Serializer &serializer)
Definition: data_sensor.cpp:127
static constexpr const char * NAME
Definition: data_sensor.hpp:352
Convenience struct holding both descriptor set and field descriptor.
Definition: mip_descriptors.hpp:22
auto asTuple()
Definition: data_sensor.hpp:286
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:174
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:78
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:519
Definition: data_sensor.hpp:743
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:521
bool gyroX() const
Definition: data_sensor.hpp:979
float roll
Parameters.
Definition: data_sensor.hpp:552
ValidFlags valid_flags
Definition: data_sensor.hpp:784
static constexpr const char * NAME
Definition: data_sensor.hpp:1041
static constexpr const char * NAME
Definition: data_sensor.hpp:475
void extract(Serializer &serializer)
Definition: data_sensor.cpp:278
void extract(Serializer &serializer)
Definition: data_sensor.cpp:72
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:518
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:84
A dummy struct which is used to mark bitfield objects.
Definition: mip_descriptors.hpp:62
auto asTuple()
Definition: data_sensor.hpp:680
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:791
auto asTuple() const
Definition: data_sensor.hpp:1007
void extract(Serializer &serializer)
Definition: data_sensor.cpp:203
Status()
Definition: data_sensor.hpp:965
void setAll()
Definition: data_sensor.hpp:994
@ ALL
Definition: data_sensor.hpp:756
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:237
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:669
void towValid(bool val)
Definition: data_sensor.hpp:775
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:594
@ DATA_DELTA_THETA
Definition: data_sensor.hpp:39
float min_temp
Parameters.
Definition: data_sensor.hpp:825
@ DATA_COMP_ORIENTATION_UPDATE_MATRIX
Definition: data_sensor.hpp:43
auto asTuple()
Definition: data_sensor.hpp:210
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:314
Quatf q
Parameters.
Definition: data_sensor.hpp:514
void magY(bool val)
Definition: data_sensor.hpp:988
Definition: data_sensor.hpp:511
bool accelZ() const
Definition: data_sensor.hpp:977
static constexpr const char * NAME
Definition: data_sensor.hpp:916
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:788
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:85
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:708
void gyroZ(bool val)
Definition: data_sensor.hpp:984
bool weekNumberValid() const
Definition: data_sensor.hpp:776
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:915
void weekNumberValid(bool val)
Definition: data_sensor.hpp:777
auto asTuple()
Definition: data_sensor.hpp:885
bool press() const
Definition: data_sensor.hpp:991
@ DATA_TEMPERATURE_ABS
Definition: data_sensor.hpp:51