MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
data_sensor.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <mip/mip_descriptors.h>
5 #include <mip/mip_result.h>
6 #include <mip/mip_interface.h>
7 
8 #include <stdint.h>
9 #include <stddef.h>
10 #include <stdbool.h>
11 
12 #ifdef __cplusplus
13 namespace mip {
14 namespace C {
15 extern "C" {
16 
17 #endif // __cplusplus
18 
25 
27 // Descriptors
29 
30 enum
31 {
33 
58 
61 };
62 
64 // Shared Type Definitions
66 
67 
69 // Mip Fields
71 
78 
80 {
81  mip_vector3f raw_accel;
82 };
84 
88 
89 
98 
100 {
101  mip_vector3f raw_gyro;
102 };
104 
107 bool extract_mip_sensor_raw_gyro_data_from_field(const mip_field_view* field, void* ptr);
108 
109 
118 
120 {
121  mip_vector3f raw_mag;
122 };
124 
127 bool extract_mip_sensor_raw_mag_data_from_field(const mip_field_view* field, void* ptr);
128 
129 
138 
140 {
141  float raw_pressure;
142 };
144 
148 
149 
158 
160 {
161  mip_vector3f scaled_accel;
162 };
164 
168 
169 
178 
180 {
181  mip_vector3f scaled_gyro;
182 };
184 
188 
189 
198 
200 {
201  mip_vector3f scaled_mag;
202 };
204 
208 
209 
217 
219 {
221 };
223 
227 
228 
237 
239 {
240  mip_vector3f delta_theta;
241 };
243 
247 
248 
257 
259 {
260  mip_vector3f delta_velocity;
261 };
263 
267 
268 
286 
288 {
289  mip_matrix3f m;
290 };
292 
296 
297 
313 
315 {
316  mip_quatf q;
317 };
319 
323 
324 
333 
335 {
336  float roll;
337  float pitch;
338  float yaw;
339 };
341 
345 
346 
354 
356 {
357  mip_matrix3f m;
358 };
360 
364 
365 
373 
375 {
376  uint16_t raw_temp[4];
377 };
379 
383 
384 
392 
394 {
395  uint32_t counts;
396 };
398 
402 
403 
411 
413 {
414  uint32_t seconds;
415  uint32_t useconds;
416 };
418 
422 
423 
437 
439 static const mip_sensor_gps_timestamp_data_valid_flags MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_NONE = 0x0000;
440 static const mip_sensor_gps_timestamp_data_valid_flags MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_PPS_VALID = 0x0001;
441 static const mip_sensor_gps_timestamp_data_valid_flags MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_TIME_REFRESH = 0x0002;
442 static const mip_sensor_gps_timestamp_data_valid_flags MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_TIME_INITIALIZED = 0x0004;
443 static const mip_sensor_gps_timestamp_data_valid_flags MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_TOW_VALID = 0x0008;
444 static const mip_sensor_gps_timestamp_data_valid_flags MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_WEEK_NUMBER_VALID = 0x0010;
445 static const mip_sensor_gps_timestamp_data_valid_flags MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_ALL = 0x001F;
446 static inline void insert_mip_sensor_gps_timestamp_data_valid_flags(microstrain_serializer* serializer, const mip_sensor_gps_timestamp_data_valid_flags self)
447 {
448  microstrain_insert_u16(serializer, (uint16_t)(self));
449 }
450 static inline void extract_mip_sensor_gps_timestamp_data_valid_flags(microstrain_serializer* serializer, mip_sensor_gps_timestamp_data_valid_flags* self)
451 {
452  uint16_t tmp = 0;
453  microstrain_extract_u16(serializer, &tmp);
454  *self = tmp;
455 }
456 
457 
459 {
460  double tow;
461  uint16_t week_number;
463 };
465 
469 
470 
482 
484 {
485  float min_temp;
486  float max_temp;
487  float mean_temp;
488 };
490 
494 
495 
509 
511 {
512  mip_vector3f up;
513 };
515 
519 
520 
531 
533 {
534  mip_vector3f north;
535 };
537 
541 
542 
549 
551 static const mip_sensor_overrange_status_data_status MIP_SENSOR_OVERRANGE_STATUS_DATA_STATUS_NONE = 0x0000;
552 static const mip_sensor_overrange_status_data_status MIP_SENSOR_OVERRANGE_STATUS_DATA_STATUS_ACCEL_X = 0x0001;
553 static const mip_sensor_overrange_status_data_status MIP_SENSOR_OVERRANGE_STATUS_DATA_STATUS_ACCEL_Y = 0x0002;
554 static const mip_sensor_overrange_status_data_status MIP_SENSOR_OVERRANGE_STATUS_DATA_STATUS_ACCEL_Z = 0x0004;
555 static const mip_sensor_overrange_status_data_status MIP_SENSOR_OVERRANGE_STATUS_DATA_STATUS_GYRO_X = 0x0010;
556 static const mip_sensor_overrange_status_data_status MIP_SENSOR_OVERRANGE_STATUS_DATA_STATUS_GYRO_Y = 0x0020;
557 static const mip_sensor_overrange_status_data_status MIP_SENSOR_OVERRANGE_STATUS_DATA_STATUS_GYRO_Z = 0x0040;
558 static const mip_sensor_overrange_status_data_status MIP_SENSOR_OVERRANGE_STATUS_DATA_STATUS_MAG_X = 0x0100;
559 static const mip_sensor_overrange_status_data_status MIP_SENSOR_OVERRANGE_STATUS_DATA_STATUS_MAG_Y = 0x0200;
560 static const mip_sensor_overrange_status_data_status MIP_SENSOR_OVERRANGE_STATUS_DATA_STATUS_MAG_Z = 0x0400;
561 static const mip_sensor_overrange_status_data_status MIP_SENSOR_OVERRANGE_STATUS_DATA_STATUS_PRESS = 0x1000;
562 static const mip_sensor_overrange_status_data_status MIP_SENSOR_OVERRANGE_STATUS_DATA_STATUS_ALL = 0x1777;
563 static inline void insert_mip_sensor_overrange_status_data_status(microstrain_serializer* serializer, const mip_sensor_overrange_status_data_status self)
564 {
565  microstrain_insert_u16(serializer, (uint16_t)(self));
566 }
567 static inline void extract_mip_sensor_overrange_status_data_status(microstrain_serializer* serializer, mip_sensor_overrange_status_data_status* self)
568 {
569  uint16_t tmp = 0;
570  microstrain_extract_u16(serializer, &tmp);
571  *self = tmp;
572 }
573 
574 
576 {
578 };
580 
584 
585 
592 
594 {
595  float speed;
596  float uncertainty;
597  uint16_t valid_flags;
598 };
600 
604 
605 
608 
613 #ifdef __cplusplus
614 } // extern "C"
615 } // namespace C
616 } // namespace mip
617 #endif // __cplusplus
618 
mip::C::MIP_DATA_DESC_SENSOR_ACCEL_SCALED
@ MIP_DATA_DESC_SENSOR_ACCEL_SCALED
Definition: data_sensor.h:37
mip::C::extract_mip_sensor_comp_euler_angles_data_from_field
bool extract_mip_sensor_comp_euler_angles_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:280
mip::C::extract_mip_sensor_overrange_status_data
void extract_mip_sensor_overrange_status_data(microstrain_serializer *serializer, mip_sensor_overrange_status_data *self)
Definition: data_sensor.c:477
mip::C::insert_mip_sensor_comp_euler_angles_data
void insert_mip_sensor_comp_euler_angles_data(microstrain_serializer *serializer, const mip_sensor_comp_euler_angles_data *self)
Definition: data_sensor.c:262
mip::C::insert_mip_sensor_odometer_data_data
void insert_mip_sensor_odometer_data_data(microstrain_serializer *serializer, const mip_sensor_odometer_data_data *self)
Definition: data_sensor.c:492
mip::C::mip_sensor_raw_mag_data
Definition: data_sensor.h:119
mip
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
mip::C::mip_sensor_pps_timestamp_data
Definition: data_sensor.h:412
mip::C::mip_sensor_comp_orientation_matrix_data
Definition: data_sensor.h:287
mip::C::extract_mip_sensor_scaled_gyro_data
void extract_mip_sensor_scaled_gyro_data(microstrain_serializer *serializer, mip_sensor_scaled_gyro_data *self)
Definition: data_sensor.c:127
mip::C::extract_mip_sensor_scaled_accel_data_from_field
bool extract_mip_sensor_scaled_accel_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:112
mip::C::extract_mip_sensor_scaled_pressure_data
void extract_mip_sensor_scaled_pressure_data(microstrain_serializer *serializer, mip_sensor_scaled_pressure_data *self)
Definition: data_sensor.c:167
mip::C::extract_mip_sensor_odometer_data_data_from_field
bool extract_mip_sensor_odometer_data_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:510
mip::C::mip_sensor_gps_timestamp_data
Definition: data_sensor.h:458
mip::C::mip_sensor_delta_theta_data
Definition: data_sensor.h:238
mip::C::mip_sensor_overrange_status_data
Definition: data_sensor.h:575
mip::C::extract_mip_sensor_scaled_mag_data
void extract_mip_sensor_scaled_mag_data(microstrain_serializer *serializer, mip_sensor_scaled_mag_data *self)
Definition: data_sensor.c:147
microstrain::C::microstrain_extract_u16
void microstrain_extract_u16(microstrain_serializer *serializer, uint16_t *value)
mip::C::MIP_DATA_DESC_SENSOR_GYRO_RAW
@ MIP_DATA_DESC_SENSOR_GYRO_RAW
Definition: data_sensor.h:35
mip::C::extract_mip_sensor_up_vector_data
void extract_mip_sensor_up_vector_data(microstrain_serializer *serializer, mip_sensor_up_vector_data *self)
Definition: data_sensor.c:437
mip::C::mip_sensor_delta_velocity_data
Definition: data_sensor.h:258
mip::C::extract_mip_sensor_gps_timestamp_data_from_field
bool extract_mip_sensor_gps_timestamp_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:394
mip::C::MIP_DATA_DESC_SENSOR_MAG_RAW
@ MIP_DATA_DESC_SENSOR_MAG_RAW
Definition: data_sensor.h:36
mip::C::mip_sensor_temperature_abs_data::mean_temp
float mean_temp
[degC]
Definition: data_sensor.h:487
mip::C::extract_mip_sensor_temperature_abs_data_from_field
bool extract_mip_sensor_temperature_abs_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:422
mip::C::mip_sensor_north_vector_data
Definition: data_sensor.h:532
mip::C::mip_sensor_comp_euler_angles_data::roll
float roll
[radians]
Definition: data_sensor.h:336
mip::C::insert_mip_sensor_up_vector_data
void insert_mip_sensor_up_vector_data(microstrain_serializer *serializer, const mip_sensor_up_vector_data *self)
Definition: data_sensor.c:432
mip::C::extract_mip_sensor_scaled_mag_data_from_field
bool extract_mip_sensor_scaled_mag_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:152
microstrain::C::microstrain_serializer
struct microstrain::C::microstrain_serializer microstrain_serializer
Structure used for serialization.
mip::C::extract_mip_sensor_delta_velocity_data
void extract_mip_sensor_delta_velocity_data(microstrain_serializer *serializer, mip_sensor_delta_velocity_data *self)
Definition: data_sensor.c:207
mip::C::insert_mip_sensor_comp_orientation_matrix_data
void insert_mip_sensor_comp_orientation_matrix_data(microstrain_serializer *serializer, const mip_sensor_comp_orientation_matrix_data *self)
Definition: data_sensor.c:222
mip::C::MIP_DATA_DESC_SENSOR_COMP_QUATERNION
@ MIP_DATA_DESC_SENSOR_COMP_QUATERNION
Definition: data_sensor.h:43
mip::C::mip_sensor_internal_timestamp_data
Definition: data_sensor.h:393
mip::C::insert_mip_sensor_temperature_abs_data
void insert_mip_sensor_temperature_abs_data(microstrain_serializer *serializer, const mip_sensor_temperature_abs_data *self)
Definition: data_sensor.c:404
mip::C::mip_sensor_comp_quaternion_data::q
mip_quatf q
Quaternion elements EQSTART q = (q_w, q_x, q_y, q_z) EQEND.
Definition: data_sensor.h:316
mip::C::mip_sensor_raw_gyro_data
Definition: data_sensor.h:99
mip::C::extract_mip_sensor_raw_accel_data_from_field
bool extract_mip_sensor_raw_accel_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:32
mip::C::mip_sensor_scaled_accel_data
Definition: data_sensor.h:159
mip::C::extract_mip_sensor_internal_timestamp_data
void extract_mip_sensor_internal_timestamp_data(microstrain_serializer *serializer, mip_sensor_internal_timestamp_data *self)
Definition: data_sensor.c:337
mip::C::insert_mip_sensor_scaled_pressure_data
void insert_mip_sensor_scaled_pressure_data(microstrain_serializer *serializer, const mip_sensor_scaled_pressure_data *self)
Definition: data_sensor.c:162
mip::C::mip_sensor_comp_euler_angles_data::yaw
float yaw
[radians]
Definition: data_sensor.h:338
mip::C::extract_mip_sensor_comp_quaternion_data
void extract_mip_sensor_comp_quaternion_data(microstrain_serializer *serializer, mip_sensor_comp_quaternion_data *self)
Definition: data_sensor.c:247
mip_result.h
mip::C::MIP_DATA_DESC_SENSOR_ODOMETER
@ MIP_DATA_DESC_SENSOR_ODOMETER
Definition: data_sensor.h:57
mip::C::insert_mip_sensor_delta_theta_data
void insert_mip_sensor_delta_theta_data(microstrain_serializer *serializer, const mip_sensor_delta_theta_data *self)
Definition: data_sensor.c:182
mip::C::extract_mip_sensor_raw_mag_data_from_field
bool extract_mip_sensor_raw_mag_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:72
mip::C::insert_mip_sensor_comp_quaternion_data
void insert_mip_sensor_comp_quaternion_data(microstrain_serializer *serializer, const mip_sensor_comp_quaternion_data *self)
Definition: data_sensor.c:242
mip::C::extract_mip_sensor_comp_euler_angles_data
void extract_mip_sensor_comp_euler_angles_data(microstrain_serializer *serializer, mip_sensor_comp_euler_angles_data *self)
Definition: data_sensor.c:271
mip::C::mip_sensor_overrange_status_data::status
mip_sensor_overrange_status_data_status status
Definition: data_sensor.h:577
mip::C::insert_mip_sensor_raw_mag_data
void insert_mip_sensor_raw_mag_data(microstrain_serializer *serializer, const mip_sensor_raw_mag_data *self)
Definition: data_sensor.c:62
mip::C::MIP_DATA_DESC_SENSOR_TIME_STAMP_PPS
@ MIP_DATA_DESC_SENSOR_TIME_STAMP_PPS
Definition: data_sensor.h:48
mip::C::mip_sensor_scaled_pressure_data::scaled_pressure
float scaled_pressure
[mBar]
Definition: data_sensor.h:220
mip::C::MIP_DATA_DESC_SENSOR_GYRO_SCALED
@ MIP_DATA_DESC_SENSOR_GYRO_SCALED
Definition: data_sensor.h:38
mip::C::MIP_DATA_DESC_SENSOR_MAG_SCALED
@ MIP_DATA_DESC_SENSOR_MAG_SCALED
Definition: data_sensor.h:39
mip::C::extract_mip_sensor_internal_timestamp_data_from_field
bool extract_mip_sensor_internal_timestamp_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:342
mip::C::insert_mip_sensor_gps_timestamp_data
void insert_mip_sensor_gps_timestamp_data(microstrain_serializer *serializer, const mip_sensor_gps_timestamp_data *self)
Definition: data_sensor.c:376
mip::C::insert_mip_sensor_raw_gyro_data
void insert_mip_sensor_raw_gyro_data(microstrain_serializer *serializer, const mip_sensor_raw_gyro_data *self)
Definition: data_sensor.c:42
mip::C::MIP_DATA_DESC_SENSOR_TIME_STAMP_GPS
@ MIP_DATA_DESC_SENSOR_TIME_STAMP_GPS
Definition: data_sensor.h:51
mip::C::mip_sensor_north_vector_data::north
mip_vector3f north
[Gauss]
Definition: data_sensor.h:534
mip::C::mip_sensor_gps_timestamp_data::tow
double tow
GPS Time of Week [seconds].
Definition: data_sensor.h:460
mip::C::extract_mip_sensor_raw_pressure_data
void extract_mip_sensor_raw_pressure_data(microstrain_serializer *serializer, mip_sensor_raw_pressure_data *self)
Definition: data_sensor.c:87
mip::C::insert_mip_sensor_delta_velocity_data
void insert_mip_sensor_delta_velocity_data(microstrain_serializer *serializer, const mip_sensor_delta_velocity_data *self)
Definition: data_sensor.c:202
mip::C::mip_sensor_pps_timestamp_data::useconds
uint32_t useconds
Definition: data_sensor.h:415
mip::C::MIP_DATA_DESC_GXSB
@ MIP_DATA_DESC_GXSB
Definition: data_sensor.h:60
mip::C::mip_sensor_temperature_abs_data::min_temp
float min_temp
[degC]
Definition: data_sensor.h:485
mip::C::insert_mip_sensor_comp_orientation_update_matrix_data
void insert_mip_sensor_comp_orientation_update_matrix_data(microstrain_serializer *serializer, const mip_sensor_comp_orientation_update_matrix_data *self)
Definition: data_sensor.c:290
mip::C::insert_mip_sensor_scaled_accel_data
void insert_mip_sensor_scaled_accel_data(microstrain_serializer *serializer, const mip_sensor_scaled_accel_data *self)
Definition: data_sensor.c:102
microstrain::C::microstrain_serializer
Structure used for serialization.
Definition: serialization.h:42
mip::C::mip_sensor_comp_euler_angles_data
Definition: data_sensor.h:334
mip::C::mip_sensor_temperature_abs_data::max_temp
float max_temp
[degC]
Definition: data_sensor.h:486
mip::C::insert_mip_sensor_overrange_status_data
void insert_mip_sensor_overrange_status_data(microstrain_serializer *serializer, const mip_sensor_overrange_status_data *self)
Definition: data_sensor.c:472
mip::C::MIP_DATA_DESC_SENSOR_PRESSURE_SCALED
@ MIP_DATA_DESC_SENSOR_PRESSURE_SCALED
Definition: data_sensor.h:55
mip::C::mip_sensor_overrange_status_data_status
uint16_t mip_sensor_overrange_status_data_status
Definition: data_sensor.h:550
mip::C::extract_mip_sensor_raw_pressure_data_from_field
bool extract_mip_sensor_raw_pressure_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:92
mip::C::mip_sensor_odometer_data_data::speed
float speed
Average speed over the time interval [m/s]. Can be negative for quadrature encoders.
Definition: data_sensor.h:595
mip::C::extract_mip_sensor_comp_orientation_matrix_data
void extract_mip_sensor_comp_orientation_matrix_data(microstrain_serializer *serializer, mip_sensor_comp_orientation_matrix_data *self)
Definition: data_sensor.c:227
mip::C::mip_sensor_delta_theta_data::delta_theta
mip_vector3f delta_theta
(x, y, z) [radians]
Definition: data_sensor.h:240
mip::C::extract_mip_sensor_raw_mag_data
void extract_mip_sensor_raw_mag_data(microstrain_serializer *serializer, mip_sensor_raw_mag_data *self)
Definition: data_sensor.c:67
mip::C::extract_mip_sensor_delta_velocity_data_from_field
bool extract_mip_sensor_delta_velocity_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:212
mip::C::extract_mip_sensor_scaled_pressure_data_from_field
bool extract_mip_sensor_scaled_pressure_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:172
mip::C::mip_sensor_orientation_raw_temp_data::raw_temp
uint16_t raw_temp[4]
Definition: data_sensor.h:376
mip::C::insert_mip_sensor_orientation_raw_temp_data
void insert_mip_sensor_orientation_raw_temp_data(microstrain_serializer *serializer, const mip_sensor_orientation_raw_temp_data *self)
Definition: data_sensor.c:310
mip::C::mip_field_view
A structure representing a MIP field.
Definition: mip_field.h:52
mip::C::extract_mip_sensor_comp_quaternion_data_from_field
bool extract_mip_sensor_comp_quaternion_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:252
mip::C::MIP_DATA_DESC_SENSOR_COMP_ORIENTATION_MATRIX
@ MIP_DATA_DESC_SENSOR_COMP_ORIENTATION_MATRIX
Definition: data_sensor.h:42
mip::C::mip_sensor_up_vector_data
Definition: data_sensor.h:510
mip::C::insert_mip_sensor_pps_timestamp_data
void insert_mip_sensor_pps_timestamp_data(microstrain_serializer *serializer, const mip_sensor_pps_timestamp_data *self)
Definition: data_sensor.c:352
mip::C::extract_mip_sensor_comp_orientation_update_matrix_data
void extract_mip_sensor_comp_orientation_update_matrix_data(microstrain_serializer *serializer, mip_sensor_comp_orientation_update_matrix_data *self)
Definition: data_sensor.c:295
mip::C::mip_sensor_comp_orientation_update_matrix_data
Definition: data_sensor.h:355
mip::C::MIP_DATA_DESC_SENSOR_RAW_CLIP_DATA
@ MIP_DATA_DESC_SENSOR_RAW_CLIP_DATA
Definition: data_sensor.h:53
mip::C::mip_sensor_comp_orientation_matrix_data::m
mip_matrix3f m
Matrix elements in row-major order.
Definition: data_sensor.h:289
mip::C::extract_mip_sensor_overrange_status_data_from_field
bool extract_mip_sensor_overrange_status_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:482
mip::C::extract_mip_sensor_temperature_abs_data
void extract_mip_sensor_temperature_abs_data(microstrain_serializer *serializer, mip_sensor_temperature_abs_data *self)
Definition: data_sensor.c:413
mip::C::insert_mip_sensor_north_vector_data
void insert_mip_sensor_north_vector_data(microstrain_serializer *serializer, const mip_sensor_north_vector_data *self)
Definition: data_sensor.c:452
mip::C::MIP_DATA_DESC_SENSOR_TEMPERATURE_ABS
@ MIP_DATA_DESC_SENSOR_TEMPERATURE_ABS
Definition: data_sensor.h:52
mip::C::mip_sensor_odometer_data_data::uncertainty
float uncertainty
Uncertainty of velocity [m/s].
Definition: data_sensor.h:596
mip::C::extract_mip_sensor_raw_accel_data
void extract_mip_sensor_raw_accel_data(microstrain_serializer *serializer, mip_sensor_raw_accel_data *self)
Definition: data_sensor.c:27
mip::C::MIP_DATA_DESC_SENSOR_DELTA_VELOCITY
@ MIP_DATA_DESC_SENSOR_DELTA_VELOCITY
Definition: data_sensor.h:41
mip::C::mip_sensor_delta_velocity_data::delta_velocity
mip_vector3f delta_velocity
(x, y, z) [g*sec]
Definition: data_sensor.h:260
mip::C::mip_sensor_scaled_accel_data::scaled_accel
mip_vector3f scaled_accel
(x, y, z)[g]
Definition: data_sensor.h:161
mip::C::mip_sensor_odometer_data_data
Definition: data_sensor.h:593
mip::C::extract_mip_sensor_odometer_data_data
void extract_mip_sensor_odometer_data_data(microstrain_serializer *serializer, mip_sensor_odometer_data_data *self)
Definition: data_sensor.c:501
mip::C::mip_sensor_internal_timestamp_data::counts
uint32_t counts
Definition: data_sensor.h:395
mip::C::extract_mip_sensor_gps_timestamp_data
void extract_mip_sensor_gps_timestamp_data(microstrain_serializer *serializer, mip_sensor_gps_timestamp_data *self)
Definition: data_sensor.c:385
mip::C::extract_mip_sensor_comp_orientation_update_matrix_data_from_field
bool extract_mip_sensor_comp_orientation_update_matrix_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:300
mip::C::mip_sensor_gps_timestamp_data::week_number
uint16_t week_number
GPS Week Number since 1980 [weeks].
Definition: data_sensor.h:461
mip_interface.h
mip::C::extract_mip_sensor_raw_gyro_data
void extract_mip_sensor_raw_gyro_data(microstrain_serializer *serializer, mip_sensor_raw_gyro_data *self)
Definition: data_sensor.c:47
mip::C::extract_mip_sensor_north_vector_data
void extract_mip_sensor_north_vector_data(microstrain_serializer *serializer, mip_sensor_north_vector_data *self)
Definition: data_sensor.c:457
mip::C::mip_sensor_scaled_pressure_data
Definition: data_sensor.h:218
mip::C::extract_mip_sensor_pps_timestamp_data
void extract_mip_sensor_pps_timestamp_data(microstrain_serializer *serializer, mip_sensor_pps_timestamp_data *self)
Definition: data_sensor.c:359
mip::C::extract_mip_sensor_raw_gyro_data_from_field
bool extract_mip_sensor_raw_gyro_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:52
mip::C::extract_mip_sensor_delta_theta_data_from_field
bool extract_mip_sensor_delta_theta_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:192
common.h
mip::C::extract_mip_sensor_scaled_gyro_data_from_field
bool extract_mip_sensor_scaled_gyro_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:132
mip::C::MIP_DATA_DESC_SENSOR_STAB_ACCEL
@ MIP_DATA_DESC_SENSOR_STAB_ACCEL
Definition: data_sensor.h:50
mip::C::mip_sensor_scaled_gyro_data
Definition: data_sensor.h:179
mip::C::insert_mip_sensor_scaled_gyro_data
void insert_mip_sensor_scaled_gyro_data(microstrain_serializer *serializer, const mip_sensor_scaled_gyro_data *self)
Definition: data_sensor.c:122
mip_descriptors.h
mip::C::extract_mip_sensor_scaled_accel_data
void extract_mip_sensor_scaled_accel_data(microstrain_serializer *serializer, mip_sensor_scaled_accel_data *self)
Definition: data_sensor.c:107
mip::C::mip_sensor_orientation_raw_temp_data
Definition: data_sensor.h:374
mip::C::insert_mip_sensor_scaled_mag_data
void insert_mip_sensor_scaled_mag_data(microstrain_serializer *serializer, const mip_sensor_scaled_mag_data *self)
Definition: data_sensor.c:142
mip::C::mip_sensor_up_vector_data::up
mip_vector3f up
[Gs]
Definition: data_sensor.h:512
mip::C::MIP_SENSOR_DATA_DESC_SET
@ MIP_SENSOR_DATA_DESC_SET
Definition: data_sensor.h:32
mip::C::mip_sensor_pps_timestamp_data::seconds
uint32_t seconds
Definition: data_sensor.h:414
mip::C::mip_sensor_scaled_gyro_data::scaled_gyro
mip_vector3f scaled_gyro
(x, y, z) [radians/second]
Definition: data_sensor.h:181
mip::C::mip_sensor_raw_accel_data::raw_accel
mip_vector3f raw_accel
Native sensor counts.
Definition: data_sensor.h:81
mip::C::mip_sensor_odometer_data_data::valid_flags
uint16_t valid_flags
If odometer is configured, bit 0 will be set to 1.
Definition: data_sensor.h:597
mip::C::insert_mip_sensor_internal_timestamp_data
void insert_mip_sensor_internal_timestamp_data(microstrain_serializer *serializer, const mip_sensor_internal_timestamp_data *self)
Definition: data_sensor.c:332
mip::C::mip_sensor_raw_pressure_data
Definition: data_sensor.h:139
mip::C::extract_mip_sensor_orientation_raw_temp_data_from_field
bool extract_mip_sensor_orientation_raw_temp_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:322
mip::C::mip_sensor_raw_gyro_data::raw_gyro
mip_vector3f raw_gyro
Native sensor counts.
Definition: data_sensor.h:101
mip::C::mip_sensor_scaled_mag_data::scaled_mag
mip_vector3f scaled_mag
(x, y, z) [Gauss]
Definition: data_sensor.h:201
microstrain::C::microstrain_insert_u16
void microstrain_insert_u16(microstrain_serializer *serializer, uint16_t value)
mip::C::mip_sensor_raw_mag_data::raw_mag
mip_vector3f raw_mag
Native sensor counts.
Definition: data_sensor.h:121
mip::C::MIP_DATA_DESC_SENSOR_OVERRANGE_STATUS
@ MIP_DATA_DESC_SENSOR_OVERRANGE_STATUS
Definition: data_sensor.h:56
mip::C::extract_mip_sensor_up_vector_data_from_field
bool extract_mip_sensor_up_vector_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:442
mip::C::MIP_DATA_DESC_SENSOR_TEMPERATURE_RAW
@ MIP_DATA_DESC_SENSOR_TEMPERATURE_RAW
Definition: data_sensor.h:46
mip::C::insert_mip_sensor_raw_accel_data
void insert_mip_sensor_raw_accel_data(microstrain_serializer *serializer, const mip_sensor_raw_accel_data *self)
Definition: data_sensor.c:22
mip::C::insert_mip_sensor_raw_pressure_data
void insert_mip_sensor_raw_pressure_data(microstrain_serializer *serializer, const mip_sensor_raw_pressure_data *self)
Definition: data_sensor.c:82
mip::C::extract_mip_sensor_comp_orientation_matrix_data_from_field
bool extract_mip_sensor_comp_orientation_matrix_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:232
mip::C::MIP_DATA_DESC_SENSOR_COMP_EULER_ANGLES
@ MIP_DATA_DESC_SENSOR_COMP_EULER_ANGLES
Definition: data_sensor.h:45
mip::C::MIP_DATA_DESC_ASPP
@ MIP_DATA_DESC_ASPP
Definition: data_sensor.h:59
mip::C::mip_sensor_raw_pressure_data::raw_pressure
float raw_pressure
Native sensor counts.
Definition: data_sensor.h:141
mip::C::mip_sensor_comp_quaternion_data
Definition: data_sensor.h:314
mip::C::MIP_DATA_DESC_SENSOR_STAB_MAG
@ MIP_DATA_DESC_SENSOR_STAB_MAG
Definition: data_sensor.h:49
mip::C::mip_sensor_comp_orientation_update_matrix_data::m
mip_matrix3f m
Definition: data_sensor.h:357
mip::C::extract_mip_sensor_pps_timestamp_data_from_field
bool extract_mip_sensor_pps_timestamp_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:366
mip::C::extract_mip_sensor_north_vector_data_from_field
bool extract_mip_sensor_north_vector_data_from_field(const mip_field_view *field, void *ptr)
Definition: data_sensor.c:462
mip::C::extract_mip_sensor_delta_theta_data
void extract_mip_sensor_delta_theta_data(microstrain_serializer *serializer, mip_sensor_delta_theta_data *self)
Definition: data_sensor.c:187
mip::C::mip_sensor_temperature_abs_data
Definition: data_sensor.h:483
mip::C::MIP_DATA_DESC_SENSOR_TIME_STAMP_INTERNAL
@ MIP_DATA_DESC_SENSOR_TIME_STAMP_INTERNAL
Definition: data_sensor.h:47
mip::C::mip_sensor_gps_timestamp_data_valid_flags
uint16_t mip_sensor_gps_timestamp_data_valid_flags
Definition: data_sensor.h:438
mip::C::extract_mip_sensor_orientation_raw_temp_data
void extract_mip_sensor_orientation_raw_temp_data(microstrain_serializer *serializer, mip_sensor_orientation_raw_temp_data *self)
Definition: data_sensor.c:316
mip::C::MIP_DATA_DESC_SENSOR_COMP_ORIENTATION_UPDATE_MATRIX
@ MIP_DATA_DESC_SENSOR_COMP_ORIENTATION_UPDATE_MATRIX
Definition: data_sensor.h:44
mip::C::mip_sensor_raw_accel_data
Definition: data_sensor.h:79
mip::C::mip_sensor_comp_euler_angles_data::pitch
float pitch
[radians]
Definition: data_sensor.h:337
mip::C::mip_sensor_gps_timestamp_data::valid_flags
mip_sensor_gps_timestamp_data_valid_flags valid_flags
Definition: data_sensor.h:462
mip::C::MIP_DATA_DESC_SENSOR_PRESSURE_RAW
@ MIP_DATA_DESC_SENSOR_PRESSURE_RAW
Definition: data_sensor.h:54
mip::C::mip_sensor_scaled_mag_data
Definition: data_sensor.h:199
mip::C::MIP_DATA_DESC_SENSOR_DELTA_THETA
@ MIP_DATA_DESC_SENSOR_DELTA_THETA
Definition: data_sensor.h:40
mip::C::MIP_DATA_DESC_SENSOR_ACCEL_RAW
@ MIP_DATA_DESC_SENSOR_ACCEL_RAW
Definition: data_sensor.h:34