MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
data_sensor.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 #include <mip/mip_result.hpp>
6 #include <mip/mip_interface.hpp>
7 
8 #include <stdint.h>
9 #include <stddef.h>
10 
11 namespace mip {
12 namespace C {
13 struct mip_interface;
14 } // namespace C
15 
16 namespace data_sensor {
17 
24 
26 // Descriptors
28 
29 enum
30 {
32 
34  DATA_GYRO_RAW = 0x02,
35  DATA_MAG_RAW = 0x03,
48  DATA_STAB_MAG = 0x10,
56  DATA_ODOMETER = 0x40,
57 
60 };
61 
63 // Shared Type Definitions
65 
66 
68 // Mip Fields
70 
77 
78 struct RawAccel
79 {
82 
84  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
85  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_ACCEL_RAW;
87  static constexpr const char* NAME = "RawAccel";
88  static constexpr const char* DOC_NAME = "RawAccel";
89  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
90 
91  auto asTuple() const
92  {
93  return std::make_tuple(raw_accel[0],raw_accel[1],raw_accel[2]);
94  }
95 
96  auto asTuple()
97  {
98  return std::make_tuple(std::ref(raw_accel[0]),std::ref(raw_accel[1]),std::ref(raw_accel[2]));
99  }
100 
102  void insert(Serializer& serializer) const;
103  void extract(Serializer& serializer);
104 
105 };
106 
115 
116 struct RawGyro
117 {
120 
122  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
123  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_GYRO_RAW;
125  static constexpr const char* NAME = "RawGyro";
126  static constexpr const char* DOC_NAME = "RawGyro";
127  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
128 
129  auto asTuple() const
130  {
131  return std::make_tuple(raw_gyro[0],raw_gyro[1],raw_gyro[2]);
132  }
133 
134  auto asTuple()
135  {
136  return std::make_tuple(std::ref(raw_gyro[0]),std::ref(raw_gyro[1]),std::ref(raw_gyro[2]));
137  }
138 
140  void insert(Serializer& serializer) const;
141  void extract(Serializer& serializer);
142 
143 };
144 
153 
154 struct RawMag
155 {
158 
160  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
161  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_MAG_RAW;
163  static constexpr const char* NAME = "RawMag";
164  static constexpr const char* DOC_NAME = "RawMag";
165  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
166 
167  auto asTuple() const
168  {
169  return std::make_tuple(raw_mag[0],raw_mag[1],raw_mag[2]);
170  }
171 
172  auto asTuple()
173  {
174  return std::make_tuple(std::ref(raw_mag[0]),std::ref(raw_mag[1]),std::ref(raw_mag[2]));
175  }
176 
178  void insert(Serializer& serializer) const;
179  void extract(Serializer& serializer);
180 
181 };
182 
191 
193 {
195  float raw_pressure = 0;
196 
198  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
199  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_PRESSURE_RAW;
201  static constexpr const char* NAME = "RawPressure";
202  static constexpr const char* DOC_NAME = "RawPressure";
203  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
204 
205  auto asTuple() const
206  {
207  return std::make_tuple(raw_pressure);
208  }
209 
210  auto asTuple()
211  {
212  return std::make_tuple(std::ref(raw_pressure));
213  }
214 
216  void insert(Serializer& serializer) const;
217  void extract(Serializer& serializer);
218 
219 };
220 
229 
231 {
234 
236  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
237  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_ACCEL_SCALED;
239  static constexpr const char* NAME = "ScaledAccel";
240  static constexpr const char* DOC_NAME = "ScaledAccel";
241  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
242 
243  auto asTuple() const
244  {
245  return std::make_tuple(scaled_accel[0],scaled_accel[1],scaled_accel[2]);
246  }
247 
248  auto asTuple()
249  {
250  return std::make_tuple(std::ref(scaled_accel[0]),std::ref(scaled_accel[1]),std::ref(scaled_accel[2]));
251  }
252 
254  void insert(Serializer& serializer) const;
255  void extract(Serializer& serializer);
256 
257 };
258 
267 
269 {
272 
274  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
275  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_GYRO_SCALED;
277  static constexpr const char* NAME = "ScaledGyro";
278  static constexpr const char* DOC_NAME = "ScaledGyro";
279  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
280 
281  auto asTuple() const
282  {
283  return std::make_tuple(scaled_gyro[0],scaled_gyro[1],scaled_gyro[2]);
284  }
285 
286  auto asTuple()
287  {
288  return std::make_tuple(std::ref(scaled_gyro[0]),std::ref(scaled_gyro[1]),std::ref(scaled_gyro[2]));
289  }
290 
292  void insert(Serializer& serializer) const;
293  void extract(Serializer& serializer);
294 
295 };
296 
305 
306 struct ScaledMag
307 {
310 
312  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
313  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_MAG_SCALED;
315  static constexpr const char* NAME = "ScaledMag";
316  static constexpr const char* DOC_NAME = "ScaledMag";
317  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
318 
319  auto asTuple() const
320  {
321  return std::make_tuple(scaled_mag[0],scaled_mag[1],scaled_mag[2]);
322  }
323 
324  auto asTuple()
325  {
326  return std::make_tuple(std::ref(scaled_mag[0]),std::ref(scaled_mag[1]),std::ref(scaled_mag[2]));
327  }
328 
330  void insert(Serializer& serializer) const;
331  void extract(Serializer& serializer);
332 
333 };
334 
342 
344 {
346  float scaled_pressure = 0;
347 
349  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
352  static constexpr const char* NAME = "ScaledPressure";
353  static constexpr const char* DOC_NAME = "ScaledPressure";
354  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
355 
356  auto asTuple() const
357  {
358  return std::make_tuple(scaled_pressure);
359  }
360 
361  auto asTuple()
362  {
363  return std::make_tuple(std::ref(scaled_pressure));
364  }
365 
367  void insert(Serializer& serializer) const;
368  void extract(Serializer& serializer);
369 
370 };
371 
380 
382 {
385 
387  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
388  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_DELTA_THETA;
390  static constexpr const char* NAME = "DeltaTheta";
391  static constexpr const char* DOC_NAME = "DeltaTheta";
392  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
393 
394  auto asTuple() const
395  {
396  return std::make_tuple(delta_theta[0],delta_theta[1],delta_theta[2]);
397  }
398 
399  auto asTuple()
400  {
401  return std::make_tuple(std::ref(delta_theta[0]),std::ref(delta_theta[1]),std::ref(delta_theta[2]));
402  }
403 
405  void insert(Serializer& serializer) const;
406  void extract(Serializer& serializer);
407 
408 };
409 
418 
420 {
423 
425  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
428  static constexpr const char* NAME = "DeltaVelocity";
429  static constexpr const char* DOC_NAME = "DeltaVelocity";
430  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
431 
432  auto asTuple() const
433  {
434  return std::make_tuple(delta_velocity[0],delta_velocity[1],delta_velocity[2]);
435  }
436 
437  auto asTuple()
438  {
439  return std::make_tuple(std::ref(delta_velocity[0]),std::ref(delta_velocity[1]),std::ref(delta_velocity[2]));
440  }
441 
443  void insert(Serializer& serializer) const;
444  void extract(Serializer& serializer);
445 
446 };
447 
465 
467 {
470 
472  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
475  static constexpr const char* NAME = "CompOrientationMatrix";
476  static constexpr const char* DOC_NAME = "Complementary Filter Orientation Matrix";
477  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
478 
479  auto asTuple() const
480  {
481  return std::make_tuple(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8]);
482  }
483 
484  auto asTuple()
485  {
486  return std::make_tuple(std::ref(m[0]),std::ref(m[1]),std::ref(m[2]),std::ref(m[3]),std::ref(m[4]),std::ref(m[5]),std::ref(m[6]),std::ref(m[7]),std::ref(m[8]));
487  }
488 
490  void insert(Serializer& serializer) const;
491  void extract(Serializer& serializer);
492 
493 };
494 
510 
512 {
515 
517  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
520  static constexpr const char* NAME = "CompQuaternion";
521  static constexpr const char* DOC_NAME = "Complementary Filter Quaternion";
522  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
523 
524  auto asTuple() const
525  {
526  return std::make_tuple(q[0],q[1],q[2],q[3]);
527  }
528 
529  auto asTuple()
530  {
531  return std::make_tuple(std::ref(q[0]),std::ref(q[1]),std::ref(q[2]),std::ref(q[3]));
532  }
533 
535  void insert(Serializer& serializer) const;
536  void extract(Serializer& serializer);
537 
538 };
539 
548 
550 {
552  float roll = 0;
553  float pitch = 0;
554  float yaw = 0;
555 
557  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
560  static constexpr const char* NAME = "CompEulerAngles";
561  static constexpr const char* DOC_NAME = "Complementary Filter Euler Angles";
562  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
563 
564  auto asTuple() const
565  {
566  return std::make_tuple(roll,pitch,yaw);
567  }
568 
569  auto asTuple()
570  {
571  return std::make_tuple(std::ref(roll),std::ref(pitch),std::ref(yaw));
572  }
573 
575  void insert(Serializer& serializer) const;
576  void extract(Serializer& serializer);
577 
578 };
579 
587 
589 {
592 
594  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
597  static constexpr const char* NAME = "CompOrientationUpdateMatrix";
598  static constexpr const char* DOC_NAME = "Complementary Filter Orientation Update Matrix";
599  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
600 
601  auto asTuple() const
602  {
603  return std::make_tuple(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8]);
604  }
605 
606  auto asTuple()
607  {
608  return std::make_tuple(std::ref(m[0]),std::ref(m[1]),std::ref(m[2]),std::ref(m[3]),std::ref(m[4]),std::ref(m[5]),std::ref(m[6]),std::ref(m[7]),std::ref(m[8]));
609  }
610 
612  void insert(Serializer& serializer) const;
613  void extract(Serializer& serializer);
614 
615 };
616 
624 
626 {
628  uint16_t raw_temp[4] = {0};
629 
631  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
634  static constexpr const char* NAME = "OrientationRawTemp";
635  static constexpr const char* DOC_NAME = "OrientationRawTemp";
636  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
637 
638  auto asTuple() const
639  {
640  return std::make_tuple(raw_temp);
641  }
642 
643  auto asTuple()
644  {
645  return std::make_tuple(std::ref(raw_temp));
646  }
647 
649  void insert(Serializer& serializer) const;
650  void extract(Serializer& serializer);
651 
652 };
653 
661 
663 {
665  uint32_t counts = 0;
666 
668  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
671  static constexpr const char* NAME = "InternalTimestamp";
672  static constexpr const char* DOC_NAME = "InternalTimestamp";
673  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
674 
675  auto asTuple() const
676  {
677  return std::make_tuple(counts);
678  }
679 
680  auto asTuple()
681  {
682  return std::make_tuple(std::ref(counts));
683  }
684 
686  void insert(Serializer& serializer) const;
687  void extract(Serializer& serializer);
688 
689 };
690 
698 
700 {
702  uint32_t seconds = 0;
703  uint32_t useconds = 0;
704 
706  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
709  static constexpr const char* NAME = "PpsTimestamp";
710  static constexpr const char* DOC_NAME = "PPS Timestamp";
711  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
712 
713  auto asTuple() const
714  {
715  return std::make_tuple(seconds,useconds);
716  }
717 
718  auto asTuple()
719  {
720  return std::make_tuple(std::ref(seconds),std::ref(useconds));
721  }
722 
724  void insert(Serializer& serializer) const;
725  void extract(Serializer& serializer);
726 
727 };
728 
742 
744 {
745  struct ValidFlags : Bitfield<ValidFlags>
746  {
747  typedef uint16_t Type;
748  enum _enumType : uint16_t
749  {
750  NONE = 0x0000,
751  PPS_VALID = 0x0001,
752  TIME_REFRESH = 0x0002,
753  TIME_INITIALIZED = 0x0004,
754  TOW_VALID = 0x0008,
755  WEEK_NUMBER_VALID = 0x0010,
756  ALL = 0x001F,
757  };
758  uint16_t value = NONE;
759 
761  ValidFlags(int val) : value((uint16_t)val) {}
762  operator uint16_t() const { return value; }
763  ValidFlags& operator=(uint16_t val) { value = val; return *this; }
764  ValidFlags& operator=(int val) { value = uint16_t(val); return *this; }
765  ValidFlags& operator|=(uint16_t val) { return *this = value | val; }
766  ValidFlags& operator&=(uint16_t val) { return *this = value & val; }
767 
768  bool ppsValid() const { return (value & PPS_VALID) > 0; }
769  void ppsValid(bool val) { value &= ~PPS_VALID; if(val) value |= PPS_VALID; }
770  bool timeRefresh() const { return (value & TIME_REFRESH) > 0; }
771  void timeRefresh(bool val) { value &= ~TIME_REFRESH; if(val) value |= TIME_REFRESH; }
772  bool timeInitialized() const { return (value & TIME_INITIALIZED) > 0; }
773  void timeInitialized(bool val) { value &= ~TIME_INITIALIZED; if(val) value |= TIME_INITIALIZED; }
774  bool towValid() const { return (value & TOW_VALID) > 0; }
775  void towValid(bool val) { value &= ~TOW_VALID; if(val) value |= TOW_VALID; }
776  bool weekNumberValid() const { return (value & WEEK_NUMBER_VALID) > 0; }
777  void weekNumberValid(bool val) { value &= ~WEEK_NUMBER_VALID; if(val) value |= WEEK_NUMBER_VALID; }
778  bool allSet() const { return value == ALL; }
779  void setAll() { value |= ALL; }
780  };
782  double tow = 0;
783  uint16_t week_number = 0;
785 
787  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
790  static constexpr const char* NAME = "GpsTimestamp";
791  static constexpr const char* DOC_NAME = "GpsTimestamp";
792  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
793 
794  auto asTuple() const
795  {
796  return std::make_tuple(tow,week_number,valid_flags);
797  }
798 
799  auto asTuple()
800  {
801  return std::make_tuple(std::ref(tow),std::ref(week_number),std::ref(valid_flags));
802  }
803 
805  void insert(Serializer& serializer) const;
806  void extract(Serializer& serializer);
807 
808 };
809 
821 
823 {
825  float min_temp = 0;
826  float max_temp = 0;
827  float mean_temp = 0;
828 
830  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
833  static constexpr const char* NAME = "TemperatureAbs";
834  static constexpr const char* DOC_NAME = "Temperature Statistics";
835  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
836 
837  auto asTuple() const
838  {
839  return std::make_tuple(min_temp,max_temp,mean_temp);
840  }
841 
842  auto asTuple()
843  {
844  return std::make_tuple(std::ref(min_temp),std::ref(max_temp),std::ref(mean_temp));
845  }
846 
848  void insert(Serializer& serializer) const;
849  void extract(Serializer& serializer);
850 
851 };
852 
866 
867 struct UpVector
868 {
871 
873  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
874  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_STAB_ACCEL;
876  static constexpr const char* NAME = "UpVector";
877  static constexpr const char* DOC_NAME = "UpVector";
878  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
879 
880  auto asTuple() const
881  {
882  return std::make_tuple(up[0],up[1],up[2]);
883  }
884 
885  auto asTuple()
886  {
887  return std::make_tuple(std::ref(up[0]),std::ref(up[1]),std::ref(up[2]));
888  }
889 
891  void insert(Serializer& serializer) const;
892  void extract(Serializer& serializer);
893 
894 };
895 
906 
908 {
911 
913  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
914  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_STAB_MAG;
916  static constexpr const char* NAME = "NorthVector";
917  static constexpr const char* DOC_NAME = "NorthVector";
918  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
919 
920  auto asTuple() const
921  {
922  return std::make_tuple(north[0],north[1],north[2]);
923  }
924 
925  auto asTuple()
926  {
927  return std::make_tuple(std::ref(north[0]),std::ref(north[1]),std::ref(north[2]));
928  }
929 
931  void insert(Serializer& serializer) const;
932  void extract(Serializer& serializer);
933 
934 };
935 
942 
944 {
945  struct Status : Bitfield<Status>
946  {
947  typedef uint16_t Type;
948  enum _enumType : uint16_t
949  {
950  NONE = 0x0000,
951  ACCEL_X = 0x0001,
952  ACCEL_Y = 0x0002,
953  ACCEL_Z = 0x0004,
954  GYRO_X = 0x0010,
955  GYRO_Y = 0x0020,
956  GYRO_Z = 0x0040,
957  MAG_X = 0x0100,
958  MAG_Y = 0x0200,
959  MAG_Z = 0x0400,
960  PRESS = 0x1000,
961  ALL = 0x1777,
962  };
963  uint16_t value = NONE;
964 
965  Status() : value(NONE) {}
966  Status(int val) : value((uint16_t)val) {}
967  operator uint16_t() const { return value; }
968  Status& operator=(uint16_t val) { value = val; return *this; }
969  Status& operator=(int val) { value = uint16_t(val); return *this; }
970  Status& operator|=(uint16_t val) { return *this = value | val; }
971  Status& operator&=(uint16_t val) { return *this = value & val; }
972 
973  bool accelX() const { return (value & ACCEL_X) > 0; }
974  void accelX(bool val) { value &= ~ACCEL_X; if(val) value |= ACCEL_X; }
975  bool accelY() const { return (value & ACCEL_Y) > 0; }
976  void accelY(bool val) { value &= ~ACCEL_Y; if(val) value |= ACCEL_Y; }
977  bool accelZ() const { return (value & ACCEL_Z) > 0; }
978  void accelZ(bool val) { value &= ~ACCEL_Z; if(val) value |= ACCEL_Z; }
979  bool gyroX() const { return (value & GYRO_X) > 0; }
980  void gyroX(bool val) { value &= ~GYRO_X; if(val) value |= GYRO_X; }
981  bool gyroY() const { return (value & GYRO_Y) > 0; }
982  void gyroY(bool val) { value &= ~GYRO_Y; if(val) value |= GYRO_Y; }
983  bool gyroZ() const { return (value & GYRO_Z) > 0; }
984  void gyroZ(bool val) { value &= ~GYRO_Z; if(val) value |= GYRO_Z; }
985  bool magX() const { return (value & MAG_X) > 0; }
986  void magX(bool val) { value &= ~MAG_X; if(val) value |= MAG_X; }
987  bool magY() const { return (value & MAG_Y) > 0; }
988  void magY(bool val) { value &= ~MAG_Y; if(val) value |= MAG_Y; }
989  bool magZ() const { return (value & MAG_Z) > 0; }
990  void magZ(bool val) { value &= ~MAG_Z; if(val) value |= MAG_Z; }
991  bool press() const { return (value & PRESS) > 0; }
992  void press(bool val) { value &= ~PRESS; if(val) value |= PRESS; }
993  bool allSet() const { return value == ALL; }
994  void setAll() { value |= ALL; }
995  };
998 
1000  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
1003  static constexpr const char* NAME = "OverrangeStatus";
1004  static constexpr const char* DOC_NAME = "OverrangeStatus";
1005  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
1006 
1007  auto asTuple() const
1008  {
1009  return std::make_tuple(status);
1010  }
1011 
1012  auto asTuple()
1013  {
1014  return std::make_tuple(std::ref(status));
1015  }
1016 
1018  void insert(Serializer& serializer) const;
1019  void extract(Serializer& serializer);
1020 
1021 };
1022 
1029 
1031 {
1033  float speed = 0;
1034  float uncertainty = 0;
1035  uint16_t valid_flags = 0;
1036 
1038  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET;
1039  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_ODOMETER;
1041  static constexpr const char* NAME = "OdometerData";
1042  static constexpr const char* DOC_NAME = "OdometerData";
1043  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
1044 
1045  auto asTuple() const
1046  {
1047  return std::make_tuple(speed,uncertainty,valid_flags);
1048  }
1049 
1050  auto asTuple()
1051  {
1052  return std::make_tuple(std::ref(speed),std::ref(uncertainty),std::ref(valid_flags));
1053  }
1054 
1056  void insert(Serializer& serializer) const;
1057  void extract(Serializer& serializer);
1058 
1059 };
1060 
1063 
1068 } // namespace data_sensor
1069 } // namespace mip
1070 
mip::data_sensor::CompOrientationMatrix::m
Matrix3f m
Parameters.
Definition: data_sensor.hpp:469
mip::data_sensor::DATA_PRESSURE_RAW
@ DATA_PRESSURE_RAW
Definition: data_sensor.hpp:53
mip::data_sensor::CompOrientationMatrix::asTuple
auto asTuple()
Definition: data_sensor.hpp:484
mip::data_sensor::DATA_COMP_EULER_ANGLES
@ DATA_COMP_EULER_ANGLES
Definition: data_sensor.hpp:44
mip::data_sensor::NorthVector::north
Vector3f north
Parameters.
Definition: data_sensor.hpp:910
mip::data_sensor::OrientationRawTemp
Definition: data_sensor.hpp:625
mip::data_sensor::CompQuaternion::asTuple
auto asTuple() const
Definition: data_sensor.hpp:524
mip::data_sensor::RawAccel::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:28
mip::data_sensor::UpVector::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:878
mip::data_sensor::RawMag::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:163
mip::data_sensor::DATA_ACCEL_RAW
@ DATA_ACCEL_RAW
Definition: data_sensor.hpp:33
mip::data_sensor::PpsTimestamp::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:216
mip::data_sensor::NorthVector::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:917
mip::data_sensor::DeltaTheta::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:116
mip::data_sensor::GpsTimestamp::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:233
mip::data_sensor::OdometerData::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:304
mip::data_sensor::RawAccel::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:23
mip
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
mip::data_sensor::ScaledGyro::asTuple
auto asTuple() const
Definition: data_sensor.hpp:281
mip::data_sensor::UpVector::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:874
mip::data_sensor::DATA_COMP_ORIENTATION_MATRIX
@ DATA_COMP_ORIENTATION_MATRIX
Definition: data_sensor.hpp:41
mip::data_sensor::CompQuaternion::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:522
mip::data_sensor::OverrangeStatus::Status::MAG_X
@ MAG_X
Definition: data_sensor.hpp:957
mip::data_sensor::DeltaTheta::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:389
mip::data_sensor::CompOrientationUpdateMatrix::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:179
mip::data_sensor::RawMag::asTuple
auto asTuple() const
Definition: data_sensor.hpp:167
mip::data_sensor::OdometerData::uncertainty
float uncertainty
Uncertainty of velocity [m/s].
Definition: data_sensor.hpp:1034
mip::data_sensor::OdometerData
Definition: data_sensor.hpp:1030
mip::data_sensor::TemperatureAbs::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:833
mip::data_sensor::OverrangeStatus::Status::value
uint16_t value
Definition: data_sensor.hpp:963
mip_descriptors.hpp
mip::data_sensor::CompOrientationUpdateMatrix::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:599
mip::data_sensor::OdometerData::asTuple
auto asTuple()
Definition: data_sensor.hpp:1050
mip::data_sensor::TemperatureAbs::max_temp
float max_temp
[degC]
Definition: data_sensor.hpp:826
mip::data_sensor::RawGyro::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:124
mip::data_sensor::RawAccel::asTuple
auto asTuple()
Definition: data_sensor.hpp:96
mip::data_sensor::OdometerData::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:1043
mip::data_sensor::OverrangeStatus::Status::operator=
Status & operator=(uint16_t val)
Definition: data_sensor.hpp:968
mip::data_sensor::RawGyro::asTuple
auto asTuple()
Definition: data_sensor.hpp:134
mip::data_sensor::DATA_COMP_QUATERNION
@ DATA_COMP_QUATERNION
Definition: data_sensor.hpp:42
mip::data_sensor::ScaledMag::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:89
mip::data_sensor::OverrangeStatus::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:1004
microstrain::Serializer
Serializes or deserializes data to/from a byte buffer.
Definition: serializer.hpp:125
mip::data_sensor::PpsTimestamp::useconds
uint32_t useconds
Definition: data_sensor.hpp:703
mip::data_sensor::DeltaTheta::asTuple
auto asTuple()
Definition: data_sensor.hpp:399
mip::data_sensor::CompOrientationUpdateMatrix::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:597
mip::data_sensor::RawGyro::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:123
mip::data_sensor::ScaledPressure::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:100
mip::data_sensor::PpsTimestamp::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:709
mip::data_sensor::DeltaTheta::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:392
mip::data_sensor::RawGyro::asTuple
auto asTuple() const
Definition: data_sensor.hpp:129
mip::data_sensor::InternalTimestamp::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:670
mip::data_sensor::ScaledPressure::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:105
mip::data_sensor::ScaledAccel::asTuple
auto asTuple()
Definition: data_sensor.hpp:248
mip::data_sensor::TemperatureAbs::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:832
mip::data_sensor::GpsTimestamp::ValidFlags::towValid
bool towValid() const
Definition: data_sensor.hpp:774
mip::data_sensor::ScaledMag::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:315
mip::data_sensor::TemperatureAbs::asTuple
auto asTuple() const
Definition: data_sensor.hpp:837
mip::data_sensor::ScaledGyro::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:277
mip::data_sensor::OverrangeStatus::Status::ALL
@ ALL
Definition: data_sensor.hpp:961
mip::data_sensor::DATA_PRESSURE_SCALED
@ DATA_PRESSURE_SCALED
Definition: data_sensor.hpp:54
mip::data_sensor::GpsTimestamp::ValidFlags::ValidFlags
ValidFlags()
Definition: data_sensor.hpp:760
mip::data_sensor::OrientationRawTemp::asTuple
auto asTuple() const
Definition: data_sensor.hpp:638
mip::data_sensor::ScaledPressure::scaled_pressure
float scaled_pressure
Parameters.
Definition: data_sensor.hpp:346
mip::data_sensor::GpsTimestamp::ValidFlags::allSet
bool allSet() const
Definition: data_sensor.hpp:778
mip::data_sensor::MIP_DATA_DESC_ASPP
@ MIP_DATA_DESC_ASPP
Definition: data_sensor.hpp:58
mip::data_sensor::CompEulerAngles::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:559
mip::data_sensor::RawPressure::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:56
mip::data_sensor::OrientationRawTemp::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:631
mip::data_sensor::OverrangeStatus::Status::Status
Status(int val)
Definition: data_sensor.hpp:966
mip::data_sensor::DeltaVelocity::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:122
mip::data_sensor::ScaledPressure::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:351
mip::data_sensor::RawGyro
Definition: data_sensor.hpp:116
mip::data_sensor::OverrangeStatus::Status::accelX
bool accelX() const
Definition: data_sensor.hpp:973
mip::data_sensor::GpsTimestamp::ValidFlags::setAll
void setAll()
Definition: data_sensor.hpp:779
mip::data_sensor::RawPressure::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:201
mip::data_sensor::TemperatureAbs::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:834
mip::data_sensor::DATA_DELTA_VELOCITY
@ DATA_DELTA_VELOCITY
Definition: data_sensor.hpp:40
mip::data_sensor::CompOrientationMatrix::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:474
mip::data_sensor::GpsTimestamp::ValidFlags::timeInitialized
void timeInitialized(bool val)
Definition: data_sensor.hpp:773
mip::data_sensor::OverrangeStatus::Status::GYRO_Y
@ GYRO_Y
Definition: data_sensor.hpp:955
mip::data_sensor::OverrangeStatus::Status::ACCEL_Z
@ ACCEL_Z
Definition: data_sensor.hpp:953
mip::data_sensor::ScaledMag::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:316
mip::data_sensor::CompOrientationMatrix::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:133
mip::data_sensor::ScaledMag::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:312
mip::data_sensor::InternalTimestamp::counts
uint32_t counts
Parameters.
Definition: data_sensor.hpp:665
mip::data_sensor::ScaledGyro::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:276
mip::data_sensor::ScaledMag::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:317
mip::data_sensor::ScaledAccel
Definition: data_sensor.hpp:230
mip::data_sensor::OverrangeStatus::status
Status status
Parameters.
Definition: data_sensor.hpp:997
mip::data_sensor::OverrangeStatus::Status::accelZ
void accelZ(bool val)
Definition: data_sensor.hpp:978
mip::data_sensor::CompOrientationMatrix::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:476
mip::data_sensor::GpsTimestamp::asTuple
auto asTuple() const
Definition: data_sensor.hpp:794
mip::data_sensor::OverrangeStatus::Status::operator=
Status & operator=(int val)
Definition: data_sensor.hpp:969
mip::data_sensor::OverrangeStatus::Status::press
void press(bool val)
Definition: data_sensor.hpp:992
mip::data_sensor::RawMag::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:162
mip::data_sensor::ScaledAccel::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:241
mip::data_sensor::GpsTimestamp::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:224
mip::data_sensor::OdometerData::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:295
mip::data_sensor::GpsTimestamp::ValidFlags::TOW_VALID
@ TOW_VALID
True if the time of week is valid.
Definition: data_sensor.hpp:754
mip::data_sensor::ScaledPressure::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:349
mip::data_sensor::GpsTimestamp::tow
double tow
Parameters.
Definition: data_sensor.hpp:782
mip::data_sensor::OverrangeStatus::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:1005
mip::data_sensor::OrientationRawTemp::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:633
mip::data_sensor::OdometerData::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:1042
mip::data_sensor::ScaledGyro::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:83
mip::data_sensor::PpsTimestamp::asTuple
auto asTuple() const
Definition: data_sensor.hpp:713
mip::data_sensor::GpsTimestamp::ValidFlags::ValidFlags
ValidFlags(int val)
Definition: data_sensor.hpp:761
mip::data_sensor::CompEulerAngles
Definition: data_sensor.hpp:549
mip::data_sensor::DATA_ACCEL_SCALED
@ DATA_ACCEL_SCALED
Definition: data_sensor.hpp:36
mip::data_sensor::TemperatureAbs::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:830
mip::data_sensor::ScaledAccel::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:239
mip::data_sensor::DATA_TIME_STAMP_GPS
@ DATA_TIME_STAMP_GPS
Definition: data_sensor.hpp:50
mip::data_sensor::GpsTimestamp::ValidFlags::timeRefresh
void timeRefresh(bool val)
Definition: data_sensor.hpp:771
mip::data_sensor::GpsTimestamp::ValidFlags::operator|=
ValidFlags & operator|=(uint16_t val)
Definition: data_sensor.hpp:765
mip::data_sensor::TemperatureAbs::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:252
mip::data_sensor::DeltaVelocity::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:427
mip::data_sensor::RawPressure::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:200
mip::data_sensor::DeltaTheta::delta_theta
Vector3f delta_theta
Parameters.
Definition: data_sensor.hpp:384
mip::data_sensor::ScaledAccel::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:236
mip::C::mip_interface
struct mip::C::mip_interface mip_interface
State of the interface for communicating with a MIP device.
mip::data_sensor::DATA_TIME_STAMP_INTERNAL
@ DATA_TIME_STAMP_INTERNAL
Definition: data_sensor.hpp:46
mip::data_sensor::CompOrientationUpdateMatrix::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:595
mip::data_sensor::RawGyro::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:34
mip::data_sensor::DeltaVelocity::delta_velocity
Vector3f delta_velocity
Parameters.
Definition: data_sensor.hpp:422
mip::Vector< float, 3 >
mip::data_sensor::DATA_STAB_MAG
@ DATA_STAB_MAG
Definition: data_sensor.hpp:48
mip::data_sensor::ScaledGyro
Definition: data_sensor.hpp:268
mip::data_sensor::OverrangeStatus::Status::NONE
@ NONE
Definition: data_sensor.hpp:950
mip::data_sensor::RawPressure::asTuple
auto asTuple() const
Definition: data_sensor.hpp:205
mip::data_sensor::OverrangeStatus::Status::accelY
bool accelY() const
Definition: data_sensor.hpp:975
mip::data_sensor::DeltaTheta::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:387
mip::data_sensor::DATA_STAB_ACCEL
@ DATA_STAB_ACCEL
Definition: data_sensor.hpp:49
mip::data_sensor::RawPressure::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:199
mip::data_sensor::OverrangeStatus::Status::accelX
void accelX(bool val)
Definition: data_sensor.hpp:974
mip::data_sensor::DATA_OVERRANGE_STATUS
@ DATA_OVERRANGE_STATUS
Definition: data_sensor.hpp:55
mip::data_sensor::GpsTimestamp::ValidFlags::operator=
ValidFlags & operator=(uint16_t val)
Definition: data_sensor.hpp:763
mip::data_sensor::RawGyro::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:126
mip::data_sensor::DATA_TIME_STAMP_PPS
@ DATA_TIME_STAMP_PPS
Definition: data_sensor.hpp:47
mip::data_sensor::DeltaTheta::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:391
mip::data_sensor::InternalTimestamp
Definition: data_sensor.hpp:662
mip::data_sensor::GpsTimestamp::ValidFlags::operator&=
ValidFlags & operator&=(uint16_t val)
Definition: data_sensor.hpp:766
mip::data_sensor::OverrangeStatus::Status::magZ
void magZ(bool val)
Definition: data_sensor.hpp:990
mip::data_sensor::RawAccel
Definition: data_sensor.hpp:78
mip::data_sensor::GpsTimestamp::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:790
mip::data_sensor::CompEulerAngles::asTuple
auto asTuple() const
Definition: data_sensor.hpp:564
mip::data_sensor::GpsTimestamp::ValidFlags::timeInitialized
bool timeInitialized() const
Definition: data_sensor.hpp:772
mip::data_sensor::ScaledMag::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:94
mip::data_sensor::MIP_DATA_DESC_GXSB
@ MIP_DATA_DESC_GXSB
Definition: data_sensor.hpp:59
mip::data_sensor::ScaledAccel::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:67
mip::data_sensor::RawMag::asTuple
auto asTuple()
Definition: data_sensor.hpp:172
mip::data_sensor::DeltaVelocity::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:425
mip::data_sensor::OverrangeStatus::Status
Definition: data_sensor.hpp:945
mip::data_sensor::ScaledGyro::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:278
mip::data_sensor::GpsTimestamp::ValidFlags::NONE
@ NONE
Definition: data_sensor.hpp:750
mip::data_sensor::OverrangeStatus::Status::MAG_Y
@ MAG_Y
Definition: data_sensor.hpp:958
mip::data_sensor::TemperatureAbs::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:835
mip::data_sensor::PpsTimestamp
Definition: data_sensor.hpp:699
mip::data_sensor::ScaledPressure
Definition: data_sensor.hpp:343
mip::data_sensor::OverrangeStatus::Status::operator&=
Status & operator&=(uint16_t val)
Definition: data_sensor.hpp:971
mip::data_sensor::OverrangeStatus::Status::magY
bool magY() const
Definition: data_sensor.hpp:987
mip::data_sensor::CompEulerAngles::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:558
mip::data_sensor::PpsTimestamp::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:711
mip::data_sensor::CompEulerAngles::yaw
float yaw
[radians]
Definition: data_sensor.hpp:554
mip::data_sensor::GpsTimestamp::week_number
uint16_t week_number
GPS Week Number since 1980 [weeks].
Definition: data_sensor.hpp:783
mip::data_sensor::OverrangeStatus::Status::ACCEL_X
@ ACCEL_X
Definition: data_sensor.hpp:951
mip::data_sensor::ScaledAccel::asTuple
auto asTuple() const
Definition: data_sensor.hpp:243
mip::data_sensor::CompEulerAngles::asTuple
auto asTuple()
Definition: data_sensor.hpp:569
mip::data_sensor::RawPressure::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:198
mip::data_sensor::OverrangeStatus::Status::gyroY
void gyroY(bool val)
Definition: data_sensor.hpp:982
mip::data_sensor::DeltaVelocity::asTuple
auto asTuple()
Definition: data_sensor.hpp:437
mip::data_sensor::OrientationRawTemp::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:185
mip::data_sensor::ScaledAccel::scaled_accel
Vector3f scaled_accel
Parameters.
Definition: data_sensor.hpp:233
mip::data_sensor::RawPressure::raw_pressure
float raw_pressure
Parameters.
Definition: data_sensor.hpp:195
mip::data_sensor::InternalTimestamp::asTuple
auto asTuple() const
Definition: data_sensor.hpp:675
mip::data_sensor::RawMag::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:45
mip::data_sensor::CompOrientationUpdateMatrix::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:596
mip::data_sensor::GpsTimestamp::asTuple
auto asTuple()
Definition: data_sensor.hpp:799
mip::data_sensor::OverrangeStatus::Status::magX
void magX(bool val)
Definition: data_sensor.hpp:986
mip::data_sensor::GpsTimestamp::ValidFlags::timeRefresh
bool timeRefresh() const
Definition: data_sensor.hpp:770
mip::data_sensor::OdometerData::valid_flags
uint16_t valid_flags
If odometer is configured, bit 0 will be set to 1.
Definition: data_sensor.hpp:1035
mip::data_sensor::InternalTimestamp::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:671
mip::data_sensor::ScaledMag::asTuple
auto asTuple()
Definition: data_sensor.hpp:324
mip::data_sensor::CompEulerAngles::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:562
mip::data_sensor::OdometerData::asTuple
auto asTuple() const
Definition: data_sensor.hpp:1045
mip::data_sensor::RawAccel::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:88
mip::data_sensor::GpsTimestamp::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:792
mip::data_sensor::CompOrientationUpdateMatrix::asTuple
auto asTuple()
Definition: data_sensor.hpp:606
mip::data_sensor::OverrangeStatus
Definition: data_sensor.hpp:943
mip::data_sensor::OverrangeStatus::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:1002
mip::data_sensor::OverrangeStatus::Status::Type
uint16_t Type
Definition: data_sensor.hpp:947
mip::data_sensor::UpVector::up
Vector3f up
Parameters.
Definition: data_sensor.hpp:870
mip::data_sensor::ScaledGyro::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:274
mip::data_sensor::GpsTimestamp::ValidFlags
Definition: data_sensor.hpp:745
mip::data_sensor::CompOrientationMatrix::asTuple
auto asTuple() const
Definition: data_sensor.hpp:479
mip::data_sensor::CompOrientationUpdateMatrix::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:598
mip::data_sensor::ScaledPressure::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:354
mip::data_sensor::ScaledMag::scaled_mag
Vector3f scaled_mag
Parameters.
Definition: data_sensor.hpp:309
mip::data_sensor::CompOrientationMatrix::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:477
mip::data_sensor::CompOrientationMatrix
Definition: data_sensor.hpp:466
mip::data_sensor::RawMag
Definition: data_sensor.hpp:154
mip::data_sensor::RawPressure::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:202
mip::data_sensor::GpsTimestamp::ValidFlags::TIME_REFRESH
@ TIME_REFRESH
Toggles each time the time is updated via internal GPS or the GPS Time Update command (0x01,...
Definition: data_sensor.hpp:752
mip::data_sensor::CompQuaternion::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:144
mip::data_sensor::OdometerData::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:1039
mip::data_sensor::DESCRIPTOR_SET
@ DESCRIPTOR_SET
Definition: data_sensor.hpp:31
mip::data_sensor::PpsTimestamp::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:707
mip::data_sensor::OverrangeStatus::Status::MAG_Z
@ MAG_Z
Definition: data_sensor.hpp:959
mip::data_sensor::CompOrientationMatrix::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:472
mip::data_sensor::TemperatureAbs::mean_temp
float mean_temp
[degC]
Definition: data_sensor.hpp:827
mip::data_sensor::TemperatureAbs::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:243
mip::data_sensor::RawPressure::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:203
mip::data_sensor::ScaledGyro::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:275
mip::data_sensor::ScaledMag::asTuple
auto asTuple() const
Definition: data_sensor.hpp:319
mip::data_sensor::RawMag::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:50
mip::data_sensor::CompQuaternion::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:517
mip::data_sensor::ScaledMag
Definition: data_sensor.hpp:306
mip::data_sensor::UpVector::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:873
mip::data_sensor::ScaledAccel::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:238
mip::data_sensor::GpsTimestamp::ValidFlags::TIME_INITIALIZED
@ TIME_INITIALIZED
True if the time has ever been set.
Definition: data_sensor.hpp:753
mip::data_sensor::UpVector::asTuple
auto asTuple() const
Definition: data_sensor.hpp:880
mip::data_sensor::CompEulerAngles::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:164
mip::data_sensor::InternalTimestamp::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:672
mip::data_sensor::OverrangeStatus::Status::GYRO_X
@ GYRO_X
Definition: data_sensor.hpp:954
mip::data_sensor::OverrangeStatus::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:284
mip::data_sensor::DeltaVelocity::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:428
mip::data_sensor::UpVector::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:875
mip::data_sensor::GpsTimestamp::ValidFlags::value
uint16_t value
Definition: data_sensor.hpp:758
mip::data_sensor::CompEulerAngles::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:561
mip::data_sensor::UpVector
Definition: data_sensor.hpp:867
mip::data_sensor::RawMag::raw_mag
Vector3f raw_mag
Parameters.
Definition: data_sensor.hpp:157
mip::data_sensor::OrientationRawTemp::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:635
mip::data_sensor::RawGyro::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:125
mip::data_sensor::OverrangeStatus::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:1000
mip::data_sensor::CompEulerAngles::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:155
mip::data_sensor::PpsTimestamp::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:209
mip::data_sensor::DATA_MAG_SCALED
@ DATA_MAG_SCALED
Definition: data_sensor.hpp:38
mip::data_sensor::NorthVector::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:914
mip::data_sensor::DeltaVelocity::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:429
mip::data_sensor::GpsTimestamp::ValidFlags::ppsValid
void ppsValid(bool val)
Definition: data_sensor.hpp:769
mip::data_sensor::DeltaTheta::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:111
mip::data_sensor::GpsTimestamp::ValidFlags::_enumType
_enumType
Definition: data_sensor.hpp:748
mip::data_sensor::CompOrientationUpdateMatrix
Definition: data_sensor.hpp:588
mip::data_sensor::RawPressure
Definition: data_sensor.hpp:192
mip::data_sensor::RawGyro::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:39
mip::data_sensor::CompQuaternion::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:149
mip::data_sensor::DeltaVelocity
Definition: data_sensor.hpp:419
mip::data_sensor::DeltaTheta::asTuple
auto asTuple() const
Definition: data_sensor.hpp:394
mip::data_sensor::ScaledPressure::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:350
mip::data_sensor::GpsTimestamp::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:787
mip::data_sensor::NorthVector::asTuple
auto asTuple() const
Definition: data_sensor.hpp:920
mip::data_sensor::RawPressure::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:61
mip::data_sensor::OverrangeStatus::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:289
mip::data_sensor::GpsTimestamp::ValidFlags::Type
uint16_t Type
Definition: data_sensor.hpp:747
mip::data_sensor::OverrangeStatus::Status::_enumType
_enumType
Definition: data_sensor.hpp:948
mip::data_sensor::TemperatureAbs
Definition: data_sensor.hpp:822
mip::data_sensor::ScaledPressure::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:353
mip::data_sensor::RawGyro::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:127
mip::data_sensor::CompOrientationUpdateMatrix::asTuple
auto asTuple() const
Definition: data_sensor.hpp:601
mip::data_sensor::NorthVector
Definition: data_sensor.hpp:907
mip::data_sensor::CompEulerAngles::pitch
float pitch
[radians]
Definition: data_sensor.hpp:553
mip::data_sensor::RawAccel::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:89
mip::data_sensor::GpsTimestamp::ValidFlags::WEEK_NUMBER_VALID
@ WEEK_NUMBER_VALID
True if the week number is valid.
Definition: data_sensor.hpp:755
mip::data_sensor::RawGyro::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:122
mip::data_sensor::PpsTimestamp::asTuple
auto asTuple()
Definition: data_sensor.hpp:718
mip::data_sensor::OverrangeStatus::Status::magZ
bool magZ() const
Definition: data_sensor.hpp:989
mip::data_sensor::OverrangeStatus::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:1003
mip::data_sensor::DeltaTheta
Definition: data_sensor.hpp:381
mip::data_sensor::RawGyro::raw_gyro
Vector3f raw_gyro
Parameters.
Definition: data_sensor.hpp:119
mip::data_sensor::NorthVector::asTuple
auto asTuple()
Definition: data_sensor.hpp:925
mip::data_sensor::OverrangeStatus::Status::ACCEL_Y
@ ACCEL_Y
Definition: data_sensor.hpp:952
mip::data_sensor::OrientationRawTemp::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:636
mip::data_sensor::GpsTimestamp::ValidFlags::PPS_VALID
@ PPS_VALID
True when the PPS signal is present.
Definition: data_sensor.hpp:751
mip::data_sensor::InternalTimestamp::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:198
mip::data_sensor::GpsTimestamp::ValidFlags::ppsValid
bool ppsValid() const
Definition: data_sensor.hpp:768
mip::data_sensor::CompEulerAngles::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:560
mip::data_sensor::OdometerData::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:1038
mip::data_sensor::ScaledMag::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:313
mip_interface.hpp
mip::data_sensor::RawMag::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:160
mip::data_sensor::OrientationRawTemp::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:632
mip::data_sensor::RawAccel::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:87
mip::data_sensor::DeltaTheta::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:390
mip::data_sensor::ScaledPressure::asTuple
auto asTuple()
Definition: data_sensor.hpp:361
mip::data_sensor::RawMag::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:165
mip::data_sensor::RawMag::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:164
mip::data_sensor::CompQuaternion::asTuple
auto asTuple()
Definition: data_sensor.hpp:529
mip::data_sensor::DeltaVelocity::asTuple
auto asTuple() const
Definition: data_sensor.hpp:432
mip::data_sensor::CompEulerAngles::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:557
mip::data_sensor::CompOrientationUpdateMatrix::m
Matrix3f m
Parameters.
Definition: data_sensor.hpp:591
mip::data_sensor::OrientationRawTemp::raw_temp
uint16_t raw_temp[4]
Parameters.
Definition: data_sensor.hpp:628
mip::data_sensor::DeltaVelocity::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:430
mip::data_sensor::OverrangeStatus::Status::gyroX
void gyroX(bool val)
Definition: data_sensor.hpp:980
mip::data_sensor::PpsTimestamp::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:706
mip::data_sensor::OverrangeStatus::Status::allSet
bool allSet() const
Definition: data_sensor.hpp:993
mip::data_sensor::NorthVector::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:913
mip::data_sensor::DATA_MAG_RAW
@ DATA_MAG_RAW
Definition: data_sensor.hpp:35
mip::data_sensor::OrientationRawTemp::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:191
mip::data_sensor::OverrangeStatus::asTuple
auto asTuple()
Definition: data_sensor.hpp:1012
mip::data_sensor::CompOrientationMatrix::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:473
mip::data_sensor::NorthVector::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:918
mip::data_sensor::OrientationRawTemp::asTuple
auto asTuple()
Definition: data_sensor.hpp:643
mip::data_sensor::CompOrientationMatrix::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:138
mip::data_sensor::UpVector::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:262
mip::data_sensor::OrientationRawTemp::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:634
mip::data_sensor::OverrangeStatus::Status::accelY
void accelY(bool val)
Definition: data_sensor.hpp:976
mip::data_sensor::DATA_GYRO_RAW
@ DATA_GYRO_RAW
Definition: data_sensor.hpp:34
mip::data_sensor::UpVector::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:877
mip::data_sensor::RawAccel::asTuple
auto asTuple() const
Definition: data_sensor.hpp:91
mip::data_sensor::CompQuaternion::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:520
mip::data_sensor::DATA_GYRO_SCALED
@ DATA_GYRO_SCALED
Definition: data_sensor.hpp:37
mip::data_sensor::ScaledGyro::scaled_gyro
Vector3f scaled_gyro
Parameters.
Definition: data_sensor.hpp:271
mip::data_sensor::OverrangeStatus::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:1001
mip::data_sensor::OverrangeStatus::Status::magX
bool magX() const
Definition: data_sensor.hpp:985
mip::data_sensor::DATA_ODOMETER
@ DATA_ODOMETER
Definition: data_sensor.hpp:56
mip::data_sensor::DATA_RAW_CLIP_DATA
@ DATA_RAW_CLIP_DATA
Definition: data_sensor.hpp:52
mip::data_sensor::RawMag::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:161
mip::data_sensor::TemperatureAbs::asTuple
auto asTuple()
Definition: data_sensor.hpp:842
mip::data_sensor::OverrangeStatus::Status::gyroY
bool gyroY() const
Definition: data_sensor.hpp:981
mip::data_sensor::UpVector::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:267
mip::data_sensor::OverrangeStatus::Status::GYRO_Z
@ GYRO_Z
Definition: data_sensor.hpp:956
mip::data_sensor::OdometerData::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:1040
mip::data_sensor::ScaledGyro::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:279
mip::data_sensor::UpVector::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:876
mip::data_sensor::GpsTimestamp::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:789
mip::data_sensor::RawAccel::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:86
mip::data_sensor::DeltaVelocity::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:426
mip::data_sensor::OverrangeStatus::Status::gyroZ
bool gyroZ() const
Definition: data_sensor.hpp:983
mip::data_sensor::ScaledPressure::asTuple
auto asTuple() const
Definition: data_sensor.hpp:356
mip::data_sensor::NorthVector::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:273
mip::data_sensor::ScaledAccel::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:240
mip::data_sensor::PpsTimestamp::seconds
uint32_t seconds
Parameters.
Definition: data_sensor.hpp:702
mip::data_sensor::DeltaTheta::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:388
mip::data_sensor::DATA_TEMPERATURE_RAW
@ DATA_TEMPERATURE_RAW
Definition: data_sensor.hpp:45
mip::data_sensor::OverrangeStatus::Status::operator|=
Status & operator|=(uint16_t val)
Definition: data_sensor.hpp:970
mip::data_sensor::InternalTimestamp::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_sensor.hpp:673
mip::data_sensor::OdometerData::speed
float speed
Parameters.
Definition: data_sensor.hpp:1033
mip::data_sensor::InternalTimestamp::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:668
mip::data_sensor::PpsTimestamp::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:710
mip::data_sensor::OverrangeStatus::Status::PRESS
@ PRESS
Definition: data_sensor.hpp:960
mip::data_sensor::RawAccel::raw_accel
Vector3f raw_accel
Parameters.
Definition: data_sensor.hpp:81
mip::data_sensor::GpsTimestamp::ValidFlags::operator=
ValidFlags & operator=(int val)
Definition: data_sensor.hpp:764
mip::data_sensor::TemperatureAbs::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:831
mip::data_sensor::DeltaVelocity::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:127
mip::data_sensor::ScaledPressure::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:352
mip::CompositeDescriptor
Convenience struct holding both descriptor set and field descriptor.
Definition: mip_descriptors.hpp:22
mip::data_sensor::ScaledGyro::asTuple
auto asTuple()
Definition: data_sensor.hpp:286
mip::data_sensor::CompOrientationUpdateMatrix::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:174
mip::data_sensor::ScaledGyro::insert
void insert(Serializer &serializer) const
Serialization.
Definition: data_sensor.cpp:78
mip::data_sensor::CompQuaternion::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:519
mip::data_sensor::GpsTimestamp
Definition: data_sensor.hpp:743
mip::data_sensor::CompQuaternion::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:521
mip::data_sensor::OverrangeStatus::Status::gyroX
bool gyroX() const
Definition: data_sensor.hpp:979
mip::data_sensor::CompEulerAngles::roll
float roll
Parameters.
Definition: data_sensor.hpp:552
mip::data_sensor::GpsTimestamp::valid_flags
ValidFlags valid_flags
Definition: data_sensor.hpp:784
mip::data_sensor::OdometerData::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:1041
mip::data_sensor::CompOrientationMatrix::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:475
mip::data_sensor::NorthVector::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:278
mip::data_sensor::ScaledAccel::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:72
mip::data_sensor::CompQuaternion::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:518
mip::data_sensor::RawAccel::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:84
mip::Bitfield
A dummy struct which is used to mark bitfield objects.
Definition: mip_descriptors.hpp:62
mip::data_sensor::InternalTimestamp::asTuple
auto asTuple()
Definition: data_sensor.hpp:680
mip::data_sensor::GpsTimestamp::DOC_NAME
static constexpr const char * DOC_NAME
Definition: data_sensor.hpp:791
mip::data_sensor::OverrangeStatus::asTuple
auto asTuple() const
Definition: data_sensor.hpp:1007
mip::data_sensor::InternalTimestamp::extract
void extract(Serializer &serializer)
Definition: data_sensor.cpp:203
mip::data_sensor::OverrangeStatus::Status::Status
Status()
Definition: data_sensor.hpp:965
mip::data_sensor::OverrangeStatus::Status::setAll
void setAll()
Definition: data_sensor.hpp:994
mip::data_sensor::GpsTimestamp::ValidFlags::ALL
@ ALL
Definition: data_sensor.hpp:756
mip::data_sensor::ScaledAccel::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:237
mip::data_sensor::InternalTimestamp::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:669
mip::data_sensor::GpsTimestamp::ValidFlags::towValid
void towValid(bool val)
Definition: data_sensor.hpp:775
mip::data_sensor::CompOrientationUpdateMatrix::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_sensor.hpp:594
mip::data_sensor::DATA_DELTA_THETA
@ DATA_DELTA_THETA
Definition: data_sensor.hpp:39
mip::data_sensor::TemperatureAbs::min_temp
float min_temp
Parameters.
Definition: data_sensor.hpp:825
mip::data_sensor::DATA_COMP_ORIENTATION_UPDATE_MATRIX
@ DATA_COMP_ORIENTATION_UPDATE_MATRIX
Definition: data_sensor.hpp:43
mip::data_sensor::RawPressure::asTuple
auto asTuple()
Definition: data_sensor.hpp:210
mip::data_sensor::ScaledMag::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:314
common.hpp
mip::data_sensor::CompQuaternion::q
Quatf q
Parameters.
Definition: data_sensor.hpp:514
mip::data_sensor::OverrangeStatus::Status::magY
void magY(bool val)
Definition: data_sensor.hpp:988
mip_result.hpp
mip::data_sensor::CompQuaternion
Definition: data_sensor.hpp:511
mip::data_sensor::OverrangeStatus::Status::accelZ
bool accelZ() const
Definition: data_sensor.hpp:977
mip::data_sensor::NorthVector::NAME
static constexpr const char * NAME
Definition: data_sensor.hpp:916
mip::data_sensor::GpsTimestamp::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:788
mip::data_sensor::RawAccel::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_sensor.hpp:85
mip::data_sensor::PpsTimestamp::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:708
mip::data_sensor::OverrangeStatus::Status::gyroZ
void gyroZ(bool val)
Definition: data_sensor.hpp:984
mip::data_sensor::GpsTimestamp::ValidFlags::weekNumberValid
bool weekNumberValid() const
Definition: data_sensor.hpp:776
mip::data_sensor::NorthVector::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_sensor.hpp:915
mip::data_sensor::GpsTimestamp::ValidFlags::weekNumberValid
void weekNumberValid(bool val)
Definition: data_sensor.hpp:777
mip::data_sensor::UpVector::asTuple
auto asTuple()
Definition: data_sensor.hpp:885
mip::data_sensor::OverrangeStatus::Status::press
bool press() const
Definition: data_sensor.hpp:991
mip::data_sensor::DATA_TEMPERATURE_ABS
@ DATA_TEMPERATURE_ABS
Definition: data_sensor.hpp:51