MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
mip_cmd_result mip_aiding_default_echo_control(mip_interface *device)
Definition: commands_aiding.c:361
mip_aiding_echo_control_command_mode mode
Controls data echoing.
Definition: commands_aiding.h:216
Definition: commands_aiding.h:518
void insert_mip_aiding_vel_body_frame_command(microstrain_serializer *serializer, const mip_aiding_vel_body_frame_command *self)
Definition: commands_aiding.c:639
bool tracking_enabled
If enabled, the Kalman filter will track errors.
Definition: commands_aiding.h:157
void insert_mip_aiding_pressure_command(microstrain_serializer *serializer, const mip_aiding_pressure_command *self)
Definition: commands_aiding.c:791
Definition: commands_aiding.h:145
@ MIP_CMD_DESC_AIDING_POS_ECEF
Definition: commands_aiding.h:38
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.h:335
mip_quatf quaternion
Definition: commands_aiding.h:148
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
@ MIP_TIME_TIMEBASE_INTERNAL_REFERENCE
Timestamp provided is with respect to internal clock.
Definition: commands_aiding.h:63
double longitude
[deg]
Definition: commands_aiding.h:312
mip_cmd_result mip_aiding_pressure(mip_interface *device, const mip_time *time, uint8_t frame_id, float pressure, float uncertainty, uint16_t valid_flags)
Definition: commands_aiding.c:818
mip_aiding_frame_config_command_format
Definition: commands_aiding.h:127
uint16_t mip_aiding_vel_body_frame_command_valid_flags
Definition: commands_aiding.h:437
mip_cmd_result mip_aiding_save_echo_control(mip_interface *device)
Definition: commands_aiding.c:337
void insert_mip_aiding_frame_config_command(microstrain_serializer *serializer, const mip_aiding_frame_config_command *self)
Definition: commands_aiding.c:41
mip_cmd_result mip_aiding_read_frame_config(mip_interface *device, uint8_t frame_id, mip_aiding_frame_config_command_format format, bool *tracking_enabled_out, float *translation_out, mip_aiding_frame_config_command_rotation *rotation_out)
Definition: commands_aiding.c:175
void extract_mip_aiding_magnetic_field_command(microstrain_serializer *serializer, mip_aiding_magnetic_field_command *self)
Definition: commands_aiding.c:752
mip_aiding_pos_ecef_command_valid_flags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.h:270
mip_cmd_result mip_aiding_magnetic_field(mip_interface *device, const mip_time *time, uint8_t frame_id, const float *magnetic_field, const float *uncertainty, mip_aiding_magnetic_field_command_valid_flags valid_flags)
Definition: commands_aiding.c:766
void extract_mip_aiding_echo_control_command(microstrain_serializer *serializer, mip_aiding_echo_control_command *self)
Definition: commands_aiding.c:275
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.h:417
mip_cmd_result mip_aiding_vel_body_frame(mip_interface *device, const mip_time *time, uint8_t frame_id, const float *velocity, const float *uncertainty, mip_aiding_vel_body_frame_command_valid_flags valid_flags)
Definition: commands_aiding.c:666
@ MIP_TIME_TIMEBASE_TIME_OF_ARRIVAL
Timestamp provided is a fixed latency relative to time of message arrival.
Definition: commands_aiding.h:65
void insert_mip_aiding_frame_config_response(microstrain_serializer *serializer, const mip_aiding_frame_config_response *self)
Definition: commands_aiding.c:100
uint16_t mip_aiding_magnetic_field_command_valid_flags
Definition: commands_aiding.h:500
@ MIP_CMD_DESC_AIDING_WHEELSPEED
Definition: commands_aiding.h:45
void microstrain_extract_u16(microstrain_serializer *serializer, uint16_t *value)
void extract_mip_time(microstrain_serializer *serializer, mip_time *self)
Definition: commands_aiding.c:31
mip_cmd_result
Represents the status of a MIP command.
Definition: mip_result.h:27
void extract_mip_aiding_height_above_ellipsoid_command(microstrain_serializer *serializer, mip_aiding_height_above_ellipsoid_command *self)
Definition: commands_aiding.c:500
@ MIP_AIDING_FRAME_CONFIG_COMMAND_FORMAT_EULER
Translation vector followed by euler angles (roll, pitch, yaw).
Definition: commands_aiding.h:129
mip_vector3f uncertainty
NED position uncertainty. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.h:314
void insert_mip_aiding_heading_true_command(microstrain_serializer *serializer, const mip_aiding_heading_true_command *self)
Definition: commands_aiding.c:691
mip_cmd_result mip_aiding_write_frame_config(mip_interface *device, uint8_t frame_id, mip_aiding_frame_config_command_format format, bool tracking_enabled, const float *translation, const mip_aiding_frame_config_command_rotation *rotation)
Definition: commands_aiding.c:143
mip_cmd_result mip_aiding_default_frame_config(mip_interface *device, uint8_t frame_id)
Definition: commands_aiding.c:251
uint16_t mip_aiding_vel_ned_command_valid_flags
Definition: commands_aiding.h:396
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:375
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:457
mip_cmd_result mip_aiding_pos_llh(mip_interface *device, const mip_time *time, uint8_t frame_id, double latitude, double longitude, double height, const float *uncertainty, mip_aiding_pos_llh_command_valid_flags valid_flags)
Definition: commands_aiding.c:460
@ MIP_TIME_TIMEBASE_EXTERNAL_TIME
Timestamp provided is with respect to external clock, synced by PPS source.
Definition: commands_aiding.h:64
@ MIP_AIDING_FRAME_CONFIG_COMMAND_FORMAT_QUATERNION
Translation vector followed by quaternion (w, x, y, z).
Definition: commands_aiding.h:130
struct microstrain::C::microstrain_serializer microstrain_serializer
Structure used for serialization.
@ MIP_CMD_DESC_AIDING_ANGULAR_RATE_LOCAL
Definition: commands_aiding.h:51
@ MIP_CMD_DESC_AIDING_DELTA_ATTITUDE
Definition: commands_aiding.h:50
mip_cmd_result mip_aiding_height_above_ellipsoid(mip_interface *device, const mip_time *time, uint8_t frame_id, float height, float uncertainty, uint16_t valid_flags)
Definition: commands_aiding.c:514
@ MIP_CMD_DESC_AIDING_MAGNETIC_FIELD
Definition: commands_aiding.h:47
void insert_mip_aiding_echo_control_command(microstrain_serializer *serializer, const mip_aiding_echo_control_command *self)
Definition: commands_aiding.c:265
@ MIP_AIDING_CMD_DESC_SET
Definition: commands_aiding.h:32
void extract_mip_aiding_vel_ned_command(microstrain_serializer *serializer, mip_aiding_vel_ned_command *self)
Definition: commands_aiding.c:600
mip_cmd_result mip_aiding_read_echo_control(mip_interface *device, mip_aiding_echo_control_command_mode *mode_out)
Definition: commands_aiding.c:311
void extract_mip_aiding_vel_body_frame_command(microstrain_serializer *serializer, mip_aiding_vel_body_frame_command *self)
Definition: commands_aiding.c:652
uint8_t frame_id
Reference frame number. Limit 4.
Definition: commands_aiding.h:155
void insert_mip_aiding_vel_ecef_command(microstrain_serializer *serializer, const mip_aiding_vel_ecef_command *self)
Definition: commands_aiding.c:535
mip_cmd_result mip_aiding_load_frame_config(mip_interface *device, uint8_t frame_id)
Definition: commands_aiding.c:237
float uncertainty
[mbar] 1-sigma uncertainty. Cannot be 0 unless the valid flags are 0.
Definition: commands_aiding.h:546
@ MIP_CMD_DESC_AIDING_LOCAL_FRAME
Definition: commands_aiding.h:35
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.h:376
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.h:458
mip_vector3f velocity
NED velocity [m/s].
Definition: commands_aiding.h:418
void insert_mip_aiding_echo_control_response(microstrain_serializer *serializer, const mip_aiding_echo_control_response *self)
Definition: commands_aiding.c:286
void microstrain_extract_u8(microstrain_serializer *serializer, uint8_t *value)
mip_aiding_frame_config_command_format format
Format of the transformation.
Definition: commands_aiding.h:156
mip_aiding_magnetic_field_command_valid_flags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.h:524
Definition: commands_aiding.h:223
Definition: commands_aiding.h:477
mip_cmd_result mip_aiding_vel_ecef(mip_interface *device, const mip_time *time, uint8_t frame_id, const float *velocity, const float *uncertainty, mip_aiding_vel_ecef_command_valid_flags valid_flags)
Definition: commands_aiding.c:562
mip_time_timebase timebase
Timebase reference, e.g. internal, external, GPS, UTC, etc.
Definition: commands_aiding.h:83
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.h:310
@ MIP_CMD_DESC_AIDING_VEL_ECEF
Definition: commands_aiding.h:42
mip_aiding_echo_control_command_mode
Definition: commands_aiding.h:193
Structure used for serialization.
Definition: serialization.h:42
mip_vector3f magnetic_field
[G]
Definition: commands_aiding.h:522
Definition: commands_aiding.h:152
mip_vector3d position
ECEF position [m].
Definition: commands_aiding.h:268
uint16_t mip_aiding_pos_ecef_command_valid_flags
Definition: commands_aiding.h:246
@ MIP_CMD_DESC_AIDING_FRAME_CONFIG
Definition: commands_aiding.h:34
@ MIP_CMD_DESC_AIDING_HEIGHT_ABOVE_ELLIPSOID
Definition: commands_aiding.h:40
mip_aiding_frame_config_command_rotation rotation
Rotation as specified by format.
Definition: commands_aiding.h:172
float heading
Heading [radians]. Range +/- Pi.
Definition: commands_aiding.h:481
Definition: commands_aiding.h:307
void microstrain_insert_u8(microstrain_serializer *serializer, uint8_t value)
mip_vector3f uncertainty
[m/s] 1-sigma uncertainty. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.h:460
@ MIP_AIDING_ECHO_CONTROL_COMMAND_MODE_RESPONSE
Echo the data back as a response.
Definition: commands_aiding.h:197
Definition: commands_aiding.h:332
float height
[m]
Definition: commands_aiding.h:336
void extract_mip_aiding_pos_llh_command(microstrain_serializer *serializer, mip_aiding_pos_llh_command *self)
Definition: commands_aiding.c:442
mip_vector3f uncertainty
ECEF position uncertainty [m]. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.h:269
mip_vector3f uncertainty
ECEF velocity uncertainty [m/s]. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.h:378
mip_aiding_vel_body_frame_command_valid_flags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.h:461
bool tracking_enabled
If enabled, the Kalman filter will track errors.
Definition: commands_aiding.h:170
mip_vector3f velocity
[m/s]
Definition: commands_aiding.h:459
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:416
@ MIP_CMD_DESC_AIDING_ECHO_CONTROL
Definition: commands_aiding.h:36
@ MIP_AIDING_ECHO_CONTROL_COMMAND_MODE_STANDARD
Normal ack/nack behavior.
Definition: commands_aiding.h:196
void extract_mip_aiding_vel_ecef_command(microstrain_serializer *serializer, mip_aiding_vel_ecef_command *self)
Definition: commands_aiding.c:548
void insert_mip_time(microstrain_serializer *serializer, const mip_time *self)
Definition: commands_aiding.c:22
void extract_mip_aiding_heading_true_command(microstrain_serializer *serializer, mip_aiding_heading_true_command *self)
Definition: commands_aiding.c:704
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.h:521
mip_cmd_result mip_aiding_load_echo_control(mip_interface *device)
Definition: commands_aiding.c:349
mip_vector3f translation
Translation X, Y, and Z.
Definition: commands_aiding.h:171
void insert_mip_aiding_pos_ecef_command(microstrain_serializer *serializer, const mip_aiding_pos_ecef_command *self)
Definition: commands_aiding.c:373
uint16_t mip_aiding_vel_ecef_command_valid_flags
Definition: commands_aiding.h:355
mip_time_timebase
Definition: commands_aiding.h:61
mip_vector3f uncertainty
[G] 1-sigma uncertainty. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.h:523
Definition: commands_aiding.h:373
void extract_mip_aiding_frame_config_response(microstrain_serializer *serializer, mip_aiding_frame_config_response *self)
Definition: commands_aiding.c:121
uint16_t valid_flags
Definition: commands_aiding.h:483
@ MIP_CMD_DESC_AIDING_DELTA_POSITION
Definition: commands_aiding.h:49
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:520
uint16_t valid_flags
Definition: commands_aiding.h:547
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:44
@ MIP_CMD_DESC_AIDING_HEADING_TRUE
Definition: commands_aiding.h:46
uint8_t reserved
Reserved, set to 0x01.
Definition: commands_aiding.h:84
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:479
@ MIP_CMD_DESC_AIDING_VEL_NED
Definition: commands_aiding.h:43
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.h:480
double height
[m]
Definition: commands_aiding.h:313
Definition: commands_aiding.h:414
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.h:267
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.h:544
void insert_mip_aiding_pos_llh_command(microstrain_serializer *serializer, const mip_aiding_pos_llh_command *self)
Definition: commands_aiding.c:425
mip_aiding_frame_config_command_rotation rotation
Rotation as specified by format.
Definition: commands_aiding.h:159
Definition: commands_aiding.h:81
mip_cmd_result mip_aiding_save_frame_config(mip_interface *device, uint8_t frame_id)
Definition: commands_aiding.c:223
@ MIP_CMD_DESC_AIDING_POS_LOCAL
Definition: commands_aiding.h:37
@ MIP_CMD_DESC_AIDING_HEIGHT_REL
Definition: commands_aiding.h:41
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:543
@ MIP_AIDING_ECHO_CONTROL_COMMAND_MODE_SUPPRESS_ACK
Suppresses the usual command ack field for aiding messages.
Definition: commands_aiding.h:195
mip_aiding_pos_llh_command_valid_flags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.h:315
mip_aiding_frame_config_command_format format
Format of the transformation.
Definition: commands_aiding.h:169
Definition: commands_aiding.h:213
mip_aiding_echo_control_command_mode mode
Controls data echoing.
Definition: commands_aiding.h:225
mip_aiding_vel_ned_command_valid_flags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.h:420
void extract_mip_aiding_echo_control_response(microstrain_serializer *serializer, mip_aiding_echo_control_response *self)
Definition: commands_aiding.c:291
@ MIP_CMD_DESC_AIDING_POS_LLH
Definition: commands_aiding.h:39
float uncertainty
Cannot be 0 unless the valid flags are 0.
Definition: commands_aiding.h:482
void insert_mip_aiding_vel_ned_command(microstrain_serializer *serializer, const mip_aiding_vel_ned_command *self)
Definition: commands_aiding.c:587
float pressure
[mbar]
Definition: commands_aiding.h:545
Definition: commands_aiding.h:264
void insert_mip_aiding_height_above_ellipsoid_command(microstrain_serializer *serializer, const mip_aiding_height_above_ellipsoid_command *self)
Definition: commands_aiding.c:487
uint64_t nanoseconds
Nanoseconds since the timebase epoch.
Definition: commands_aiding.h:85
void microstrain_insert_u16(microstrain_serializer *serializer, uint16_t value)
Definition: commands_aiding.h:541
@ MIP_CMD_DESC_AIDING_PRESSURE
Definition: commands_aiding.h:48
mip_cmd_result mip_aiding_write_echo_control(mip_interface *device, mip_aiding_echo_control_command_mode mode)
Definition: commands_aiding.c:297
mip_vector3f euler
Definition: commands_aiding.h:147
void extract_mip_aiding_pos_ecef_command(microstrain_serializer *serializer, mip_aiding_pos_ecef_command *self)
Definition: commands_aiding.c:386
@ MIP_REPLY_DESC_AIDING_FRAME_CONFIG
Definition: commands_aiding.h:53
mip_cmd_result mip_aiding_vel_ned(mip_interface *device, const mip_time *time, uint8_t frame_id, const float *velocity, const float *uncertainty, mip_aiding_vel_ned_command_valid_flags valid_flags)
Definition: commands_aiding.c:614
void extract_mip_aiding_frame_config_command(microstrain_serializer *serializer, mip_aiding_frame_config_command *self)
Definition: commands_aiding.c:70
mip_vector3f velocity
ECEF velocity [m/s].
Definition: commands_aiding.h:377
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:266
uint16_t valid_flags
Definition: commands_aiding.h:338
mip_vector3f translation
Translation X, Y, and Z.
Definition: commands_aiding.h:158
Definition: commands_aiding.h:455
mip_cmd_result mip_aiding_pos_ecef(mip_interface *device, const mip_time *time, uint8_t frame_id, const double *position, const float *uncertainty, mip_aiding_pos_ecef_command_valid_flags valid_flags)
Definition: commands_aiding.c:400
mip_aiding_vel_ecef_command_valid_flags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.h:379
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:309
void insert_mip_aiding_magnetic_field_command(microstrain_serializer *serializer, const mip_aiding_magnetic_field_command *self)
Definition: commands_aiding.c:739
mip_function_selector
Definition: mip_descriptors.h:42
float uncertainty
[m]
Definition: commands_aiding.h:337
double latitude
[deg]
Definition: commands_aiding.h:311
uint8_t frame_id
Reference frame number. Limit 4.
Definition: commands_aiding.h:168
Definition: commands_aiding.h:166
void extract_mip_aiding_pressure_command(microstrain_serializer *serializer, mip_aiding_pressure_command *self)
Definition: commands_aiding.c:804
@ MIP_REPLY_DESC_AIDING_ECHO_CONTROL
Definition: commands_aiding.h:54
mip_cmd_result mip_aiding_heading_true(mip_interface *device, const mip_time *time, uint8_t frame_id, float heading, float uncertainty, uint16_t valid_flags)
Definition: commands_aiding.c:718
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:334
mip_vector3f uncertainty
NED velocity uncertainty [m/s]. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.h:419
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
@ MIP_CMD_DESC_AIDING_VEL_BODY_FRAME
Definition: commands_aiding.h:44
uint16_t mip_aiding_pos_llh_command_valid_flags
Definition: commands_aiding.h:289