MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
commands_aiding.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 commands_aiding {
17 
24 
26 // Descriptors
28 
29 enum
30 {
32 
36  CMD_POS_LOCAL = 0x20,
37  CMD_POS_ECEF = 0x21,
38  CMD_POS_LLH = 0x22,
41  CMD_VEL_ECEF = 0x28,
42  CMD_VEL_NED = 0x29,
47  CMD_PRESSURE = 0x33,
51 
54 };
55 
57 // Shared Type Definitions
59 
60 struct Time
61 {
62  enum class Timebase : uint8_t
63  {
64  INTERNAL_REFERENCE = 1,
65  EXTERNAL_TIME = 2,
66  TIME_OF_ARRIVAL = 3,
67  };
68 
70  Timebase timebase = static_cast<Timebase>(0);
71  uint8_t reserved = 0;
72  uint64_t nanoseconds = 0;
73 
75  void insert(Serializer& serializer) const;
76  void extract(Serializer& serializer);
77 
78 };
79 
81 // Mip Fields
83 
113 
115 {
116  enum class Format : uint8_t
117  {
118  EULER = 1,
119  QUATERNION = 2,
120  };
121 
122  union Rotation
123  {
126 
127  Rotation() {}
128  };
130  FunctionSelector function = static_cast<FunctionSelector>(0);
131  uint8_t frame_id = 0;
132  Format format = static_cast<Format>(0);
133  bool tracking_enabled = 0;
136 
138  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
141  static constexpr const char* NAME = "FrameConfig";
142  static constexpr const char* DOC_NAME = "Frame Configuration";
143  static constexpr const bool HAS_FUNCTION_SELECTOR = true;
144 
145  auto asTuple() const
146  {
147  return std::make_tuple(frame_id,format,tracking_enabled,translation,rotation);
148  }
149 
150  auto asTuple()
151  {
152  return std::make_tuple(std::ref(frame_id),std::ref(format),std::ref(tracking_enabled),std::ref(translation),std::ref(rotation));
153  }
154 
156  {
157  FrameConfig cmd;
158  cmd.function = function;
159  cmd.frame_id = 0;
160  return cmd;
161  }
162 
164  void insert(Serializer& serializer) const;
165  void extract(Serializer& serializer);
166 
167  struct Response
168  {
170  uint8_t frame_id = 0;
171  Format format = static_cast<Format>(0);
172  bool tracking_enabled = 0;
175 
177  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
180  static constexpr const char* NAME = "FrameConfig::Response";
181  static constexpr const char* DOC_NAME = "Frame Configuration Response";
182  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
183 
184  auto asTuple() const
185  {
186  return std::make_tuple(frame_id,format,tracking_enabled,translation,rotation);
187  }
188 
189  auto asTuple()
190  {
191  return std::make_tuple(std::ref(frame_id),std::ref(format),std::ref(tracking_enabled),std::ref(translation),std::ref(rotation));
192  }
193 
195  void insert(Serializer& serializer) const;
196  void extract(Serializer& serializer);
197 
198  };
199 };
200 TypedResult<FrameConfig> writeFrameConfig(C::mip_interface& device, uint8_t frameId, FrameConfig::Format format, bool trackingEnabled, const float* translation, const FrameConfig::Rotation& rotation);
201 TypedResult<FrameConfig> readFrameConfig(C::mip_interface& device, uint8_t frameId, FrameConfig::Format format, bool* trackingEnabledOut, float* translationOut, FrameConfig::Rotation* rotationOut);
205 
213 
215 {
216  enum class Mode : uint8_t
217  {
218  SUPPRESS_ACK = 0,
219  STANDARD = 1,
220  RESPONSE = 2,
221  };
222 
224  FunctionSelector function = static_cast<FunctionSelector>(0);
225  Mode mode = static_cast<Mode>(0);
226 
228  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
231  static constexpr const char* NAME = "EchoControl";
232  static constexpr const char* DOC_NAME = "Aiding Command Echo Control";
233  static constexpr const bool HAS_FUNCTION_SELECTOR = true;
234 
235  auto asTuple() const
236  {
237  return std::make_tuple(mode);
238  }
239 
240  auto asTuple()
241  {
242  return std::make_tuple(std::ref(mode));
243  }
244 
246  {
247  EchoControl cmd;
248  cmd.function = function;
249  return cmd;
250  }
251 
253  void insert(Serializer& serializer) const;
254  void extract(Serializer& serializer);
255 
256  struct Response
257  {
259  Mode mode = static_cast<Mode>(0);
260 
262  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
265  static constexpr const char* NAME = "EchoControl::Response";
266  static constexpr const char* DOC_NAME = "Aiding Command Echo Control Response";
267  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
268 
269  auto asTuple() const
270  {
271  return std::make_tuple(mode);
272  }
273 
274  auto asTuple()
275  {
276  return std::make_tuple(std::ref(mode));
277  }
278 
280  void insert(Serializer& serializer) const;
281  void extract(Serializer& serializer);
282 
283  };
284 };
290 
298 
299 struct PosEcef
300 {
301  struct ValidFlags : Bitfield<ValidFlags>
302  {
303  typedef uint16_t Type;
304  enum _enumType : uint16_t
305  {
306  NONE = 0x0000,
307  X = 0x0001,
308  Y = 0x0002,
309  Z = 0x0004,
310  ALL = 0x0007,
311  };
312  uint16_t value = NONE;
313 
315  ValidFlags(int val) : value((uint16_t)val) {}
316  operator uint16_t() const { return value; }
317  ValidFlags& operator=(uint16_t val) { value = val; return *this; }
318  ValidFlags& operator=(int val) { value = uint16_t(val); return *this; }
319  ValidFlags& operator|=(uint16_t val) { return *this = value | val; }
320  ValidFlags& operator&=(uint16_t val) { return *this = value & val; }
321 
322  bool x() const { return (value & X) > 0; }
323  void x(bool val) { value &= ~X; if(val) value |= X; }
324  bool y() const { return (value & Y) > 0; }
325  void y(bool val) { value &= ~Y; if(val) value |= Y; }
326  bool z() const { return (value & Z) > 0; }
327  void z(bool val) { value &= ~Z; if(val) value |= Z; }
328  bool allSet() const { return value == ALL; }
329  void setAll() { value |= ALL; }
330  };
333  uint8_t frame_id = 0;
337 
339  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
340  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_aiding::CMD_POS_ECEF;
342  static constexpr const char* NAME = "PosEcef";
343  static constexpr const char* DOC_NAME = "ECEF Position";
344  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
345 
346  auto asTuple() const
347  {
348  return std::make_tuple(time,frame_id,position,uncertainty,valid_flags);
349  }
350 
351  auto asTuple()
352  {
353  return std::make_tuple(std::ref(time),std::ref(frame_id),std::ref(position),std::ref(uncertainty),std::ref(valid_flags));
354  }
355 
357  void insert(Serializer& serializer) const;
358  void extract(Serializer& serializer);
359 
360  typedef void Response;
361 };
362 TypedResult<PosEcef> posEcef(C::mip_interface& device, const Time& time, uint8_t frameId, const double* position, const float* uncertainty, PosEcef::ValidFlags validFlags);
363 
373 
374 struct PosLlh
375 {
376  struct ValidFlags : Bitfield<ValidFlags>
377  {
378  typedef uint16_t Type;
379  enum _enumType : uint16_t
380  {
381  NONE = 0x0000,
382  LATITUDE = 0x0001,
383  LONGITUDE = 0x0002,
384  HEIGHT = 0x0004,
385  ALL = 0x0007,
386  };
387  uint16_t value = NONE;
388 
390  ValidFlags(int val) : value((uint16_t)val) {}
391  operator uint16_t() const { return value; }
392  ValidFlags& operator=(uint16_t val) { value = val; return *this; }
393  ValidFlags& operator=(int val) { value = uint16_t(val); return *this; }
394  ValidFlags& operator|=(uint16_t val) { return *this = value | val; }
395  ValidFlags& operator&=(uint16_t val) { return *this = value & val; }
396 
397  bool latitude() const { return (value & LATITUDE) > 0; }
398  void latitude(bool val) { value &= ~LATITUDE; if(val) value |= LATITUDE; }
399  bool longitude() const { return (value & LONGITUDE) > 0; }
400  void longitude(bool val) { value &= ~LONGITUDE; if(val) value |= LONGITUDE; }
401  bool height() const { return (value & HEIGHT) > 0; }
402  void height(bool val) { value &= ~HEIGHT; if(val) value |= HEIGHT; }
403  bool allSet() const { return value == ALL; }
404  void setAll() { value |= ALL; }
405  };
408  uint8_t frame_id = 0;
409  double latitude = 0;
410  double longitude = 0;
411  double height = 0;
414 
416  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
417  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_aiding::CMD_POS_LLH;
419  static constexpr const char* NAME = "PosLlh";
420  static constexpr const char* DOC_NAME = "LLH Position";
421  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
422 
423  auto asTuple() const
424  {
425  return std::make_tuple(time,frame_id,latitude,longitude,height,uncertainty,valid_flags);
426  }
427 
428  auto asTuple()
429  {
430  return std::make_tuple(std::ref(time),std::ref(frame_id),std::ref(latitude),std::ref(longitude),std::ref(height),std::ref(uncertainty),std::ref(valid_flags));
431  }
432 
434  void insert(Serializer& serializer) const;
435  void extract(Serializer& serializer);
436 
437  typedef void Response;
438 };
439 TypedResult<PosLlh> posLlh(C::mip_interface& device, const Time& time, uint8_t frameId, double latitude, double longitude, double height, const float* uncertainty, PosLlh::ValidFlags validFlags);
440 
448 
450 {
453  uint8_t frame_id = 0;
454  float height = 0;
455  float uncertainty = 0;
456  uint16_t valid_flags = 0;
457 
459  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
462  static constexpr const char* NAME = "HeightAboveEllipsoid";
463  static constexpr const char* DOC_NAME = "Height Above Ellipsoid";
464  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
465 
466  auto asTuple() const
467  {
468  return std::make_tuple(time,frame_id,height,uncertainty,valid_flags);
469  }
470 
471  auto asTuple()
472  {
473  return std::make_tuple(std::ref(time),std::ref(frame_id),std::ref(height),std::ref(uncertainty),std::ref(valid_flags));
474  }
475 
477  void insert(Serializer& serializer) const;
478  void extract(Serializer& serializer);
479 
480  typedef void Response;
481 };
482 TypedResult<HeightAboveEllipsoid> heightAboveEllipsoid(C::mip_interface& device, const Time& time, uint8_t frameId, float height, float uncertainty, uint16_t validFlags);
483 
491 
492 struct VelEcef
493 {
494  struct ValidFlags : Bitfield<ValidFlags>
495  {
496  typedef uint16_t Type;
497  enum _enumType : uint16_t
498  {
499  NONE = 0x0000,
500  X = 0x0001,
501  Y = 0x0002,
502  Z = 0x0004,
503  ALL = 0x0007,
504  };
505  uint16_t value = NONE;
506 
508  ValidFlags(int val) : value((uint16_t)val) {}
509  operator uint16_t() const { return value; }
510  ValidFlags& operator=(uint16_t val) { value = val; return *this; }
511  ValidFlags& operator=(int val) { value = uint16_t(val); return *this; }
512  ValidFlags& operator|=(uint16_t val) { return *this = value | val; }
513  ValidFlags& operator&=(uint16_t val) { return *this = value & val; }
514 
515  bool x() const { return (value & X) > 0; }
516  void x(bool val) { value &= ~X; if(val) value |= X; }
517  bool y() const { return (value & Y) > 0; }
518  void y(bool val) { value &= ~Y; if(val) value |= Y; }
519  bool z() const { return (value & Z) > 0; }
520  void z(bool val) { value &= ~Z; if(val) value |= Z; }
521  bool allSet() const { return value == ALL; }
522  void setAll() { value |= ALL; }
523  };
526  uint8_t frame_id = 0;
530 
532  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
533  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_aiding::CMD_VEL_ECEF;
535  static constexpr const char* NAME = "VelEcef";
536  static constexpr const char* DOC_NAME = "ECEF Velocity";
537  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
538 
539  auto asTuple() const
540  {
541  return std::make_tuple(time,frame_id,velocity,uncertainty,valid_flags);
542  }
543 
544  auto asTuple()
545  {
546  return std::make_tuple(std::ref(time),std::ref(frame_id),std::ref(velocity),std::ref(uncertainty),std::ref(valid_flags));
547  }
548 
550  void insert(Serializer& serializer) const;
551  void extract(Serializer& serializer);
552 
553  typedef void Response;
554 };
555 TypedResult<VelEcef> velEcef(C::mip_interface& device, const Time& time, uint8_t frameId, const float* velocity, const float* uncertainty, VelEcef::ValidFlags validFlags);
556 
564 
565 struct VelNed
566 {
567  struct ValidFlags : Bitfield<ValidFlags>
568  {
569  typedef uint16_t Type;
570  enum _enumType : uint16_t
571  {
572  NONE = 0x0000,
573  X = 0x0001,
574  Y = 0x0002,
575  Z = 0x0004,
576  ALL = 0x0007,
577  };
578  uint16_t value = NONE;
579 
581  ValidFlags(int val) : value((uint16_t)val) {}
582  operator uint16_t() const { return value; }
583  ValidFlags& operator=(uint16_t val) { value = val; return *this; }
584  ValidFlags& operator=(int val) { value = uint16_t(val); return *this; }
585  ValidFlags& operator|=(uint16_t val) { return *this = value | val; }
586  ValidFlags& operator&=(uint16_t val) { return *this = value & val; }
587 
588  bool x() const { return (value & X) > 0; }
589  void x(bool val) { value &= ~X; if(val) value |= X; }
590  bool y() const { return (value & Y) > 0; }
591  void y(bool val) { value &= ~Y; if(val) value |= Y; }
592  bool z() const { return (value & Z) > 0; }
593  void z(bool val) { value &= ~Z; if(val) value |= Z; }
594  bool allSet() const { return value == ALL; }
595  void setAll() { value |= ALL; }
596  };
599  uint8_t frame_id = 0;
603 
605  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
606  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_aiding::CMD_VEL_NED;
608  static constexpr const char* NAME = "VelNed";
609  static constexpr const char* DOC_NAME = "NED Velocity";
610  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
611 
612  auto asTuple() const
613  {
614  return std::make_tuple(time,frame_id,velocity,uncertainty,valid_flags);
615  }
616 
617  auto asTuple()
618  {
619  return std::make_tuple(std::ref(time),std::ref(frame_id),std::ref(velocity),std::ref(uncertainty),std::ref(valid_flags));
620  }
621 
623  void insert(Serializer& serializer) const;
624  void extract(Serializer& serializer);
625 
626  typedef void Response;
627 };
628 TypedResult<VelNed> velNed(C::mip_interface& device, const Time& time, uint8_t frameId, const float* velocity, const float* uncertainty, VelNed::ValidFlags validFlags);
629 
637 
639 {
640  struct ValidFlags : Bitfield<ValidFlags>
641  {
642  typedef uint16_t Type;
643  enum _enumType : uint16_t
644  {
645  NONE = 0x0000,
646  X = 0x0001,
647  Y = 0x0002,
648  Z = 0x0004,
649  ALL = 0x0007,
650  };
651  uint16_t value = NONE;
652 
654  ValidFlags(int val) : value((uint16_t)val) {}
655  operator uint16_t() const { return value; }
656  ValidFlags& operator=(uint16_t val) { value = val; return *this; }
657  ValidFlags& operator=(int val) { value = uint16_t(val); return *this; }
658  ValidFlags& operator|=(uint16_t val) { return *this = value | val; }
659  ValidFlags& operator&=(uint16_t val) { return *this = value & val; }
660 
661  bool x() const { return (value & X) > 0; }
662  void x(bool val) { value &= ~X; if(val) value |= X; }
663  bool y() const { return (value & Y) > 0; }
664  void y(bool val) { value &= ~Y; if(val) value |= Y; }
665  bool z() const { return (value & Z) > 0; }
666  void z(bool val) { value &= ~Z; if(val) value |= Z; }
667  bool allSet() const { return value == ALL; }
668  void setAll() { value |= ALL; }
669  };
672  uint8_t frame_id = 0;
676 
678  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
681  static constexpr const char* NAME = "VelBodyFrame";
682  static constexpr const char* DOC_NAME = "Body Frame Velocity";
683  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
684 
685  auto asTuple() const
686  {
687  return std::make_tuple(time,frame_id,velocity,uncertainty,valid_flags);
688  }
689 
690  auto asTuple()
691  {
692  return std::make_tuple(std::ref(time),std::ref(frame_id),std::ref(velocity),std::ref(uncertainty),std::ref(valid_flags));
693  }
694 
696  void insert(Serializer& serializer) const;
697  void extract(Serializer& serializer);
698 
699  typedef void Response;
700 };
701 TypedResult<VelBodyFrame> velBodyFrame(C::mip_interface& device, const Time& time, uint8_t frameId, const float* velocity, const float* uncertainty, VelBodyFrame::ValidFlags validFlags);
702 
709 
711 {
714  uint8_t frame_id = 0;
715  float heading = 0;
716  float uncertainty = 0;
717  uint16_t valid_flags = 0;
718 
720  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
723  static constexpr const char* NAME = "HeadingTrue";
724  static constexpr const char* DOC_NAME = "True Heading";
725  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
726 
727  auto asTuple() const
728  {
729  return std::make_tuple(time,frame_id,heading,uncertainty,valid_flags);
730  }
731 
732  auto asTuple()
733  {
734  return std::make_tuple(std::ref(time),std::ref(frame_id),std::ref(heading),std::ref(uncertainty),std::ref(valid_flags));
735  }
736 
738  void insert(Serializer& serializer) const;
739  void extract(Serializer& serializer);
740 
741  typedef void Response;
742 };
743 TypedResult<HeadingTrue> headingTrue(C::mip_interface& device, const Time& time, uint8_t frameId, float heading, float uncertainty, uint16_t validFlags);
744 
752 
754 {
755  struct ValidFlags : Bitfield<ValidFlags>
756  {
757  typedef uint16_t Type;
758  enum _enumType : uint16_t
759  {
760  NONE = 0x0000,
761  X = 0x0001,
762  Y = 0x0002,
763  Z = 0x0004,
764  ALL = 0x0007,
765  };
766  uint16_t value = NONE;
767 
769  ValidFlags(int val) : value((uint16_t)val) {}
770  operator uint16_t() const { return value; }
771  ValidFlags& operator=(uint16_t val) { value = val; return *this; }
772  ValidFlags& operator=(int val) { value = uint16_t(val); return *this; }
773  ValidFlags& operator|=(uint16_t val) { return *this = value | val; }
774  ValidFlags& operator&=(uint16_t val) { return *this = value & val; }
775 
776  bool x() const { return (value & X) > 0; }
777  void x(bool val) { value &= ~X; if(val) value |= X; }
778  bool y() const { return (value & Y) > 0; }
779  void y(bool val) { value &= ~Y; if(val) value |= Y; }
780  bool z() const { return (value & Z) > 0; }
781  void z(bool val) { value &= ~Z; if(val) value |= Z; }
782  bool allSet() const { return value == ALL; }
783  void setAll() { value |= ALL; }
784  };
787  uint8_t frame_id = 0;
791 
793  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
796  static constexpr const char* NAME = "MagneticField";
797  static constexpr const char* DOC_NAME = "Magnetic Field";
798  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
799 
800  auto asTuple() const
801  {
802  return std::make_tuple(time,frame_id,magnetic_field,uncertainty,valid_flags);
803  }
804 
805  auto asTuple()
806  {
807  return std::make_tuple(std::ref(time),std::ref(frame_id),std::ref(magnetic_field),std::ref(uncertainty),std::ref(valid_flags));
808  }
809 
811  void insert(Serializer& serializer) const;
812  void extract(Serializer& serializer);
813 
814  typedef void Response;
815 };
816 TypedResult<MagneticField> magneticField(C::mip_interface& device, const Time& time, uint8_t frameId, const float* magneticField, const float* uncertainty, MagneticField::ValidFlags validFlags);
817 
825 
826 struct Pressure
827 {
830  uint8_t frame_id = 0;
831  float pressure = 0;
832  float uncertainty = 0;
833  uint16_t valid_flags = 0;
834 
836  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_aiding::DESCRIPTOR_SET;
837  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_aiding::CMD_PRESSURE;
839  static constexpr const char* NAME = "Pressure";
840  static constexpr const char* DOC_NAME = "Pressure";
841  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
842 
843  auto asTuple() const
844  {
845  return std::make_tuple(time,frame_id,pressure,uncertainty,valid_flags);
846  }
847 
848  auto asTuple()
849  {
850  return std::make_tuple(std::ref(time),std::ref(frame_id),std::ref(pressure),std::ref(uncertainty),std::ref(valid_flags));
851  }
852 
854  void insert(Serializer& serializer) const;
855  void extract(Serializer& serializer);
856 
857  typedef void Response;
858 };
859 TypedResult<Pressure> pressure(C::mip_interface& device, const Time& time, uint8_t frameId, float pressure, float uncertainty, uint16_t validFlags);
860 
863 
868 } // namespace commands_aiding
869 } // namespace mip
870 
mip::commands_aiding::MagneticField::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:794
mip::commands_aiding::HeightAboveEllipsoid::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:463
mip::commands_aiding::EchoControl::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:255
mip::commands_aiding::VelBodyFrame::ValidFlags::Z
@ Z
Definition: commands_aiding.hpp:648
mip::commands_aiding::PosEcef::ValidFlags
Definition: commands_aiding.hpp:301
mip::commands_aiding::VelBodyFrame::frame_id
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:672
mip::commands_aiding::VelEcef::ValidFlags::ALL
@ ALL
Definition: commands_aiding.hpp:503
mip::commands_aiding::VelEcef::ValidFlags::ValidFlags
ValidFlags(int val)
Definition: commands_aiding.hpp:508
mip::commands_aiding::MagneticField::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:704
mip::commands_aiding::PosEcef::ValidFlags::z
bool z() const
Definition: commands_aiding.hpp:326
mip::commands_aiding::FrameConfig::create_sld_all
static FrameConfig create_sld_all(::mip::FunctionSelector function)
Definition: commands_aiding.hpp:155
mip::commands_aiding::HeadingTrue::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:721
mip::commands_aiding::Pressure::asTuple
auto asTuple()
Definition: commands_aiding.hpp:848
mip::commands_aiding::MagneticField::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:797
mip::commands_aiding::CMD_WHEELSPEED
@ CMD_WHEELSPEED
Definition: commands_aiding.hpp:44
mip::commands_aiding::PosLlh::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:420
mip::commands_aiding::VelEcef::ValidFlags::Z
@ Z
Definition: commands_aiding.hpp:502
mip::commands_aiding::VelNed::uncertainty
Vector3f uncertainty
NED velocity uncertainty [m/s]. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.hpp:601
mip::commands_aiding::PosLlh::latitude
double latitude
[deg]
Definition: commands_aiding.hpp:409
mip::commands_aiding::PosLlh::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:419
mip::commands_aiding::VelNed::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:607
mip
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
mip::commands_aiding::PosEcef::ValidFlags::operator&=
ValidFlags & operator&=(uint16_t val)
Definition: commands_aiding.hpp:320
mip::commands_aiding::VelEcef::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:536
mip::commands_aiding::defaultEchoControl
TypedResult< EchoControl > defaultEchoControl(C::mip_interface &device)
Definition: commands_aiding.cpp:342
mip::commands_aiding::MagneticField::ValidFlags::Z
@ Z
Definition: commands_aiding.hpp:763
mip::commands_aiding::Time::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:32
mip::commands_aiding::VelNed::ValidFlags::operator=
ValidFlags & operator=(int val)
Definition: commands_aiding.hpp:584
mip::commands_aiding::FrameConfig::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:182
mip::commands_aiding::readFrameConfig
TypedResult< FrameConfig > readFrameConfig(C::mip_interface &device, uint8_t frameId, FrameConfig::Format format, bool *trackingEnabledOut, float *translationOut, FrameConfig::Rotation *rotationOut)
Definition: commands_aiding.cpp:174
mip::commands_aiding::HeadingTrue::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:722
mip::commands_aiding::CMD_POS_LLH
@ CMD_POS_LLH
Definition: commands_aiding.hpp:38
mip::commands_aiding::CMD_PRESSURE
@ CMD_PRESSURE
Definition: commands_aiding.hpp:47
mip_descriptors.hpp
mip::commands_aiding::EchoControl::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:276
mip::commands_aiding::CMD_ECHO_CONTROL
@ CMD_ECHO_CONTROL
Definition: commands_aiding.hpp:35
mip::commands_aiding::VelNed::ValidFlags::x
void x(bool val)
Definition: commands_aiding.hpp:589
mip::commands_aiding::saveFrameConfig
TypedResult< FrameConfig > saveFrameConfig(C::mip_interface &device, uint8_t frameId)
Definition: commands_aiding.cpp:219
mip::commands_aiding::VelBodyFrame::valid_flags
ValidFlags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.hpp:675
mip::commands_aiding::HeadingTrue::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:724
mip::commands_aiding::VelEcef::ValidFlags::NONE
@ NONE
Definition: commands_aiding.hpp:499
mip::commands_aiding::EchoControl::Mode::STANDARD
@ STANDARD
Normal ack/nack behavior.
mip::commands_aiding::HeightAboveEllipsoid::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:462
mip::commands_aiding::MagneticField::ValidFlags::y
void y(bool val)
Definition: commands_aiding.hpp:779
microstrain::Serializer
Serializes or deserializes data to/from a byte buffer.
Definition: serializer.hpp:125
mip::commands_aiding::PosLlh::ValidFlags::ValidFlags
ValidFlags(int val)
Definition: commands_aiding.hpp:390
mip::commands_aiding::VelEcef::ValidFlags::operator=
ValidFlags & operator=(uint16_t val)
Definition: commands_aiding.hpp:510
mip::commands_aiding::FrameConfig::Rotation
Definition: commands_aiding.hpp:122
mip::commands_aiding::PosEcef::position
Vector3d position
ECEF position [m].
Definition: commands_aiding.hpp:334
mip::commands_aiding::MagneticField::ValidFlags::z
bool z() const
Definition: commands_aiding.hpp:780
mip::commands_aiding::FrameConfig::asTuple
auto asTuple()
Definition: commands_aiding.hpp:150
mip::commands_aiding::DESCRIPTOR_SET
@ DESCRIPTOR_SET
Definition: commands_aiding.hpp:31
mip::commands_aiding::HeightAboveEllipsoid
Definition: commands_aiding.hpp:449
mip::commands_aiding::VelNed::valid_flags
ValidFlags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.hpp:602
mip::commands_aiding::MagneticField::ValidFlags::operator=
ValidFlags & operator=(uint16_t val)
Definition: commands_aiding.hpp:771
mip::commands_aiding::VelNed::Response
void Response
Definition: commands_aiding.hpp:626
mip::commands_aiding::PosLlh::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:416
mip::commands_aiding::PosEcef::ValidFlags::operator|=
ValidFlags & operator|=(uint16_t val)
Definition: commands_aiding.hpp:319
mip::commands_aiding::VelEcef::asTuple
auto asTuple()
Definition: commands_aiding.hpp:544
mip::commands_aiding::MagneticField::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:798
mip::commands_aiding::EchoControl::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:233
mip::commands_aiding::PosLlh::ValidFlags::height
void height(bool val)
Definition: commands_aiding.hpp:402
mip::commands_aiding::EchoControl::mode
Mode mode
Controls data echoing.
Definition: commands_aiding.hpp:225
mip::commands_aiding::PosLlh::ValidFlags::longitude
void longitude(bool val)
Definition: commands_aiding.hpp:400
mip::commands_aiding::MagneticField::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:796
mip::commands_aiding::PosEcef::ValidFlags::Z
@ Z
Definition: commands_aiding.hpp:309
mip::commands_aiding::EchoControl
Definition: commands_aiding.hpp:214
mip::commands_aiding::PosLlh::ValidFlags
Definition: commands_aiding.hpp:376
mip::commands_aiding::VelNed::ValidFlags::NONE
@ NONE
Definition: commands_aiding.hpp:572
mip::commands_aiding::FrameConfig::Response::asTuple
auto asTuple()
Definition: commands_aiding.hpp:189
mip::commands_aiding::EchoControl::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:229
mip::commands_aiding::MagneticField::time
Time time
Parameters.
Definition: commands_aiding.hpp:786
mip::commands_aiding::Pressure::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:843
mip::commands_aiding::VelEcef::ValidFlags::X
@ X
Definition: commands_aiding.hpp:500
mip::commands_aiding::posLlh
TypedResult< PosLlh > posLlh(C::mip_interface &device, const Time &time, uint8_t frameId, double latitude, double longitude, double height, const float *uncertainty, PosLlh::ValidFlags validFlags)
Definition: commands_aiding.cpp:437
mip::commands_aiding::velNed
TypedResult< VelNed > velNed(C::mip_interface &device, const Time &time, uint8_t frameId, const float *velocity, const float *uncertainty, VelNed::ValidFlags validFlags)
Definition: commands_aiding.cpp:585
mip::commands_aiding::VelNed::ValidFlags::y
void y(bool val)
Definition: commands_aiding.hpp:591
mip::commands_aiding::VelNed::ValidFlags::allSet
bool allSet() const
Definition: commands_aiding.hpp:594
mip::commands_aiding::FrameConfig::Response::tracking_enabled
bool tracking_enabled
If enabled, the Kalman filter will track errors.
Definition: commands_aiding.hpp:172
mip::commands_aiding::PosLlh::ValidFlags::operator=
ValidFlags & operator=(uint16_t val)
Definition: commands_aiding.hpp:392
mip::commands_aiding::PosEcef::ValidFlags::y
bool y() const
Definition: commands_aiding.hpp:324
mip::commands_aiding::CMD_FRAME_CONFIG
@ CMD_FRAME_CONFIG
Definition: commands_aiding.hpp:33
mip::commands_aiding::VelNed::ValidFlags::_enumType
_enumType
Definition: commands_aiding.hpp:570
mip::commands_aiding::loadFrameConfig
TypedResult< FrameConfig > loadFrameConfig(C::mip_interface &device, uint8_t frameId)
Definition: commands_aiding.cpp:231
mip::commands_aiding::EchoControl::create_sld_all
static EchoControl create_sld_all(::mip::FunctionSelector function)
Definition: commands_aiding.hpp:245
mip::commands_aiding::FrameConfig::translation
Vector3f translation
Translation X, Y, and Z.
Definition: commands_aiding.hpp:134
mip::commands_aiding::MagneticField::ValidFlags::x
bool x() const
Definition: commands_aiding.hpp:776
mip::commands_aiding::VelNed::ValidFlags::X
@ X
Definition: commands_aiding.hpp:573
mip::commands_aiding::PosLlh::Response
void Response
Definition: commands_aiding.hpp:437
mip::commands_aiding::PosLlh::ValidFlags::Type
uint16_t Type
Definition: commands_aiding.hpp:378
mip::commands_aiding::VelNed::ValidFlags::ValidFlags
ValidFlags(int val)
Definition: commands_aiding.hpp:581
mip::commands_aiding::FrameConfig::Response::format
Format format
Format of the transformation.
Definition: commands_aiding.hpp:171
mip::commands_aiding::PosLlh::asTuple
auto asTuple()
Definition: commands_aiding.hpp:428
mip::commands_aiding::VelBodyFrame::ValidFlags::operator=
ValidFlags & operator=(int val)
Definition: commands_aiding.hpp:657
mip::commands_aiding::HeightAboveEllipsoid::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:459
mip::commands_aiding::PosEcef::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:352
mip::commands_aiding::MagneticField::ValidFlags::ALL
@ ALL
Definition: commands_aiding.hpp:764
mip::commands_aiding::FrameConfig::Response::translation
Vector3f translation
Translation X, Y, and Z.
Definition: commands_aiding.hpp:173
mip::commands_aiding::MagneticField::ValidFlags
Definition: commands_aiding.hpp:755
mip::commands_aiding::PosEcef::ValidFlags::x
bool x() const
Definition: commands_aiding.hpp:322
mip::commands_aiding::Time::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:23
mip::commands_aiding::VelBodyFrame::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:682
mip::commands_aiding::EchoControl::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:230
mip::commands_aiding::VelBodyFrame
Definition: commands_aiding.hpp:638
mip::commands_aiding::VelNed::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:605
mip::commands_aiding::FrameConfig::tracking_enabled
bool tracking_enabled
If enabled, the Kalman filter will track errors.
Definition: commands_aiding.hpp:133
mip::commands_aiding::VelEcef::ValidFlags::y
bool y() const
Definition: commands_aiding.hpp:517
mip::commands_aiding::FrameConfig::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:145
mip::commands_aiding::VelNed::ValidFlags::value
uint16_t value
Definition: commands_aiding.hpp:578
mip::commands_aiding::VelEcef::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:535
mip::commands_aiding::PosEcef::Response
void Response
Definition: commands_aiding.hpp:360
mip::commands_aiding::MagneticField::ValidFlags::Type
uint16_t Type
Definition: commands_aiding.hpp:757
mip::commands_aiding::PosLlh::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:421
mip::commands_aiding::VelNed::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:608
mip::commands_aiding::VelEcef::ValidFlags::value
uint16_t value
Definition: commands_aiding.hpp:505
mip::commands_aiding::CMD_HEADING_TRUE
@ CMD_HEADING_TRUE
Definition: commands_aiding.hpp:45
mip::commands_aiding::VelNed::ValidFlags::ALL
@ ALL
Definition: commands_aiding.hpp:576
mip::commands_aiding::VelNed::ValidFlags::Z
@ Z
Definition: commands_aiding.hpp:575
mip::commands_aiding::PosEcef::asTuple
auto asTuple()
Definition: commands_aiding.hpp:351
mip::commands_aiding::VelEcef::uncertainty
Vector3f uncertainty
ECEF velocity uncertainty [m/s]. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.hpp:528
mip::commands_aiding::velEcef
TypedResult< VelEcef > velEcef(C::mip_interface &device, const Time &time, uint8_t frameId, const float *velocity, const float *uncertainty, VelEcef::ValidFlags validFlags)
Definition: commands_aiding.cpp:535
mip::commands_aiding::MagneticField::ValidFlags::allSet
bool allSet() const
Definition: commands_aiding.hpp:782
mip::commands_aiding::FrameConfig::Response
Definition: commands_aiding.hpp:167
mip::C::mip_interface
struct mip::C::mip_interface mip_interface
State of the interface for communicating with a MIP device.
mip::commands_aiding::Pressure::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:838
mip::commands_aiding::HeightAboveEllipsoid::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:466
mip::Vector< float, 3 >
mip::commands_aiding::PosEcef::ValidFlags::ALL
@ ALL
Definition: commands_aiding.hpp:310
mip::commands_aiding::PosEcef::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:342
mip::commands_aiding::saveEchoControl
TypedResult< EchoControl > saveEchoControl(C::mip_interface &device)
Definition: commands_aiding.cpp:322
mip::commands_aiding::MagneticField::asTuple
auto asTuple()
Definition: commands_aiding.hpp:805
mip::commands_aiding::EchoControl::Response::mode
Mode mode
Parameters.
Definition: commands_aiding.hpp:259
mip::commands_aiding::VelBodyFrame::ValidFlags::Y
@ Y
Definition: commands_aiding.hpp:647
mip::commands_aiding::CMD_VEL_BODY_FRAME
@ CMD_VEL_BODY_FRAME
Definition: commands_aiding.hpp:43
mip::commands_aiding::PosEcef::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:339
mip::commands_aiding::HeadingTrue::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:658
mip::commands_aiding::PosLlh::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:417
mip::commands_aiding::PosEcef::ValidFlags::X
@ X
Definition: commands_aiding.hpp:307
mip::commands_aiding::VelEcef::time
Time time
Parameters.
Definition: commands_aiding.hpp:525
mip::commands_aiding::MagneticField::ValidFlags::operator=
ValidFlags & operator=(int val)
Definition: commands_aiding.hpp:772
mip::commands_aiding::VelNed::ValidFlags::operator=
ValidFlags & operator=(uint16_t val)
Definition: commands_aiding.hpp:583
mip::commands_aiding::VelBodyFrame::ValidFlags::setAll
void setAll()
Definition: commands_aiding.hpp:668
mip::commands_aiding::PosEcef::uncertainty
Vector3f uncertainty
ECEF position uncertainty [m]. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.hpp:335
mip::commands_aiding::HeadingTrue
Definition: commands_aiding.hpp:710
mip::commands_aiding::loadEchoControl
TypedResult< EchoControl > loadEchoControl(C::mip_interface &device)
Definition: commands_aiding.cpp:332
mip::commands_aiding::PosEcef::ValidFlags::ValidFlags
ValidFlags(int val)
Definition: commands_aiding.hpp:315
mip::commands_aiding::VelNed::ValidFlags::y
bool y() const
Definition: commands_aiding.hpp:590
mip::commands_aiding::velBodyFrame
TypedResult< VelBodyFrame > velBodyFrame(C::mip_interface &device, const Time &time, uint8_t frameId, const float *velocity, const float *uncertainty, VelBodyFrame::ValidFlags validFlags)
Definition: commands_aiding.cpp:635
mip::commands_aiding::VelEcef::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:533
mip::commands_aiding::VelNed::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:612
mip::commands_aiding::EchoControl::Response::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:281
mip::commands_aiding::MagneticField::frame_id
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:787
mip::commands_aiding::VelBodyFrame::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:678
mip::commands_aiding::FrameConfig::Format
Format
Definition: commands_aiding.hpp:116
mip::commands_aiding::VelBodyFrame::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:681
mip::commands_aiding::VelEcef::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:539
mip::commands_aiding::PosLlh::frame_id
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:408
mip::commands_aiding::PosLlh::longitude
double longitude
[deg]
Definition: commands_aiding.hpp:410
mip::commands_aiding::VelBodyFrame::ValidFlags::operator=
ValidFlags & operator=(uint16_t val)
Definition: commands_aiding.hpp:656
mip::commands_aiding::VelEcef::valid_flags
ValidFlags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.hpp:529
mip::commands_aiding::PosLlh::ValidFlags::height
bool height() const
Definition: commands_aiding.hpp:401
mip::commands_aiding::PosEcef::ValidFlags::operator=
ValidFlags & operator=(int val)
Definition: commands_aiding.hpp:318
mip::commands_aiding::VelBodyFrame::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:683
mip::commands_aiding::readEchoControl
TypedResult< EchoControl > readEchoControl(C::mip_interface &device, EchoControl::Mode *modeOut)
Definition: commands_aiding.cpp:299
mip::commands_aiding::Pressure::pressure
float pressure
[mbar]
Definition: commands_aiding.hpp:831
mip::commands_aiding::HeightAboveEllipsoid::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:464
mip::commands_aiding::EchoControl::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:264
mip::commands_aiding::PosLlh::ValidFlags::NONE
@ NONE
Definition: commands_aiding.hpp:381
mip::commands_aiding::HeadingTrue::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:671
mip::commands_aiding::MagneticField::ValidFlags::y
bool y() const
Definition: commands_aiding.hpp:778
mip::commands_aiding::FrameConfig::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:140
mip::commands_aiding::FrameConfig::Response::frame_id
uint8_t frame_id
Parameters.
Definition: commands_aiding.hpp:170
mip::commands_aiding::PosEcef::ValidFlags::_enumType
_enumType
Definition: commands_aiding.hpp:304
mip::commands_aiding::MagneticField::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:795
mip::commands_aiding::EchoControl::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:266
mip::commands_aiding::VelNed::velocity
Vector3f velocity
NED velocity [m/s].
Definition: commands_aiding.hpp:600
mip::commands_aiding::PosLlh::ValidFlags::_enumType
_enumType
Definition: commands_aiding.hpp:379
mip::commands_aiding::MagneticField::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:793
mip::commands_aiding::PosLlh::ValidFlags::ValidFlags
ValidFlags()
Definition: commands_aiding.hpp:389
mip::commands_aiding::VelBodyFrame::ValidFlags::z
bool z() const
Definition: commands_aiding.hpp:665
mip::commands_aiding::PosEcef::ValidFlags::z
void z(bool val)
Definition: commands_aiding.hpp:327
mip::commands_aiding::PosLlh::ValidFlags::LONGITUDE
@ LONGITUDE
Definition: commands_aiding.hpp:383
mip::commands_aiding::VelNed::ValidFlags::operator|=
ValidFlags & operator|=(uint16_t val)
Definition: commands_aiding.hpp:585
mip::commands_aiding::VelEcef::ValidFlags::operator|=
ValidFlags & operator|=(uint16_t val)
Definition: commands_aiding.hpp:512
mip::commands_aiding::VelEcef::ValidFlags::_enumType
_enumType
Definition: commands_aiding.hpp:497
mip::commands_aiding::FrameConfig::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:142
mip::commands_aiding::HeightAboveEllipsoid::valid_flags
uint16_t valid_flags
Definition: commands_aiding.hpp:456
mip::commands_aiding::MagneticField::valid_flags
ValidFlags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.hpp:790
mip::commands_aiding::VelBodyFrame::uncertainty
Vector3f uncertainty
[m/s] 1-sigma uncertainty. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.hpp:674
mip::commands_aiding::VelNed::ValidFlags::x
bool x() const
Definition: commands_aiding.hpp:588
mip::commands_aiding::HeightAboveEllipsoid::frame_id
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:453
mip::commands_aiding::FrameConfig::Rotation::quaternion
Quatf quaternion
Definition: commands_aiding.hpp:125
mip::commands_aiding::CMD_HEIGHT_REL
@ CMD_HEIGHT_REL
Definition: commands_aiding.hpp:40
mip::commands_aiding::HeightAboveEllipsoid::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:461
mip::commands_aiding::PosLlh::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:402
mip::commands_aiding::MagneticField::ValidFlags::X
@ X
Definition: commands_aiding.hpp:761
mip::FunctionSelector
FunctionSelector
Definition: mip_descriptors.hpp:68
mip::commands_aiding::HeadingTrue::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:725
mip::commands_aiding::EchoControl::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:228
mip::commands_aiding::heightAboveEllipsoid
TypedResult< HeightAboveEllipsoid > heightAboveEllipsoid(C::mip_interface &device, const Time &time, uint8_t frameId, float height, float uncertainty, uint16_t validFlags)
Definition: commands_aiding.cpp:489
mip::commands_aiding::VelBodyFrame::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:621
mip::commands_aiding::VelEcef::ValidFlags::operator=
ValidFlags & operator=(int val)
Definition: commands_aiding.hpp:511
mip::commands_aiding::VelEcef::frame_id
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:526
mip::commands_aiding::VelEcef::ValidFlags::y
void y(bool val)
Definition: commands_aiding.hpp:518
mip::commands_aiding::PosLlh::ValidFlags::HEIGHT
@ HEIGHT
Definition: commands_aiding.hpp:384
mip::commands_aiding::REPLY_FRAME_CONFIG
@ REPLY_FRAME_CONFIG
Definition: commands_aiding.hpp:52
mip::commands_aiding::CMD_POS_ECEF
@ CMD_POS_ECEF
Definition: commands_aiding.hpp:37
mip::commands_aiding::VelBodyFrame::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:680
mip::commands_aiding::Time
Definition: commands_aiding.hpp:60
mip::commands_aiding::PosEcef::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:365
mip::commands_aiding::VelBodyFrame::Response
void Response
Definition: commands_aiding.hpp:699
mip::commands_aiding::PosEcef::ValidFlags::Type
uint16_t Type
Definition: commands_aiding.hpp:303
mip::commands_aiding::VelBodyFrame::ValidFlags::x
void x(bool val)
Definition: commands_aiding.hpp:662
mip::commands_aiding::defaultFrameConfig
TypedResult< FrameConfig > defaultFrameConfig(C::mip_interface &device, uint8_t frameId)
Definition: commands_aiding.cpp:243
mip::commands_aiding::Pressure::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:836
mip::commands_aiding::VelBodyFrame::ValidFlags::_enumType
_enumType
Definition: commands_aiding.hpp:643
mip::commands_aiding::FrameConfig::Format::EULER
@ EULER
Translation vector followed by euler angles (roll, pitch, yaw).
mip::commands_aiding::FrameConfig::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:138
mip::commands_aiding::Time::reserved
uint8_t reserved
Reserved, set to 0x01.
Definition: commands_aiding.hpp:71
mip::commands_aiding::PosLlh::ValidFlags::LATITUDE
@ LATITUDE
Definition: commands_aiding.hpp:382
mip::commands_aiding::EchoControl::Response
Definition: commands_aiding.hpp:256
mip::commands_aiding::Pressure
Definition: commands_aiding.hpp:826
mip::commands_aiding::HeadingTrue::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:720
mip::commands_aiding::VelEcef::ValidFlags::x
void x(bool val)
Definition: commands_aiding.hpp:516
mip::commands_aiding::VelNed::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:610
mip::commands_aiding::VelBodyFrame::ValidFlags::NONE
@ NONE
Definition: commands_aiding.hpp:645
mip::commands_aiding::VelNed::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:606
mip::commands_aiding::EchoControl::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:235
mip::commands_aiding::Pressure::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:840
mip::commands_aiding::MagneticField::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:800
mip::commands_aiding::REPLY_ECHO_CONTROL
@ REPLY_ECHO_CONTROL
Definition: commands_aiding.hpp:53
mip::commands_aiding::MagneticField::Response
void Response
Definition: commands_aiding.hpp:814
mip::commands_aiding::VelEcef::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:521
mip::commands_aiding::PosEcef::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:341
mip::commands_aiding::Time::Timebase
Timebase
Definition: commands_aiding.hpp:62
mip::commands_aiding::MagneticField::ValidFlags::NONE
@ NONE
Definition: commands_aiding.hpp:760
mip::commands_aiding::CMD_HEIGHT_ABOVE_ELLIPSOID
@ CMD_HEIGHT_ABOVE_ELLIPSOID
Definition: commands_aiding.hpp:39
mip::commands_aiding::PosEcef::frame_id
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:333
mip::commands_aiding::VelNed::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:571
mip::commands_aiding::VelBodyFrame::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:679
mip::commands_aiding::PosLlh::ValidFlags::longitude
bool longitude() const
Definition: commands_aiding.hpp:399
mip::commands_aiding::FrameConfig::rotation
Rotation rotation
Rotation as specified by format.
Definition: commands_aiding.hpp:135
mip::commands_aiding::VelNed::ValidFlags::operator&=
ValidFlags & operator&=(uint16_t val)
Definition: commands_aiding.hpp:586
mip::commands_aiding::VelBodyFrame::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:685
mip::commands_aiding::VelBodyFrame::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:608
mip::commands_aiding::PosLlh::ValidFlags::ALL
@ ALL
Definition: commands_aiding.hpp:385
mip::commands_aiding::MagneticField
Definition: commands_aiding.hpp:753
mip::commands_aiding::PosEcef::ValidFlags::ValidFlags
ValidFlags()
Definition: commands_aiding.hpp:314
mip::commands_aiding::VelNed::frame_id
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:599
mip::commands_aiding::HeightAboveEllipsoid::Response
void Response
Definition: commands_aiding.hpp:480
mip::commands_aiding::EchoControl::Response::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:269
mip::commands_aiding::HeadingTrue::asTuple
auto asTuple()
Definition: commands_aiding.hpp:732
mip::commands_aiding::PosEcef::ValidFlags::x
void x(bool val)
Definition: commands_aiding.hpp:323
mip::commands_aiding::HeightAboveEllipsoid::time
Time time
Parameters.
Definition: commands_aiding.hpp:452
mip::commands_aiding::HeadingTrue::time
Time time
Parameters.
Definition: commands_aiding.hpp:713
mip::commands_aiding::VelBodyFrame::ValidFlags::y
bool y() const
Definition: commands_aiding.hpp:663
mip::commands_aiding::FrameConfig::frame_id
uint8_t frame_id
Reference frame number. Limit 4.
Definition: commands_aiding.hpp:131
mip::commands_aiding::magneticField
TypedResult< MagneticField > magneticField(C::mip_interface &device, const Time &time, uint8_t frameId, const float *magneticField, const float *uncertainty, MagneticField::ValidFlags validFlags)
Definition: commands_aiding.cpp:731
mip::commands_aiding::EchoControl::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:265
mip::C::mip_interface
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:44
mip::commands_aiding::VelBodyFrame::ValidFlags::Type
uint16_t Type
Definition: commands_aiding.hpp:642
mip::commands_aiding::EchoControl::asTuple
auto asTuple()
Definition: commands_aiding.hpp:240
mip::commands_aiding::Pressure::frame_id
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:830
mip::commands_aiding::Time::Timebase::TIME_OF_ARRIVAL
@ TIME_OF_ARRIVAL
Timestamp provided is a fixed latency relative to time of message arrival.
mip::commands_aiding::EchoControl::Mode::SUPPRESS_ACK
@ SUPPRESS_ACK
Suppresses the usual command ack field for aiding messages.
mip::commands_aiding::MagneticField::magnetic_field
Vector3f magnetic_field
[G]
Definition: commands_aiding.hpp:788
mip::commands_aiding::MagneticField::ValidFlags::ValidFlags
ValidFlags(int val)
Definition: commands_aiding.hpp:769
mip::commands_aiding::VelEcef::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:534
mip::commands_aiding::FrameConfig::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:179
mip::commands_aiding::EchoControl::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:263
mip::commands_aiding::FrameConfig::Response::rotation
Rotation rotation
Rotation as specified by format.
Definition: commands_aiding.hpp:174
mip::commands_aiding::FrameConfig
Definition: commands_aiding.hpp:114
mip::commands_aiding::MagneticField::uncertainty
Vector3f uncertainty
[G] 1-sigma uncertainty. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.hpp:789
mip::commands_aiding::HeightAboveEllipsoid::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:462
mip::commands_aiding::VelBodyFrame::ValidFlags::ALL
@ ALL
Definition: commands_aiding.hpp:649
mip::commands_aiding::Time::Timebase::INTERNAL_REFERENCE
@ INTERNAL_REFERENCE
Timestamp provided is with respect to internal clock.
mip::commands_aiding::VelBodyFrame::ValidFlags::x
bool x() const
Definition: commands_aiding.hpp:661
mip::commands_aiding::PosLlh::ValidFlags::setAll
void setAll()
Definition: commands_aiding.hpp:404
mip::commands_aiding::EchoControl::function
FunctionSelector function
Parameters.
Definition: commands_aiding.hpp:224
mip::commands_aiding::VelEcef::Response
void Response
Definition: commands_aiding.hpp:553
mip::commands_aiding::MagneticField::ValidFlags::x
void x(bool val)
Definition: commands_aiding.hpp:777
mip::commands_aiding::PosLlh::ValidFlags::latitude
void latitude(bool val)
Definition: commands_aiding.hpp:398
mip::commands_aiding::VelBodyFrame::ValidFlags::X
@ X
Definition: commands_aiding.hpp:646
mip::commands_aiding::VelBodyFrame::ValidFlags::y
void y(bool val)
Definition: commands_aiding.hpp:664
mip::commands_aiding::VelBodyFrame::ValidFlags
Definition: commands_aiding.hpp:640
mip::commands_aiding::VelEcef::ValidFlags::setAll
void setAll()
Definition: commands_aiding.hpp:522
mip::commands_aiding::PosLlh::ValidFlags::operator=
ValidFlags & operator=(int val)
Definition: commands_aiding.hpp:393
mip::commands_aiding::PosEcef::valid_flags
ValidFlags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.hpp:336
mip::commands_aiding::HeadingTrue::frame_id
uint8_t frame_id
Source ID for this estimate (source_id == 0 indicates this sensor, source_id > 0 indicates an externa...
Definition: commands_aiding.hpp:714
mip::commands_aiding::headingTrue
TypedResult< HeadingTrue > headingTrue(C::mip_interface &device, const Time &time, uint8_t frameId, float heading, float uncertainty, uint16_t validFlags)
Definition: commands_aiding.cpp:685
mip::commands_aiding::Pressure::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:767
mip::commands_aiding::Time::nanoseconds
uint64_t nanoseconds
Nanoseconds since the timebase epoch.
Definition: commands_aiding.hpp:72
mip::commands_aiding::FrameConfig::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:71
mip::commands_aiding::FrameConfig::Format::QUATERNION
@ QUATERNION
Translation vector followed by quaternion (w, x, y, z).
mip_interface.hpp
mip::commands_aiding::VelNed::ValidFlags::setAll
void setAll()
Definition: commands_aiding.hpp:595
mip::commands_aiding::EchoControl::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:262
mip::commands_aiding::EchoControl::Response::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:265
mip::commands_aiding::PosEcef::ValidFlags::operator=
ValidFlags & operator=(uint16_t val)
Definition: commands_aiding.hpp:317
mip::commands_aiding::VelNed::ValidFlags::Y
@ Y
Definition: commands_aiding.hpp:574
mip::commands_aiding::FrameConfig::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:177
mip::commands_aiding::VelEcef::ValidFlags::allSet
bool allSet() const
Definition: commands_aiding.hpp:521
mip::commands_aiding::PosLlh::ValidFlags::operator|=
ValidFlags & operator|=(uint16_t val)
Definition: commands_aiding.hpp:394
mip::commands_aiding::VelNed::ValidFlags
Definition: commands_aiding.hpp:567
mip::commands_aiding::VelEcef::ValidFlags::ValidFlags
ValidFlags()
Definition: commands_aiding.hpp:507
mip::commands_aiding::VelEcef::velocity
Vector3f velocity
ECEF velocity [m/s].
Definition: commands_aiding.hpp:527
mip::commands_aiding::Pressure::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:837
mip::commands_aiding::PosLlh
Definition: commands_aiding.hpp:374
mip::commands_aiding::PosEcef::ValidFlags::value
uint16_t value
Definition: commands_aiding.hpp:312
mip::commands_aiding::writeFrameConfig
TypedResult< FrameConfig > writeFrameConfig(C::mip_interface &device, uint8_t frameId, FrameConfig::Format format, bool trackingEnabled, const float *translation, const FrameConfig::Rotation &rotation)
Definition: commands_aiding.cpp:144
mip::commands_aiding::FrameConfig::Response::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:180
mip::commands_aiding::VelEcef::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:508
mip::commands_aiding::EchoControl::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:231
mip::commands_aiding::VelEcef
Definition: commands_aiding.hpp:492
mip::commands_aiding::FrameConfig::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:143
mip::commands_aiding::MagneticField::ValidFlags::ValidFlags
ValidFlags()
Definition: commands_aiding.hpp:768
mip::commands_aiding::PosLlh::ValidFlags::value
uint16_t value
Definition: commands_aiding.hpp:387
mip::commands_aiding::VelBodyFrame::time
Time time
Parameters.
Definition: commands_aiding.hpp:671
mip::commands_aiding::PosEcef
Definition: commands_aiding.hpp:299
mip::commands_aiding::VelNed::ValidFlags::z
bool z() const
Definition: commands_aiding.hpp:592
mip::commands_aiding::FrameConfig::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:101
mip::commands_aiding::CMD_LOCAL_FRAME
@ CMD_LOCAL_FRAME
Definition: commands_aiding.hpp:34
mip::commands_aiding::VelNed::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:609
mip::commands_aiding::MagneticField::ValidFlags::Y
@ Y
Definition: commands_aiding.hpp:762
mip::commands_aiding::PosEcef::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:343
mip::commands_aiding::FrameConfig::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:181
mip::commands_aiding::PosLlh::ValidFlags::latitude
bool latitude() const
Definition: commands_aiding.hpp:397
mip::commands_aiding::CMD_DELTA_POSITION
@ CMD_DELTA_POSITION
Definition: commands_aiding.hpp:48
mip::commands_aiding::PosLlh::valid_flags
ValidFlags valid_flags
Valid flags. Axes with 0 will be completely ignored.
Definition: commands_aiding.hpp:413
mip::commands_aiding::MagneticField::ValidFlags::operator&=
ValidFlags & operator&=(uint16_t val)
Definition: commands_aiding.hpp:774
mip::commands_aiding::PosLlh::height
double height
[m]
Definition: commands_aiding.hpp:411
mip::commands_aiding::Time::Timebase::EXTERNAL_TIME
@ EXTERNAL_TIME
Timestamp provided is with respect to external clock, synced by PPS source.
mip::commands_aiding::HeadingTrue::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:723
mip::commands_aiding::FrameConfig::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:139
mip::commands_aiding::VelEcef::ValidFlags::x
bool x() const
Definition: commands_aiding.hpp:515
mip::commands_aiding::VelNed::ValidFlags::ValidFlags
ValidFlags()
Definition: commands_aiding.hpp:580
mip::commands_aiding::VelBodyFrame::asTuple
auto asTuple()
Definition: commands_aiding.hpp:690
mip::commands_aiding::FrameConfig::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:178
mip::commands_aiding::PosLlh::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:423
mip::commands_aiding::CMD_ANGULAR_RATE_LOCAL
@ CMD_ANGULAR_RATE_LOCAL
Definition: commands_aiding.hpp:50
mip::commands_aiding::EchoControl::Mode::RESPONSE
@ RESPONSE
Echo the data back as a response.
mip::commands_aiding::Time::timebase
Timebase timebase
Parameters.
Definition: commands_aiding.hpp:70
mip::commands_aiding::HeadingTrue::Response
void Response
Definition: commands_aiding.hpp:741
mip::commands_aiding::Pressure::uncertainty
float uncertainty
[mbar] 1-sigma uncertainty. Cannot be 0 unless the valid flags are 0.
Definition: commands_aiding.hpp:832
mip::commands_aiding::VelNed::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:558
mip::commands_aiding::EchoControl::Response::asTuple
auto asTuple()
Definition: commands_aiding.hpp:274
mip::commands_aiding::FrameConfig::format
Format format
Format of the transformation.
Definition: commands_aiding.hpp:132
mip::commands_aiding::HeadingTrue::uncertainty
float uncertainty
Cannot be 0 unless the valid flags are 0.
Definition: commands_aiding.hpp:716
mip::commands_aiding::Pressure::time
Time time
Parameters.
Definition: commands_aiding.hpp:829
mip::commands_aiding::VelBodyFrame::ValidFlags::allSet
bool allSet() const
Definition: commands_aiding.hpp:667
mip::commands_aiding::VelBodyFrame::ValidFlags::operator|=
ValidFlags & operator|=(uint16_t val)
Definition: commands_aiding.hpp:658
mip::commands_aiding::VelEcef::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:537
mip::commands_aiding::EchoControl::Mode
Mode
Definition: commands_aiding.hpp:216
mip::commands_aiding::HeightAboveEllipsoid::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:460
mip::commands_aiding::VelBodyFrame::ValidFlags::ValidFlags
ValidFlags(int val)
Definition: commands_aiding.hpp:654
mip::commands_aiding::Pressure::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:839
mip::commands_aiding::MagneticField::ValidFlags::z
void z(bool val)
Definition: commands_aiding.hpp:781
mip::commands_aiding::VelNed
Definition: commands_aiding.hpp:565
mip::commands_aiding::FrameConfig::Response::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:122
mip::commands_aiding::PosLlh::uncertainty
Vector3f uncertainty
NED position uncertainty. Cannot be 0 unless the corresponding valid flags are 0.
Definition: commands_aiding.hpp:412
mip::commands_aiding::VelNed::time
Time time
Parameters.
Definition: commands_aiding.hpp:598
mip::commands_aiding::PosEcef::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:344
mip::CompositeDescriptor
Convenience struct holding both descriptor set and field descriptor.
Definition: mip_descriptors.hpp:22
mip::commands_aiding::FrameConfig::function
FunctionSelector function
Parameters.
Definition: commands_aiding.hpp:130
mip::commands_aiding::PosEcef::ValidFlags::Y
@ Y
Definition: commands_aiding.hpp:308
mip::commands_aiding::VelEcef::ValidFlags::z
void z(bool val)
Definition: commands_aiding.hpp:520
mip::commands_aiding::CMD_DELTA_ATTITUDE
@ CMD_DELTA_ATTITUDE
Definition: commands_aiding.hpp:49
mip::commands_aiding::VelBodyFrame::ValidFlags::value
uint16_t value
Definition: commands_aiding.hpp:651
mip::commands_aiding::VelEcef::ValidFlags::Type
uint16_t Type
Definition: commands_aiding.hpp:496
mip::commands_aiding::HeightAboveEllipsoid::height
float height
[m]
Definition: commands_aiding.hpp:454
mip::commands_aiding::VelEcef::ValidFlags::Y
@ Y
Definition: commands_aiding.hpp:501
mip::commands_aiding::MagneticField::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:717
mip::commands_aiding::HeadingTrue::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:727
mip::commands_aiding::CMD_VEL_ECEF
@ CMD_VEL_ECEF
Definition: commands_aiding.hpp:41
mip::commands_aiding::MagneticField::ValidFlags::value
uint16_t value
Definition: commands_aiding.hpp:766
mip::commands_aiding::PosEcef::time
Time time
Parameters.
Definition: commands_aiding.hpp:332
mip::commands_aiding::posEcef
TypedResult< PosEcef > posEcef(C::mip_interface &device, const Time &time, uint8_t frameId, const double *position, const float *uncertainty, PosEcef::ValidFlags validFlags)
Definition: commands_aiding.cpp:379
mip::commands_aiding::PosEcef::ValidFlags::NONE
@ NONE
Definition: commands_aiding.hpp:306
mip::commands_aiding::VelEcef::ValidFlags::operator&=
ValidFlags & operator&=(uint16_t val)
Definition: commands_aiding.hpp:513
mip::commands_aiding::PosLlh::ValidFlags::operator&=
ValidFlags & operator&=(uint16_t val)
Definition: commands_aiding.hpp:395
mip::commands_aiding::Pressure::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:841
mip::commands_aiding::PosEcef::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:346
mip::commands_aiding::FrameConfig::Rotation::euler
Vector3f euler
Definition: commands_aiding.hpp:124
mip::commands_aiding::HeadingTrue::heading
float heading
Heading [radians]. Range +/- Pi.
Definition: commands_aiding.hpp:715
mip::commands_aiding::PosEcef::ValidFlags::allSet
bool allSet() const
Definition: commands_aiding.hpp:328
mip::commands_aiding::VelBodyFrame::velocity
Vector3f velocity
[m/s]
Definition: commands_aiding.hpp:673
mip::commands_aiding::VelNed::ValidFlags::z
void z(bool val)
Definition: commands_aiding.hpp:593
mip::commands_aiding::HeadingTrue::valid_flags
uint16_t valid_flags
Definition: commands_aiding.hpp:717
mip::commands_aiding::MagneticField::ValidFlags::_enumType
_enumType
Definition: commands_aiding.hpp:758
mip::Bitfield
A dummy struct which is used to mark bitfield objects.
Definition: mip_descriptors.hpp:62
mip::commands_aiding::VelBodyFrame::ValidFlags::ValidFlags
ValidFlags()
Definition: commands_aiding.hpp:653
mip::commands_aiding::VelEcef::ValidFlags
Definition: commands_aiding.hpp:494
mip::commands_aiding::FrameConfig::Response::asTuple
auto asTuple() const
Definition: commands_aiding.hpp:184
mip::commands_aiding::VelEcef::ValidFlags::z
bool z() const
Definition: commands_aiding.hpp:519
mip::commands_aiding::FrameConfig::Rotation::Rotation
Rotation()
Definition: commands_aiding.hpp:127
mip::commands_aiding::HeightAboveEllipsoid::uncertainty
float uncertainty
[m]
Definition: commands_aiding.hpp:455
mip::commands_aiding::Pressure::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:754
mip::commands_aiding::MagneticField::ValidFlags::setAll
void setAll()
Definition: commands_aiding.hpp:783
mip::commands_aiding::PosLlh::ValidFlags::allSet
bool allSet() const
Definition: commands_aiding.hpp:403
mip::commands_aiding::VelNed::ValidFlags::Type
uint16_t Type
Definition: commands_aiding.hpp:569
mip::commands_aiding::CMD_POS_LOCAL
@ CMD_POS_LOCAL
Definition: commands_aiding.hpp:36
mip::commands_aiding::Pressure::Response
void Response
Definition: commands_aiding.hpp:857
mip::commands_aiding::EchoControl::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_aiding.hpp:232
mip::commands_aiding::Pressure::valid_flags
uint16_t valid_flags
Definition: commands_aiding.hpp:833
mip::TypedResult
A CmdResult that knows the corresponding command type.
Definition: mip_descriptors.hpp:100
mip::commands_aiding::HeightAboveEllipsoid::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:475
mip::commands_aiding::VelBodyFrame::ValidFlags::operator&=
ValidFlags & operator&=(uint16_t val)
Definition: commands_aiding.hpp:659
mip::commands_aiding::HeightAboveEllipsoid::asTuple
auto asTuple()
Definition: commands_aiding.hpp:471
mip::commands_aiding::PosLlh::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_aiding.hpp:418
mip::commands_aiding::VelBodyFrame::ValidFlags::z
void z(bool val)
Definition: commands_aiding.hpp:666
common.hpp
mip_result.hpp
mip::commands_aiding::VelEcef::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_aiding.hpp:532
mip::commands_aiding::MagneticField::ValidFlags::operator|=
ValidFlags & operator|=(uint16_t val)
Definition: commands_aiding.hpp:773
mip::commands_aiding::PosLlh::extract
void extract(Serializer &serializer)
Definition: commands_aiding.cpp:419
mip::commands_aiding::CMD_VEL_NED
@ CMD_VEL_NED
Definition: commands_aiding.hpp:42
mip::commands_aiding::PosEcef::ValidFlags::y
void y(bool val)
Definition: commands_aiding.hpp:325
mip::commands_aiding::FrameConfig::NAME
static constexpr const char * NAME
Definition: commands_aiding.hpp:141
mip::commands_aiding::pressure
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::commands_aiding::PosLlh::time
Time time
Parameters.
Definition: commands_aiding.hpp:407
mip::commands_aiding::FrameConfig::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_aiding.cpp:42
mip::commands_aiding::VelNed::asTuple
auto asTuple()
Definition: commands_aiding.hpp:617
mip::commands_aiding::EchoControl::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_aiding.hpp:267
mip::commands_aiding::PosEcef::ValidFlags::setAll
void setAll()
Definition: commands_aiding.hpp:329
mip::commands_aiding::CMD_MAGNETIC_FIELD
@ CMD_MAGNETIC_FIELD
Definition: commands_aiding.hpp:46
mip::commands_aiding::writeEchoControl
TypedResult< EchoControl > writeEchoControl(C::mip_interface &device, EchoControl::Mode mode)
Definition: commands_aiding.cpp:287
mip::commands_aiding::PosEcef::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_aiding.hpp:340