4 #ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2ffusion_2fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_bin_2ffusion_2fconfig_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3012004 < 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.
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/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
35 #include "goby/middleware/protobuf/app_config.pb.h"
36 #include "goby/zeromq/protobuf/interprocess_config.pb.h"
40 #include "dccl/option_extensions.pb.h"
41 #include <boost/units/quantity.hpp>
42 #include <boost/units/absolute.hpp>
43 #include <boost/units/dimensionless_type.hpp>
44 #include <boost/units/make_scaled_unit.hpp>
46 #include <boost/units/systems/si.hpp>
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_bin_2ffusion_2fconfig_2eproto
50 PROTOBUF_NAMESPACE_OPEN
54 PROTOBUF_NAMESPACE_CLOSE
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
66 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
72 class FusionDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> ::jaiabot::config::Fusion* Arena::CreateMaybeMessage<::jaiabot::config::Fusion>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class Fusion PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
87 inline Fusion() : Fusion(nullptr) {};
93 *
this = ::std::move(from);
101 if (GetArena() == from.GetArena()) {
102 if (
this != &from) InternalSwap(&from);
110 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
113 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
117 return GetDescriptor();
120 return GetMetadataStatic().descriptor;
123 return GetMetadataStatic().reflection;
129 return reinterpret_cast<const Fusion*
>(
132 static constexpr
int kIndexInFileMessages =
135 friend void swap(Fusion& a, Fusion& b) {
138 inline void Swap(Fusion* other) {
139 if (other ==
this)
return;
140 if (GetArena() == other->GetArena()) {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
147 if (other ==
this)
return;
148 GOOGLE_DCHECK(GetArena() == other->GetArena());
154 inline Fusion*
New() const final {
155 return CreateMaybeMessage<Fusion>(
nullptr);
158 Fusion*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
159 return CreateMaybeMessage<Fusion>(arena);
161 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
162 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
165 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
166 bool IsInitialized() const final;
168 size_t ByteSizeLong() const final;
169 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
170 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
171 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
172 int GetCachedSize() const final {
return _cached_size_.Get(); }
175 inline void SharedCtor();
176 inline void SharedDtor();
177 void SetCachedSize(
int size)
const final;
178 void InternalSwap(Fusion* other);
179 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
180 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
181 return "jaiabot.config.Fusion";
184 explicit Fusion(::PROTOBUF_NAMESPACE_ID::Arena* arena);
186 static void ArenaDtor(
void*
object);
187 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
192 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
204 kDiscardLocationStatesFieldNumber = 30,
205 kIncludeCourseErrorDetectionStatesFieldNumber = 38,
206 kIncludeImuDetectionStatesFieldNumber = 39,
207 kDivingStatesFieldNumber = 49,
208 kBotGpsdDeviceFieldNumber = 50,
210 kInterprocessFieldNumber = 2,
211 kBotIdFieldNumber = 10,
212 kIsSimFieldNumber = 34,
213 kBotTypeFieldNumber = 11,
214 kHealthReportTimeoutSecondsFieldNumber = 12,
215 kInitDataHealthTimeoutSecondsFieldNumber = 15,
216 kDataTimeoutSecondsFieldNumber = 20,
217 kHeadingTimeoutSecondsFieldNumber = 21,
218 kCourseOverGroundTimeoutFieldNumber = 32,
219 kImuHeadingCourseMaxDiffFieldNumber = 31,
220 kImuIssueSolutionFieldNumber = 33,
221 kTotalImuIssueChecksFieldNumber = 35,
222 kImuDetectTimeoutFieldNumber = 36,
223 kBotStatusPeriodMsFieldNumber = 37,
224 kWatchBatteryPercentageFieldNumber = 40,
225 kBatteryPercentageLowLevelFieldNumber = 41,
226 kBatteryPercentageVeryLowLevelFieldNumber = 42,
227 kBatteryPercentageCriticallyLowLevelFieldNumber = 43,
228 kImuDetectPeriodFieldNumber = 44,
229 kImuIssueDetectHorizontalPitchChecksFieldNumber = 45,
230 kImuIssueDetectHorizontalPitchMinTimeFieldNumber = 46,
231 kImuDetectHorizontalPitchFieldNumber = 47,
232 kImuDetectDesiredHeadingVsCurrentMaxDiffFieldNumber = 48,
237 int _internal_discard_location_states_size()
const;
243 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_discard_location_states();
254 int _internal_include_course_error_detection_states_size()
const;
260 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_include_course_error_detection_states();
271 int _internal_include_imu_detection_states_size()
const;
277 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_include_imu_detection_states();
288 int _internal_diving_states_size()
const;
294 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_diving_states();
305 bool _internal_has_bot_gpsd_device()
const;
316 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
317 " string fields are deprecated and will be removed in a"
319 std::
string* unsafe_arena_release_bot_gpsd_device();
320 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
321 "
string fields are deprecated and will be removed in a"
323 void unsafe_arena_set_allocated_bot_gpsd_device(
324 std::
string* bot_gpsd_device);
326 const std::
string& _internal_bot_gpsd_device() const;
327 void _internal_set_bot_gpsd_device(const std::
string& value);
328 std::
string* _internal_mutable_bot_gpsd_device();
332 bool has_app() const;
334 bool _internal_has_app() const;
337 const ::
goby::middleware::protobuf::AppConfig& app() const;
338 ::
goby::middleware::protobuf::AppConfig* release_app();
339 ::
goby::middleware::protobuf::AppConfig* mutable_app();
340 void set_allocated_app(::
goby::middleware::protobuf::AppConfig* app);
342 const ::
goby::middleware::protobuf::AppConfig& _internal_app() const;
343 ::
goby::middleware::protobuf::AppConfig* _internal_mutable_app();
345 void unsafe_arena_set_allocated_app(
346 ::
goby::middleware::protobuf::AppConfig* app);
347 ::
goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
350 bool has_interprocess() const;
352 bool _internal_has_interprocess() const;
354 void clear_interprocess();
355 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
356 ::
goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
357 ::
goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
358 void set_allocated_interprocess(::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
360 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
361 ::
goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
363 void unsafe_arena_set_allocated_interprocess(
364 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
365 ::
goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
368 bool has_bot_id() const;
370 bool _internal_has_bot_id() const;
373 ::PROTOBUF_NAMESPACE_ID::int32 bot_id() const;
374 void set_bot_id(::PROTOBUF_NAMESPACE_ID::int32 value);
376 ::PROTOBUF_NAMESPACE_ID::int32 _internal_bot_id() const;
377 void _internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::int32 value);
381 bool has_is_sim() const;
383 bool _internal_has_is_sim() const;
387 void set_is_sim(
bool value);
389 bool _internal_is_sim() const;
390 void _internal_set_is_sim(
bool value);
394 bool has_bot_type() const;
396 bool _internal_has_bot_type() const;
398 void clear_bot_type();
407 bool has_health_report_timeout_seconds() const;
409 bool _internal_has_health_report_timeout_seconds() const;
411 void clear_health_report_timeout_seconds();
412 ::PROTOBUF_NAMESPACE_ID::int32 health_report_timeout_seconds() const;
413 void set_health_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
415 ::PROTOBUF_NAMESPACE_ID::int32 _internal_health_report_timeout_seconds() const;
416 void _internal_set_health_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
420 bool has_init_data_health_timeout_seconds() const;
422 bool _internal_has_init_data_health_timeout_seconds() const;
424 void clear_init_data_health_timeout_seconds();
425 ::PROTOBUF_NAMESPACE_ID::int32 init_data_health_timeout_seconds() const;
426 void set_init_data_health_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
428 ::PROTOBUF_NAMESPACE_ID::int32 _internal_init_data_health_timeout_seconds() const;
429 void _internal_set_init_data_health_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
433 bool has_data_timeout_seconds() const;
435 bool _internal_has_data_timeout_seconds() const;
437 void clear_data_timeout_seconds();
438 ::PROTOBUF_NAMESPACE_ID::int32 data_timeout_seconds() const;
439 void set_data_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
441 ::PROTOBUF_NAMESPACE_ID::int32 _internal_data_timeout_seconds() const;
442 void _internal_set_data_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
446 bool has_heading_timeout_seconds() const;
448 bool _internal_has_heading_timeout_seconds() const;
450 void clear_heading_timeout_seconds();
451 ::PROTOBUF_NAMESPACE_ID::int32 heading_timeout_seconds() const;
452 void set_heading_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
454 ::PROTOBUF_NAMESPACE_ID::int32 _internal_heading_timeout_seconds() const;
455 void _internal_set_heading_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
459 bool has_course_over_ground_timeout() const;
461 bool _internal_has_course_over_ground_timeout() const;
463 void clear_course_over_ground_timeout();
464 ::PROTOBUF_NAMESPACE_ID::int32 course_over_ground_timeout() const;
465 void set_course_over_ground_timeout(::PROTOBUF_NAMESPACE_ID::int32 value);
467 ::PROTOBUF_NAMESPACE_ID::int32 _internal_course_over_ground_timeout() const;
468 void _internal_set_course_over_ground_timeout(::PROTOBUF_NAMESPACE_ID::int32 value);
472 bool has_imu_heading_course_max_diff() const;
474 bool _internal_has_imu_heading_course_max_diff() const;
476 void clear_imu_heading_course_max_diff();
477 double imu_heading_course_max_diff() const;
478 void set_imu_heading_course_max_diff(
double value);
480 double _internal_imu_heading_course_max_diff() const;
481 void _internal_set_imu_heading_course_max_diff(
double value);
485 bool has_imu_issue_solution() const;
487 bool _internal_has_imu_issue_solution() const;
489 void clear_imu_issue_solution();
498 bool has_total_imu_issue_checks() const;
500 bool _internal_has_total_imu_issue_checks() const;
502 void clear_total_imu_issue_checks();
503 ::PROTOBUF_NAMESPACE_ID::int32 total_imu_issue_checks() const;
504 void set_total_imu_issue_checks(::PROTOBUF_NAMESPACE_ID::int32 value);
506 ::PROTOBUF_NAMESPACE_ID::int32 _internal_total_imu_issue_checks() const;
507 void _internal_set_total_imu_issue_checks(::PROTOBUF_NAMESPACE_ID::int32 value);
511 bool has_imu_detect_timeout() const;
513 bool _internal_has_imu_detect_timeout() const;
515 void clear_imu_detect_timeout();
516 ::PROTOBUF_NAMESPACE_ID::int32 imu_detect_timeout() const;
517 void set_imu_detect_timeout(::PROTOBUF_NAMESPACE_ID::int32 value);
519 ::PROTOBUF_NAMESPACE_ID::int32 _internal_imu_detect_timeout() const;
520 void _internal_set_imu_detect_timeout(::PROTOBUF_NAMESPACE_ID::int32 value);
524 bool has_bot_status_period_ms() const;
526 bool _internal_has_bot_status_period_ms() const;
528 void clear_bot_status_period_ms();
529 ::PROTOBUF_NAMESPACE_ID::int32 bot_status_period_ms() const;
530 void set_bot_status_period_ms(::PROTOBUF_NAMESPACE_ID::int32 value);
532 ::PROTOBUF_NAMESPACE_ID::int32 _internal_bot_status_period_ms() const;
533 void _internal_set_bot_status_period_ms(::PROTOBUF_NAMESPACE_ID::int32 value);
537 bool has_watch_battery_percentage() const;
539 bool _internal_has_watch_battery_percentage() const;
541 void clear_watch_battery_percentage();
542 bool watch_battery_percentage() const;
543 void set_watch_battery_percentage(
bool value);
545 bool _internal_watch_battery_percentage() const;
546 void _internal_set_watch_battery_percentage(
bool value);
550 bool has_battery_percentage_low_level() const;
552 bool _internal_has_battery_percentage_low_level() const;
554 void clear_battery_percentage_low_level();
555 float battery_percentage_low_level() const;
556 void set_battery_percentage_low_level(
float value);
558 float _internal_battery_percentage_low_level() const;
559 void _internal_set_battery_percentage_low_level(
float value);
563 bool has_battery_percentage_very_low_level() const;
565 bool _internal_has_battery_percentage_very_low_level() const;
567 void clear_battery_percentage_very_low_level();
568 float battery_percentage_very_low_level() const;
569 void set_battery_percentage_very_low_level(
float value);
571 float _internal_battery_percentage_very_low_level() const;
572 void _internal_set_battery_percentage_very_low_level(
float value);
576 bool has_battery_percentage_critically_low_level() const;
578 bool _internal_has_battery_percentage_critically_low_level() const;
580 void clear_battery_percentage_critically_low_level();
581 float battery_percentage_critically_low_level() const;
582 void set_battery_percentage_critically_low_level(
float value);
584 float _internal_battery_percentage_critically_low_level() const;
585 void _internal_set_battery_percentage_critically_low_level(
float value);
589 bool has_imu_detect_period() const;
591 bool _internal_has_imu_detect_period() const;
593 void clear_imu_detect_period();
594 ::PROTOBUF_NAMESPACE_ID::int32 imu_detect_period() const;
595 void set_imu_detect_period(::PROTOBUF_NAMESPACE_ID::int32 value);
597 ::PROTOBUF_NAMESPACE_ID::int32 _internal_imu_detect_period() const;
598 void _internal_set_imu_detect_period(::PROTOBUF_NAMESPACE_ID::int32 value);
602 bool has_imu_issue_detect_horizontal_pitch_checks() const;
604 bool _internal_has_imu_issue_detect_horizontal_pitch_checks() const;
606 void clear_imu_issue_detect_horizontal_pitch_checks();
607 ::PROTOBUF_NAMESPACE_ID::int32 imu_issue_detect_horizontal_pitch_checks() const;
608 void set_imu_issue_detect_horizontal_pitch_checks(::PROTOBUF_NAMESPACE_ID::int32 value);
610 ::PROTOBUF_NAMESPACE_ID::int32 _internal_imu_issue_detect_horizontal_pitch_checks() const;
611 void _internal_set_imu_issue_detect_horizontal_pitch_checks(::PROTOBUF_NAMESPACE_ID::int32 value);
615 bool has_imu_issue_detect_horizontal_pitch_min_time() const;
617 bool _internal_has_imu_issue_detect_horizontal_pitch_min_time() const;
619 void clear_imu_issue_detect_horizontal_pitch_min_time();
620 double imu_issue_detect_horizontal_pitch_min_time() const;
621 void set_imu_issue_detect_horizontal_pitch_min_time(
double value);
623 double _internal_imu_issue_detect_horizontal_pitch_min_time() const;
624 void _internal_set_imu_issue_detect_horizontal_pitch_min_time(
double value);
628 bool has_imu_detect_horizontal_pitch() const;
630 bool _internal_has_imu_detect_horizontal_pitch() const;
632 void clear_imu_detect_horizontal_pitch();
633 double imu_detect_horizontal_pitch() const;
634 void set_imu_detect_horizontal_pitch(
double value);
636 double _internal_imu_detect_horizontal_pitch() const;
637 void _internal_set_imu_detect_horizontal_pitch(
double value);
641 bool has_imu_detect_desired_heading_vs_current_max_diff() const;
643 bool _internal_has_imu_detect_desired_heading_vs_current_max_diff() const;
645 void clear_imu_detect_desired_heading_vs_current_max_diff();
646 double imu_detect_desired_heading_vs_current_max_diff() const;
647 void set_imu_detect_desired_heading_vs_current_max_diff(
double value);
649 double _internal_imu_detect_desired_heading_vs_current_max_diff() const;
650 void _internal_set_imu_detect_desired_heading_vs_current_max_diff(
double value);
657 template<typename Quantity >
658 void set_imu_issue_detect_horizontal_pitch_min_time_with_units(Quantity value_w_units)
659 { set_imu_issue_detect_horizontal_pitch_min_time(boost::units::quantity<imu_issue_detect_horizontal_pitch_min_time_unit,double >(value_w_units).value() ); };
661 template<
typename Quantity >
666 {
return imu_issue_detect_horizontal_pitch_min_time_with_units<boost::units::quantity< imu_issue_detect_horizontal_pitch_min_time_unit,double > >(); };
673 size_t RequiredFieldsByteSizeFallback()
const;
675 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
676 typedef void InternalArenaConstructable_;
677 typedef void DestructorSkippable_;
678 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
679 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
680 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> discard_location_states_;
681 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> include_course_error_detection_states_;
682 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> include_imu_detection_states_;
683 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> diving_states_;
684 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bot_gpsd_device_;
685 ::goby::middleware::protobuf::AppConfig* app_;
686 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
687 ::PROTOBUF_NAMESPACE_ID::int32 bot_id_;
690 ::PROTOBUF_NAMESPACE_ID::int32 health_report_timeout_seconds_;
691 ::PROTOBUF_NAMESPACE_ID::int32 init_data_health_timeout_seconds_;
692 ::PROTOBUF_NAMESPACE_ID::int32 data_timeout_seconds_;
693 ::PROTOBUF_NAMESPACE_ID::int32 heading_timeout_seconds_;
694 ::PROTOBUF_NAMESPACE_ID::int32 course_over_ground_timeout_;
695 double imu_heading_course_max_diff_;
696 int imu_issue_solution_;
697 ::PROTOBUF_NAMESPACE_ID::int32 total_imu_issue_checks_;
698 ::PROTOBUF_NAMESPACE_ID::int32 imu_detect_timeout_;
699 ::PROTOBUF_NAMESPACE_ID::int32 bot_status_period_ms_;
700 bool watch_battery_percentage_;
701 float battery_percentage_low_level_;
702 float battery_percentage_very_low_level_;
703 float battery_percentage_critically_low_level_;
704 ::PROTOBUF_NAMESPACE_ID::int32 imu_detect_period_;
705 ::PROTOBUF_NAMESPACE_ID::int32 imu_issue_detect_horizontal_pitch_checks_;
706 double imu_issue_detect_horizontal_pitch_min_time_;
707 double imu_detect_horizontal_pitch_;
708 double imu_detect_desired_heading_vs_current_max_diff_;
709 friend struct ::TableStruct_bin_2ffusion_2fconfig_2eproto;
717 #pragma GCC diagnostic push
718 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
723 inline bool Fusion::_internal_has_app()
const {
724 bool value = (_has_bits_[0] & 0x00000002u) != 0;
725 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
728 inline bool Fusion::has_app()
const {
729 return _internal_has_app();
731 inline const ::goby::middleware::protobuf::AppConfig& Fusion::_internal_app()
const {
732 const ::goby::middleware::protobuf::AppConfig* p = app_;
733 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
734 &::goby::middleware::protobuf::_AppConfig_default_instance_);
736 inline const ::goby::middleware::protobuf::AppConfig& Fusion::app()
const {
738 return _internal_app();
740 inline void Fusion::unsafe_arena_set_allocated_app(
741 ::goby::middleware::protobuf::AppConfig* app) {
742 if (GetArena() ==
nullptr) {
743 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
747 _has_bits_[0] |= 0x00000002u;
749 _has_bits_[0] &= ~0x00000002u;
753 inline ::goby::middleware::protobuf::AppConfig* Fusion::release_app() {
754 auto temp = unsafe_arena_release_app();
755 if (GetArena() !=
nullptr) {
756 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
760 inline ::goby::middleware::protobuf::AppConfig* Fusion::unsafe_arena_release_app() {
762 _has_bits_[0] &= ~0x00000002u;
763 ::goby::middleware::protobuf::AppConfig* temp = app_;
767 inline ::goby::middleware::protobuf::AppConfig* Fusion::_internal_mutable_app() {
768 _has_bits_[0] |= 0x00000002u;
769 if (app_ ==
nullptr) {
770 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
775 inline ::goby::middleware::protobuf::AppConfig* Fusion::mutable_app() {
777 return _internal_mutable_app();
779 inline void Fusion::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
780 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
781 if (message_arena ==
nullptr) {
782 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
785 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
786 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app)->GetArena();
787 if (message_arena != submessage_arena) {
788 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
789 message_arena, app, submessage_arena);
791 _has_bits_[0] |= 0x00000002u;
793 _has_bits_[0] &= ~0x00000002u;
800 inline bool Fusion::_internal_has_interprocess()
const {
801 bool value = (_has_bits_[0] & 0x00000004u) != 0;
802 PROTOBUF_ASSUME(!value || interprocess_ !=
nullptr);
805 inline bool Fusion::has_interprocess()
const {
806 return _internal_has_interprocess();
808 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& Fusion::_internal_interprocess()
const {
809 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
810 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
811 &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
813 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& Fusion::interprocess()
const {
815 return _internal_interprocess();
817 inline void Fusion::unsafe_arena_set_allocated_interprocess(
818 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
819 if (GetArena() ==
nullptr) {
820 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
822 interprocess_ = interprocess;
824 _has_bits_[0] |= 0x00000004u;
826 _has_bits_[0] &= ~0x00000004u;
830 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Fusion::release_interprocess() {
831 auto temp = unsafe_arena_release_interprocess();
832 if (GetArena() !=
nullptr) {
833 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
837 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Fusion::unsafe_arena_release_interprocess() {
839 _has_bits_[0] &= ~0x00000004u;
840 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
841 interprocess_ =
nullptr;
844 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Fusion::_internal_mutable_interprocess() {
845 _has_bits_[0] |= 0x00000004u;
846 if (interprocess_ ==
nullptr) {
847 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
850 return interprocess_;
852 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Fusion::mutable_interprocess() {
854 return _internal_mutable_interprocess();
856 inline void Fusion::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
857 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
858 if (message_arena ==
nullptr) {
859 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
862 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
863 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess)->GetArena();
864 if (message_arena != submessage_arena) {
865 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
866 message_arena, interprocess, submessage_arena);
868 _has_bits_[0] |= 0x00000004u;
870 _has_bits_[0] &= ~0x00000004u;
872 interprocess_ = interprocess;
877 inline bool Fusion::_internal_has_bot_id()
const {
878 bool value = (_has_bits_[0] & 0x00000008u) != 0;
881 inline bool Fusion::has_bot_id()
const {
882 return _internal_has_bot_id();
884 inline void Fusion::clear_bot_id() {
886 _has_bits_[0] &= ~0x00000008u;
888 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::_internal_bot_id()
const {
891 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::bot_id()
const {
893 return _internal_bot_id();
895 inline void Fusion::_internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
896 _has_bits_[0] |= 0x00000008u;
899 inline void Fusion::set_bot_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
900 _internal_set_bot_id(value);
905 inline bool Fusion::_internal_has_bot_type()
const {
906 bool value = (_has_bits_[0] & 0x00000020u) != 0;
909 inline bool Fusion::has_bot_type()
const {
910 return _internal_has_bot_type();
912 inline void Fusion::clear_bot_type() {
914 _has_bits_[0] &= ~0x00000020u;
921 return _internal_bot_type();
925 _has_bits_[0] |= 0x00000020u;
929 _internal_set_bot_type(value);
934 inline bool Fusion::_internal_has_health_report_timeout_seconds()
const {
935 bool value = (_has_bits_[0] & 0x00000040u) != 0;
938 inline bool Fusion::has_health_report_timeout_seconds()
const {
939 return _internal_has_health_report_timeout_seconds();
941 inline void Fusion::clear_health_report_timeout_seconds() {
942 health_report_timeout_seconds_ = 20;
943 _has_bits_[0] &= ~0x00000040u;
945 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::_internal_health_report_timeout_seconds()
const {
946 return health_report_timeout_seconds_;
948 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::health_report_timeout_seconds()
const {
950 return _internal_health_report_timeout_seconds();
952 inline void Fusion::_internal_set_health_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
953 _has_bits_[0] |= 0x00000040u;
954 health_report_timeout_seconds_ = value;
956 inline void Fusion::set_health_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
957 _internal_set_health_report_timeout_seconds(value);
962 inline bool Fusion::_internal_has_init_data_health_timeout_seconds()
const {
963 bool value = (_has_bits_[0] & 0x00000080u) != 0;
966 inline bool Fusion::has_init_data_health_timeout_seconds()
const {
967 return _internal_has_init_data_health_timeout_seconds();
969 inline void Fusion::clear_init_data_health_timeout_seconds() {
970 init_data_health_timeout_seconds_ = 20;
971 _has_bits_[0] &= ~0x00000080u;
973 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::_internal_init_data_health_timeout_seconds()
const {
974 return init_data_health_timeout_seconds_;
976 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::init_data_health_timeout_seconds()
const {
978 return _internal_init_data_health_timeout_seconds();
980 inline void Fusion::_internal_set_init_data_health_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
981 _has_bits_[0] |= 0x00000080u;
982 init_data_health_timeout_seconds_ = value;
984 inline void Fusion::set_init_data_health_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
985 _internal_set_init_data_health_timeout_seconds(value);
990 inline bool Fusion::_internal_has_data_timeout_seconds()
const {
991 bool value = (_has_bits_[0] & 0x00000100u) != 0;
994 inline bool Fusion::has_data_timeout_seconds()
const {
995 return _internal_has_data_timeout_seconds();
997 inline void Fusion::clear_data_timeout_seconds() {
998 data_timeout_seconds_ = 20;
999 _has_bits_[0] &= ~0x00000100u;
1001 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::_internal_data_timeout_seconds()
const {
1002 return data_timeout_seconds_;
1004 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::data_timeout_seconds()
const {
1006 return _internal_data_timeout_seconds();
1008 inline void Fusion::_internal_set_data_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
1009 _has_bits_[0] |= 0x00000100u;
1010 data_timeout_seconds_ = value;
1012 inline void Fusion::set_data_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
1013 _internal_set_data_timeout_seconds(value);
1018 inline bool Fusion::_internal_has_heading_timeout_seconds()
const {
1019 bool value = (_has_bits_[0] & 0x00000200u) != 0;
1022 inline bool Fusion::has_heading_timeout_seconds()
const {
1023 return _internal_has_heading_timeout_seconds();
1025 inline void Fusion::clear_heading_timeout_seconds() {
1026 heading_timeout_seconds_ = 15;
1027 _has_bits_[0] &= ~0x00000200u;
1029 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::_internal_heading_timeout_seconds()
const {
1030 return heading_timeout_seconds_;
1032 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::heading_timeout_seconds()
const {
1034 return _internal_heading_timeout_seconds();
1036 inline void Fusion::_internal_set_heading_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
1037 _has_bits_[0] |= 0x00000200u;
1038 heading_timeout_seconds_ = value;
1040 inline void Fusion::set_heading_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
1041 _internal_set_heading_timeout_seconds(value);
1046 inline int Fusion::_internal_discard_location_states_size()
const {
1047 return discard_location_states_.size();
1049 inline int Fusion::discard_location_states_size()
const {
1050 return _internal_discard_location_states_size();
1052 inline void Fusion::clear_discard_location_states() {
1053 discard_location_states_.Clear();
1060 return _internal_discard_location_states(index);
1064 discard_location_states_.Set(index, value);
1069 discard_location_states_.Add(value);
1073 _internal_add_discard_location_states(value);
1075 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
1076 Fusion::discard_location_states()
const {
1078 return discard_location_states_;
1080 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1081 Fusion::_internal_mutable_discard_location_states() {
1082 return &discard_location_states_;
1084 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1085 Fusion::mutable_discard_location_states() {
1087 return _internal_mutable_discard_location_states();
1091 inline bool Fusion::_internal_has_imu_heading_course_max_diff()
const {
1092 bool value = (_has_bits_[0] & 0x00000800u) != 0;
1095 inline bool Fusion::has_imu_heading_course_max_diff()
const {
1096 return _internal_has_imu_heading_course_max_diff();
1098 inline void Fusion::clear_imu_heading_course_max_diff() {
1099 imu_heading_course_max_diff_ = 45;
1100 _has_bits_[0] &= ~0x00000800u;
1102 inline double Fusion::_internal_imu_heading_course_max_diff()
const {
1103 return imu_heading_course_max_diff_;
1105 inline double Fusion::imu_heading_course_max_diff()
const {
1107 return _internal_imu_heading_course_max_diff();
1109 inline void Fusion::_internal_set_imu_heading_course_max_diff(
double value) {
1110 _has_bits_[0] |= 0x00000800u;
1111 imu_heading_course_max_diff_ = value;
1113 inline void Fusion::set_imu_heading_course_max_diff(
double value) {
1114 _internal_set_imu_heading_course_max_diff(value);
1119 inline bool Fusion::_internal_has_course_over_ground_timeout()
const {
1120 bool value = (_has_bits_[0] & 0x00000400u) != 0;
1123 inline bool Fusion::has_course_over_ground_timeout()
const {
1124 return _internal_has_course_over_ground_timeout();
1126 inline void Fusion::clear_course_over_ground_timeout() {
1127 course_over_ground_timeout_ = 3;
1128 _has_bits_[0] &= ~0x00000400u;
1130 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::_internal_course_over_ground_timeout()
const {
1131 return course_over_ground_timeout_;
1133 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::course_over_ground_timeout()
const {
1135 return _internal_course_over_ground_timeout();
1137 inline void Fusion::_internal_set_course_over_ground_timeout(::PROTOBUF_NAMESPACE_ID::int32 value) {
1138 _has_bits_[0] |= 0x00000400u;
1139 course_over_ground_timeout_ = value;
1141 inline void Fusion::set_course_over_ground_timeout(::PROTOBUF_NAMESPACE_ID::int32 value) {
1142 _internal_set_course_over_ground_timeout(value);
1147 inline bool Fusion::_internal_has_imu_issue_solution()
const {
1148 bool value = (_has_bits_[0] & 0x00001000u) != 0;
1151 inline bool Fusion::has_imu_issue_solution()
const {
1152 return _internal_has_imu_issue_solution();
1154 inline void Fusion::clear_imu_issue_solution() {
1155 imu_issue_solution_ = 5;
1156 _has_bits_[0] &= ~0x00001000u;
1163 return _internal_imu_issue_solution();
1167 _has_bits_[0] |= 0x00001000u;
1168 imu_issue_solution_ = value;
1171 _internal_set_imu_issue_solution(value);
1176 inline bool Fusion::_internal_has_is_sim()
const {
1177 bool value = (_has_bits_[0] & 0x00000010u) != 0;
1180 inline bool Fusion::has_is_sim()
const {
1181 return _internal_has_is_sim();
1183 inline void Fusion::clear_is_sim() {
1185 _has_bits_[0] &= ~0x00000010u;
1187 inline bool Fusion::_internal_is_sim()
const {
1190 inline bool Fusion::is_sim()
const {
1192 return _internal_is_sim();
1194 inline void Fusion::_internal_set_is_sim(
bool value) {
1195 _has_bits_[0] |= 0x00000010u;
1198 inline void Fusion::set_is_sim(
bool value) {
1199 _internal_set_is_sim(value);
1204 inline bool Fusion::_internal_has_total_imu_issue_checks()
const {
1205 bool value = (_has_bits_[0] & 0x00002000u) != 0;
1208 inline bool Fusion::has_total_imu_issue_checks()
const {
1209 return _internal_has_total_imu_issue_checks();
1211 inline void Fusion::clear_total_imu_issue_checks() {
1212 total_imu_issue_checks_ = 4;
1213 _has_bits_[0] &= ~0x00002000u;
1215 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::_internal_total_imu_issue_checks()
const {
1216 return total_imu_issue_checks_;
1218 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::total_imu_issue_checks()
const {
1220 return _internal_total_imu_issue_checks();
1222 inline void Fusion::_internal_set_total_imu_issue_checks(::PROTOBUF_NAMESPACE_ID::int32 value) {
1223 _has_bits_[0] |= 0x00002000u;
1224 total_imu_issue_checks_ = value;
1226 inline void Fusion::set_total_imu_issue_checks(::PROTOBUF_NAMESPACE_ID::int32 value) {
1227 _internal_set_total_imu_issue_checks(value);
1232 inline bool Fusion::_internal_has_imu_detect_timeout()
const {
1233 bool value = (_has_bits_[0] & 0x00004000u) != 0;
1236 inline bool Fusion::has_imu_detect_timeout()
const {
1237 return _internal_has_imu_detect_timeout();
1239 inline void Fusion::clear_imu_detect_timeout() {
1240 imu_detect_timeout_ = 20;
1241 _has_bits_[0] &= ~0x00004000u;
1243 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::_internal_imu_detect_timeout()
const {
1244 return imu_detect_timeout_;
1246 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::imu_detect_timeout()
const {
1248 return _internal_imu_detect_timeout();
1250 inline void Fusion::_internal_set_imu_detect_timeout(::PROTOBUF_NAMESPACE_ID::int32 value) {
1251 _has_bits_[0] |= 0x00004000u;
1252 imu_detect_timeout_ = value;
1254 inline void Fusion::set_imu_detect_timeout(::PROTOBUF_NAMESPACE_ID::int32 value) {
1255 _internal_set_imu_detect_timeout(value);
1260 inline bool Fusion::_internal_has_bot_status_period_ms()
const {
1261 bool value = (_has_bits_[0] & 0x00008000u) != 0;
1264 inline bool Fusion::has_bot_status_period_ms()
const {
1265 return _internal_has_bot_status_period_ms();
1267 inline void Fusion::clear_bot_status_period_ms() {
1268 bot_status_period_ms_ = 1000;
1269 _has_bits_[0] &= ~0x00008000u;
1271 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::_internal_bot_status_period_ms()
const {
1272 return bot_status_period_ms_;
1274 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::bot_status_period_ms()
const {
1276 return _internal_bot_status_period_ms();
1278 inline void Fusion::_internal_set_bot_status_period_ms(::PROTOBUF_NAMESPACE_ID::int32 value) {
1279 _has_bits_[0] |= 0x00008000u;
1280 bot_status_period_ms_ = value;
1282 inline void Fusion::set_bot_status_period_ms(::PROTOBUF_NAMESPACE_ID::int32 value) {
1283 _internal_set_bot_status_period_ms(value);
1288 inline int Fusion::_internal_include_course_error_detection_states_size()
const {
1289 return include_course_error_detection_states_.size();
1291 inline int Fusion::include_course_error_detection_states_size()
const {
1292 return _internal_include_course_error_detection_states_size();
1294 inline void Fusion::clear_include_course_error_detection_states() {
1295 include_course_error_detection_states_.Clear();
1302 return _internal_include_course_error_detection_states(index);
1306 include_course_error_detection_states_.Set(index, value);
1311 include_course_error_detection_states_.Add(value);
1315 _internal_add_include_course_error_detection_states(value);
1317 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
1318 Fusion::include_course_error_detection_states()
const {
1320 return include_course_error_detection_states_;
1322 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1323 Fusion::_internal_mutable_include_course_error_detection_states() {
1324 return &include_course_error_detection_states_;
1326 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1327 Fusion::mutable_include_course_error_detection_states() {
1329 return _internal_mutable_include_course_error_detection_states();
1333 inline int Fusion::_internal_include_imu_detection_states_size()
const {
1334 return include_imu_detection_states_.size();
1336 inline int Fusion::include_imu_detection_states_size()
const {
1337 return _internal_include_imu_detection_states_size();
1339 inline void Fusion::clear_include_imu_detection_states() {
1340 include_imu_detection_states_.Clear();
1347 return _internal_include_imu_detection_states(index);
1351 include_imu_detection_states_.Set(index, value);
1356 include_imu_detection_states_.Add(value);
1360 _internal_add_include_imu_detection_states(value);
1362 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
1363 Fusion::include_imu_detection_states()
const {
1365 return include_imu_detection_states_;
1367 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1368 Fusion::_internal_mutable_include_imu_detection_states() {
1369 return &include_imu_detection_states_;
1371 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1372 Fusion::mutable_include_imu_detection_states() {
1374 return _internal_mutable_include_imu_detection_states();
1378 inline bool Fusion::_internal_has_watch_battery_percentage()
const {
1379 bool value = (_has_bits_[0] & 0x00010000u) != 0;
1382 inline bool Fusion::has_watch_battery_percentage()
const {
1383 return _internal_has_watch_battery_percentage();
1385 inline void Fusion::clear_watch_battery_percentage() {
1386 watch_battery_percentage_ =
true;
1387 _has_bits_[0] &= ~0x00010000u;
1389 inline bool Fusion::_internal_watch_battery_percentage()
const {
1390 return watch_battery_percentage_;
1392 inline bool Fusion::watch_battery_percentage()
const {
1394 return _internal_watch_battery_percentage();
1396 inline void Fusion::_internal_set_watch_battery_percentage(
bool value) {
1397 _has_bits_[0] |= 0x00010000u;
1398 watch_battery_percentage_ = value;
1400 inline void Fusion::set_watch_battery_percentage(
bool value) {
1401 _internal_set_watch_battery_percentage(value);
1406 inline bool Fusion::_internal_has_battery_percentage_low_level()
const {
1407 bool value = (_has_bits_[0] & 0x00020000u) != 0;
1410 inline bool Fusion::has_battery_percentage_low_level()
const {
1411 return _internal_has_battery_percentage_low_level();
1413 inline void Fusion::clear_battery_percentage_low_level() {
1414 battery_percentage_low_level_ = 50;
1415 _has_bits_[0] &= ~0x00020000u;
1417 inline float Fusion::_internal_battery_percentage_low_level()
const {
1418 return battery_percentage_low_level_;
1420 inline float Fusion::battery_percentage_low_level()
const {
1422 return _internal_battery_percentage_low_level();
1424 inline void Fusion::_internal_set_battery_percentage_low_level(
float value) {
1425 _has_bits_[0] |= 0x00020000u;
1426 battery_percentage_low_level_ = value;
1428 inline void Fusion::set_battery_percentage_low_level(
float value) {
1429 _internal_set_battery_percentage_low_level(value);
1434 inline bool Fusion::_internal_has_battery_percentage_very_low_level()
const {
1435 bool value = (_has_bits_[0] & 0x00040000u) != 0;
1438 inline bool Fusion::has_battery_percentage_very_low_level()
const {
1439 return _internal_has_battery_percentage_very_low_level();
1441 inline void Fusion::clear_battery_percentage_very_low_level() {
1442 battery_percentage_very_low_level_ = 20;
1443 _has_bits_[0] &= ~0x00040000u;
1445 inline float Fusion::_internal_battery_percentage_very_low_level()
const {
1446 return battery_percentage_very_low_level_;
1448 inline float Fusion::battery_percentage_very_low_level()
const {
1450 return _internal_battery_percentage_very_low_level();
1452 inline void Fusion::_internal_set_battery_percentage_very_low_level(
float value) {
1453 _has_bits_[0] |= 0x00040000u;
1454 battery_percentage_very_low_level_ = value;
1456 inline void Fusion::set_battery_percentage_very_low_level(
float value) {
1457 _internal_set_battery_percentage_very_low_level(value);
1462 inline bool Fusion::_internal_has_battery_percentage_critically_low_level()
const {
1463 bool value = (_has_bits_[0] & 0x00080000u) != 0;
1466 inline bool Fusion::has_battery_percentage_critically_low_level()
const {
1467 return _internal_has_battery_percentage_critically_low_level();
1469 inline void Fusion::clear_battery_percentage_critically_low_level() {
1470 battery_percentage_critically_low_level_ = 10;
1471 _has_bits_[0] &= ~0x00080000u;
1473 inline float Fusion::_internal_battery_percentage_critically_low_level()
const {
1474 return battery_percentage_critically_low_level_;
1476 inline float Fusion::battery_percentage_critically_low_level()
const {
1478 return _internal_battery_percentage_critically_low_level();
1480 inline void Fusion::_internal_set_battery_percentage_critically_low_level(
float value) {
1481 _has_bits_[0] |= 0x00080000u;
1482 battery_percentage_critically_low_level_ = value;
1484 inline void Fusion::set_battery_percentage_critically_low_level(
float value) {
1485 _internal_set_battery_percentage_critically_low_level(value);
1490 inline bool Fusion::_internal_has_imu_detect_period()
const {
1491 bool value = (_has_bits_[0] & 0x00100000u) != 0;
1494 inline bool Fusion::has_imu_detect_period()
const {
1495 return _internal_has_imu_detect_period();
1497 inline void Fusion::clear_imu_detect_period() {
1498 imu_detect_period_ = 1;
1499 _has_bits_[0] &= ~0x00100000u;
1501 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::_internal_imu_detect_period()
const {
1502 return imu_detect_period_;
1504 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::imu_detect_period()
const {
1506 return _internal_imu_detect_period();
1508 inline void Fusion::_internal_set_imu_detect_period(::PROTOBUF_NAMESPACE_ID::int32 value) {
1509 _has_bits_[0] |= 0x00100000u;
1510 imu_detect_period_ = value;
1512 inline void Fusion::set_imu_detect_period(::PROTOBUF_NAMESPACE_ID::int32 value) {
1513 _internal_set_imu_detect_period(value);
1518 inline bool Fusion::_internal_has_imu_issue_detect_horizontal_pitch_checks()
const {
1519 bool value = (_has_bits_[0] & 0x00200000u) != 0;
1522 inline bool Fusion::has_imu_issue_detect_horizontal_pitch_checks()
const {
1523 return _internal_has_imu_issue_detect_horizontal_pitch_checks();
1525 inline void Fusion::clear_imu_issue_detect_horizontal_pitch_checks() {
1526 imu_issue_detect_horizontal_pitch_checks_ = 3;
1527 _has_bits_[0] &= ~0x00200000u;
1529 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::_internal_imu_issue_detect_horizontal_pitch_checks()
const {
1530 return imu_issue_detect_horizontal_pitch_checks_;
1532 inline ::PROTOBUF_NAMESPACE_ID::int32 Fusion::imu_issue_detect_horizontal_pitch_checks()
const {
1534 return _internal_imu_issue_detect_horizontal_pitch_checks();
1536 inline void Fusion::_internal_set_imu_issue_detect_horizontal_pitch_checks(::PROTOBUF_NAMESPACE_ID::int32 value) {
1537 _has_bits_[0] |= 0x00200000u;
1538 imu_issue_detect_horizontal_pitch_checks_ = value;
1540 inline void Fusion::set_imu_issue_detect_horizontal_pitch_checks(::PROTOBUF_NAMESPACE_ID::int32 value) {
1541 _internal_set_imu_issue_detect_horizontal_pitch_checks(value);
1546 inline bool Fusion::_internal_has_imu_issue_detect_horizontal_pitch_min_time()
const {
1547 bool value = (_has_bits_[0] & 0x00400000u) != 0;
1550 inline bool Fusion::has_imu_issue_detect_horizontal_pitch_min_time()
const {
1551 return _internal_has_imu_issue_detect_horizontal_pitch_min_time();
1553 inline void Fusion::clear_imu_issue_detect_horizontal_pitch_min_time() {
1554 imu_issue_detect_horizontal_pitch_min_time_ = 1;
1555 _has_bits_[0] &= ~0x00400000u;
1557 inline double Fusion::_internal_imu_issue_detect_horizontal_pitch_min_time()
const {
1558 return imu_issue_detect_horizontal_pitch_min_time_;
1560 inline double Fusion::imu_issue_detect_horizontal_pitch_min_time()
const {
1562 return _internal_imu_issue_detect_horizontal_pitch_min_time();
1564 inline void Fusion::_internal_set_imu_issue_detect_horizontal_pitch_min_time(
double value) {
1565 _has_bits_[0] |= 0x00400000u;
1566 imu_issue_detect_horizontal_pitch_min_time_ = value;
1568 inline void Fusion::set_imu_issue_detect_horizontal_pitch_min_time(
double value) {
1569 _internal_set_imu_issue_detect_horizontal_pitch_min_time(value);
1574 inline bool Fusion::_internal_has_imu_detect_horizontal_pitch()
const {
1575 bool value = (_has_bits_[0] & 0x00800000u) != 0;
1578 inline bool Fusion::has_imu_detect_horizontal_pitch()
const {
1579 return _internal_has_imu_detect_horizontal_pitch();
1581 inline void Fusion::clear_imu_detect_horizontal_pitch() {
1582 imu_detect_horizontal_pitch_ = 45;
1583 _has_bits_[0] &= ~0x00800000u;
1585 inline double Fusion::_internal_imu_detect_horizontal_pitch()
const {
1586 return imu_detect_horizontal_pitch_;
1588 inline double Fusion::imu_detect_horizontal_pitch()
const {
1590 return _internal_imu_detect_horizontal_pitch();
1592 inline void Fusion::_internal_set_imu_detect_horizontal_pitch(
double value) {
1593 _has_bits_[0] |= 0x00800000u;
1594 imu_detect_horizontal_pitch_ = value;
1596 inline void Fusion::set_imu_detect_horizontal_pitch(
double value) {
1597 _internal_set_imu_detect_horizontal_pitch(value);
1602 inline bool Fusion::_internal_has_imu_detect_desired_heading_vs_current_max_diff()
const {
1603 bool value = (_has_bits_[0] & 0x01000000u) != 0;
1606 inline bool Fusion::has_imu_detect_desired_heading_vs_current_max_diff()
const {
1607 return _internal_has_imu_detect_desired_heading_vs_current_max_diff();
1609 inline void Fusion::clear_imu_detect_desired_heading_vs_current_max_diff() {
1610 imu_detect_desired_heading_vs_current_max_diff_ = 45;
1611 _has_bits_[0] &= ~0x01000000u;
1613 inline double Fusion::_internal_imu_detect_desired_heading_vs_current_max_diff()
const {
1614 return imu_detect_desired_heading_vs_current_max_diff_;
1616 inline double Fusion::imu_detect_desired_heading_vs_current_max_diff()
const {
1618 return _internal_imu_detect_desired_heading_vs_current_max_diff();
1620 inline void Fusion::_internal_set_imu_detect_desired_heading_vs_current_max_diff(
double value) {
1621 _has_bits_[0] |= 0x01000000u;
1622 imu_detect_desired_heading_vs_current_max_diff_ = value;
1624 inline void Fusion::set_imu_detect_desired_heading_vs_current_max_diff(
double value) {
1625 _internal_set_imu_detect_desired_heading_vs_current_max_diff(value);
1630 inline int Fusion::_internal_diving_states_size()
const {
1631 return diving_states_.size();
1633 inline int Fusion::diving_states_size()
const {
1634 return _internal_diving_states_size();
1636 inline void Fusion::clear_diving_states() {
1637 diving_states_.Clear();
1644 return _internal_diving_states(index);
1648 diving_states_.Set(index, value);
1653 diving_states_.Add(value);
1657 _internal_add_diving_states(value);
1659 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
1660 Fusion::diving_states()
const {
1662 return diving_states_;
1664 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1665 Fusion::_internal_mutable_diving_states() {
1666 return &diving_states_;
1668 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
1669 Fusion::mutable_diving_states() {
1671 return _internal_mutable_diving_states();
1675 inline bool Fusion::_internal_has_bot_gpsd_device()
const {
1676 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1679 inline bool Fusion::has_bot_gpsd_device()
const {
1680 return _internal_has_bot_gpsd_device();
1682 inline void Fusion::clear_bot_gpsd_device() {
1683 bot_gpsd_device_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1684 _has_bits_[0] &= ~0x00000001u;
1686 inline const std::string& Fusion::bot_gpsd_device()
const {
1688 return _internal_bot_gpsd_device();
1690 inline void Fusion::set_bot_gpsd_device(
const std::string& value) {
1691 _internal_set_bot_gpsd_device(value);
1694 inline std::string* Fusion::mutable_bot_gpsd_device() {
1696 return _internal_mutable_bot_gpsd_device();
1698 inline const std::string& Fusion::_internal_bot_gpsd_device()
const {
1699 return bot_gpsd_device_.Get();
1701 inline void Fusion::_internal_set_bot_gpsd_device(
const std::string& value) {
1702 _has_bits_[0] |= 0x00000001u;
1703 bot_gpsd_device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1705 inline void Fusion::set_bot_gpsd_device(std::string&& value) {
1706 _has_bits_[0] |= 0x00000001u;
1707 bot_gpsd_device_.Set(
1708 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1711 inline void Fusion::set_bot_gpsd_device(
const char* value) {
1712 GOOGLE_DCHECK(value !=
nullptr);
1713 _has_bits_[0] |= 0x00000001u;
1714 bot_gpsd_device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1718 inline void Fusion::set_bot_gpsd_device(
const char* value,
1720 _has_bits_[0] |= 0x00000001u;
1721 bot_gpsd_device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1722 reinterpret_cast<const char*
>(value), size), GetArena());
1725 inline std::string* Fusion::_internal_mutable_bot_gpsd_device() {
1726 _has_bits_[0] |= 0x00000001u;
1727 return bot_gpsd_device_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1729 inline std::string* Fusion::release_bot_gpsd_device() {
1731 if (!_internal_has_bot_gpsd_device()) {
1734 _has_bits_[0] &= ~0x00000001u;
1735 return bot_gpsd_device_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1737 inline void Fusion::set_allocated_bot_gpsd_device(std::string* bot_gpsd_device) {
1738 if (bot_gpsd_device !=
nullptr) {
1739 _has_bits_[0] |= 0x00000001u;
1741 _has_bits_[0] &= ~0x00000001u;
1743 bot_gpsd_device_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bot_gpsd_device,
1747 inline std::string* Fusion::unsafe_arena_release_bot_gpsd_device() {
1749 GOOGLE_DCHECK(GetArena() !=
nullptr);
1750 _has_bits_[0] &= ~0x00000001u;
1751 return bot_gpsd_device_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1754 inline void Fusion::unsafe_arena_set_allocated_bot_gpsd_device(
1755 std::string* bot_gpsd_device) {
1756 GOOGLE_DCHECK(GetArena() !=
nullptr);
1757 if (bot_gpsd_device !=
nullptr) {
1758 _has_bits_[0] |= 0x00000001u;
1760 _has_bits_[0] &= ~0x00000001u;
1762 bot_gpsd_device_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1763 bot_gpsd_device, GetArena());
1768 #pragma GCC diagnostic pop
1778 #include <google/protobuf/port_undef.inc>
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_discard_location_states(int index, ::jaiabot::protobuf::MissionState value)
void MergeFrom(const Fusion &from)
friend void swap(Fusion &a, Fusion &b)
::jaiabot::protobuf::MissionState discard_location_states(int index) const
void set_bot_gpsd_device(const char *value)
::PROTOBUF_NAMESPACE_ID::RepeatedField< int > * mutable_include_course_error_detection_states()
Fusion & operator=(Fusion &&from) noexcept
Fusion & operator=(const Fusion &from)
void set_allocated_bot_gpsd_device(std::string *bot_gpsd_device)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int > & include_course_error_detection_states() const
bool has_bot_gpsd_device() const
int discard_location_states_size() const
void set_bot_gpsd_device(const char *value, size_t size)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_bot_gpsd_device(const std::string &value)
void set_bot_gpsd_device(std::string &&value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int > & diving_states() const
Fusion * New() const final
static void InitAsDefaultInstance()
static const Fusion & default_instance()
int include_imu_detection_states_size() const
void add_include_course_error_detection_states(::jaiabot::protobuf::MissionState value)
Fusion(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::jaiabot::protobuf::MissionState include_course_error_detection_states(int index) const
void clear_include_course_error_detection_states()
void clear_include_imu_detection_states()
void add_diving_states(::jaiabot::protobuf::MissionState value)
void clear_discard_location_states()
void add_discard_location_states(::jaiabot::protobuf::MissionState value)
void set_include_imu_detection_states(int index, ::jaiabot::protobuf::MissionState value)
void CopyFrom(const Fusion &from)
::PROTOBUF_NAMESPACE_ID::RepeatedField< int > * mutable_diving_states()
Fusion(Fusion &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
std::string * mutable_bot_gpsd_device()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_include_course_error_detection_states(int index, ::jaiabot::protobuf::MissionState value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void clear_bot_gpsd_device()
boost::units::quantity< imu_issue_detect_horizontal_pitch_min_time_unit, double > imu_issue_detect_horizontal_pitch_min_time_with_units() const
void set_diving_states(int index, ::jaiabot::protobuf::MissionState value)
void clear_diving_states()
boost::units::unit< imu_issue_detect_horizontal_pitch_min_time_dimension, boost::units::si::system > imu_issue_detect_horizontal_pitch_min_time_unit
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int > & include_imu_detection_states() const
void add_include_imu_detection_states(::jaiabot::protobuf::MissionState value)
::jaiabot::protobuf::MissionState diving_states(int index) const
static const Fusion * internal_default_instance()
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type imu_issue_detect_horizontal_pitch_min_time_dimension
void UnsafeArenaSwap(Fusion *other)
std::string * release_bot_gpsd_device()
Quantity imu_issue_detect_horizontal_pitch_min_time_with_units() const
Fusion * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int > & discard_location_states() const
const std::string & bot_gpsd_device() const
::jaiabot::protobuf::MissionState include_imu_detection_states(int index) const
::PROTOBUF_NAMESPACE_ID::RepeatedField< int > * mutable_discard_location_states()
int include_course_error_detection_states_size() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
int diving_states_size() const
::PROTOBUF_NAMESPACE_ID::RepeatedField< int > * mutable_include_imu_detection_states()
Fusion(const Fusion &from)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2ffusion_2fconfig_2eproto
FusionDefaultTypeInternal _Fusion_default_instance_
bool BotStatus_BotType_IsValid(int value)
bool IMUIssue_SolutionType_IsValid(int value)
bool MissionState_IsValid(int value)
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::udp::protobuf::Config >, 11, false > config
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]