MIP_SDK
v3.0.0-187-g93c7302
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:208
Definition: commands_aiding.h:510
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:149
void insert_mip_aiding_pressure_command(microstrain_serializer *serializer, const mip_aiding_pressure_command *self)
Definition: commands_aiding.c:791
Definition: commands_aiding.h:137
@ MIP_CMD_DESC_AIDING_POS_ECEF
Definition: commands_aiding.h:36
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:327
mip_quatf quaternion
Definition: commands_aiding.h:140
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:56
double longitude
[deg]
Definition: commands_aiding.h:304
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:119
uint16_t mip_aiding_vel_body_frame_command_valid_flags
Definition: commands_aiding.h:429
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:262
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:409
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:58
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:492
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:121
mip_vector3f uncertainty
NED position uncertainty. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.h:306
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:388
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:367
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:449
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:57
@ MIP_AIDING_FRAME_CONFIG_COMMAND_FORMAT_QUATERNION
Translation vector followed by quaternion (w, x, y, z).
Definition: commands_aiding.h:122
struct microstrain::C::microstrain_serializer microstrain_serializer
Structure used for serialization.
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:43
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:147
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:538
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:368
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:450
mip_vector3f velocity
NED velocity [m/s].
Definition: commands_aiding.h:410
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:148
mip_aiding_magnetic_field_command_valid_flags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.h:516
Definition: commands_aiding.h:215
Definition: commands_aiding.h:469
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:76
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:302
@ MIP_CMD_DESC_AIDING_VEL_ECEF
Definition: commands_aiding.h:39
mip_aiding_echo_control_command_mode
Definition: commands_aiding.h:185
Structure used for serialization.
Definition: serialization.h:42
mip_vector3f magnetic_field
[G]
Definition: commands_aiding.h:514
Definition: commands_aiding.h:144
mip_vector3d position
ECEF position [m].
Definition: commands_aiding.h:260
uint16_t mip_aiding_pos_ecef_command_valid_flags
Definition: commands_aiding.h:238
@ MIP_CMD_DESC_AIDING_FRAME_CONFIG
Definition: commands_aiding.h:34
@ MIP_CMD_DESC_AIDING_HEIGHT_ABOVE_ELLIPSOID
Definition: commands_aiding.h:38
mip_aiding_frame_config_command_rotation rotation
Rotation as specified by format.
Definition: commands_aiding.h:164
float heading
Heading [radians]. Range +/- Pi.
Definition: commands_aiding.h:473
Definition: commands_aiding.h:299
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:452
@ MIP_AIDING_ECHO_CONTROL_COMMAND_MODE_RESPONSE
Echo the data back as a response.
Definition: commands_aiding.h:189
Definition: commands_aiding.h:324
float height
[m]
Definition: commands_aiding.h:328
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:261
mip_vector3f uncertainty
ECEF velocity uncertainty [m/s]. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.h:370
mip_aiding_vel_body_frame_command_valid_flags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.h:453
bool tracking_enabled
If enabled, the Kalman filter will track errors.
Definition: commands_aiding.h:162
mip_vector3f velocity
[m/s]
Definition: commands_aiding.h:451
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:408
@ MIP_CMD_DESC_AIDING_ECHO_CONTROL
Definition: commands_aiding.h:35
@ MIP_AIDING_ECHO_CONTROL_COMMAND_MODE_STANDARD
Normal ack/nack behavior.
Definition: commands_aiding.h:188
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:513
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:163
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:347
mip_time_timebase
Definition: commands_aiding.h:54
mip_vector3f uncertainty
[G] 1-sigma uncertainty. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.h:515
Definition: commands_aiding.h:365
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:475
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:512
uint16_t valid_flags
Definition: commands_aiding.h:539
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:42
uint8_t reserved
Reserved, set to 0x01.
Definition: commands_aiding.h:77
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:471
@ MIP_CMD_DESC_AIDING_VEL_NED
Definition: commands_aiding.h:40
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:472
double height
[m]
Definition: commands_aiding.h:305
Definition: commands_aiding.h:406
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:259
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:536
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:151
Definition: commands_aiding.h:74
mip_cmd_result mip_aiding_save_frame_config(mip_interface *device, uint8_t frame_id)
Definition: commands_aiding.c:223
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:535
@ MIP_AIDING_ECHO_CONTROL_COMMAND_MODE_SUPPRESS_ACK
Suppresses the usual command ack field for aiding messages.
Definition: commands_aiding.h:187
mip_aiding_pos_llh_command_valid_flags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.h:307
mip_aiding_frame_config_command_format format
Format of the transformation.
Definition: commands_aiding.h:161
Definition: commands_aiding.h:205
mip_aiding_echo_control_command_mode mode
Controls data echoing.
Definition: commands_aiding.h:217
mip_aiding_vel_ned_command_valid_flags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.h:412
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:37
float uncertainty
Cannot be 0 unless the valid flags are 0.
Definition: commands_aiding.h:474
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:537
Definition: commands_aiding.h:256
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:78
void microstrain_insert_u16(microstrain_serializer *serializer, uint16_t value)
Definition: commands_aiding.h:533
@ MIP_CMD_DESC_AIDING_PRESSURE
Definition: commands_aiding.h:44
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:139
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:46
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:369
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:258
uint16_t valid_flags
Definition: commands_aiding.h:330
mip_vector3f translation
Translation X, Y, and Z.
Definition: commands_aiding.h:150
Definition: commands_aiding.h:447
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:371
mip_time time
Timestamp of the measurement.
Definition: commands_aiding.h:301
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:329
double latitude
[deg]
Definition: commands_aiding.h:303
uint8_t frame_id
Reference frame number. Limit 4.
Definition: commands_aiding.h:160
Definition: commands_aiding.h:158
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:47
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:326
mip_vector3f uncertainty
NED velocity uncertainty [m/s]. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.h:411
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:41
uint16_t mip_aiding_pos_llh_command_valid_flags
Definition: commands_aiding.h:281