MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
16 namespace commands_aiding {
141 static constexpr
const char*
NAME =
"FrameConfig";
142 static constexpr
const char*
DOC_NAME =
"Frame Configuration";
180 static constexpr
const char*
NAME =
"FrameConfig::Response";
181 static constexpr
const char*
DOC_NAME =
"Frame Configuration Response";
231 static constexpr
const char*
NAME =
"EchoControl";
232 static constexpr
const char*
DOC_NAME =
"Aiding Command Echo Control";
237 return std::make_tuple(
mode);
242 return std::make_tuple(std::ref(
mode));
265 static constexpr
const char*
NAME =
"EchoControl::Response";
266 static constexpr
const char*
DOC_NAME =
"Aiding Command Echo Control Response";
271 return std::make_tuple(
mode);
276 return std::make_tuple(std::ref(
mode));
316 operator uint16_t()
const {
return value; }
342 static constexpr
const char*
NAME =
"PosEcef";
343 static constexpr
const char*
DOC_NAME =
"ECEF Position";
391 operator uint16_t()
const {
return value; }
419 static constexpr
const char*
NAME =
"PosLlh";
420 static constexpr
const char*
DOC_NAME =
"LLH Position";
462 static constexpr
const char*
NAME =
"HeightAboveEllipsoid";
463 static constexpr
const char*
DOC_NAME =
"Height Above Ellipsoid";
509 operator uint16_t()
const {
return value; }
535 static constexpr
const char*
NAME =
"VelEcef";
536 static constexpr
const char*
DOC_NAME =
"ECEF Velocity";
582 operator uint16_t()
const {
return value; }
608 static constexpr
const char*
NAME =
"VelNed";
609 static constexpr
const char*
DOC_NAME =
"NED Velocity";
655 operator uint16_t()
const {
return value; }
681 static constexpr
const char*
NAME =
"VelBodyFrame";
682 static constexpr
const char*
DOC_NAME =
"Body Frame Velocity";
723 static constexpr
const char*
NAME =
"HeadingTrue";
724 static constexpr
const char*
DOC_NAME =
"True Heading";
770 operator uint16_t()
const {
return value; }
796 static constexpr
const char*
NAME =
"MagneticField";
797 static constexpr
const char*
DOC_NAME =
"Magnetic Field";
839 static constexpr
const char*
NAME =
"Pressure";
840 static constexpr
const char*
DOC_NAME =
"Pressure";
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:794
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:463
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:255
@ Z
Definition: commands_aiding.hpp:648
Definition: commands_aiding.hpp:301
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:672
@ ALL
Definition: commands_aiding.hpp:503
ValidFlags(int val)
Definition: commands_aiding.hpp:508
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:704
bool z() const
Definition: commands_aiding.hpp:326
static FrameConfig create_sld_all(::mip::FunctionSelector function)
Definition: commands_aiding.hpp:155
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:721
auto asTuple()
Definition: commands_aiding.hpp:848
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:797
@ CMD_WHEELSPEED
Definition: commands_aiding.hpp:44
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:420
@ Z
Definition: commands_aiding.hpp:502
Vector3f uncertainty
NED velocity uncertainty [m/s]. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.hpp:601
double latitude
[deg]
Definition: commands_aiding.hpp:409
static constexpr const char * NAME
Definition: commands_aiding.hpp:419
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:607
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
ValidFlags & operator&=(uint16_t val)
Definition: commands_aiding.hpp:320
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:536
TypedResult< EchoControl > defaultEchoControl(C::mip_interface &device)
Definition: commands_aiding.cpp:342
@ Z
Definition: commands_aiding.hpp:763
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:32
ValidFlags & operator=(int val)
Definition: commands_aiding.hpp:584
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:182
TypedResult< FrameConfig > readFrameConfig(C::mip_interface &device, uint8_t frameId, FrameConfig::Format format, bool *trackingEnabledOut, float *translationOut, FrameConfig::Rotation *rotationOut)
Definition: commands_aiding.cpp:174
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:722
@ CMD_POS_LLH
Definition: commands_aiding.hpp:38
@ CMD_PRESSURE
Definition: commands_aiding.hpp:47
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:276
@ CMD_ECHO_CONTROL
Definition: commands_aiding.hpp:35
void x(bool val)
Definition: commands_aiding.hpp:589
TypedResult< FrameConfig > saveFrameConfig(C::mip_interface &device, uint8_t frameId)
Definition: commands_aiding.cpp:219
ValidFlags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.hpp:675
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:724
@ NONE
Definition: commands_aiding.hpp:499
@ STANDARD
Normal ack/nack behavior.
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:462
void y(bool val)
Definition: commands_aiding.hpp:779
Serializes or deserializes data to/from a byte buffer.
Definition: serializer.hpp:125
ValidFlags(int val)
Definition: commands_aiding.hpp:390
ValidFlags & operator=(uint16_t val)
Definition: commands_aiding.hpp:510
Definition: commands_aiding.hpp:122
Vector3d position
ECEF position [m].
Definition: commands_aiding.hpp:334
bool z() const
Definition: commands_aiding.hpp:780
auto asTuple()
Definition: commands_aiding.hpp:150
@ DESCRIPTOR_SET
Definition: commands_aiding.hpp:31
Definition: commands_aiding.hpp:449
ValidFlags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.hpp:602
ValidFlags & operator=(uint16_t val)
Definition: commands_aiding.hpp:771
void Response
Definition: commands_aiding.hpp:626
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:416
ValidFlags & operator|=(uint16_t val)
Definition: commands_aiding.hpp:319
auto asTuple()
Definition: commands_aiding.hpp:544
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:798
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:233
void height(bool val)
Definition: commands_aiding.hpp:402
Mode mode
Controls data echoing.
Definition: commands_aiding.hpp:225
void longitude(bool val)
Definition: commands_aiding.hpp:400
static constexpr const char * NAME
Definition: commands_aiding.hpp:796
@ Z
Definition: commands_aiding.hpp:309
Definition: commands_aiding.hpp:214
Definition: commands_aiding.hpp:376
@ NONE
Definition: commands_aiding.hpp:572
auto asTuple()
Definition: commands_aiding.hpp:189
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:229
Time time
Parameters.
Definition: commands_aiding.hpp:786
auto asTuple() const
Definition: commands_aiding.hpp:843
@ X
Definition: commands_aiding.hpp:500
TypedResult< PosLlh > posLlh(C::mip_interface &device, const Time &time, uint8_t frameId, double latitude, double longitude, double height, const float *uncertainty, PosLlh::ValidFlags validFlags)
Definition: commands_aiding.cpp:437
TypedResult< VelNed > velNed(C::mip_interface &device, const Time &time, uint8_t frameId, const float *velocity, const float *uncertainty, VelNed::ValidFlags validFlags)
Definition: commands_aiding.cpp:585
void y(bool val)
Definition: commands_aiding.hpp:591
bool allSet() const
Definition: commands_aiding.hpp:594
bool tracking_enabled
If enabled, the Kalman filter will track errors.
Definition: commands_aiding.hpp:172
ValidFlags & operator=(uint16_t val)
Definition: commands_aiding.hpp:392
bool y() const
Definition: commands_aiding.hpp:324
@ CMD_FRAME_CONFIG
Definition: commands_aiding.hpp:33
_enumType
Definition: commands_aiding.hpp:570
TypedResult< FrameConfig > loadFrameConfig(C::mip_interface &device, uint8_t frameId)
Definition: commands_aiding.cpp:231
static EchoControl create_sld_all(::mip::FunctionSelector function)
Definition: commands_aiding.hpp:245
Vector3f translation
Translation X, Y, and Z.
Definition: commands_aiding.hpp:134
bool x() const
Definition: commands_aiding.hpp:776
@ X
Definition: commands_aiding.hpp:573
void Response
Definition: commands_aiding.hpp:437
uint16_t Type
Definition: commands_aiding.hpp:378
ValidFlags(int val)
Definition: commands_aiding.hpp:581
Format format
Format of the transformation.
Definition: commands_aiding.hpp:171
auto asTuple()
Definition: commands_aiding.hpp:428
ValidFlags & operator=(int val)
Definition: commands_aiding.hpp:657
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:459
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:352
@ ALL
Definition: commands_aiding.hpp:764
Vector3f translation
Translation X, Y, and Z.
Definition: commands_aiding.hpp:173
Definition: commands_aiding.hpp:755
bool x() const
Definition: commands_aiding.hpp:322
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:23
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:682
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:230
Definition: commands_aiding.hpp:638
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:605
bool tracking_enabled
If enabled, the Kalman filter will track errors.
Definition: commands_aiding.hpp:133
bool y() const
Definition: commands_aiding.hpp:517
auto asTuple() const
Definition: commands_aiding.hpp:145
uint16_t value
Definition: commands_aiding.hpp:578
static constexpr const char * NAME
Definition: commands_aiding.hpp:535
void Response
Definition: commands_aiding.hpp:360
uint16_t Type
Definition: commands_aiding.hpp:757
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:421
static constexpr const char * NAME
Definition: commands_aiding.hpp:608
uint16_t value
Definition: commands_aiding.hpp:505
@ CMD_HEADING_TRUE
Definition: commands_aiding.hpp:45
@ ALL
Definition: commands_aiding.hpp:576
@ Z
Definition: commands_aiding.hpp:575
auto asTuple()
Definition: commands_aiding.hpp:351
Vector3f uncertainty
ECEF velocity uncertainty [m/s]. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.hpp:528
TypedResult< VelEcef > velEcef(C::mip_interface &device, const Time &time, uint8_t frameId, const float *velocity, const float *uncertainty, VelEcef::ValidFlags validFlags)
Definition: commands_aiding.cpp:535
bool allSet() const
Definition: commands_aiding.hpp:782
Definition: commands_aiding.hpp:167
struct mip::C::mip_interface mip_interface
State of the interface for communicating with a MIP device.
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:838
auto asTuple() const
Definition: commands_aiding.hpp:466
@ ALL
Definition: commands_aiding.hpp:310
static constexpr const char * NAME
Definition: commands_aiding.hpp:342
TypedResult< EchoControl > saveEchoControl(C::mip_interface &device)
Definition: commands_aiding.cpp:322
auto asTuple()
Definition: commands_aiding.hpp:805
Mode mode
Parameters.
Definition: commands_aiding.hpp:259
@ Y
Definition: commands_aiding.hpp:647
@ CMD_VEL_BODY_FRAME
Definition: commands_aiding.hpp:43
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:339
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:658
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:417
@ X
Definition: commands_aiding.hpp:307
Time time
Parameters.
Definition: commands_aiding.hpp:525
ValidFlags & operator=(int val)
Definition: commands_aiding.hpp:772
ValidFlags & operator=(uint16_t val)
Definition: commands_aiding.hpp:583
void setAll()
Definition: commands_aiding.hpp:668
Vector3f uncertainty
ECEF position uncertainty [m]. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.hpp:335
Definition: commands_aiding.hpp:710
TypedResult< EchoControl > loadEchoControl(C::mip_interface &device)
Definition: commands_aiding.cpp:332
ValidFlags(int val)
Definition: commands_aiding.hpp:315
bool y() const
Definition: commands_aiding.hpp:590
TypedResult< VelBodyFrame > velBodyFrame(C::mip_interface &device, const Time &time, uint8_t frameId, const float *velocity, const float *uncertainty, VelBodyFrame::ValidFlags validFlags)
Definition: commands_aiding.cpp:635
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:533
auto asTuple() const
Definition: commands_aiding.hpp:612
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:281
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:787
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:678
Format
Definition: commands_aiding.hpp:116
static constexpr const char * NAME
Definition: commands_aiding.hpp:681
auto asTuple() const
Definition: commands_aiding.hpp:539
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:408
double longitude
[deg]
Definition: commands_aiding.hpp:410
ValidFlags & operator=(uint16_t val)
Definition: commands_aiding.hpp:656
ValidFlags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.hpp:529
bool height() const
Definition: commands_aiding.hpp:401
ValidFlags & operator=(int val)
Definition: commands_aiding.hpp:318
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:683
TypedResult< EchoControl > readEchoControl(C::mip_interface &device, EchoControl::Mode *modeOut)
Definition: commands_aiding.cpp:299
float pressure
[mbar]
Definition: commands_aiding.hpp:831
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:464
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:264
@ NONE
Definition: commands_aiding.hpp:381
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:671
bool y() const
Definition: commands_aiding.hpp:778
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:140
uint8_t frame_id
Parameters.
Definition: commands_aiding.hpp:170
_enumType
Definition: commands_aiding.hpp:304
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:795
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:266
Vector3f velocity
NED velocity [m/s].
Definition: commands_aiding.hpp:600
_enumType
Definition: commands_aiding.hpp:379
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:793
ValidFlags()
Definition: commands_aiding.hpp:389
bool z() const
Definition: commands_aiding.hpp:665
void z(bool val)
Definition: commands_aiding.hpp:327
@ LONGITUDE
Definition: commands_aiding.hpp:383
ValidFlags & operator|=(uint16_t val)
Definition: commands_aiding.hpp:585
ValidFlags & operator|=(uint16_t val)
Definition: commands_aiding.hpp:512
_enumType
Definition: commands_aiding.hpp:497
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:142
uint16_t valid_flags
Definition: commands_aiding.hpp:456
ValidFlags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.hpp:790
Vector3f uncertainty
[m/s] 1-sigma uncertainty. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.hpp:674
bool x() const
Definition: commands_aiding.hpp:588
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:453
Quatf quaternion
Definition: commands_aiding.hpp:125
@ CMD_HEIGHT_REL
Definition: commands_aiding.hpp:40
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:461
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:402
@ X
Definition: commands_aiding.hpp:761
FunctionSelector
Definition: mip_descriptors.hpp:66
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:725
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:228
TypedResult< HeightAboveEllipsoid > heightAboveEllipsoid(C::mip_interface &device, const Time &time, uint8_t frameId, float height, float uncertainty, uint16_t validFlags)
Definition: commands_aiding.cpp:489
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:621
ValidFlags & operator=(int val)
Definition: commands_aiding.hpp:511
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:526
void y(bool val)
Definition: commands_aiding.hpp:518
@ HEIGHT
Definition: commands_aiding.hpp:384
@ REPLY_FRAME_CONFIG
Definition: commands_aiding.hpp:52
@ CMD_POS_ECEF
Definition: commands_aiding.hpp:37
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:680
Definition: commands_aiding.hpp:60
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:365
void Response
Definition: commands_aiding.hpp:699
uint16_t Type
Definition: commands_aiding.hpp:303
void x(bool val)
Definition: commands_aiding.hpp:662
TypedResult< FrameConfig > defaultFrameConfig(C::mip_interface &device, uint8_t frameId)
Definition: commands_aiding.cpp:243
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:836
_enumType
Definition: commands_aiding.hpp:643
@ EULER
Translation vector followed by euler angles (roll, pitch, yaw).
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:138
uint8_t reserved
Reserved, set to 0x01.
Definition: commands_aiding.hpp:71
@ LATITUDE
Definition: commands_aiding.hpp:382
Definition: commands_aiding.hpp:256
Definition: commands_aiding.hpp:826
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:720
void x(bool val)
Definition: commands_aiding.hpp:516
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:610
@ NONE
Definition: commands_aiding.hpp:645
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:606
auto asTuple() const
Definition: commands_aiding.hpp:235
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:840
auto asTuple() const
Definition: commands_aiding.hpp:800
@ REPLY_ECHO_CONTROL
Definition: commands_aiding.hpp:53
void Response
Definition: commands_aiding.hpp:814
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:521
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:341
Timebase
Definition: commands_aiding.hpp:62
@ NONE
Definition: commands_aiding.hpp:760
@ CMD_HEIGHT_ABOVE_ELLIPSOID
Definition: commands_aiding.hpp:39
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:333
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:571
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:679
bool longitude() const
Definition: commands_aiding.hpp:399
Rotation rotation
Rotation as specified by format.
Definition: commands_aiding.hpp:135
ValidFlags & operator&=(uint16_t val)
Definition: commands_aiding.hpp:586
auto asTuple() const
Definition: commands_aiding.hpp:685
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:608
@ ALL
Definition: commands_aiding.hpp:385
Definition: commands_aiding.hpp:753
ValidFlags()
Definition: commands_aiding.hpp:314
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:599
void Response
Definition: commands_aiding.hpp:480
auto asTuple() const
Definition: commands_aiding.hpp:269
auto asTuple()
Definition: commands_aiding.hpp:732
void x(bool val)
Definition: commands_aiding.hpp:323
Time time
Parameters.
Definition: commands_aiding.hpp:452
Time time
Parameters.
Definition: commands_aiding.hpp:713
bool y() const
Definition: commands_aiding.hpp:663
uint8_t frame_id
Reference frame number. Limit 4.
Definition: commands_aiding.hpp:131
TypedResult< MagneticField > magneticField(C::mip_interface &device, const Time &time, uint8_t frameId, const float *magneticField, const float *uncertainty, MagneticField::ValidFlags validFlags)
Definition: commands_aiding.cpp:731
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:265
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:44
uint16_t Type
Definition: commands_aiding.hpp:642
auto asTuple()
Definition: commands_aiding.hpp:240
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:830
@ TIME_OF_ARRIVAL
Timestamp provided is a fixed latency relative to time of message arrival.
@ SUPPRESS_ACK
Suppresses the usual command ack field for aiding messages.
Vector3f magnetic_field
[G]
Definition: commands_aiding.hpp:788
ValidFlags(int val)
Definition: commands_aiding.hpp:769
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:534
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:179
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:263
Rotation rotation
Rotation as specified by format.
Definition: commands_aiding.hpp:174
Definition: commands_aiding.hpp:114
Vector3f uncertainty
[G] 1-sigma uncertainty. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.hpp:789
static constexpr const char * NAME
Definition: commands_aiding.hpp:462
@ ALL
Definition: commands_aiding.hpp:649
@ INTERNAL_REFERENCE
Timestamp provided is with respect to internal clock.
bool x() const
Definition: commands_aiding.hpp:661
void setAll()
Definition: commands_aiding.hpp:404
FunctionSelector function
Parameters.
Definition: commands_aiding.hpp:224
void Response
Definition: commands_aiding.hpp:553
void x(bool val)
Definition: commands_aiding.hpp:777
void latitude(bool val)
Definition: commands_aiding.hpp:398
@ X
Definition: commands_aiding.hpp:646
void y(bool val)
Definition: commands_aiding.hpp:664
Definition: commands_aiding.hpp:640
void setAll()
Definition: commands_aiding.hpp:522
ValidFlags & operator=(int val)
Definition: commands_aiding.hpp:393
ValidFlags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.hpp:336
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:714
TypedResult< HeadingTrue > headingTrue(C::mip_interface &device, const Time &time, uint8_t frameId, float heading, float uncertainty, uint16_t validFlags)
Definition: commands_aiding.cpp:685
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:767
uint64_t nanoseconds
Nanoseconds since the timebase epoch.
Definition: commands_aiding.hpp:72
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:71
@ QUATERNION
Translation vector followed by quaternion (w, x, y, z).
void setAll()
Definition: commands_aiding.hpp:595
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:262
static constexpr const char * NAME
Definition: commands_aiding.hpp:265
ValidFlags & operator=(uint16_t val)
Definition: commands_aiding.hpp:317
@ Y
Definition: commands_aiding.hpp:574
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:177
bool allSet() const
Definition: commands_aiding.hpp:521
ValidFlags & operator|=(uint16_t val)
Definition: commands_aiding.hpp:394
Definition: commands_aiding.hpp:567
ValidFlags()
Definition: commands_aiding.hpp:507
Vector3f velocity
ECEF velocity [m/s].
Definition: commands_aiding.hpp:527
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:837
Definition: commands_aiding.hpp:374
uint16_t value
Definition: commands_aiding.hpp:312
TypedResult< FrameConfig > writeFrameConfig(C::mip_interface &device, uint8_t frameId, FrameConfig::Format format, bool trackingEnabled, const float *translation, const FrameConfig::Rotation &rotation)
Definition: commands_aiding.cpp:144
static constexpr const char * NAME
Definition: commands_aiding.hpp:180
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:508
static constexpr const char * NAME
Definition: commands_aiding.hpp:231
Definition: commands_aiding.hpp:492
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:143
ValidFlags()
Definition: commands_aiding.hpp:768
uint16_t value
Definition: commands_aiding.hpp:387
Time time
Parameters.
Definition: commands_aiding.hpp:671
Definition: commands_aiding.hpp:299
bool z() const
Definition: commands_aiding.hpp:592
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:101
@ CMD_LOCAL_FRAME
Definition: commands_aiding.hpp:34
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:609
@ Y
Definition: commands_aiding.hpp:762
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:343
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:181
bool latitude() const
Definition: commands_aiding.hpp:397
@ CMD_DELTA_POSITION
Definition: commands_aiding.hpp:48
ValidFlags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.hpp:413
ValidFlags & operator&=(uint16_t val)
Definition: commands_aiding.hpp:774
double height
[m]
Definition: commands_aiding.hpp:411
@ EXTERNAL_TIME
Timestamp provided is with respect to external clock, synced by PPS source.
static constexpr const char * NAME
Definition: commands_aiding.hpp:723
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:139
bool x() const
Definition: commands_aiding.hpp:515
ValidFlags()
Definition: commands_aiding.hpp:580
auto asTuple()
Definition: commands_aiding.hpp:690
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:178
auto asTuple() const
Definition: commands_aiding.hpp:423
@ CMD_ANGULAR_RATE_LOCAL
Definition: commands_aiding.hpp:50
@ RESPONSE
Echo the data back as a response.
Timebase timebase
Parameters.
Definition: commands_aiding.hpp:70
void Response
Definition: commands_aiding.hpp:741
float uncertainty
[mbar] 1-sigma uncertainty. Cannot be 0 unless the valid flags are 0.
Definition: commands_aiding.hpp:832
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:558
auto asTuple()
Definition: commands_aiding.hpp:274
Format format
Format of the transformation.
Definition: commands_aiding.hpp:132
float uncertainty
Cannot be 0 unless the valid flags are 0.
Definition: commands_aiding.hpp:716
Time time
Parameters.
Definition: commands_aiding.hpp:829
bool allSet() const
Definition: commands_aiding.hpp:667
ValidFlags & operator|=(uint16_t val)
Definition: commands_aiding.hpp:658
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:537
Mode
Definition: commands_aiding.hpp:216
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:460
ValidFlags(int val)
Definition: commands_aiding.hpp:654
static constexpr const char * NAME
Definition: commands_aiding.hpp:839
void z(bool val)
Definition: commands_aiding.hpp:781
Definition: commands_aiding.hpp:565
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:122
Vector3f uncertainty
NED position uncertainty. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.hpp:412
Time time
Parameters.
Definition: commands_aiding.hpp:598
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:344
Convenience struct holding both descriptor set and field descriptor.
Definition: mip_descriptors.hpp:21
FunctionSelector function
Parameters.
Definition: commands_aiding.hpp:130
@ Y
Definition: commands_aiding.hpp:308
void z(bool val)
Definition: commands_aiding.hpp:520
@ CMD_DELTA_ATTITUDE
Definition: commands_aiding.hpp:49
uint16_t value
Definition: commands_aiding.hpp:651
uint16_t Type
Definition: commands_aiding.hpp:496
float height
[m]
Definition: commands_aiding.hpp:454
@ Y
Definition: commands_aiding.hpp:501
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:717
auto asTuple() const
Definition: commands_aiding.hpp:727
@ CMD_VEL_ECEF
Definition: commands_aiding.hpp:41
uint16_t value
Definition: commands_aiding.hpp:766
Time time
Parameters.
Definition: commands_aiding.hpp:332
TypedResult< PosEcef > posEcef(C::mip_interface &device, const Time &time, uint8_t frameId, const double *position, const float *uncertainty, PosEcef::ValidFlags validFlags)
Definition: commands_aiding.cpp:379
@ NONE
Definition: commands_aiding.hpp:306
ValidFlags & operator&=(uint16_t val)
Definition: commands_aiding.hpp:513
ValidFlags & operator&=(uint16_t val)
Definition: commands_aiding.hpp:395
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:841
auto asTuple() const
Definition: commands_aiding.hpp:346
Vector3f euler
Definition: commands_aiding.hpp:124
float heading
Heading [radians]. Range +/- Pi.
Definition: commands_aiding.hpp:715
bool allSet() const
Definition: commands_aiding.hpp:328
Vector3f velocity
[m/s]
Definition: commands_aiding.hpp:673
void z(bool val)
Definition: commands_aiding.hpp:593
uint16_t valid_flags
Definition: commands_aiding.hpp:717
_enumType
Definition: commands_aiding.hpp:758
A dummy struct which is used to mark bitfield objects.
Definition: mip_descriptors.hpp:61
ValidFlags()
Definition: commands_aiding.hpp:653
Definition: commands_aiding.hpp:494
auto asTuple() const
Definition: commands_aiding.hpp:184
bool z() const
Definition: commands_aiding.hpp:519
Rotation()
Definition: commands_aiding.hpp:127
float uncertainty
[m]
Definition: commands_aiding.hpp:455
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:754
void setAll()
Definition: commands_aiding.hpp:783
bool allSet() const
Definition: commands_aiding.hpp:403
uint16_t Type
Definition: commands_aiding.hpp:569
@ CMD_POS_LOCAL
Definition: commands_aiding.hpp:36
void Response
Definition: commands_aiding.hpp:857
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:232
uint16_t valid_flags
Definition: commands_aiding.hpp:833
A CmdResult that knows the corresponding command type.
Definition: mip_descriptors.hpp:97
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:475
ValidFlags & operator&=(uint16_t val)
Definition: commands_aiding.hpp:659
auto asTuple()
Definition: commands_aiding.hpp:471
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:418
void z(bool val)
Definition: commands_aiding.hpp:666
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:532
ValidFlags & operator|=(uint16_t val)
Definition: commands_aiding.hpp:773
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:419
@ CMD_VEL_NED
Definition: commands_aiding.hpp:42
void y(bool val)
Definition: commands_aiding.hpp:325
static constexpr const char * NAME
Definition: commands_aiding.hpp:141
TypedResult< Pressure > pressure(C::mip_interface &device, const Time &time, uint8_t frameId, float pressure, float uncertainty, uint16_t validFlags)
Definition: commands_aiding.cpp:781
Time time
Parameters.
Definition: commands_aiding.hpp:407
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:42
auto asTuple()
Definition: commands_aiding.hpp:617
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:267
void setAll()
Definition: commands_aiding.hpp:329
@ CMD_MAGNETIC_FIELD
Definition: commands_aiding.hpp:46
TypedResult< EchoControl > writeEchoControl(C::mip_interface &device, EchoControl::Mode mode)
Definition: commands_aiding.cpp:287
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:340