Ignition Msgs

API Reference

5.8.1
imu_sensor.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/imu_sensor.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fimu_5fsensor_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fimu_5fsensor_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3019000 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
37 #ifndef _MSC_VER
38 #pragma GCC system_header
39 #else
40 #pragma warning(push)
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #endif
43 #ifdef __linux__
44 #include <sys/sysmacros.h>
45 #endif
46 #include <memory>
47 #include <ignition/msgs/Export.hh>
48 // @@protoc_insertion_point(includes)
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fimu_5fsensor_2eproto IGNITION_MSGS_VISIBLE
51 PROTOBUF_NAMESPACE_OPEN
52 namespace internal {
53 class AnyMetadata;
54 } // namespace internal
55 PROTOBUF_NAMESPACE_CLOSE
56 
57 // Internal implementation detail -- do not use these members.
59  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
67  static const uint32_t offsets[];
68 };
69 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fimu_5fsensor_2eproto;
70 namespace ignition {
71 namespace msgs {
72 class IMUSensor;
73 struct IMUSensorDefaultTypeInternal;
74 IGNITION_MSGS_VISIBLE extern IMUSensorDefaultTypeInternal _IMUSensor_default_instance_;
75 class IMUSensor_AngularVelocity;
76 struct IMUSensor_AngularVelocityDefaultTypeInternal;
77 IGNITION_MSGS_VISIBLE extern IMUSensor_AngularVelocityDefaultTypeInternal _IMUSensor_AngularVelocity_default_instance_;
78 class IMUSensor_LinearAcceleration;
79 struct IMUSensor_LinearAccelerationDefaultTypeInternal;
80 IGNITION_MSGS_VISIBLE extern IMUSensor_LinearAccelerationDefaultTypeInternal _IMUSensor_LinearAcceleration_default_instance_;
81 class IMUSensor_OrientationReferenceFrame;
82 struct IMUSensor_OrientationReferenceFrameDefaultTypeInternal;
83 IGNITION_MSGS_VISIBLE extern IMUSensor_OrientationReferenceFrameDefaultTypeInternal _IMUSensor_OrientationReferenceFrame_default_instance_;
84 } // namespace msgs
85 } // namespace ignition
86 PROTOBUF_NAMESPACE_OPEN
87 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::IMUSensor* Arena::CreateMaybeMessage<::ignition::msgs::IMUSensor>(Arena*);
88 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::IMUSensor_AngularVelocity* Arena::CreateMaybeMessage<::ignition::msgs::IMUSensor_AngularVelocity>(Arena*);
89 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::IMUSensor_LinearAcceleration* Arena::CreateMaybeMessage<::ignition::msgs::IMUSensor_LinearAcceleration>(Arena*);
90 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::IMUSensor_OrientationReferenceFrame* Arena::CreateMaybeMessage<::ignition::msgs::IMUSensor_OrientationReferenceFrame>(Arena*);
91 PROTOBUF_NAMESPACE_CLOSE
92 namespace ignition {
93 namespace msgs {
94 
95 // ===================================================================
96 
97 class IGNITION_MSGS_VISIBLE IMUSensor_AngularVelocity final :
98  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.IMUSensor.AngularVelocity) */ {
99  public:
102  explicit constexpr IMUSensor_AngularVelocity(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
103 
107  *this = ::std::move(from);
108  }
109 
111  CopyFrom(from);
112  return *this;
113  }
115  if (this == &from) return *this;
116  if (GetOwningArena() == from.GetOwningArena()
117  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
118  && GetOwningArena() != nullptr
119  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
120  ) {
121  InternalSwap(&from);
122  } else {
123  CopyFrom(from);
124  }
125  return *this;
126  }
127 
128  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
129  return GetDescriptor();
130  }
131  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
132  return default_instance().GetMetadata().descriptor;
133  }
134  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
135  return default_instance().GetMetadata().reflection;
136  }
138  return *internal_default_instance();
139  }
141  return reinterpret_cast<const IMUSensor_AngularVelocity*>(
143  }
144  static constexpr int kIndexInFileMessages =
145  0;
146 
148  a.Swap(&b);
149  }
150  inline void Swap(IMUSensor_AngularVelocity* other) {
151  if (other == this) return;
152  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
153  if (GetOwningArena() != nullptr &&
154  GetOwningArena() == other->GetOwningArena()) {
155  #else // PROTOBUF_FORCE_COPY_IN_SWAP
156  if (GetOwningArena() == other->GetOwningArena()) {
157  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
158  InternalSwap(other);
159  } else {
160  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
161  }
162  }
164  if (other == this) return;
165  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
166  InternalSwap(other);
167  }
168 
169  // implements Message ----------------------------------------------
170 
171  IMUSensor_AngularVelocity* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
172  return CreateMaybeMessage<IMUSensor_AngularVelocity>(arena);
173  }
174  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
176  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
178  private:
179  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
180  public:
181  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
182  bool IsInitialized() const final;
183 
184  size_t ByteSizeLong() const final;
185  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
186  uint8_t* _InternalSerialize(
187  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
188  int GetCachedSize() const final { return _cached_size_.Get(); }
189 
190  private:
191  void SharedCtor();
192  void SharedDtor();
193  void SetCachedSize(int size) const final;
194  void InternalSwap(IMUSensor_AngularVelocity* other);
195 
196  private:
197  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
198  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
199  return "ignition.msgs.IMUSensor.AngularVelocity";
200  }
201  protected:
202  explicit IMUSensor_AngularVelocity(::PROTOBUF_NAMESPACE_ID::Arena* arena,
203  bool is_message_owned = false);
204  private:
205  static void ArenaDtor(void* object);
206  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
207  public:
208 
209  static const ClassData _class_data_;
210  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
211 
212  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
213 
214  // nested types ----------------------------------------------------
215 
216  // accessors -------------------------------------------------------
217 
218  enum : int {
219  kXNoiseFieldNumber = 1,
220  kYNoiseFieldNumber = 2,
221  kZNoiseFieldNumber = 3,
222  };
223  // .ignition.msgs.SensorNoise x_noise = 1;
224  bool has_x_noise() const;
225  private:
226  bool _internal_has_x_noise() const;
227  public:
229  const ::ignition::msgs::SensorNoise& x_noise() const;
230  PROTOBUF_NODISCARD ::ignition::msgs::SensorNoise* release_x_noise();
231  ::ignition::msgs::SensorNoise* mutable_x_noise();
232  void set_allocated_x_noise(::ignition::msgs::SensorNoise* x_noise);
233  private:
234  const ::ignition::msgs::SensorNoise& _internal_x_noise() const;
235  ::ignition::msgs::SensorNoise* _internal_mutable_x_noise();
236  public:
237  void unsafe_arena_set_allocated_x_noise(
238  ::ignition::msgs::SensorNoise* x_noise);
239  ::ignition::msgs::SensorNoise* unsafe_arena_release_x_noise();
240 
241  // .ignition.msgs.SensorNoise y_noise = 2;
242  bool has_y_noise() const;
243  private:
244  bool _internal_has_y_noise() const;
245  public:
247  const ::ignition::msgs::SensorNoise& y_noise() const;
248  PROTOBUF_NODISCARD ::ignition::msgs::SensorNoise* release_y_noise();
249  ::ignition::msgs::SensorNoise* mutable_y_noise();
250  void set_allocated_y_noise(::ignition::msgs::SensorNoise* y_noise);
251  private:
252  const ::ignition::msgs::SensorNoise& _internal_y_noise() const;
253  ::ignition::msgs::SensorNoise* _internal_mutable_y_noise();
254  public:
255  void unsafe_arena_set_allocated_y_noise(
256  ::ignition::msgs::SensorNoise* y_noise);
257  ::ignition::msgs::SensorNoise* unsafe_arena_release_y_noise();
258 
259  // .ignition.msgs.SensorNoise z_noise = 3;
260  bool has_z_noise() const;
261  private:
262  bool _internal_has_z_noise() const;
263  public:
265  const ::ignition::msgs::SensorNoise& z_noise() const;
266  PROTOBUF_NODISCARD ::ignition::msgs::SensorNoise* release_z_noise();
267  ::ignition::msgs::SensorNoise* mutable_z_noise();
268  void set_allocated_z_noise(::ignition::msgs::SensorNoise* z_noise);
269  private:
270  const ::ignition::msgs::SensorNoise& _internal_z_noise() const;
271  ::ignition::msgs::SensorNoise* _internal_mutable_z_noise();
272  public:
273  void unsafe_arena_set_allocated_z_noise(
274  ::ignition::msgs::SensorNoise* z_noise);
275  ::ignition::msgs::SensorNoise* unsafe_arena_release_z_noise();
276 
277  // @@protoc_insertion_point(class_scope:ignition.msgs.IMUSensor.AngularVelocity)
278  private:
279  class _Internal;
280 
281  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
282  typedef void InternalArenaConstructable_;
283  typedef void DestructorSkippable_;
287  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
288  friend struct ::TableStruct_ignition_2fmsgs_2fimu_5fsensor_2eproto;
289 };
290 // -------------------------------------------------------------------
291 
292 class IGNITION_MSGS_VISIBLE IMUSensor_LinearAcceleration final :
293  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.IMUSensor.LinearAcceleration) */ {
294  public:
297  explicit constexpr IMUSensor_LinearAcceleration(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
298 
302  *this = ::std::move(from);
303  }
304 
306  CopyFrom(from);
307  return *this;
308  }
310  if (this == &from) return *this;
311  if (GetOwningArena() == from.GetOwningArena()
312  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
313  && GetOwningArena() != nullptr
314  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
315  ) {
316  InternalSwap(&from);
317  } else {
318  CopyFrom(from);
319  }
320  return *this;
321  }
322 
323  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
324  return GetDescriptor();
325  }
326  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
327  return default_instance().GetMetadata().descriptor;
328  }
329  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
330  return default_instance().GetMetadata().reflection;
331  }
333  return *internal_default_instance();
334  }
336  return reinterpret_cast<const IMUSensor_LinearAcceleration*>(
338  }
339  static constexpr int kIndexInFileMessages =
340  1;
341 
343  a.Swap(&b);
344  }
345  inline void Swap(IMUSensor_LinearAcceleration* other) {
346  if (other == this) return;
347  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
348  if (GetOwningArena() != nullptr &&
349  GetOwningArena() == other->GetOwningArena()) {
350  #else // PROTOBUF_FORCE_COPY_IN_SWAP
351  if (GetOwningArena() == other->GetOwningArena()) {
352  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
353  InternalSwap(other);
354  } else {
355  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
356  }
357  }
359  if (other == this) return;
360  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
361  InternalSwap(other);
362  }
363 
364  // implements Message ----------------------------------------------
365 
366  IMUSensor_LinearAcceleration* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
367  return CreateMaybeMessage<IMUSensor_LinearAcceleration>(arena);
368  }
369  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
371  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
373  private:
374  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
375  public:
376  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
377  bool IsInitialized() const final;
378 
379  size_t ByteSizeLong() const final;
380  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
381  uint8_t* _InternalSerialize(
382  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
383  int GetCachedSize() const final { return _cached_size_.Get(); }
384 
385  private:
386  void SharedCtor();
387  void SharedDtor();
388  void SetCachedSize(int size) const final;
389  void InternalSwap(IMUSensor_LinearAcceleration* other);
390 
391  private:
392  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
393  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
394  return "ignition.msgs.IMUSensor.LinearAcceleration";
395  }
396  protected:
397  explicit IMUSensor_LinearAcceleration(::PROTOBUF_NAMESPACE_ID::Arena* arena,
398  bool is_message_owned = false);
399  private:
400  static void ArenaDtor(void* object);
401  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
402  public:
403 
404  static const ClassData _class_data_;
405  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
406 
407  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
408 
409  // nested types ----------------------------------------------------
410 
411  // accessors -------------------------------------------------------
412 
413  enum : int {
414  kXNoiseFieldNumber = 1,
415  kYNoiseFieldNumber = 2,
416  kZNoiseFieldNumber = 3,
417  };
418  // .ignition.msgs.SensorNoise x_noise = 1;
419  bool has_x_noise() const;
420  private:
421  bool _internal_has_x_noise() const;
422  public:
424  const ::ignition::msgs::SensorNoise& x_noise() const;
425  PROTOBUF_NODISCARD ::ignition::msgs::SensorNoise* release_x_noise();
426  ::ignition::msgs::SensorNoise* mutable_x_noise();
427  void set_allocated_x_noise(::ignition::msgs::SensorNoise* x_noise);
428  private:
429  const ::ignition::msgs::SensorNoise& _internal_x_noise() const;
430  ::ignition::msgs::SensorNoise* _internal_mutable_x_noise();
431  public:
432  void unsafe_arena_set_allocated_x_noise(
433  ::ignition::msgs::SensorNoise* x_noise);
434  ::ignition::msgs::SensorNoise* unsafe_arena_release_x_noise();
435 
436  // .ignition.msgs.SensorNoise y_noise = 2;
437  bool has_y_noise() const;
438  private:
439  bool _internal_has_y_noise() const;
440  public:
442  const ::ignition::msgs::SensorNoise& y_noise() const;
443  PROTOBUF_NODISCARD ::ignition::msgs::SensorNoise* release_y_noise();
444  ::ignition::msgs::SensorNoise* mutable_y_noise();
445  void set_allocated_y_noise(::ignition::msgs::SensorNoise* y_noise);
446  private:
447  const ::ignition::msgs::SensorNoise& _internal_y_noise() const;
448  ::ignition::msgs::SensorNoise* _internal_mutable_y_noise();
449  public:
450  void unsafe_arena_set_allocated_y_noise(
451  ::ignition::msgs::SensorNoise* y_noise);
452  ::ignition::msgs::SensorNoise* unsafe_arena_release_y_noise();
453 
454  // .ignition.msgs.SensorNoise z_noise = 3;
455  bool has_z_noise() const;
456  private:
457  bool _internal_has_z_noise() const;
458  public:
460  const ::ignition::msgs::SensorNoise& z_noise() const;
461  PROTOBUF_NODISCARD ::ignition::msgs::SensorNoise* release_z_noise();
462  ::ignition::msgs::SensorNoise* mutable_z_noise();
463  void set_allocated_z_noise(::ignition::msgs::SensorNoise* z_noise);
464  private:
465  const ::ignition::msgs::SensorNoise& _internal_z_noise() const;
466  ::ignition::msgs::SensorNoise* _internal_mutable_z_noise();
467  public:
468  void unsafe_arena_set_allocated_z_noise(
469  ::ignition::msgs::SensorNoise* z_noise);
470  ::ignition::msgs::SensorNoise* unsafe_arena_release_z_noise();
471 
472  // @@protoc_insertion_point(class_scope:ignition.msgs.IMUSensor.LinearAcceleration)
473  private:
474  class _Internal;
475 
476  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
477  typedef void InternalArenaConstructable_;
478  typedef void DestructorSkippable_;
482  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
483  friend struct ::TableStruct_ignition_2fmsgs_2fimu_5fsensor_2eproto;
484 };
485 // -------------------------------------------------------------------
486 
487 class IGNITION_MSGS_VISIBLE IMUSensor_OrientationReferenceFrame final :
488  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.IMUSensor.OrientationReferenceFrame) */ {
489  public:
492  explicit constexpr IMUSensor_OrientationReferenceFrame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
493 
497  *this = ::std::move(from);
498  }
499 
501  CopyFrom(from);
502  return *this;
503  }
505  if (this == &from) return *this;
506  if (GetOwningArena() == from.GetOwningArena()
507  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
508  && GetOwningArena() != nullptr
509  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
510  ) {
511  InternalSwap(&from);
512  } else {
513  CopyFrom(from);
514  }
515  return *this;
516  }
517 
518  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
519  return GetDescriptor();
520  }
521  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
522  return default_instance().GetMetadata().descriptor;
523  }
524  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
525  return default_instance().GetMetadata().reflection;
526  }
528  return *internal_default_instance();
529  }
531  return reinterpret_cast<const IMUSensor_OrientationReferenceFrame*>(
533  }
534  static constexpr int kIndexInFileMessages =
535  2;
536 
538  a.Swap(&b);
539  }
541  if (other == this) return;
542  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
543  if (GetOwningArena() != nullptr &&
544  GetOwningArena() == other->GetOwningArena()) {
545  #else // PROTOBUF_FORCE_COPY_IN_SWAP
546  if (GetOwningArena() == other->GetOwningArena()) {
547  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
548  InternalSwap(other);
549  } else {
550  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
551  }
552  }
554  if (other == this) return;
555  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
556  InternalSwap(other);
557  }
558 
559  // implements Message ----------------------------------------------
560 
561  IMUSensor_OrientationReferenceFrame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
562  return CreateMaybeMessage<IMUSensor_OrientationReferenceFrame>(arena);
563  }
564  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
566  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
568  private:
569  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
570  public:
571  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
572  bool IsInitialized() const final;
573 
574  size_t ByteSizeLong() const final;
575  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
576  uint8_t* _InternalSerialize(
577  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
578  int GetCachedSize() const final { return _cached_size_.Get(); }
579 
580  private:
581  void SharedCtor();
582  void SharedDtor();
583  void SetCachedSize(int size) const final;
584  void InternalSwap(IMUSensor_OrientationReferenceFrame* other);
585 
586  private:
587  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
588  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
589  return "ignition.msgs.IMUSensor.OrientationReferenceFrame";
590  }
591  protected:
592  explicit IMUSensor_OrientationReferenceFrame(::PROTOBUF_NAMESPACE_ID::Arena* arena,
593  bool is_message_owned = false);
594  private:
595  static void ArenaDtor(void* object);
596  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
597  public:
598 
599  static const ClassData _class_data_;
600  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
601 
602  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
603 
604  // nested types ----------------------------------------------------
605 
606  // accessors -------------------------------------------------------
607 
608  enum : int {
609  kLocalizationFieldNumber = 1,
610  kCustomRpyParentFrameFieldNumber = 3,
611  kGravityDirXParentFrameFieldNumber = 5,
612  kCustomRpyFieldNumber = 2,
613  kGravityDirXFieldNumber = 4,
614  };
615  // string localization = 1;
616  void clear_localization();
617  const std::string& localization() const;
618  template <typename ArgT0 = const std::string&, typename... ArgT>
619  void set_localization(ArgT0&& arg0, ArgT... args);
620  std::string* mutable_localization();
621  PROTOBUF_NODISCARD std::string* release_localization();
622  void set_allocated_localization(std::string* localization);
623  private:
624  const std::string& _internal_localization() const;
625  inline PROTOBUF_ALWAYS_INLINE void _internal_set_localization(const std::string& value);
626  std::string* _internal_mutable_localization();
627  public:
628 
629  // string custom_rpy_parent_frame = 3;
630  void clear_custom_rpy_parent_frame();
631  const std::string& custom_rpy_parent_frame() const;
632  template <typename ArgT0 = const std::string&, typename... ArgT>
633  void set_custom_rpy_parent_frame(ArgT0&& arg0, ArgT... args);
634  std::string* mutable_custom_rpy_parent_frame();
635  PROTOBUF_NODISCARD std::string* release_custom_rpy_parent_frame();
636  void set_allocated_custom_rpy_parent_frame(std::string* custom_rpy_parent_frame);
637  private:
638  const std::string& _internal_custom_rpy_parent_frame() const;
639  inline PROTOBUF_ALWAYS_INLINE void _internal_set_custom_rpy_parent_frame(const std::string& value);
640  std::string* _internal_mutable_custom_rpy_parent_frame();
641  public:
642 
643  // string gravity_dir_x_parent_frame = 5;
644  void clear_gravity_dir_x_parent_frame();
645  const std::string& gravity_dir_x_parent_frame() const;
646  template <typename ArgT0 = const std::string&, typename... ArgT>
647  void set_gravity_dir_x_parent_frame(ArgT0&& arg0, ArgT... args);
648  std::string* mutable_gravity_dir_x_parent_frame();
649  PROTOBUF_NODISCARD std::string* release_gravity_dir_x_parent_frame();
650  void set_allocated_gravity_dir_x_parent_frame(std::string* gravity_dir_x_parent_frame);
651  private:
652  const std::string& _internal_gravity_dir_x_parent_frame() const;
653  inline PROTOBUF_ALWAYS_INLINE void _internal_set_gravity_dir_x_parent_frame(const std::string& value);
654  std::string* _internal_mutable_gravity_dir_x_parent_frame();
655  public:
656 
657  // .ignition.msgs.Vector3d custom_rpy = 2;
658  bool has_custom_rpy() const;
659  private:
660  bool _internal_has_custom_rpy() const;
661  public:
663  const ::ignition::msgs::Vector3d& custom_rpy() const;
664  PROTOBUF_NODISCARD ::ignition::msgs::Vector3d* release_custom_rpy();
665  ::ignition::msgs::Vector3d* mutable_custom_rpy();
666  void set_allocated_custom_rpy(::ignition::msgs::Vector3d* custom_rpy);
667  private:
668  const ::ignition::msgs::Vector3d& _internal_custom_rpy() const;
669  ::ignition::msgs::Vector3d* _internal_mutable_custom_rpy();
670  public:
671  void unsafe_arena_set_allocated_custom_rpy(
672  ::ignition::msgs::Vector3d* custom_rpy);
673  ::ignition::msgs::Vector3d* unsafe_arena_release_custom_rpy();
674 
675  // .ignition.msgs.Vector3d gravity_dir_x = 4;
676  bool has_gravity_dir_x() const;
677  private:
678  bool _internal_has_gravity_dir_x() const;
679  public:
681  const ::ignition::msgs::Vector3d& gravity_dir_x() const;
682  PROTOBUF_NODISCARD ::ignition::msgs::Vector3d* release_gravity_dir_x();
683  ::ignition::msgs::Vector3d* mutable_gravity_dir_x();
684  void set_allocated_gravity_dir_x(::ignition::msgs::Vector3d* gravity_dir_x);
685  private:
686  const ::ignition::msgs::Vector3d& _internal_gravity_dir_x() const;
687  ::ignition::msgs::Vector3d* _internal_mutable_gravity_dir_x();
688  public:
689  void unsafe_arena_set_allocated_gravity_dir_x(
690  ::ignition::msgs::Vector3d* gravity_dir_x);
691  ::ignition::msgs::Vector3d* unsafe_arena_release_gravity_dir_x();
692 
693  // @@protoc_insertion_point(class_scope:ignition.msgs.IMUSensor.OrientationReferenceFrame)
694  private:
695  class _Internal;
696 
697  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
698  typedef void InternalArenaConstructable_;
699  typedef void DestructorSkippable_;
700  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr localization_;
701  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr custom_rpy_parent_frame_;
702  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gravity_dir_x_parent_frame_;
703  ::ignition::msgs::Vector3d* custom_rpy_;
704  ::ignition::msgs::Vector3d* gravity_dir_x_;
705  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
706  friend struct ::TableStruct_ignition_2fmsgs_2fimu_5fsensor_2eproto;
707 };
708 // -------------------------------------------------------------------
709 
710 class IGNITION_MSGS_VISIBLE IMUSensor final :
711  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.IMUSensor) */ {
712  public:
713  inline IMUSensor() : IMUSensor(nullptr) {}
714  ~IMUSensor() override;
715  explicit constexpr IMUSensor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
716 
717  IMUSensor(const IMUSensor& from);
718  IMUSensor(IMUSensor&& from) noexcept
719  : IMUSensor() {
720  *this = ::std::move(from);
721  }
722 
723  inline IMUSensor& operator=(const IMUSensor& from) {
724  CopyFrom(from);
725  return *this;
726  }
727  inline IMUSensor& operator=(IMUSensor&& from) noexcept {
728  if (this == &from) return *this;
729  if (GetOwningArena() == from.GetOwningArena()
730  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
731  && GetOwningArena() != nullptr
732  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
733  ) {
734  InternalSwap(&from);
735  } else {
736  CopyFrom(from);
737  }
738  return *this;
739  }
740 
741  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
742  return GetDescriptor();
743  }
744  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
745  return default_instance().GetMetadata().descriptor;
746  }
747  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
748  return default_instance().GetMetadata().reflection;
749  }
750  static const IMUSensor& default_instance() {
751  return *internal_default_instance();
752  }
753  static inline const IMUSensor* internal_default_instance() {
754  return reinterpret_cast<const IMUSensor*>(
756  }
757  static constexpr int kIndexInFileMessages =
758  3;
759 
760  friend void swap(IMUSensor& a, IMUSensor& b) {
761  a.Swap(&b);
762  }
763  inline void Swap(IMUSensor* other) {
764  if (other == this) return;
765  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
766  if (GetOwningArena() != nullptr &&
767  GetOwningArena() == other->GetOwningArena()) {
768  #else // PROTOBUF_FORCE_COPY_IN_SWAP
769  if (GetOwningArena() == other->GetOwningArena()) {
770  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
771  InternalSwap(other);
772  } else {
773  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
774  }
775  }
776  void UnsafeArenaSwap(IMUSensor* other) {
777  if (other == this) return;
778  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
779  InternalSwap(other);
780  }
781 
782  // implements Message ----------------------------------------------
783 
784  IMUSensor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
785  return CreateMaybeMessage<IMUSensor>(arena);
786  }
787  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
788  void CopyFrom(const IMUSensor& from);
789  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
790  void MergeFrom(const IMUSensor& from);
791  private:
792  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
793  public:
794  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
795  bool IsInitialized() const final;
796 
797  size_t ByteSizeLong() const final;
798  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
799  uint8_t* _InternalSerialize(
800  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
801  int GetCachedSize() const final { return _cached_size_.Get(); }
802 
803  private:
804  void SharedCtor();
805  void SharedDtor();
806  void SetCachedSize(int size) const final;
807  void InternalSwap(IMUSensor* other);
808 
809  private:
810  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
811  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
812  return "ignition.msgs.IMUSensor";
813  }
814  protected:
815  explicit IMUSensor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
816  bool is_message_owned = false);
817  private:
818  static void ArenaDtor(void* object);
819  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
820  public:
821 
822  static const ClassData _class_data_;
823  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
824 
825  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
826 
827  // nested types ----------------------------------------------------
828 
832 
833  // accessors -------------------------------------------------------
834 
835  enum : int {
836  kHeaderFieldNumber = 1,
837  kAngularVelocityFieldNumber = 2,
838  kLinearAccelerationFieldNumber = 3,
839  kOrientationRefFrameFieldNumber = 4,
840  };
841  // .ignition.msgs.Header header = 1;
842  bool has_header() const;
843  private:
844  bool _internal_has_header() const;
845  public:
846  void clear_header();
847  const ::ignition::msgs::Header& header() const;
848  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
849  ::ignition::msgs::Header* mutable_header();
850  void set_allocated_header(::ignition::msgs::Header* header);
851  private:
852  const ::ignition::msgs::Header& _internal_header() const;
853  ::ignition::msgs::Header* _internal_mutable_header();
854  public:
855  void unsafe_arena_set_allocated_header(
856  ::ignition::msgs::Header* header);
857  ::ignition::msgs::Header* unsafe_arena_release_header();
858 
859  // .ignition.msgs.IMUSensor.AngularVelocity angular_velocity = 2;
860  bool has_angular_velocity() const;
861  private:
862  bool _internal_has_angular_velocity() const;
863  public:
864  void clear_angular_velocity();
865  const ::ignition::msgs::IMUSensor_AngularVelocity& angular_velocity() const;
866  PROTOBUF_NODISCARD ::ignition::msgs::IMUSensor_AngularVelocity* release_angular_velocity();
867  ::ignition::msgs::IMUSensor_AngularVelocity* mutable_angular_velocity();
868  void set_allocated_angular_velocity(::ignition::msgs::IMUSensor_AngularVelocity* angular_velocity);
869  private:
870  const ::ignition::msgs::IMUSensor_AngularVelocity& _internal_angular_velocity() const;
871  ::ignition::msgs::IMUSensor_AngularVelocity* _internal_mutable_angular_velocity();
872  public:
873  void unsafe_arena_set_allocated_angular_velocity(
874  ::ignition::msgs::IMUSensor_AngularVelocity* angular_velocity);
875  ::ignition::msgs::IMUSensor_AngularVelocity* unsafe_arena_release_angular_velocity();
876 
877  // .ignition.msgs.IMUSensor.LinearAcceleration linear_acceleration = 3;
878  bool has_linear_acceleration() const;
879  private:
880  bool _internal_has_linear_acceleration() const;
881  public:
882  void clear_linear_acceleration();
883  const ::ignition::msgs::IMUSensor_LinearAcceleration& linear_acceleration() const;
884  PROTOBUF_NODISCARD ::ignition::msgs::IMUSensor_LinearAcceleration* release_linear_acceleration();
885  ::ignition::msgs::IMUSensor_LinearAcceleration* mutable_linear_acceleration();
886  void set_allocated_linear_acceleration(::ignition::msgs::IMUSensor_LinearAcceleration* linear_acceleration);
887  private:
888  const ::ignition::msgs::IMUSensor_LinearAcceleration& _internal_linear_acceleration() const;
889  ::ignition::msgs::IMUSensor_LinearAcceleration* _internal_mutable_linear_acceleration();
890  public:
891  void unsafe_arena_set_allocated_linear_acceleration(
892  ::ignition::msgs::IMUSensor_LinearAcceleration* linear_acceleration);
893  ::ignition::msgs::IMUSensor_LinearAcceleration* unsafe_arena_release_linear_acceleration();
894 
895  // .ignition.msgs.IMUSensor.OrientationReferenceFrame orientation_ref_frame = 4;
896  bool has_orientation_ref_frame() const;
897  private:
898  bool _internal_has_orientation_ref_frame() const;
899  public:
900  void clear_orientation_ref_frame();
901  const ::ignition::msgs::IMUSensor_OrientationReferenceFrame& orientation_ref_frame() const;
902  PROTOBUF_NODISCARD ::ignition::msgs::IMUSensor_OrientationReferenceFrame* release_orientation_ref_frame();
903  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* mutable_orientation_ref_frame();
904  void set_allocated_orientation_ref_frame(::ignition::msgs::IMUSensor_OrientationReferenceFrame* orientation_ref_frame);
905  private:
906  const ::ignition::msgs::IMUSensor_OrientationReferenceFrame& _internal_orientation_ref_frame() const;
907  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* _internal_mutable_orientation_ref_frame();
908  public:
909  void unsafe_arena_set_allocated_orientation_ref_frame(
910  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* orientation_ref_frame);
911  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* unsafe_arena_release_orientation_ref_frame();
912 
913  // @@protoc_insertion_point(class_scope:ignition.msgs.IMUSensor)
914  private:
915  class _Internal;
916 
917  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
918  typedef void InternalArenaConstructable_;
919  typedef void DestructorSkippable_;
920  ::ignition::msgs::Header* header_;
924  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
925  friend struct ::TableStruct_ignition_2fmsgs_2fimu_5fsensor_2eproto;
926 };
927 // ===================================================================
928 
929 
930 // ===================================================================
931 
932 #ifdef __GNUC__
933  #pragma GCC diagnostic push
934  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
935 #endif // __GNUC__
936 // IMUSensor_AngularVelocity
937 
938 // .ignition.msgs.SensorNoise x_noise = 1;
939 inline bool IMUSensor_AngularVelocity::_internal_has_x_noise() const {
940  return this != internal_default_instance() && x_noise_ != nullptr;
941 }
943  return _internal_has_x_noise();
944 }
945 inline const ::ignition::msgs::SensorNoise& IMUSensor_AngularVelocity::_internal_x_noise() const {
946  const ::ignition::msgs::SensorNoise* p = x_noise_;
947  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::SensorNoise&>(
949 }
950 inline const ::ignition::msgs::SensorNoise& IMUSensor_AngularVelocity::x_noise() const {
951  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.AngularVelocity.x_noise)
952  return _internal_x_noise();
953 }
955  ::ignition::msgs::SensorNoise* x_noise) {
956  if (GetArenaForAllocation() == nullptr) {
957  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(x_noise_);
958  }
959  x_noise_ = x_noise;
960  if (x_noise) {
961 
962  } else {
963 
964  }
965  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.IMUSensor.AngularVelocity.x_noise)
966 }
967 inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::release_x_noise() {
968 
969  ::ignition::msgs::SensorNoise* temp = x_noise_;
970  x_noise_ = nullptr;
971 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
972  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
973  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
974  if (GetArenaForAllocation() == nullptr) { delete old; }
975 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
976  if (GetArenaForAllocation() != nullptr) {
977  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
978  }
979 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
980  return temp;
981 }
982 inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::unsafe_arena_release_x_noise() {
983  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.AngularVelocity.x_noise)
984 
985  ::ignition::msgs::SensorNoise* temp = x_noise_;
986  x_noise_ = nullptr;
987  return temp;
988 }
989 inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::_internal_mutable_x_noise() {
990 
991  if (x_noise_ == nullptr) {
992  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaForAllocation());
993  x_noise_ = p;
994  }
995  return x_noise_;
996 }
997 inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::mutable_x_noise() {
998  ::ignition::msgs::SensorNoise* _msg = _internal_mutable_x_noise();
999  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.AngularVelocity.x_noise)
1000  return _msg;
1001 }
1003  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1004  if (message_arena == nullptr) {
1005  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(x_noise_);
1006  }
1007  if (x_noise) {
1008  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1009  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1010  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1011  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(x_noise));
1012  if (message_arena != submessage_arena) {
1013  x_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1014  message_arena, x_noise, submessage_arena);
1015  }
1016 
1017  } else {
1018 
1019  }
1020  x_noise_ = x_noise;
1021  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.AngularVelocity.x_noise)
1022 }
1023 
1024 // .ignition.msgs.SensorNoise y_noise = 2;
1025 inline bool IMUSensor_AngularVelocity::_internal_has_y_noise() const {
1026  return this != internal_default_instance() && y_noise_ != nullptr;
1027 }
1029  return _internal_has_y_noise();
1030 }
1031 inline const ::ignition::msgs::SensorNoise& IMUSensor_AngularVelocity::_internal_y_noise() const {
1032  const ::ignition::msgs::SensorNoise* p = y_noise_;
1033  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::SensorNoise&>(
1035 }
1036 inline const ::ignition::msgs::SensorNoise& IMUSensor_AngularVelocity::y_noise() const {
1037  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.AngularVelocity.y_noise)
1038  return _internal_y_noise();
1039 }
1041  ::ignition::msgs::SensorNoise* y_noise) {
1042  if (GetArenaForAllocation() == nullptr) {
1043  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(y_noise_);
1044  }
1045  y_noise_ = y_noise;
1046  if (y_noise) {
1047 
1048  } else {
1049 
1050  }
1051  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.IMUSensor.AngularVelocity.y_noise)
1052 }
1053 inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::release_y_noise() {
1054 
1055  ::ignition::msgs::SensorNoise* temp = y_noise_;
1056  y_noise_ = nullptr;
1057 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1058  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1059  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1060  if (GetArenaForAllocation() == nullptr) { delete old; }
1061 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1062  if (GetArenaForAllocation() != nullptr) {
1063  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1064  }
1065 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1066  return temp;
1067 }
1068 inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::unsafe_arena_release_y_noise() {
1069  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.AngularVelocity.y_noise)
1070 
1071  ::ignition::msgs::SensorNoise* temp = y_noise_;
1072  y_noise_ = nullptr;
1073  return temp;
1074 }
1075 inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::_internal_mutable_y_noise() {
1076 
1077  if (y_noise_ == nullptr) {
1078  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaForAllocation());
1079  y_noise_ = p;
1080  }
1081  return y_noise_;
1082 }
1083 inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::mutable_y_noise() {
1084  ::ignition::msgs::SensorNoise* _msg = _internal_mutable_y_noise();
1085  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.AngularVelocity.y_noise)
1086  return _msg;
1087 }
1089  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1090  if (message_arena == nullptr) {
1091  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(y_noise_);
1092  }
1093  if (y_noise) {
1094  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1095  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1096  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1097  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(y_noise));
1098  if (message_arena != submessage_arena) {
1099  y_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1100  message_arena, y_noise, submessage_arena);
1101  }
1102 
1103  } else {
1104 
1105  }
1106  y_noise_ = y_noise;
1107  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.AngularVelocity.y_noise)
1108 }
1109 
1110 // .ignition.msgs.SensorNoise z_noise = 3;
1111 inline bool IMUSensor_AngularVelocity::_internal_has_z_noise() const {
1112  return this != internal_default_instance() && z_noise_ != nullptr;
1113 }
1115  return _internal_has_z_noise();
1116 }
1117 inline const ::ignition::msgs::SensorNoise& IMUSensor_AngularVelocity::_internal_z_noise() const {
1118  const ::ignition::msgs::SensorNoise* p = z_noise_;
1119  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::SensorNoise&>(
1121 }
1122 inline const ::ignition::msgs::SensorNoise& IMUSensor_AngularVelocity::z_noise() const {
1123  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.AngularVelocity.z_noise)
1124  return _internal_z_noise();
1125 }
1127  ::ignition::msgs::SensorNoise* z_noise) {
1128  if (GetArenaForAllocation() == nullptr) {
1129  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(z_noise_);
1130  }
1131  z_noise_ = z_noise;
1132  if (z_noise) {
1133 
1134  } else {
1135 
1136  }
1137  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.IMUSensor.AngularVelocity.z_noise)
1138 }
1139 inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::release_z_noise() {
1140 
1141  ::ignition::msgs::SensorNoise* temp = z_noise_;
1142  z_noise_ = nullptr;
1143 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1144  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1145  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1146  if (GetArenaForAllocation() == nullptr) { delete old; }
1147 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1148  if (GetArenaForAllocation() != nullptr) {
1149  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1150  }
1151 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1152  return temp;
1153 }
1154 inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::unsafe_arena_release_z_noise() {
1155  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.AngularVelocity.z_noise)
1156 
1157  ::ignition::msgs::SensorNoise* temp = z_noise_;
1158  z_noise_ = nullptr;
1159  return temp;
1160 }
1161 inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::_internal_mutable_z_noise() {
1162 
1163  if (z_noise_ == nullptr) {
1164  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaForAllocation());
1165  z_noise_ = p;
1166  }
1167  return z_noise_;
1168 }
1169 inline ::ignition::msgs::SensorNoise* IMUSensor_AngularVelocity::mutable_z_noise() {
1170  ::ignition::msgs::SensorNoise* _msg = _internal_mutable_z_noise();
1171  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.AngularVelocity.z_noise)
1172  return _msg;
1173 }
1175  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1176  if (message_arena == nullptr) {
1177  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(z_noise_);
1178  }
1179  if (z_noise) {
1180  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1181  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1182  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1183  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(z_noise));
1184  if (message_arena != submessage_arena) {
1185  z_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1186  message_arena, z_noise, submessage_arena);
1187  }
1188 
1189  } else {
1190 
1191  }
1192  z_noise_ = z_noise;
1193  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.AngularVelocity.z_noise)
1194 }
1195 
1196 // -------------------------------------------------------------------
1197 
1198 // IMUSensor_LinearAcceleration
1199 
1200 // .ignition.msgs.SensorNoise x_noise = 1;
1201 inline bool IMUSensor_LinearAcceleration::_internal_has_x_noise() const {
1202  return this != internal_default_instance() && x_noise_ != nullptr;
1203 }
1205  return _internal_has_x_noise();
1206 }
1207 inline const ::ignition::msgs::SensorNoise& IMUSensor_LinearAcceleration::_internal_x_noise() const {
1208  const ::ignition::msgs::SensorNoise* p = x_noise_;
1209  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::SensorNoise&>(
1211 }
1212 inline const ::ignition::msgs::SensorNoise& IMUSensor_LinearAcceleration::x_noise() const {
1213  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.LinearAcceleration.x_noise)
1214  return _internal_x_noise();
1215 }
1217  ::ignition::msgs::SensorNoise* x_noise) {
1218  if (GetArenaForAllocation() == nullptr) {
1219  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(x_noise_);
1220  }
1221  x_noise_ = x_noise;
1222  if (x_noise) {
1223 
1224  } else {
1225 
1226  }
1227  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.IMUSensor.LinearAcceleration.x_noise)
1228 }
1229 inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::release_x_noise() {
1230 
1231  ::ignition::msgs::SensorNoise* temp = x_noise_;
1232  x_noise_ = nullptr;
1233 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1234  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1235  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1236  if (GetArenaForAllocation() == nullptr) { delete old; }
1237 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1238  if (GetArenaForAllocation() != nullptr) {
1239  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1240  }
1241 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1242  return temp;
1243 }
1244 inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::unsafe_arena_release_x_noise() {
1245  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.LinearAcceleration.x_noise)
1246 
1247  ::ignition::msgs::SensorNoise* temp = x_noise_;
1248  x_noise_ = nullptr;
1249  return temp;
1250 }
1251 inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::_internal_mutable_x_noise() {
1252 
1253  if (x_noise_ == nullptr) {
1254  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaForAllocation());
1255  x_noise_ = p;
1256  }
1257  return x_noise_;
1258 }
1259 inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::mutable_x_noise() {
1260  ::ignition::msgs::SensorNoise* _msg = _internal_mutable_x_noise();
1261  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.LinearAcceleration.x_noise)
1262  return _msg;
1263 }
1265  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1266  if (message_arena == nullptr) {
1267  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(x_noise_);
1268  }
1269  if (x_noise) {
1270  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1271  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1272  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1273  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(x_noise));
1274  if (message_arena != submessage_arena) {
1275  x_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1276  message_arena, x_noise, submessage_arena);
1277  }
1278 
1279  } else {
1280 
1281  }
1282  x_noise_ = x_noise;
1283  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.LinearAcceleration.x_noise)
1284 }
1285 
1286 // .ignition.msgs.SensorNoise y_noise = 2;
1287 inline bool IMUSensor_LinearAcceleration::_internal_has_y_noise() const {
1288  return this != internal_default_instance() && y_noise_ != nullptr;
1289 }
1291  return _internal_has_y_noise();
1292 }
1293 inline const ::ignition::msgs::SensorNoise& IMUSensor_LinearAcceleration::_internal_y_noise() const {
1294  const ::ignition::msgs::SensorNoise* p = y_noise_;
1295  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::SensorNoise&>(
1297 }
1298 inline const ::ignition::msgs::SensorNoise& IMUSensor_LinearAcceleration::y_noise() const {
1299  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.LinearAcceleration.y_noise)
1300  return _internal_y_noise();
1301 }
1303  ::ignition::msgs::SensorNoise* y_noise) {
1304  if (GetArenaForAllocation() == nullptr) {
1305  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(y_noise_);
1306  }
1307  y_noise_ = y_noise;
1308  if (y_noise) {
1309 
1310  } else {
1311 
1312  }
1313  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.IMUSensor.LinearAcceleration.y_noise)
1314 }
1315 inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::release_y_noise() {
1316 
1317  ::ignition::msgs::SensorNoise* temp = y_noise_;
1318  y_noise_ = nullptr;
1319 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1320  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1321  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1322  if (GetArenaForAllocation() == nullptr) { delete old; }
1323 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1324  if (GetArenaForAllocation() != nullptr) {
1325  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1326  }
1327 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1328  return temp;
1329 }
1330 inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::unsafe_arena_release_y_noise() {
1331  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.LinearAcceleration.y_noise)
1332 
1333  ::ignition::msgs::SensorNoise* temp = y_noise_;
1334  y_noise_ = nullptr;
1335  return temp;
1336 }
1337 inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::_internal_mutable_y_noise() {
1338 
1339  if (y_noise_ == nullptr) {
1340  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaForAllocation());
1341  y_noise_ = p;
1342  }
1343  return y_noise_;
1344 }
1345 inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::mutable_y_noise() {
1346  ::ignition::msgs::SensorNoise* _msg = _internal_mutable_y_noise();
1347  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.LinearAcceleration.y_noise)
1348  return _msg;
1349 }
1351  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1352  if (message_arena == nullptr) {
1353  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(y_noise_);
1354  }
1355  if (y_noise) {
1356  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1357  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1358  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1359  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(y_noise));
1360  if (message_arena != submessage_arena) {
1361  y_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1362  message_arena, y_noise, submessage_arena);
1363  }
1364 
1365  } else {
1366 
1367  }
1368  y_noise_ = y_noise;
1369  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.LinearAcceleration.y_noise)
1370 }
1371 
1372 // .ignition.msgs.SensorNoise z_noise = 3;
1373 inline bool IMUSensor_LinearAcceleration::_internal_has_z_noise() const {
1374  return this != internal_default_instance() && z_noise_ != nullptr;
1375 }
1377  return _internal_has_z_noise();
1378 }
1379 inline const ::ignition::msgs::SensorNoise& IMUSensor_LinearAcceleration::_internal_z_noise() const {
1380  const ::ignition::msgs::SensorNoise* p = z_noise_;
1381  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::SensorNoise&>(
1383 }
1384 inline const ::ignition::msgs::SensorNoise& IMUSensor_LinearAcceleration::z_noise() const {
1385  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.LinearAcceleration.z_noise)
1386  return _internal_z_noise();
1387 }
1389  ::ignition::msgs::SensorNoise* z_noise) {
1390  if (GetArenaForAllocation() == nullptr) {
1391  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(z_noise_);
1392  }
1393  z_noise_ = z_noise;
1394  if (z_noise) {
1395 
1396  } else {
1397 
1398  }
1399  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.IMUSensor.LinearAcceleration.z_noise)
1400 }
1401 inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::release_z_noise() {
1402 
1403  ::ignition::msgs::SensorNoise* temp = z_noise_;
1404  z_noise_ = nullptr;
1405 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1406  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1407  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1408  if (GetArenaForAllocation() == nullptr) { delete old; }
1409 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1410  if (GetArenaForAllocation() != nullptr) {
1411  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1412  }
1413 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1414  return temp;
1415 }
1416 inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::unsafe_arena_release_z_noise() {
1417  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.LinearAcceleration.z_noise)
1418 
1419  ::ignition::msgs::SensorNoise* temp = z_noise_;
1420  z_noise_ = nullptr;
1421  return temp;
1422 }
1423 inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::_internal_mutable_z_noise() {
1424 
1425  if (z_noise_ == nullptr) {
1426  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaForAllocation());
1427  z_noise_ = p;
1428  }
1429  return z_noise_;
1430 }
1431 inline ::ignition::msgs::SensorNoise* IMUSensor_LinearAcceleration::mutable_z_noise() {
1432  ::ignition::msgs::SensorNoise* _msg = _internal_mutable_z_noise();
1433  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.LinearAcceleration.z_noise)
1434  return _msg;
1435 }
1437  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1438  if (message_arena == nullptr) {
1439  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(z_noise_);
1440  }
1441  if (z_noise) {
1442  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1443  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1444  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1445  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(z_noise));
1446  if (message_arena != submessage_arena) {
1447  z_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1448  message_arena, z_noise, submessage_arena);
1449  }
1450 
1451  } else {
1452 
1453  }
1454  z_noise_ = z_noise;
1455  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.LinearAcceleration.z_noise)
1456 }
1457 
1458 // -------------------------------------------------------------------
1459 
1460 // IMUSensor_OrientationReferenceFrame
1461 
1462 // string localization = 1;
1464  localization_.ClearToEmpty();
1465 }
1467  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
1468  return _internal_localization();
1469 }
1470 template <typename ArgT0, typename... ArgT>
1471 inline PROTOBUF_ALWAYS_INLINE
1473 
1474  localization_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1475  // @@protoc_insertion_point(field_set:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
1476 }
1478  std::string* _s = _internal_mutable_localization();
1479  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
1480  return _s;
1481 }
1482 inline const std::string& IMUSensor_OrientationReferenceFrame::_internal_localization() const {
1483  return localization_.Get();
1484 }
1485 inline void IMUSensor_OrientationReferenceFrame::_internal_set_localization(const std::string& value) {
1486 
1487  localization_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1488 }
1489 inline std::string* IMUSensor_OrientationReferenceFrame::_internal_mutable_localization() {
1490 
1491  return localization_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1492 }
1494  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
1495  return localization_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1496 }
1498  if (localization != nullptr) {
1499 
1500  } else {
1501 
1502  }
1503  localization_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), localization,
1504  GetArenaForAllocation());
1505 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1506  if (localization_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1507  localization_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1508  }
1509 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1510  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.OrientationReferenceFrame.localization)
1511 }
1512 
1513 // .ignition.msgs.Vector3d custom_rpy = 2;
1514 inline bool IMUSensor_OrientationReferenceFrame::_internal_has_custom_rpy() const {
1515  return this != internal_default_instance() && custom_rpy_ != nullptr;
1516 }
1518  return _internal_has_custom_rpy();
1519 }
1520 inline const ::ignition::msgs::Vector3d& IMUSensor_OrientationReferenceFrame::_internal_custom_rpy() const {
1521  const ::ignition::msgs::Vector3d* p = custom_rpy_;
1522  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Vector3d&>(
1524 }
1525 inline const ::ignition::msgs::Vector3d& IMUSensor_OrientationReferenceFrame::custom_rpy() const {
1526  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
1527  return _internal_custom_rpy();
1528 }
1530  ::ignition::msgs::Vector3d* custom_rpy) {
1531  if (GetArenaForAllocation() == nullptr) {
1532  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(custom_rpy_);
1533  }
1534  custom_rpy_ = custom_rpy;
1535  if (custom_rpy) {
1536 
1537  } else {
1538 
1539  }
1540  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
1541 }
1542 inline ::ignition::msgs::Vector3d* IMUSensor_OrientationReferenceFrame::release_custom_rpy() {
1543 
1544  ::ignition::msgs::Vector3d* temp = custom_rpy_;
1545  custom_rpy_ = nullptr;
1546 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1547  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1548  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1549  if (GetArenaForAllocation() == nullptr) { delete old; }
1550 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1551  if (GetArenaForAllocation() != nullptr) {
1552  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1553  }
1554 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1555  return temp;
1556 }
1558  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
1559 
1560  ::ignition::msgs::Vector3d* temp = custom_rpy_;
1561  custom_rpy_ = nullptr;
1562  return temp;
1563 }
1564 inline ::ignition::msgs::Vector3d* IMUSensor_OrientationReferenceFrame::_internal_mutable_custom_rpy() {
1565 
1566  if (custom_rpy_ == nullptr) {
1567  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaForAllocation());
1568  custom_rpy_ = p;
1569  }
1570  return custom_rpy_;
1571 }
1572 inline ::ignition::msgs::Vector3d* IMUSensor_OrientationReferenceFrame::mutable_custom_rpy() {
1573  ::ignition::msgs::Vector3d* _msg = _internal_mutable_custom_rpy();
1574  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
1575  return _msg;
1576 }
1578  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1579  if (message_arena == nullptr) {
1580  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(custom_rpy_);
1581  }
1582  if (custom_rpy) {
1583  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1584  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1585  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1586  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(custom_rpy));
1587  if (message_arena != submessage_arena) {
1588  custom_rpy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1589  message_arena, custom_rpy, submessage_arena);
1590  }
1591 
1592  } else {
1593 
1594  }
1595  custom_rpy_ = custom_rpy;
1596  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
1597 }
1598 
1599 // string custom_rpy_parent_frame = 3;
1601  custom_rpy_parent_frame_.ClearToEmpty();
1602 }
1604  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1605  return _internal_custom_rpy_parent_frame();
1606 }
1607 template <typename ArgT0, typename... ArgT>
1608 inline PROTOBUF_ALWAYS_INLINE
1610 
1611  custom_rpy_parent_frame_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1612  // @@protoc_insertion_point(field_set:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1613 }
1615  std::string* _s = _internal_mutable_custom_rpy_parent_frame();
1616  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1617  return _s;
1618 }
1619 inline const std::string& IMUSensor_OrientationReferenceFrame::_internal_custom_rpy_parent_frame() const {
1620  return custom_rpy_parent_frame_.Get();
1621 }
1622 inline void IMUSensor_OrientationReferenceFrame::_internal_set_custom_rpy_parent_frame(const std::string& value) {
1623 
1624  custom_rpy_parent_frame_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1625 }
1626 inline std::string* IMUSensor_OrientationReferenceFrame::_internal_mutable_custom_rpy_parent_frame() {
1627 
1628  return custom_rpy_parent_frame_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1629 }
1631  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1632  return custom_rpy_parent_frame_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1633 }
1635  if (custom_rpy_parent_frame != nullptr) {
1636 
1637  } else {
1638 
1639  }
1640  custom_rpy_parent_frame_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), custom_rpy_parent_frame,
1641  GetArenaForAllocation());
1642 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1643  if (custom_rpy_parent_frame_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1644  custom_rpy_parent_frame_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1645  }
1646 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1647  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1648 }
1649 
1650 // .ignition.msgs.Vector3d gravity_dir_x = 4;
1651 inline bool IMUSensor_OrientationReferenceFrame::_internal_has_gravity_dir_x() const {
1652  return this != internal_default_instance() && gravity_dir_x_ != nullptr;
1653 }
1655  return _internal_has_gravity_dir_x();
1656 }
1657 inline const ::ignition::msgs::Vector3d& IMUSensor_OrientationReferenceFrame::_internal_gravity_dir_x() const {
1658  const ::ignition::msgs::Vector3d* p = gravity_dir_x_;
1659  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Vector3d&>(
1661 }
1662 inline const ::ignition::msgs::Vector3d& IMUSensor_OrientationReferenceFrame::gravity_dir_x() const {
1663  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
1664  return _internal_gravity_dir_x();
1665 }
1667  ::ignition::msgs::Vector3d* gravity_dir_x) {
1668  if (GetArenaForAllocation() == nullptr) {
1669  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gravity_dir_x_);
1670  }
1671  gravity_dir_x_ = gravity_dir_x;
1672  if (gravity_dir_x) {
1673 
1674  } else {
1675 
1676  }
1677  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
1678 }
1680 
1681  ::ignition::msgs::Vector3d* temp = gravity_dir_x_;
1682  gravity_dir_x_ = nullptr;
1683 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1684  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1685  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1686  if (GetArenaForAllocation() == nullptr) { delete old; }
1687 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1688  if (GetArenaForAllocation() != nullptr) {
1689  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1690  }
1691 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1692  return temp;
1693 }
1695  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
1696 
1697  ::ignition::msgs::Vector3d* temp = gravity_dir_x_;
1698  gravity_dir_x_ = nullptr;
1699  return temp;
1700 }
1701 inline ::ignition::msgs::Vector3d* IMUSensor_OrientationReferenceFrame::_internal_mutable_gravity_dir_x() {
1702 
1703  if (gravity_dir_x_ == nullptr) {
1704  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaForAllocation());
1705  gravity_dir_x_ = p;
1706  }
1707  return gravity_dir_x_;
1708 }
1710  ::ignition::msgs::Vector3d* _msg = _internal_mutable_gravity_dir_x();
1711  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
1712  return _msg;
1713 }
1715  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1716  if (message_arena == nullptr) {
1717  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(gravity_dir_x_);
1718  }
1719  if (gravity_dir_x) {
1720  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1721  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1722  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1723  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gravity_dir_x));
1724  if (message_arena != submessage_arena) {
1725  gravity_dir_x = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1726  message_arena, gravity_dir_x, submessage_arena);
1727  }
1728 
1729  } else {
1730 
1731  }
1732  gravity_dir_x_ = gravity_dir_x;
1733  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
1734 }
1735 
1736 // string gravity_dir_x_parent_frame = 5;
1738  gravity_dir_x_parent_frame_.ClearToEmpty();
1739 }
1741  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1742  return _internal_gravity_dir_x_parent_frame();
1743 }
1744 template <typename ArgT0, typename... ArgT>
1745 inline PROTOBUF_ALWAYS_INLINE
1747 
1748  gravity_dir_x_parent_frame_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1749  // @@protoc_insertion_point(field_set:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1750 }
1752  std::string* _s = _internal_mutable_gravity_dir_x_parent_frame();
1753  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1754  return _s;
1755 }
1756 inline const std::string& IMUSensor_OrientationReferenceFrame::_internal_gravity_dir_x_parent_frame() const {
1757  return gravity_dir_x_parent_frame_.Get();
1758 }
1759 inline void IMUSensor_OrientationReferenceFrame::_internal_set_gravity_dir_x_parent_frame(const std::string& value) {
1760 
1761  gravity_dir_x_parent_frame_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1762 }
1763 inline std::string* IMUSensor_OrientationReferenceFrame::_internal_mutable_gravity_dir_x_parent_frame() {
1764 
1765  return gravity_dir_x_parent_frame_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1766 }
1768  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1769  return gravity_dir_x_parent_frame_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1770 }
1772  if (gravity_dir_x_parent_frame != nullptr) {
1773 
1774  } else {
1775 
1776  }
1777  gravity_dir_x_parent_frame_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), gravity_dir_x_parent_frame,
1778  GetArenaForAllocation());
1779 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1780  if (gravity_dir_x_parent_frame_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1781  gravity_dir_x_parent_frame_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1782  }
1783 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1784  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1785 }
1786 
1787 // -------------------------------------------------------------------
1788 
1789 // IMUSensor
1790 
1791 // .ignition.msgs.Header header = 1;
1792 inline bool IMUSensor::_internal_has_header() const {
1793  return this != internal_default_instance() && header_ != nullptr;
1794 }
1795 inline bool IMUSensor::has_header() const {
1796  return _internal_has_header();
1797 }
1798 inline const ::ignition::msgs::Header& IMUSensor::_internal_header() const {
1799  const ::ignition::msgs::Header* p = header_;
1800  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
1802 }
1803 inline const ::ignition::msgs::Header& IMUSensor::header() const {
1804  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.header)
1805  return _internal_header();
1806 }
1808  ::ignition::msgs::Header* header) {
1809  if (GetArenaForAllocation() == nullptr) {
1810  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
1811  }
1812  header_ = header;
1813  if (header) {
1814 
1815  } else {
1816 
1817  }
1818  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.IMUSensor.header)
1819 }
1820 inline ::ignition::msgs::Header* IMUSensor::release_header() {
1821 
1822  ::ignition::msgs::Header* temp = header_;
1823  header_ = nullptr;
1824 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1825  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1826  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1827  if (GetArenaForAllocation() == nullptr) { delete old; }
1828 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1829  if (GetArenaForAllocation() != nullptr) {
1830  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1831  }
1832 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1833  return temp;
1834 }
1835 inline ::ignition::msgs::Header* IMUSensor::unsafe_arena_release_header() {
1836  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.header)
1837 
1838  ::ignition::msgs::Header* temp = header_;
1839  header_ = nullptr;
1840  return temp;
1841 }
1842 inline ::ignition::msgs::Header* IMUSensor::_internal_mutable_header() {
1843 
1844  if (header_ == nullptr) {
1845  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
1846  header_ = p;
1847  }
1848  return header_;
1849 }
1850 inline ::ignition::msgs::Header* IMUSensor::mutable_header() {
1851  ::ignition::msgs::Header* _msg = _internal_mutable_header();
1852  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.header)
1853  return _msg;
1854 }
1856  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1857  if (message_arena == nullptr) {
1858  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
1859  }
1860  if (header) {
1861  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1862  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1863  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1864  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
1865  if (message_arena != submessage_arena) {
1866  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1867  message_arena, header, submessage_arena);
1868  }
1869 
1870  } else {
1871 
1872  }
1873  header_ = header;
1874  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.header)
1875 }
1876 
1877 // .ignition.msgs.IMUSensor.AngularVelocity angular_velocity = 2;
1878 inline bool IMUSensor::_internal_has_angular_velocity() const {
1879  return this != internal_default_instance() && angular_velocity_ != nullptr;
1880 }
1881 inline bool IMUSensor::has_angular_velocity() const {
1882  return _internal_has_angular_velocity();
1883 }
1885  if (GetArenaForAllocation() == nullptr && angular_velocity_ != nullptr) {
1886  delete angular_velocity_;
1887  }
1888  angular_velocity_ = nullptr;
1889 }
1890 inline const ::ignition::msgs::IMUSensor_AngularVelocity& IMUSensor::_internal_angular_velocity() const {
1891  const ::ignition::msgs::IMUSensor_AngularVelocity* p = angular_velocity_;
1892  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::IMUSensor_AngularVelocity&>(
1894 }
1895 inline const ::ignition::msgs::IMUSensor_AngularVelocity& IMUSensor::angular_velocity() const {
1896  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.angular_velocity)
1897  return _internal_angular_velocity();
1898 }
1900  ::ignition::msgs::IMUSensor_AngularVelocity* angular_velocity) {
1901  if (GetArenaForAllocation() == nullptr) {
1902  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angular_velocity_);
1903  }
1904  angular_velocity_ = angular_velocity;
1905  if (angular_velocity) {
1906 
1907  } else {
1908 
1909  }
1910  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.IMUSensor.angular_velocity)
1911 }
1912 inline ::ignition::msgs::IMUSensor_AngularVelocity* IMUSensor::release_angular_velocity() {
1913 
1914  ::ignition::msgs::IMUSensor_AngularVelocity* temp = angular_velocity_;
1915  angular_velocity_ = nullptr;
1916 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1917  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1918  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1919  if (GetArenaForAllocation() == nullptr) { delete old; }
1920 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1921  if (GetArenaForAllocation() != nullptr) {
1922  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1923  }
1924 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1925  return temp;
1926 }
1927 inline ::ignition::msgs::IMUSensor_AngularVelocity* IMUSensor::unsafe_arena_release_angular_velocity() {
1928  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.angular_velocity)
1929 
1930  ::ignition::msgs::IMUSensor_AngularVelocity* temp = angular_velocity_;
1931  angular_velocity_ = nullptr;
1932  return temp;
1933 }
1934 inline ::ignition::msgs::IMUSensor_AngularVelocity* IMUSensor::_internal_mutable_angular_velocity() {
1935 
1936  if (angular_velocity_ == nullptr) {
1937  auto* p = CreateMaybeMessage<::ignition::msgs::IMUSensor_AngularVelocity>(GetArenaForAllocation());
1938  angular_velocity_ = p;
1939  }
1940  return angular_velocity_;
1941 }
1942 inline ::ignition::msgs::IMUSensor_AngularVelocity* IMUSensor::mutable_angular_velocity() {
1943  ::ignition::msgs::IMUSensor_AngularVelocity* _msg = _internal_mutable_angular_velocity();
1944  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.angular_velocity)
1945  return _msg;
1946 }
1948  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1949  if (message_arena == nullptr) {
1950  delete angular_velocity_;
1951  }
1952  if (angular_velocity) {
1953  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1954  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ignition::msgs::IMUSensor_AngularVelocity>::GetOwningArena(angular_velocity);
1955  if (message_arena != submessage_arena) {
1956  angular_velocity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1957  message_arena, angular_velocity, submessage_arena);
1958  }
1959 
1960  } else {
1961 
1962  }
1963  angular_velocity_ = angular_velocity;
1964  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.angular_velocity)
1965 }
1966 
1967 // .ignition.msgs.IMUSensor.LinearAcceleration linear_acceleration = 3;
1968 inline bool IMUSensor::_internal_has_linear_acceleration() const {
1969  return this != internal_default_instance() && linear_acceleration_ != nullptr;
1970 }
1972  return _internal_has_linear_acceleration();
1973 }
1975  if (GetArenaForAllocation() == nullptr && linear_acceleration_ != nullptr) {
1976  delete linear_acceleration_;
1977  }
1978  linear_acceleration_ = nullptr;
1979 }
1980 inline const ::ignition::msgs::IMUSensor_LinearAcceleration& IMUSensor::_internal_linear_acceleration() const {
1981  const ::ignition::msgs::IMUSensor_LinearAcceleration* p = linear_acceleration_;
1982  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::IMUSensor_LinearAcceleration&>(
1984 }
1985 inline const ::ignition::msgs::IMUSensor_LinearAcceleration& IMUSensor::linear_acceleration() const {
1986  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.linear_acceleration)
1987  return _internal_linear_acceleration();
1988 }
1990  ::ignition::msgs::IMUSensor_LinearAcceleration* linear_acceleration) {
1991  if (GetArenaForAllocation() == nullptr) {
1992  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(linear_acceleration_);
1993  }
1994  linear_acceleration_ = linear_acceleration;
1995  if (linear_acceleration) {
1996 
1997  } else {
1998 
1999  }
2000  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.IMUSensor.linear_acceleration)
2001 }
2002 inline ::ignition::msgs::IMUSensor_LinearAcceleration* IMUSensor::release_linear_acceleration() {
2003 
2004  ::ignition::msgs::IMUSensor_LinearAcceleration* temp = linear_acceleration_;
2005  linear_acceleration_ = nullptr;
2006 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2007  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2008  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2009  if (GetArenaForAllocation() == nullptr) { delete old; }
2010 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2011  if (GetArenaForAllocation() != nullptr) {
2012  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2013  }
2014 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2015  return temp;
2016 }
2017 inline ::ignition::msgs::IMUSensor_LinearAcceleration* IMUSensor::unsafe_arena_release_linear_acceleration() {
2018  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.linear_acceleration)
2019 
2020  ::ignition::msgs::IMUSensor_LinearAcceleration* temp = linear_acceleration_;
2021  linear_acceleration_ = nullptr;
2022  return temp;
2023 }
2024 inline ::ignition::msgs::IMUSensor_LinearAcceleration* IMUSensor::_internal_mutable_linear_acceleration() {
2025 
2026  if (linear_acceleration_ == nullptr) {
2027  auto* p = CreateMaybeMessage<::ignition::msgs::IMUSensor_LinearAcceleration>(GetArenaForAllocation());
2028  linear_acceleration_ = p;
2029  }
2030  return linear_acceleration_;
2031 }
2032 inline ::ignition::msgs::IMUSensor_LinearAcceleration* IMUSensor::mutable_linear_acceleration() {
2033  ::ignition::msgs::IMUSensor_LinearAcceleration* _msg = _internal_mutable_linear_acceleration();
2034  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.linear_acceleration)
2035  return _msg;
2036 }
2038  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2039  if (message_arena == nullptr) {
2040  delete linear_acceleration_;
2041  }
2042  if (linear_acceleration) {
2043  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2044  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ignition::msgs::IMUSensor_LinearAcceleration>::GetOwningArena(linear_acceleration);
2045  if (message_arena != submessage_arena) {
2046  linear_acceleration = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2047  message_arena, linear_acceleration, submessage_arena);
2048  }
2049 
2050  } else {
2051 
2052  }
2053  linear_acceleration_ = linear_acceleration;
2054  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.linear_acceleration)
2055 }
2056 
2057 // .ignition.msgs.IMUSensor.OrientationReferenceFrame orientation_ref_frame = 4;
2058 inline bool IMUSensor::_internal_has_orientation_ref_frame() const {
2059  return this != internal_default_instance() && orientation_ref_frame_ != nullptr;
2060 }
2062  return _internal_has_orientation_ref_frame();
2063 }
2065  if (GetArenaForAllocation() == nullptr && orientation_ref_frame_ != nullptr) {
2066  delete orientation_ref_frame_;
2067  }
2068  orientation_ref_frame_ = nullptr;
2069 }
2070 inline const ::ignition::msgs::IMUSensor_OrientationReferenceFrame& IMUSensor::_internal_orientation_ref_frame() const {
2071  const ::ignition::msgs::IMUSensor_OrientationReferenceFrame* p = orientation_ref_frame_;
2072  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::IMUSensor_OrientationReferenceFrame&>(
2074 }
2075 inline const ::ignition::msgs::IMUSensor_OrientationReferenceFrame& IMUSensor::orientation_ref_frame() const {
2076  // @@protoc_insertion_point(field_get:ignition.msgs.IMUSensor.orientation_ref_frame)
2077  return _internal_orientation_ref_frame();
2078 }
2080  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* orientation_ref_frame) {
2081  if (GetArenaForAllocation() == nullptr) {
2082  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(orientation_ref_frame_);
2083  }
2084  orientation_ref_frame_ = orientation_ref_frame;
2085  if (orientation_ref_frame) {
2086 
2087  } else {
2088 
2089  }
2090  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.IMUSensor.orientation_ref_frame)
2091 }
2092 inline ::ignition::msgs::IMUSensor_OrientationReferenceFrame* IMUSensor::release_orientation_ref_frame() {
2093 
2094  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* temp = orientation_ref_frame_;
2095  orientation_ref_frame_ = nullptr;
2096 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2097  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2098  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2099  if (GetArenaForAllocation() == nullptr) { delete old; }
2100 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2101  if (GetArenaForAllocation() != nullptr) {
2102  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2103  }
2104 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2105  return temp;
2106 }
2107 inline ::ignition::msgs::IMUSensor_OrientationReferenceFrame* IMUSensor::unsafe_arena_release_orientation_ref_frame() {
2108  // @@protoc_insertion_point(field_release:ignition.msgs.IMUSensor.orientation_ref_frame)
2109 
2110  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* temp = orientation_ref_frame_;
2111  orientation_ref_frame_ = nullptr;
2112  return temp;
2113 }
2114 inline ::ignition::msgs::IMUSensor_OrientationReferenceFrame* IMUSensor::_internal_mutable_orientation_ref_frame() {
2115 
2116  if (orientation_ref_frame_ == nullptr) {
2117  auto* p = CreateMaybeMessage<::ignition::msgs::IMUSensor_OrientationReferenceFrame>(GetArenaForAllocation());
2118  orientation_ref_frame_ = p;
2119  }
2120  return orientation_ref_frame_;
2121 }
2122 inline ::ignition::msgs::IMUSensor_OrientationReferenceFrame* IMUSensor::mutable_orientation_ref_frame() {
2123  ::ignition::msgs::IMUSensor_OrientationReferenceFrame* _msg = _internal_mutable_orientation_ref_frame();
2124  // @@protoc_insertion_point(field_mutable:ignition.msgs.IMUSensor.orientation_ref_frame)
2125  return _msg;
2126 }
2128  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2129  if (message_arena == nullptr) {
2130  delete orientation_ref_frame_;
2131  }
2132  if (orientation_ref_frame) {
2133  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2134  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ignition::msgs::IMUSensor_OrientationReferenceFrame>::GetOwningArena(orientation_ref_frame);
2135  if (message_arena != submessage_arena) {
2136  orientation_ref_frame = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2137  message_arena, orientation_ref_frame, submessage_arena);
2138  }
2139 
2140  } else {
2141 
2142  }
2143  orientation_ref_frame_ = orientation_ref_frame;
2144  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.IMUSensor.orientation_ref_frame)
2145 }
2146 
2147 #ifdef __GNUC__
2148  #pragma GCC diagnostic pop
2149 #endif // __GNUC__
2150 // -------------------------------------------------------------------
2151 
2152 // -------------------------------------------------------------------
2153 
2154 // -------------------------------------------------------------------
2155 
2156 
2161 // @@protoc_insertion_point(namespace_scope)
2162 
2163 } // namespace msgs
2164 } // namespace ignition
2165 
2166 #ifdef _MSC_VER
2167 #pragma warning(pop)
2168 #endif
2169 // @@protoc_insertion_point(global_scope)
2170 
2171 #include <google/protobuf/port_undef.inc>
2172 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fimu_5fsensor_2eproto
Definition: header.pb.h:265
Definition: imu_sensor.pb.h:98
PROTOBUF_NODISCARD ::ignition::msgs::SensorNoise * release_z_noise()
Definition: imu_sensor.pb.h:1139
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: imu_sensor.pb.h:134
void CopyFrom(const IMUSensor_AngularVelocity &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
bool has_z_noise() const
Definition: imu_sensor.pb.h:1114
void set_allocated_y_noise(::ignition::msgs::SensorNoise *y_noise)
Definition: imu_sensor.pb.h:1088
IMUSensor_AngularVelocity(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: imu_sensor.pb.h:128
IMUSensor_AngularVelocity * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: imu_sensor.pb.h:171
::ignition::msgs::SensorNoise * mutable_x_noise()
Definition: imu_sensor.pb.h:997
PROTOBUF_NODISCARD ::ignition::msgs::SensorNoise * release_y_noise()
Definition: imu_sensor.pb.h:1053
::ignition::msgs::SensorNoise * unsafe_arena_release_z_noise()
Definition: imu_sensor.pb.h:1154
void UnsafeArenaSwap(IMUSensor_AngularVelocity *other)
Definition: imu_sensor.pb.h:163
::ignition::msgs::SensorNoise * mutable_z_noise()
Definition: imu_sensor.pb.h:1169
const ::ignition::msgs::SensorNoise & y_noise() const
Definition: imu_sensor.pb.h:1036
::ignition::msgs::SensorNoise * mutable_y_noise()
Definition: imu_sensor.pb.h:1083
IMUSensor_AngularVelocity & operator=(const IMUSensor_AngularVelocity &from)
Definition: imu_sensor.pb.h:110
bool has_x_noise() const
Definition: imu_sensor.pb.h:942
IMUSensor_AngularVelocity()
Definition: imu_sensor.pb.h:100
::ignition::msgs::SensorNoise * unsafe_arena_release_x_noise()
Definition: imu_sensor.pb.h:982
void unsafe_arena_set_allocated_y_noise(::ignition::msgs::SensorNoise *y_noise)
Definition: imu_sensor.pb.h:1040
void MergeFrom(const IMUSensor_AngularVelocity &from)
const ::ignition::msgs::SensorNoise & z_noise() const
Definition: imu_sensor.pb.h:1122
static const IMUSensor_AngularVelocity & default_instance()
Definition: imu_sensor.pb.h:137
void set_allocated_z_noise(::ignition::msgs::SensorNoise *z_noise)
Definition: imu_sensor.pb.h:1174
void unsafe_arena_set_allocated_x_noise(::ignition::msgs::SensorNoise *x_noise)
Definition: imu_sensor.pb.h:954
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::ignition::msgs::SensorNoise & x_noise() const
Definition: imu_sensor.pb.h:950
IMUSensor_AngularVelocity(const IMUSensor_AngularVelocity &from)
constexpr IMUSensor_AngularVelocity(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::ignition::msgs::SensorNoise * unsafe_arena_release_y_noise()
Definition: imu_sensor.pb.h:1068
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: imu_sensor.pb.h:131
friend void swap(IMUSensor_AngularVelocity &a, IMUSensor_AngularVelocity &b)
Definition: imu_sensor.pb.h:147
static const ClassData _class_data_
Definition: imu_sensor.pb.h:209
void set_allocated_x_noise(::ignition::msgs::SensorNoise *x_noise)
Definition: imu_sensor.pb.h:1002
bool has_y_noise() const
Definition: imu_sensor.pb.h:1028
PROTOBUF_NODISCARD ::ignition::msgs::SensorNoise * release_x_noise()
Definition: imu_sensor.pb.h:967
IMUSensor_AngularVelocity(IMUSensor_AngularVelocity &&from) noexcept
Definition: imu_sensor.pb.h:105
void unsafe_arena_set_allocated_z_noise(::ignition::msgs::SensorNoise *z_noise)
Definition: imu_sensor.pb.h:1126
void Swap(IMUSensor_AngularVelocity *other)
Definition: imu_sensor.pb.h:150
static const IMUSensor_AngularVelocity * internal_default_instance()
Definition: imu_sensor.pb.h:140
IMUSensor_AngularVelocity & operator=(IMUSensor_AngularVelocity &&from) noexcept
Definition: imu_sensor.pb.h:114
Definition: imu_sensor.pb.h:293
IMUSensor_LinearAcceleration(const IMUSensor_LinearAcceleration &from)
PROTOBUF_NODISCARD ::ignition::msgs::SensorNoise * release_z_noise()
Definition: imu_sensor.pb.h:1401
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: imu_sensor.pb.h:329
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const IMUSensor_LinearAcceleration * internal_default_instance()
Definition: imu_sensor.pb.h:335
bool has_z_noise() const
Definition: imu_sensor.pb.h:1376
void set_allocated_y_noise(::ignition::msgs::SensorNoise *y_noise)
Definition: imu_sensor.pb.h:1350
constexpr IMUSensor_LinearAcceleration(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void MergeFrom(const IMUSensor_LinearAcceleration &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: imu_sensor.pb.h:323
IMUSensor_LinearAcceleration()
Definition: imu_sensor.pb.h:295
::ignition::msgs::SensorNoise * mutable_x_noise()
Definition: imu_sensor.pb.h:1259
PROTOBUF_NODISCARD ::ignition::msgs::SensorNoise * release_y_noise()
Definition: imu_sensor.pb.h:1315
::ignition::msgs::SensorNoise * unsafe_arena_release_z_noise()
Definition: imu_sensor.pb.h:1416
::ignition::msgs::SensorNoise * mutable_z_noise()
Definition: imu_sensor.pb.h:1431
const ::ignition::msgs::SensorNoise & y_noise() const
Definition: imu_sensor.pb.h:1298
IMUSensor_LinearAcceleration & operator=(const IMUSensor_LinearAcceleration &from)
Definition: imu_sensor.pb.h:305
void UnsafeArenaSwap(IMUSensor_LinearAcceleration *other)
Definition: imu_sensor.pb.h:358
::ignition::msgs::SensorNoise * mutable_y_noise()
Definition: imu_sensor.pb.h:1345
bool has_x_noise() const
Definition: imu_sensor.pb.h:1204
::ignition::msgs::SensorNoise * unsafe_arena_release_x_noise()
Definition: imu_sensor.pb.h:1244
void unsafe_arena_set_allocated_y_noise(::ignition::msgs::SensorNoise *y_noise)
Definition: imu_sensor.pb.h:1302
const ::ignition::msgs::SensorNoise & z_noise() const
Definition: imu_sensor.pb.h:1384
void set_allocated_z_noise(::ignition::msgs::SensorNoise *z_noise)
Definition: imu_sensor.pb.h:1436
static const IMUSensor_LinearAcceleration & default_instance()
Definition: imu_sensor.pb.h:332
void unsafe_arena_set_allocated_x_noise(::ignition::msgs::SensorNoise *x_noise)
Definition: imu_sensor.pb.h:1216
IMUSensor_LinearAcceleration & operator=(IMUSensor_LinearAcceleration &&from) noexcept
Definition: imu_sensor.pb.h:309
void Swap(IMUSensor_LinearAcceleration *other)
Definition: imu_sensor.pb.h:345
IMUSensor_LinearAcceleration(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::ignition::msgs::SensorNoise & x_noise() const
Definition: imu_sensor.pb.h:1212
friend void swap(IMUSensor_LinearAcceleration &a, IMUSensor_LinearAcceleration &b)
Definition: imu_sensor.pb.h:342
::ignition::msgs::SensorNoise * unsafe_arena_release_y_noise()
Definition: imu_sensor.pb.h:1330
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: imu_sensor.pb.h:326
static const ClassData _class_data_
Definition: imu_sensor.pb.h:404
void set_allocated_x_noise(::ignition::msgs::SensorNoise *x_noise)
Definition: imu_sensor.pb.h:1264
bool has_y_noise() const
Definition: imu_sensor.pb.h:1290
PROTOBUF_NODISCARD ::ignition::msgs::SensorNoise * release_x_noise()
Definition: imu_sensor.pb.h:1229
IMUSensor_LinearAcceleration * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: imu_sensor.pb.h:366
IMUSensor_LinearAcceleration(IMUSensor_LinearAcceleration &&from) noexcept
Definition: imu_sensor.pb.h:300
void CopyFrom(const IMUSensor_LinearAcceleration &from)
void unsafe_arena_set_allocated_z_noise(::ignition::msgs::SensorNoise *z_noise)
Definition: imu_sensor.pb.h:1388
IMUSensor_OrientationReferenceFrame & operator=(const IMUSensor_OrientationReferenceFrame &from)
Definition: imu_sensor.pb.h:500
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: imu_sensor.pb.h:524
PROTOBUF_NODISCARD std::string * release_custom_rpy_parent_frame()
Definition: imu_sensor.pb.h:1630
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_NODISCARD ::ignition::msgs::Vector3d * release_custom_rpy()
Definition: imu_sensor.pb.h:1542
std::string * mutable_custom_rpy_parent_frame()
Definition: imu_sensor.pb.h:1614
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: imu_sensor.pb.h:518
void set_allocated_gravity_dir_x_parent_frame(std::string *gravity_dir_x_parent_frame)
Definition: imu_sensor.pb.h:1771
void set_custom_rpy_parent_frame(ArgT0 &&arg0, ArgT... args)
::ignition::msgs::Vector3d * mutable_custom_rpy()
Definition: imu_sensor.pb.h:1572
std::string * mutable_localization()
Definition: imu_sensor.pb.h:1477
bool has_gravity_dir_x() const
Definition: imu_sensor.pb.h:1654
const std::string & gravity_dir_x_parent_frame() const
Definition: imu_sensor.pb.h:1740
PROTOBUF_NODISCARD std::string * release_localization()
Definition: imu_sensor.pb.h:1493
IMUSensor_OrientationReferenceFrame(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
bool has_custom_rpy() const
Definition: imu_sensor.pb.h:1517
void set_allocated_localization(std::string *localization)
Definition: imu_sensor.pb.h:1497
void set_allocated_custom_rpy_parent_frame(std::string *custom_rpy_parent_frame)
Definition: imu_sensor.pb.h:1634
const std::string & localization() const
Definition: imu_sensor.pb.h:1466
void MergeFrom(const IMUSensor_OrientationReferenceFrame &from)
void CopyFrom(const IMUSensor_OrientationReferenceFrame &from)
void unsafe_arena_set_allocated_gravity_dir_x(::ignition::msgs::Vector3d *gravity_dir_x)
Definition: imu_sensor.pb.h:1666
PROTOBUF_NODISCARD ::ignition::msgs::Vector3d * release_gravity_dir_x()
Definition: imu_sensor.pb.h:1679
void clear_localization()
Definition: imu_sensor.pb.h:1463
void clear_gravity_dir_x_parent_frame()
Definition: imu_sensor.pb.h:1737
::ignition::msgs::Vector3d * unsafe_arena_release_custom_rpy()
Definition: imu_sensor.pb.h:1557
constexpr IMUSensor_OrientationReferenceFrame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void clear_custom_rpy_parent_frame()
Definition: imu_sensor.pb.h:1600
IMUSensor_OrientationReferenceFrame & operator=(IMUSensor_OrientationReferenceFrame &&from) noexcept
Definition: imu_sensor.pb.h:504
IMUSensor_OrientationReferenceFrame * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: imu_sensor.pb.h:561
const ::ignition::msgs::Vector3d & gravity_dir_x() const
Definition: imu_sensor.pb.h:1662
void unsafe_arena_set_allocated_custom_rpy(::ignition::msgs::Vector3d *custom_rpy)
Definition: imu_sensor.pb.h:1529
::ignition::msgs::Vector3d * mutable_gravity_dir_x()
Definition: imu_sensor.pb.h:1709
void set_allocated_gravity_dir_x(::ignition::msgs::Vector3d *gravity_dir_x)
Definition: imu_sensor.pb.h:1714
static const IMUSensor_OrientationReferenceFrame & default_instance()
Definition: imu_sensor.pb.h:527
IMUSensor_OrientationReferenceFrame()
Definition: imu_sensor.pb.h:490
friend void swap(IMUSensor_OrientationReferenceFrame &a, IMUSensor_OrientationReferenceFrame &b)
Definition: imu_sensor.pb.h:537
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_gravity_dir_x_parent_frame(ArgT0 &&arg0, ArgT... args)
void set_localization(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: imu_sensor.pb.h:521
void UnsafeArenaSwap(IMUSensor_OrientationReferenceFrame *other)
Definition: imu_sensor.pb.h:553
static const IMUSensor_OrientationReferenceFrame * internal_default_instance()
Definition: imu_sensor.pb.h:530
void Swap(IMUSensor_OrientationReferenceFrame *other)
Definition: imu_sensor.pb.h:540
void set_allocated_custom_rpy(::ignition::msgs::Vector3d *custom_rpy)
Definition: imu_sensor.pb.h:1577
static const ClassData _class_data_
Definition: imu_sensor.pb.h:599
::ignition::msgs::Vector3d * unsafe_arena_release_gravity_dir_x()
Definition: imu_sensor.pb.h:1694
IMUSensor_OrientationReferenceFrame(IMUSensor_OrientationReferenceFrame &&from) noexcept
Definition: imu_sensor.pb.h:495
PROTOBUF_NODISCARD std::string * release_gravity_dir_x_parent_frame()
Definition: imu_sensor.pb.h:1767
const ::ignition::msgs::Vector3d & custom_rpy() const
Definition: imu_sensor.pb.h:1525
const std::string & custom_rpy_parent_frame() const
Definition: imu_sensor.pb.h:1603
IMUSensor_OrientationReferenceFrame(const IMUSensor_OrientationReferenceFrame &from)
std::string * mutable_gravity_dir_x_parent_frame()
Definition: imu_sensor.pb.h:1751
Definition: imu_sensor.pb.h:711
::ignition::msgs::IMUSensor_OrientationReferenceFrame * unsafe_arena_release_orientation_ref_frame()
Definition: imu_sensor.pb.h:2107
IMUSensor(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::ignition::msgs::IMUSensor_LinearAcceleration & linear_acceleration() const
Definition: imu_sensor.pb.h:1985
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: imu_sensor.pb.h:747
bool has_angular_velocity() const
Definition: imu_sensor.pb.h:1881
bool has_header() const
Definition: imu_sensor.pb.h:1795
void set_allocated_angular_velocity(::ignition::msgs::IMUSensor_AngularVelocity *angular_velocity)
Definition: imu_sensor.pb.h:1947
PROTOBUF_NODISCARD ::ignition::msgs::IMUSensor_AngularVelocity * release_angular_velocity()
Definition: imu_sensor.pb.h:1912
::ignition::msgs::Header * mutable_header()
Definition: imu_sensor.pb.h:1850
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
constexpr IMUSensor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD ::ignition::msgs::IMUSensor_OrientationReferenceFrame * release_orientation_ref_frame()
Definition: imu_sensor.pb.h:2092
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: imu_sensor.pb.h:741
void clear_orientation_ref_frame()
Definition: imu_sensor.pb.h:2064
void clear_angular_velocity()
Definition: imu_sensor.pb.h:1884
void set_allocated_linear_acceleration(::ignition::msgs::IMUSensor_LinearAcceleration *linear_acceleration)
Definition: imu_sensor.pb.h:2037
PROTOBUF_NODISCARD ::ignition::msgs::IMUSensor_LinearAcceleration * release_linear_acceleration()
Definition: imu_sensor.pb.h:2002
::ignition::msgs::IMUSensor_AngularVelocity * mutable_angular_velocity()
Definition: imu_sensor.pb.h:1942
const ::ignition::msgs::IMUSensor_OrientationReferenceFrame & orientation_ref_frame() const
Definition: imu_sensor.pb.h:2075
::ignition::msgs::IMUSensor_LinearAcceleration * unsafe_arena_release_linear_acceleration()
Definition: imu_sensor.pb.h:2017
IMUSensor * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: imu_sensor.pb.h:784
void MergeFrom(const IMUSensor &from)
IMUSensor & operator=(IMUSensor &&from) noexcept
Definition: imu_sensor.pb.h:727
void set_allocated_orientation_ref_frame(::ignition::msgs::IMUSensor_OrientationReferenceFrame *orientation_ref_frame)
Definition: imu_sensor.pb.h:2127
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: imu_sensor.pb.h:1807
void unsafe_arena_set_allocated_orientation_ref_frame(::ignition::msgs::IMUSensor_OrientationReferenceFrame *orientation_ref_frame)
Definition: imu_sensor.pb.h:2079
static const IMUSensor * internal_default_instance()
Definition: imu_sensor.pb.h:753
void Swap(IMUSensor *other)
Definition: imu_sensor.pb.h:763
friend void swap(IMUSensor &a, IMUSensor &b)
Definition: imu_sensor.pb.h:760
const ::ignition::msgs::IMUSensor_AngularVelocity & angular_velocity() const
Definition: imu_sensor.pb.h:1895
IMUSensor(IMUSensor &&from) noexcept
Definition: imu_sensor.pb.h:718
IMUSensor(const IMUSensor &from)
void clear_linear_acceleration()
Definition: imu_sensor.pb.h:1974
::ignition::msgs::IMUSensor_LinearAcceleration * mutable_linear_acceleration()
Definition: imu_sensor.pb.h:2032
void set_allocated_header(::ignition::msgs::Header *header)
Definition: imu_sensor.pb.h:1855
void unsafe_arena_set_allocated_linear_acceleration(::ignition::msgs::IMUSensor_LinearAcceleration *linear_acceleration)
Definition: imu_sensor.pb.h:1989
void UnsafeArenaSwap(IMUSensor *other)
Definition: imu_sensor.pb.h:776
void unsafe_arena_set_allocated_angular_velocity(::ignition::msgs::IMUSensor_AngularVelocity *angular_velocity)
Definition: imu_sensor.pb.h:1899
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: imu_sensor.pb.h:1820
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
bool has_linear_acceleration() const
Definition: imu_sensor.pb.h:1971
IMUSensor()
Definition: imu_sensor.pb.h:713
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: imu_sensor.pb.h:744
bool has_orientation_ref_frame() const
Definition: imu_sensor.pb.h:2061
const ::ignition::msgs::Header & header() const
Definition: imu_sensor.pb.h:1803
IMUSensor & operator=(const IMUSensor &from)
Definition: imu_sensor.pb.h:723
void CopyFrom(const IMUSensor &from)
static const IMUSensor & default_instance()
Definition: imu_sensor.pb.h:750
static const ClassData _class_data_
Definition: imu_sensor.pb.h:822
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: imu_sensor.pb.h:1835
::ignition::msgs::IMUSensor_AngularVelocity * unsafe_arena_release_angular_velocity()
Definition: imu_sensor.pb.h:1927
::ignition::msgs::IMUSensor_OrientationReferenceFrame * mutable_orientation_ref_frame()
Definition: imu_sensor.pb.h:2122
Definition: sensor_noise.pb.h:111
Definition: vector3d.pb.h:84
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fimu_5fsensor_2eproto
IGNITION_MSGS_VISIBLE IMUSensorDefaultTypeInternal _IMUSensor_default_instance_
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::shared_ptr< const IMUSensor > ConstIMUSensorSharedPtr
Definition: imu_sensor.pb.h:2160
IGNITION_MSGS_VISIBLE SensorNoiseDefaultTypeInternal _SensorNoise_default_instance_
std::unique_ptr< const IMUSensor > ConstIMUSensorUniquePtr
Definition: imu_sensor.pb.h:2158
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< IMUSensor > IMUSensorUniquePtr
Definition: imu_sensor.pb.h:2157
IGNITION_MSGS_VISIBLE IMUSensor_LinearAccelerationDefaultTypeInternal _IMUSensor_LinearAcceleration_default_instance_
std::shared_ptr< IMUSensor > IMUSensorSharedPtr
Definition: imu_sensor.pb.h:2159
IGNITION_MSGS_VISIBLE IMUSensor_OrientationReferenceFrameDefaultTypeInternal _IMUSensor_OrientationReferenceFrame_default_instance_
IGNITION_MSGS_VISIBLE IMUSensor_AngularVelocityDefaultTypeInternal _IMUSensor_AngularVelocity_default_instance_
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4] PROTOBUF_SECTION_VARIABLE(protodesc_cold)