4 #ifndef PROTOBUF_INCLUDED_bin_2fmission_5fmanager_2fconfig_2eproto
5 #define PROTOBUF_INCLUDED_bin_2fmission_5fmanager_2fconfig_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "goby/middleware/protobuf/app_config.pb.h"
35 #include "goby/zeromq/protobuf/interprocess_config.pb.h"
36 #include "goby/middleware/protobuf/serial_config.pb.h"
37 #include "goby/middleware/protobuf/transporter_config.pb.h"
38 #include "dccl/option_extensions.pb.h"
42 #include <boost/units/quantity.hpp>
43 #include <boost/units/absolute.hpp>
44 #include <boost/units/dimensionless_type.hpp>
45 #include <boost/units/make_scaled_unit.hpp>
47 #include <boost/units/systems/angle/degrees.hpp>
49 #include <boost/units/systems/si.hpp>
51 #define PROTOBUF_INTERNAL_EXPORT_protobuf_bin_2fmission_5fmanager_2fconfig_2eproto
56 static const ::google::protobuf::internal::ParseTableField
entries[];
57 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
58 static const ::google::protobuf::internal::ParseTable
schema[2];
61 static const ::google::protobuf::uint32
offsets[];
68 class MissionManagerDefaultTypeInternal;
70 class MissionManager_ResolveNoForwardProgress;
71 class MissionManager_ResolveNoForwardProgressDefaultTypeInternal;
95 return ::google::protobuf::internal::NameOfEnum(
100 return ::google::protobuf::internal::ParseNamedEnum<MissionManager_RemoteControlSetpointEnd>(
115 return ::google::protobuf::internal::NameOfEnum(
120 return ::google::protobuf::internal::ParseNamedEnum<MissionManager_DownloadFileTypes>(
135 return ::google::protobuf::internal::NameOfEnum(
140 return ::google::protobuf::internal::ParseNamedEnum<MissionManager_EngineeringTestMode>(
159 *
this = ::std::move(from);
163 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
164 if (
this != &from) InternalSwap(&from);
172 return _internal_metadata_.unknown_fields();
175 return _internal_metadata_.mutable_unknown_fields();
178 static const ::google::protobuf::Descriptor*
descriptor();
197 return CreateMaybeMessage<MissionManager_ResolveNoForwardProgress>(NULL);
201 return CreateMaybeMessage<MissionManager_ResolveNoForwardProgress>(arena);
203 void CopyFrom(const ::google::protobuf::Message& from)
final;
204 void MergeFrom(const ::google::protobuf::Message& from)
final;
212 ::
google::protobuf::io::CodedInputStream* input) final;
214 ::
google::protobuf::io::CodedOutputStream* output) const final;
216 bool deterministic, ::
google::protobuf::uint8* target) const final;
222 void SetCachedSize(
int size)
const final;
225 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
228 inline void* MaybeArenaPtr()
const {
233 ::google::protobuf::Metadata
GetMetadata() const final;
271 template<typename Quantity >
273 {
set_resume_timeout(boost::units::quantity<resume_timeout_unit,google::protobuf::int32 >(value_w_units).value() ); };
275 template<
typename Quantity >
280 {
return resume_timeout_with_units<boost::units::quantity< resume_timeout_unit,google::protobuf::int32 > >(); };
286 template<
typename Quantity >
288 {
set_pitch_threshold(boost::units::quantity<pitch_threshold_unit,google::protobuf::int32 >(value_w_units).value() ); };
290 template<
typename Quantity >
295 {
return pitch_threshold_with_units<boost::units::quantity< pitch_threshold_unit,google::protobuf::int32 > >(); };
301 template<
typename Quantity >
303 {
set_desired_speed_threshold(boost::units::quantity<desired_speed_threshold_unit,google::protobuf::int32 >(value_w_units).value() ); };
305 template<
typename Quantity >
310 {
return desired_speed_threshold_with_units<boost::units::quantity< desired_speed_threshold_unit,google::protobuf::int32 > >(); };
316 template<
typename Quantity >
318 {
set_trigger_timeout(boost::units::quantity<trigger_timeout_unit,google::protobuf::int32 >(value_w_units).value() ); };
320 template<
typename Quantity >
325 {
return trigger_timeout_with_units<boost::units::quantity< trigger_timeout_unit,google::protobuf::int32 > >(); };
329 void set_has_resume_timeout();
330 void clear_has_resume_timeout();
331 void set_has_pitch_threshold();
332 void clear_has_pitch_threshold();
333 void set_has_desired_speed_threshold();
334 void clear_has_desired_speed_threshold();
335 void set_has_trigger_timeout();
336 void clear_has_trigger_timeout();
338 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
339 ::google::protobuf::internal::HasBits<1> _has_bits_;
340 mutable ::google::protobuf::internal::CachedSize _cached_size_;
341 ::google::protobuf::int32 desired_speed_threshold_;
342 ::google::protobuf::int32 trigger_timeout_;
343 ::google::protobuf::int32 resume_timeout_;
344 ::google::protobuf::int32 pitch_threshold_;
345 friend struct ::protobuf_bin_2fmission_5fmanager_2fconfig_2eproto::TableStruct;
363 *
this = ::std::move(from);
367 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
368 if (
this != &from) InternalSwap(&from);
376 return _internal_metadata_.unknown_fields();
379 return _internal_metadata_.mutable_unknown_fields();
382 static const ::google::protobuf::Descriptor*
descriptor();
401 return CreateMaybeMessage<MissionManager>(NULL);
405 return CreateMaybeMessage<MissionManager>(arena);
407 void CopyFrom(const ::google::protobuf::Message& from)
final;
408 void MergeFrom(const ::google::protobuf::Message& from)
final;
416 ::
google::protobuf::io::CodedInputStream* input) final;
418 ::
google::protobuf::io::CodedOutputStream* output) const final;
420 bool deterministic, ::
google::protobuf::uint8* target) const final;
426 void SetCachedSize(
int size)
const final;
429 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
432 inline void* MaybeArenaPtr()
const {
437 ::google::protobuf::Metadata
GetMetadata() const final;
457 static inline const ::google::protobuf::EnumDescriptor*
485 static inline const ::google::protobuf::EnumDescriptor*
513 static inline const ::google::protobuf::EnumDescriptor*
544 const ::google::protobuf::RepeatedField<int>&
test_mode()
const;
554 const ::google::protobuf::RepeatedField<int>&
ignore_error()
const;
591 const ::std::string&
log_dir()
const;
637 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
639 const ::goby::middleware::protobuf::AppConfig&
app()
const;
640 ::goby::middleware::protobuf::AppConfig*
release_app();
641 ::goby::middleware::protobuf::AppConfig*
mutable_app();
649 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
651 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
661 const ::goby::middleware::protobuf::TransporterConfig& _internal_command_sub_cfg()
const;
663 const ::goby::middleware::protobuf::TransporterConfig&
command_sub_cfg()
const;
673 const ::jaiabot::protobuf::HubInfo& _internal_subscribe_to_hub_on_start()
const;
685 const ::jaiabot::config::MissionManager_ResolveNoForwardProgress& _internal_resolve_no_forward_progress()
const;
696 ::google::protobuf::int32
fleet_id()
const;
703 ::google::protobuf::int32
bot_id()
const;
704 void set_bot_id(::google::protobuf::int32 value);
1004 template<
typename Quantity >
1006 {
set_startup_timeout(boost::units::quantity<startup_timeout_unit,double >(value_w_units).value() ); };
1008 template<
typename Quantity >
1013 {
return startup_timeout_with_units<boost::units::quantity< startup_timeout_unit,double > >(); };
1019 template<
typename Quantity >
1023 template<
typename Quantity >
1028 {
return powered_ascent_motor_on_timeout_with_units<boost::units::quantity< powered_ascent_motor_on_timeout_unit,google::protobuf::int32 > >(); };
1034 template<
typename Quantity >
1038 template<
typename Quantity >
1043 {
return powered_ascent_motor_off_timeout_with_units<boost::units::quantity< powered_ascent_motor_off_timeout_unit,google::protobuf::int32 > >(); };
1049 template<
typename Quantity >
1051 {
set_dive_prep_timeout(boost::units::quantity<dive_prep_timeout_unit,google::protobuf::int32 >(value_w_units).value() ); };
1053 template<
typename Quantity >
1058 {
return dive_prep_timeout_with_units<boost::units::quantity< dive_prep_timeout_unit,google::protobuf::int32 > >(); };
1064 template<
typename Quantity >
1066 {
set_powered_descent_timeout(boost::units::quantity<powered_descent_timeout_unit,google::protobuf::int32 >(value_w_units).value() ); };
1068 template<
typename Quantity >
1073 {
return powered_descent_timeout_with_units<boost::units::quantity< powered_descent_timeout_unit,google::protobuf::int32 > >(); };
1079 template<
typename Quantity >
1083 template<
typename Quantity >
1088 {
return detect_bottom_logic_init_timeout_with_units<boost::units::quantity< detect_bottom_logic_init_timeout_unit,double > >(); };
1094 template<
typename Quantity >
1098 template<
typename Quantity >
1103 {
return detect_bottom_logic_after_hold_timeout_with_units<boost::units::quantity< detect_bottom_logic_after_hold_timeout_unit,double > >(); };
1109 template<
typename Quantity >
1111 {
set_dive_depth_eps(boost::units::quantity<dive_depth_eps_unit,double >(value_w_units).value() ); };
1113 template<
typename Quantity >
1118 {
return dive_depth_eps_with_units<boost::units::quantity< dive_depth_eps_unit,double > >(); };
1124 template<
typename Quantity >
1126 {
set_bottoming_timeout(boost::units::quantity<bottoming_timeout_unit,double >(value_w_units).value() ); };
1128 template<
typename Quantity >
1133 {
return bottoming_timeout_with_units<boost::units::quantity< bottoming_timeout_unit,double > >(); };
1139 template<
typename Quantity >
1141 {
set_dive_surface_eps(boost::units::quantity<dive_surface_eps_unit,double >(value_w_units).value() ); };
1143 template<
typename Quantity >
1148 {
return dive_surface_eps_with_units<boost::units::quantity< dive_surface_eps_unit,double > >(); };
1154 template<
typename Quantity >
1158 template<
typename Quantity >
1163 {
return bot_not_rising_timeout_with_units<boost::units::quantity< bot_not_rising_timeout_unit,double > >(); };
1169 template<
typename Quantity >
1171 {
set_motor_on_time_increment(boost::units::quantity<motor_on_time_increment_unit,google::protobuf::int32 >(value_w_units).value() ); };
1173 template<
typename Quantity >
1178 {
return motor_on_time_increment_with_units<boost::units::quantity< motor_on_time_increment_unit,google::protobuf::int32 > >(); };
1184 template<
typename Quantity >
1186 {
set_motor_on_time_max(boost::units::quantity<motor_on_time_max_unit,google::protobuf::int32 >(value_w_units).value() ); };
1188 template<
typename Quantity >
1193 {
return motor_on_time_max_with_units<boost::units::quantity< motor_on_time_max_unit,google::protobuf::int32 > >(); };
1199 template<
typename Quantity >
1203 template<
typename Quantity >
1208 {
return pitch_angle_min_check_time_with_units<boost::units::quantity< pitch_angle_min_check_time_unit,double > >(); };
1214 template<
typename Quantity >
1218 template<
typename Quantity >
1223 {
return dive_eps_to_determine_diving_with_units<boost::units::quantity< dive_eps_to_determine_diving_unit,double > >(); };
1229 template<
typename Quantity >
1233 template<
typename Quantity >
1238 {
return failed_startup_log_timeout_with_units<boost::units::quantity< failed_startup_log_timeout_unit,google::protobuf::int32 > >(); };
1243 void clear_has_app();
1244 void set_has_interprocess();
1245 void clear_has_interprocess();
1246 void set_has_fleet_id();
1247 void clear_has_fleet_id();
1248 void set_has_bot_id();
1249 void clear_has_bot_id();
1250 void set_has_command_sub_cfg();
1251 void clear_has_command_sub_cfg();
1252 void set_has_startup_timeout();
1253 void clear_has_startup_timeout();
1254 void set_has_powered_ascent_motor_on_timeout();
1255 void clear_has_powered_ascent_motor_on_timeout();
1256 void set_has_powered_ascent_motor_off_timeout();
1257 void clear_has_powered_ascent_motor_off_timeout();
1258 void set_has_dive_prep_timeout();
1259 void clear_has_dive_prep_timeout();
1260 void set_has_powered_descent_timeout();
1261 void clear_has_powered_descent_timeout();
1262 void set_has_detect_bottom_logic_init_timeout();
1263 void clear_has_detect_bottom_logic_init_timeout();
1264 void set_has_detect_bottom_logic_after_hold_timeout();
1265 void clear_has_detect_bottom_logic_after_hold_timeout();
1266 void set_has_dive_depth_eps();
1267 void clear_has_dive_depth_eps();
1268 void set_has_bottoming_timeout();
1269 void clear_has_bottoming_timeout();
1270 void set_has_dive_surface_eps();
1271 void clear_has_dive_surface_eps();
1272 void set_has_total_gps_fix_checks();
1273 void clear_has_total_gps_fix_checks();
1274 void set_has_total_gps_degraded_fix_checks();
1275 void clear_has_total_gps_degraded_fix_checks();
1276 void set_has_gps_hdop_fix();
1277 void clear_has_gps_hdop_fix();
1278 void set_has_gps_pdop_fix();
1279 void clear_has_gps_pdop_fix();
1280 void set_has_total_after_dive_gps_fix_checks();
1281 void clear_has_total_after_dive_gps_fix_checks();
1282 void set_has_gps_after_dive_hdop_fix();
1283 void clear_has_gps_after_dive_hdop_fix();
1284 void set_has_gps_after_dive_pdop_fix();
1285 void clear_has_gps_after_dive_pdop_fix();
1286 void set_has_min_depth_safety();
1287 void clear_has_min_depth_safety();
1288 void set_has_goal_timeout_buffer_factor();
1289 void clear_has_goal_timeout_buffer_factor();
1290 void set_has_goal_timeout_reacquire_gps_attempts();
1291 void clear_has_goal_timeout_reacquire_gps_attempts();
1292 void set_has_tpv_history_max();
1293 void clear_has_tpv_history_max();
1294 void set_has_use_goal_timeout();
1295 void clear_has_use_goal_timeout();
1296 void set_has_skip_goal_task();
1297 void clear_has_skip_goal_task();
1298 void set_has_rc_setpoint_end();
1299 void clear_has_rc_setpoint_end();
1300 void set_has_imu_restart_seconds();
1301 void clear_has_imu_restart_seconds();
1302 void set_has_bot_not_rising_timeout();
1303 void clear_has_bot_not_rising_timeout();
1304 void set_has_motor_on_time_increment();
1305 void clear_has_motor_on_time_increment();
1306 void set_has_motor_on_time_max();
1307 void clear_has_motor_on_time_max();
1308 void set_has_powered_ascent_throttle();
1309 void clear_has_powered_ascent_throttle();
1310 void set_has_powered_ascent_throttle_increment();
1311 void clear_has_powered_ascent_throttle_increment();
1312 void set_has_powered_ascent_throttle_max();
1313 void clear_has_powered_ascent_throttle_max();
1314 void set_has_pitch_to_determine_powered_ascent_vertical();
1315 void clear_has_pitch_to_determine_powered_ascent_vertical();
1316 void set_has_pitch_to_determine_dive_prep_vertical();
1317 void clear_has_pitch_to_determine_dive_prep_vertical();
1318 void set_has_pitch_angle_checks();
1319 void clear_has_pitch_angle_checks();
1320 void set_has_pitch_angle_min_check_time();
1321 void clear_has_pitch_angle_min_check_time();
1322 void set_has_dive_eps_to_determine_diving();
1323 void clear_has_dive_eps_to_determine_diving();
1324 void set_has_data_preoffload_script();
1325 void clear_has_data_preoffload_script();
1326 void set_has_data_postoffload_script();
1327 void clear_has_data_postoffload_script();
1328 void set_has_log_dir();
1329 void clear_has_log_dir();
1330 void set_has_log_staging_dir();
1331 void clear_has_log_staging_dir();
1332 void set_has_log_archive_dir();
1333 void clear_has_log_archive_dir();
1334 void set_has_data_offload_exclude();
1335 void clear_has_data_offload_exclude();
1336 void set_has_is_sim();
1337 void clear_has_is_sim();
1338 void set_has_subscribe_to_hub_on_start();
1339 void clear_has_subscribe_to_hub_on_start();
1340 void set_has_hard_bottom_type_acceleration();
1341 void clear_has_hard_bottom_type_acceleration();
1342 void set_has_failed_startup_log_timeout();
1343 void clear_has_failed_startup_log_timeout();
1344 void set_has_waypoint_with_no_task_slip_radius();
1345 void clear_has_waypoint_with_no_task_slip_radius();
1346 void set_has_waypoint_with_task_slip_radius();
1347 void clear_has_waypoint_with_task_slip_radius();
1348 void set_has_resolve_no_forward_progress();
1349 void clear_has_resolve_no_forward_progress();
1352 size_t RequiredFieldsByteSizeFallback()
const;
1354 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1355 ::google::protobuf::internal::HasBits<2> _has_bits_;
1356 ::google::protobuf::RepeatedField<int> include_goal_timeout_states_;
1357 ::google::protobuf::RepeatedField<int> test_mode_;
1358 ::google::protobuf::RepeatedField<int> ignore_error_;
1359 ::google::protobuf::internal::ArenaStringPtr data_preoffload_script_;
1360 ::google::protobuf::internal::ArenaStringPtr data_postoffload_script_;
1361 ::google::protobuf::internal::ArenaStringPtr log_dir_;
1365 ::google::protobuf::internal::ArenaStringPtr log_staging_dir_;
1369 ::google::protobuf::internal::ArenaStringPtr log_archive_dir_;
1370 ::goby::middleware::protobuf::AppConfig* app_;
1371 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
1372 ::goby::middleware::protobuf::TransporterConfig* command_sub_cfg_;
1375 ::google::protobuf::int32 fleet_id_;
1376 ::google::protobuf::int32 bot_id_;
1377 bool use_goal_timeout_;
1378 bool skip_goal_task_;
1380 double startup_timeout_;
1381 ::google::protobuf::int32 powered_ascent_motor_on_timeout_;
1382 ::google::protobuf::int32 powered_ascent_motor_off_timeout_;
1383 ::google::protobuf::int32 dive_prep_timeout_;
1384 ::google::protobuf::int32 powered_descent_timeout_;
1385 double detect_bottom_logic_init_timeout_;
1386 double detect_bottom_logic_after_hold_timeout_;
1387 double dive_depth_eps_;
1388 double bottoming_timeout_;
1389 double dive_surface_eps_;
1390 ::google::protobuf::uint32 total_gps_fix_checks_;
1391 ::google::protobuf::uint32 total_gps_degraded_fix_checks_;
1392 double gps_hdop_fix_;
1393 double gps_pdop_fix_;
1394 double gps_after_dive_hdop_fix_;
1395 double gps_after_dive_pdop_fix_;
1396 double min_depth_safety_;
1397 ::google::protobuf::uint32 total_after_dive_gps_fix_checks_;
1398 ::google::protobuf::uint32 goal_timeout_reacquire_gps_attempts_;
1399 double goal_timeout_buffer_factor_;
1400 ::google::protobuf::uint32 tpv_history_max_;
1401 int rc_setpoint_end_;
1402 double bot_not_rising_timeout_;
1403 ::google::protobuf::uint32 imu_restart_seconds_;
1404 ::google::protobuf::int32 motor_on_time_increment_;
1405 double powered_ascent_throttle_;
1406 double powered_ascent_throttle_increment_;
1407 double powered_ascent_throttle_max_;
1408 ::google::protobuf::int32 motor_on_time_max_;
1409 ::google::protobuf::int32 pitch_angle_checks_;
1410 double pitch_to_determine_powered_ascent_vertical_;
1411 double pitch_to_determine_dive_prep_vertical_;
1412 double pitch_angle_min_check_time_;
1413 double dive_eps_to_determine_diving_;
1414 int data_offload_exclude_;
1415 ::google::protobuf::int32 failed_startup_log_timeout_;
1416 double hard_bottom_type_acceleration_;
1417 ::google::protobuf::int32 waypoint_with_no_task_slip_radius_;
1418 ::google::protobuf::int32 waypoint_with_task_slip_radius_;
1419 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1420 friend struct ::protobuf_bin_2fmission_5fmanager_2fconfig_2eproto::TableStruct;
1428 #pragma GCC diagnostic push
1429 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1435 return (_has_bits_[0] & 0x00000004u) != 0;
1437 inline void MissionManager_ResolveNoForwardProgress::set_has_resume_timeout() {
1438 _has_bits_[0] |= 0x00000004u;
1440 inline void MissionManager_ResolveNoForwardProgress::clear_has_resume_timeout() {
1441 _has_bits_[0] &= ~0x00000004u;
1444 resume_timeout_ = 10;
1445 clear_has_resume_timeout();
1449 return resume_timeout_;
1452 set_has_resume_timeout();
1453 resume_timeout_ = value;
1459 return (_has_bits_[0] & 0x00000008u) != 0;
1461 inline void MissionManager_ResolveNoForwardProgress::set_has_pitch_threshold() {
1462 _has_bits_[0] |= 0x00000008u;
1464 inline void MissionManager_ResolveNoForwardProgress::clear_has_pitch_threshold() {
1465 _has_bits_[0] &= ~0x00000008u;
1468 pitch_threshold_ = 30;
1469 clear_has_pitch_threshold();
1473 return pitch_threshold_;
1476 set_has_pitch_threshold();
1477 pitch_threshold_ = value;
1483 return (_has_bits_[0] & 0x00000001u) != 0;
1485 inline void MissionManager_ResolveNoForwardProgress::set_has_desired_speed_threshold() {
1486 _has_bits_[0] |= 0x00000001u;
1488 inline void MissionManager_ResolveNoForwardProgress::clear_has_desired_speed_threshold() {
1489 _has_bits_[0] &= ~0x00000001u;
1492 desired_speed_threshold_ = 0;
1493 clear_has_desired_speed_threshold();
1497 return desired_speed_threshold_;
1500 set_has_desired_speed_threshold();
1501 desired_speed_threshold_ = value;
1507 return (_has_bits_[0] & 0x00000002u) != 0;
1509 inline void MissionManager_ResolveNoForwardProgress::set_has_trigger_timeout() {
1510 _has_bits_[0] |= 0x00000002u;
1512 inline void MissionManager_ResolveNoForwardProgress::clear_has_trigger_timeout() {
1513 _has_bits_[0] &= ~0x00000002u;
1516 trigger_timeout_ = 15;
1517 clear_has_trigger_timeout();
1521 return trigger_timeout_;
1524 set_has_trigger_timeout();
1525 trigger_timeout_ = value;
1535 return (_has_bits_[0] & 0x00000020u) != 0;
1537 inline void MissionManager::set_has_app() {
1538 _has_bits_[0] |= 0x00000020u;
1540 inline void MissionManager::clear_has_app() {
1541 _has_bits_[0] &= ~0x00000020u;
1543 inline const ::goby::middleware::protobuf::AppConfig& MissionManager::_internal_app()
const {
1547 const ::goby::middleware::protobuf::AppConfig* p = app_;
1549 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
1550 &::goby::middleware::protobuf::_AppConfig_default_instance_);
1555 ::goby::middleware::protobuf::AppConfig* temp = app_;
1562 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
1569 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1570 if (message_arena == NULL) {
1571 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(app_);
1574 ::google::protobuf::Arena* submessage_arena = NULL;
1575 if (message_arena != submessage_arena) {
1576 app = ::google::protobuf::internal::GetOwnedMessage(
1577 message_arena,
app, submessage_arena);
1589 return (_has_bits_[0] & 0x00000040u) != 0;
1591 inline void MissionManager::set_has_interprocess() {
1592 _has_bits_[0] |= 0x00000040u;
1594 inline void MissionManager::clear_has_interprocess() {
1595 _has_bits_[0] &= ~0x00000040u;
1597 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& MissionManager::_internal_interprocess()
const {
1598 return *interprocess_;
1601 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
1603 return p != NULL ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
1604 &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
1608 clear_has_interprocess();
1609 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
1610 interprocess_ = NULL;
1614 set_has_interprocess();
1615 if (interprocess_ == NULL) {
1616 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
1620 return interprocess_;
1623 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1624 if (message_arena == NULL) {
1625 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(interprocess_);
1628 ::google::protobuf::Arena* submessage_arena = NULL;
1629 if (message_arena != submessage_arena) {
1630 interprocess = ::google::protobuf::internal::GetOwnedMessage(
1633 set_has_interprocess();
1635 clear_has_interprocess();
1643 return (_has_bits_[0] & 0x00000400u) != 0;
1645 inline void MissionManager::set_has_fleet_id() {
1646 _has_bits_[0] |= 0x00000400u;
1648 inline void MissionManager::clear_has_fleet_id() {
1649 _has_bits_[0] &= ~0x00000400u;
1653 clear_has_fleet_id();
1667 return (_has_bits_[0] & 0x00000800u) != 0;
1669 inline void MissionManager::set_has_bot_id() {
1670 _has_bits_[0] |= 0x00000800u;
1672 inline void MissionManager::clear_has_bot_id() {
1673 _has_bits_[0] &= ~0x00000800u;
1691 return (_has_bits_[0] & 0x00000080u) != 0;
1693 inline void MissionManager::set_has_command_sub_cfg() {
1694 _has_bits_[0] |= 0x00000080u;
1696 inline void MissionManager::clear_has_command_sub_cfg() {
1697 _has_bits_[0] &= ~0x00000080u;
1699 inline const ::goby::middleware::protobuf::TransporterConfig& MissionManager::_internal_command_sub_cfg()
const {
1700 return *command_sub_cfg_;
1703 const ::goby::middleware::protobuf::TransporterConfig* p = command_sub_cfg_;
1705 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::TransporterConfig*
>(
1706 &::goby::middleware::protobuf::_TransporterConfig_default_instance_);
1710 clear_has_command_sub_cfg();
1711 ::goby::middleware::protobuf::TransporterConfig* temp = command_sub_cfg_;
1712 command_sub_cfg_ = NULL;
1716 set_has_command_sub_cfg();
1717 if (command_sub_cfg_ == NULL) {
1718 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::TransporterConfig>(GetArenaNoVirtual());
1719 command_sub_cfg_ = p;
1722 return command_sub_cfg_;
1725 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1726 if (message_arena == NULL) {
1727 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(command_sub_cfg_);
1730 ::google::protobuf::Arena* submessage_arena = NULL;
1731 if (message_arena != submessage_arena) {
1735 set_has_command_sub_cfg();
1737 clear_has_command_sub_cfg();
1745 return (_has_bits_[0] & 0x00008000u) != 0;
1747 inline void MissionManager::set_has_startup_timeout() {
1748 _has_bits_[0] |= 0x00008000u;
1750 inline void MissionManager::clear_has_startup_timeout() {
1751 _has_bits_[0] &= ~0x00008000u;
1754 startup_timeout_ = 120;
1755 clear_has_startup_timeout();
1759 return startup_timeout_;
1762 set_has_startup_timeout();
1763 startup_timeout_ = value;
1769 return (_has_bits_[0] & 0x00010000u) != 0;
1771 inline void MissionManager::set_has_powered_ascent_motor_on_timeout() {
1772 _has_bits_[0] |= 0x00010000u;
1774 inline void MissionManager::clear_has_powered_ascent_motor_on_timeout() {
1775 _has_bits_[0] &= ~0x00010000u;
1778 powered_ascent_motor_on_timeout_ = 5;
1779 clear_has_powered_ascent_motor_on_timeout();
1783 return powered_ascent_motor_on_timeout_;
1786 set_has_powered_ascent_motor_on_timeout();
1787 powered_ascent_motor_on_timeout_ = value;
1793 return (_has_bits_[0] & 0x00020000u) != 0;
1795 inline void MissionManager::set_has_powered_ascent_motor_off_timeout() {
1796 _has_bits_[0] |= 0x00020000u;
1798 inline void MissionManager::clear_has_powered_ascent_motor_off_timeout() {
1799 _has_bits_[0] &= ~0x00020000u;
1802 powered_ascent_motor_off_timeout_ = 2;
1803 clear_has_powered_ascent_motor_off_timeout();
1807 return powered_ascent_motor_off_timeout_;
1810 set_has_powered_ascent_motor_off_timeout();
1811 powered_ascent_motor_off_timeout_ = value;
1817 return (_has_bits_[0] & 0x00040000u) != 0;
1819 inline void MissionManager::set_has_dive_prep_timeout() {
1820 _has_bits_[0] |= 0x00040000u;
1822 inline void MissionManager::clear_has_dive_prep_timeout() {
1823 _has_bits_[0] &= ~0x00040000u;
1826 dive_prep_timeout_ = 10;
1827 clear_has_dive_prep_timeout();
1831 return dive_prep_timeout_;
1834 set_has_dive_prep_timeout();
1835 dive_prep_timeout_ = value;
1841 return (_has_bits_[0] & 0x00080000u) != 0;
1843 inline void MissionManager::set_has_powered_descent_timeout() {
1844 _has_bits_[0] |= 0x00080000u;
1846 inline void MissionManager::clear_has_powered_descent_timeout() {
1847 _has_bits_[0] &= ~0x00080000u;
1850 powered_descent_timeout_ = 60;
1851 clear_has_powered_descent_timeout();
1855 return powered_descent_timeout_;
1858 set_has_powered_descent_timeout();
1859 powered_descent_timeout_ = value;
1865 return (_has_bits_[0] & 0x00100000u) != 0;
1867 inline void MissionManager::set_has_detect_bottom_logic_init_timeout() {
1868 _has_bits_[0] |= 0x00100000u;
1870 inline void MissionManager::clear_has_detect_bottom_logic_init_timeout() {
1871 _has_bits_[0] &= ~0x00100000u;
1874 detect_bottom_logic_init_timeout_ = 15;
1875 clear_has_detect_bottom_logic_init_timeout();
1879 return detect_bottom_logic_init_timeout_;
1882 set_has_detect_bottom_logic_init_timeout();
1883 detect_bottom_logic_init_timeout_ = value;
1889 return (_has_bits_[0] & 0x00200000u) != 0;
1891 inline void MissionManager::set_has_detect_bottom_logic_after_hold_timeout() {
1892 _has_bits_[0] |= 0x00200000u;
1894 inline void MissionManager::clear_has_detect_bottom_logic_after_hold_timeout() {
1895 _has_bits_[0] &= ~0x00200000u;
1898 detect_bottom_logic_after_hold_timeout_ = 5;
1899 clear_has_detect_bottom_logic_after_hold_timeout();
1903 return detect_bottom_logic_after_hold_timeout_;
1906 set_has_detect_bottom_logic_after_hold_timeout();
1907 detect_bottom_logic_after_hold_timeout_ = value;
1913 return (_has_bits_[0] & 0x00400000u) != 0;
1915 inline void MissionManager::set_has_dive_depth_eps() {
1916 _has_bits_[0] |= 0x00400000u;
1918 inline void MissionManager::clear_has_dive_depth_eps() {
1919 _has_bits_[0] &= ~0x00400000u;
1922 dive_depth_eps_ = 0.1;
1923 clear_has_dive_depth_eps();
1927 return dive_depth_eps_;
1930 set_has_dive_depth_eps();
1931 dive_depth_eps_ = value;
1937 return (_has_bits_[0] & 0x00800000u) != 0;
1939 inline void MissionManager::set_has_bottoming_timeout() {
1940 _has_bits_[0] |= 0x00800000u;
1942 inline void MissionManager::clear_has_bottoming_timeout() {
1943 _has_bits_[0] &= ~0x00800000u;
1946 bottoming_timeout_ = 3;
1947 clear_has_bottoming_timeout();
1951 return bottoming_timeout_;
1954 set_has_bottoming_timeout();
1955 bottoming_timeout_ = value;
1961 return (_has_bits_[0] & 0x01000000u) != 0;
1963 inline void MissionManager::set_has_dive_surface_eps() {
1964 _has_bits_[0] |= 0x01000000u;
1966 inline void MissionManager::clear_has_dive_surface_eps() {
1967 _has_bits_[0] &= ~0x01000000u;
1970 dive_surface_eps_ = 0.75;
1971 clear_has_dive_surface_eps();
1975 return dive_surface_eps_;
1978 set_has_dive_surface_eps();
1979 dive_surface_eps_ = value;
1985 return (_has_bits_[0] & 0x02000000u) != 0;
1987 inline void MissionManager::set_has_total_gps_fix_checks() {
1988 _has_bits_[0] |= 0x02000000u;
1990 inline void MissionManager::clear_has_total_gps_fix_checks() {
1991 _has_bits_[0] &= ~0x02000000u;
1994 total_gps_fix_checks_ = 10u;
1995 clear_has_total_gps_fix_checks();
1999 return total_gps_fix_checks_;
2002 set_has_total_gps_fix_checks();
2003 total_gps_fix_checks_ = value;
2009 return (_has_bits_[0] & 0x04000000u) != 0;
2011 inline void MissionManager::set_has_total_gps_degraded_fix_checks() {
2012 _has_bits_[0] |= 0x04000000u;
2014 inline void MissionManager::clear_has_total_gps_degraded_fix_checks() {
2015 _has_bits_[0] &= ~0x04000000u;
2018 total_gps_degraded_fix_checks_ = 2u;
2019 clear_has_total_gps_degraded_fix_checks();
2023 return total_gps_degraded_fix_checks_;
2026 set_has_total_gps_degraded_fix_checks();
2027 total_gps_degraded_fix_checks_ = value;
2033 return (_has_bits_[0] & 0x08000000u) != 0;
2035 inline void MissionManager::set_has_gps_hdop_fix() {
2036 _has_bits_[0] |= 0x08000000u;
2038 inline void MissionManager::clear_has_gps_hdop_fix() {
2039 _has_bits_[0] &= ~0x08000000u;
2042 gps_hdop_fix_ = 1.3;
2043 clear_has_gps_hdop_fix();
2047 return gps_hdop_fix_;
2050 set_has_gps_hdop_fix();
2051 gps_hdop_fix_ = value;
2057 return (_has_bits_[0] & 0x10000000u) != 0;
2059 inline void MissionManager::set_has_gps_pdop_fix() {
2060 _has_bits_[0] |= 0x10000000u;
2062 inline void MissionManager::clear_has_gps_pdop_fix() {
2063 _has_bits_[0] &= ~0x10000000u;
2066 gps_pdop_fix_ = 2.2;
2067 clear_has_gps_pdop_fix();
2071 return gps_pdop_fix_;
2074 set_has_gps_pdop_fix();
2075 gps_pdop_fix_ = value;
2081 return (_has_bits_[1] & 0x00000001u) != 0;
2083 inline void MissionManager::set_has_total_after_dive_gps_fix_checks() {
2084 _has_bits_[1] |= 0x00000001u;
2086 inline void MissionManager::clear_has_total_after_dive_gps_fix_checks() {
2087 _has_bits_[1] &= ~0x00000001u;
2090 total_after_dive_gps_fix_checks_ = 15u;
2091 clear_has_total_after_dive_gps_fix_checks();
2095 return total_after_dive_gps_fix_checks_;
2098 set_has_total_after_dive_gps_fix_checks();
2099 total_after_dive_gps_fix_checks_ = value;
2105 return (_has_bits_[0] & 0x20000000u) != 0;
2107 inline void MissionManager::set_has_gps_after_dive_hdop_fix() {
2108 _has_bits_[0] |= 0x20000000u;
2110 inline void MissionManager::clear_has_gps_after_dive_hdop_fix() {
2111 _has_bits_[0] &= ~0x20000000u;
2114 gps_after_dive_hdop_fix_ = 1.3;
2115 clear_has_gps_after_dive_hdop_fix();
2119 return gps_after_dive_hdop_fix_;
2122 set_has_gps_after_dive_hdop_fix();
2123 gps_after_dive_hdop_fix_ = value;
2129 return (_has_bits_[0] & 0x40000000u) != 0;
2131 inline void MissionManager::set_has_gps_after_dive_pdop_fix() {
2132 _has_bits_[0] |= 0x40000000u;
2134 inline void MissionManager::clear_has_gps_after_dive_pdop_fix() {
2135 _has_bits_[0] &= ~0x40000000u;
2138 gps_after_dive_pdop_fix_ = 2.2;
2139 clear_has_gps_after_dive_pdop_fix();
2143 return gps_after_dive_pdop_fix_;
2146 set_has_gps_after_dive_pdop_fix();
2147 gps_after_dive_pdop_fix_ = value;
2153 return (_has_bits_[0] & 0x80000000u) != 0;
2155 inline void MissionManager::set_has_min_depth_safety() {
2156 _has_bits_[0] |= 0x80000000u;
2158 inline void MissionManager::clear_has_min_depth_safety() {
2159 _has_bits_[0] &= ~0x80000000u;
2162 min_depth_safety_ = -1;
2163 clear_has_min_depth_safety();
2167 return min_depth_safety_;
2170 set_has_min_depth_safety();
2171 min_depth_safety_ = value;
2177 return (_has_bits_[1] & 0x00000004u) != 0;
2179 inline void MissionManager::set_has_goal_timeout_buffer_factor() {
2180 _has_bits_[1] |= 0x00000004u;
2182 inline void MissionManager::clear_has_goal_timeout_buffer_factor() {
2183 _has_bits_[1] &= ~0x00000004u;
2186 goal_timeout_buffer_factor_ = 1;
2187 clear_has_goal_timeout_buffer_factor();
2191 return goal_timeout_buffer_factor_;
2194 set_has_goal_timeout_buffer_factor();
2195 goal_timeout_buffer_factor_ = value;
2201 return (_has_bits_[1] & 0x00000002u) != 0;
2203 inline void MissionManager::set_has_goal_timeout_reacquire_gps_attempts() {
2204 _has_bits_[1] |= 0x00000002u;
2206 inline void MissionManager::clear_has_goal_timeout_reacquire_gps_attempts() {
2207 _has_bits_[1] &= ~0x00000002u;
2210 goal_timeout_reacquire_gps_attempts_ = 2u;
2211 clear_has_goal_timeout_reacquire_gps_attempts();
2215 return goal_timeout_reacquire_gps_attempts_;
2218 set_has_goal_timeout_reacquire_gps_attempts();
2219 goal_timeout_reacquire_gps_attempts_ = value;
2225 return (_has_bits_[1] & 0x00000008u) != 0;
2227 inline void MissionManager::set_has_tpv_history_max() {
2228 _has_bits_[1] |= 0x00000008u;
2230 inline void MissionManager::clear_has_tpv_history_max() {
2231 _has_bits_[1] &= ~0x00000008u;
2234 tpv_history_max_ = 15u;
2235 clear_has_tpv_history_max();
2239 return tpv_history_max_;
2242 set_has_tpv_history_max();
2243 tpv_history_max_ = value;
2249 return (_has_bits_[0] & 0x00001000u) != 0;
2251 inline void MissionManager::set_has_use_goal_timeout() {
2252 _has_bits_[0] |= 0x00001000u;
2254 inline void MissionManager::clear_has_use_goal_timeout() {
2255 _has_bits_[0] &= ~0x00001000u;
2258 use_goal_timeout_ =
false;
2259 clear_has_use_goal_timeout();
2263 return use_goal_timeout_;
2266 set_has_use_goal_timeout();
2267 use_goal_timeout_ = value;
2273 return (_has_bits_[0] & 0x00002000u) != 0;
2275 inline void MissionManager::set_has_skip_goal_task() {
2276 _has_bits_[0] |= 0x00002000u;
2278 inline void MissionManager::clear_has_skip_goal_task() {
2279 _has_bits_[0] &= ~0x00002000u;
2282 skip_goal_task_ =
false;
2283 clear_has_skip_goal_task();
2287 return skip_goal_task_;
2290 set_has_skip_goal_task();
2291 skip_goal_task_ = value;
2297 return include_goal_timeout_states_.size();
2300 include_goal_timeout_states_.Clear();
2308 include_goal_timeout_states_.Set(index, value);
2313 include_goal_timeout_states_.Add(value);
2316 inline const ::google::protobuf::RepeatedField<int>&
2319 return include_goal_timeout_states_;
2321 inline ::google::protobuf::RepeatedField<int>*
2324 return &include_goal_timeout_states_;
2329 return (_has_bits_[1] & 0x00000010u) != 0;
2331 inline void MissionManager::set_has_rc_setpoint_end() {
2332 _has_bits_[1] |= 0x00000010u;
2334 inline void MissionManager::clear_has_rc_setpoint_end() {
2335 _has_bits_[1] &= ~0x00000010u;
2338 rc_setpoint_end_ = 1;
2339 clear_has_rc_setpoint_end();
2347 set_has_rc_setpoint_end();
2348 rc_setpoint_end_ = value;
2354 return (_has_bits_[1] & 0x00000040u) != 0;
2356 inline void MissionManager::set_has_imu_restart_seconds() {
2357 _has_bits_[1] |= 0x00000040u;
2359 inline void MissionManager::clear_has_imu_restart_seconds() {
2360 _has_bits_[1] &= ~0x00000040u;
2363 imu_restart_seconds_ = 15u;
2364 clear_has_imu_restart_seconds();
2368 return imu_restart_seconds_;
2371 set_has_imu_restart_seconds();
2372 imu_restart_seconds_ = value;
2378 return (_has_bits_[1] & 0x00000020u) != 0;
2380 inline void MissionManager::set_has_bot_not_rising_timeout() {
2381 _has_bits_[1] |= 0x00000020u;
2383 inline void MissionManager::clear_has_bot_not_rising_timeout() {
2384 _has_bits_[1] &= ~0x00000020u;
2387 bot_not_rising_timeout_ = 6;
2388 clear_has_bot_not_rising_timeout();
2392 return bot_not_rising_timeout_;
2395 set_has_bot_not_rising_timeout();
2396 bot_not_rising_timeout_ = value;
2402 return (_has_bits_[1] & 0x00000080u) != 0;
2404 inline void MissionManager::set_has_motor_on_time_increment() {
2405 _has_bits_[1] |= 0x00000080u;
2407 inline void MissionManager::clear_has_motor_on_time_increment() {
2408 _has_bits_[1] &= ~0x00000080u;
2411 motor_on_time_increment_ = 1;
2412 clear_has_motor_on_time_increment();
2416 return motor_on_time_increment_;
2419 set_has_motor_on_time_increment();
2420 motor_on_time_increment_ = value;
2426 return (_has_bits_[1] & 0x00000800u) != 0;
2428 inline void MissionManager::set_has_motor_on_time_max() {
2429 _has_bits_[1] |= 0x00000800u;
2431 inline void MissionManager::clear_has_motor_on_time_max() {
2432 _has_bits_[1] &= ~0x00000800u;
2435 motor_on_time_max_ = 10;
2436 clear_has_motor_on_time_max();
2440 return motor_on_time_max_;
2443 set_has_motor_on_time_max();
2444 motor_on_time_max_ = value;
2450 return (_has_bits_[1] & 0x00000100u) != 0;
2452 inline void MissionManager::set_has_powered_ascent_throttle() {
2453 _has_bits_[1] |= 0x00000100u;
2455 inline void MissionManager::clear_has_powered_ascent_throttle() {
2456 _has_bits_[1] &= ~0x00000100u;
2459 powered_ascent_throttle_ = 25;
2460 clear_has_powered_ascent_throttle();
2464 return powered_ascent_throttle_;
2467 set_has_powered_ascent_throttle();
2468 powered_ascent_throttle_ = value;
2474 return (_has_bits_[1] & 0x00000200u) != 0;
2476 inline void MissionManager::set_has_powered_ascent_throttle_increment() {
2477 _has_bits_[1] |= 0x00000200u;
2479 inline void MissionManager::clear_has_powered_ascent_throttle_increment() {
2480 _has_bits_[1] &= ~0x00000200u;
2483 powered_ascent_throttle_increment_ = 5;
2484 clear_has_powered_ascent_throttle_increment();
2488 return powered_ascent_throttle_increment_;
2491 set_has_powered_ascent_throttle_increment();
2492 powered_ascent_throttle_increment_ = value;
2498 return (_has_bits_[1] & 0x00000400u) != 0;
2500 inline void MissionManager::set_has_powered_ascent_throttle_max() {
2501 _has_bits_[1] |= 0x00000400u;
2503 inline void MissionManager::clear_has_powered_ascent_throttle_max() {
2504 _has_bits_[1] &= ~0x00000400u;
2507 powered_ascent_throttle_max_ = 60;
2508 clear_has_powered_ascent_throttle_max();
2512 return powered_ascent_throttle_max_;
2515 set_has_powered_ascent_throttle_max();
2516 powered_ascent_throttle_max_ = value;
2522 return (_has_bits_[1] & 0x00002000u) != 0;
2524 inline void MissionManager::set_has_pitch_to_determine_powered_ascent_vertical() {
2525 _has_bits_[1] |= 0x00002000u;
2527 inline void MissionManager::clear_has_pitch_to_determine_powered_ascent_vertical() {
2528 _has_bits_[1] &= ~0x00002000u;
2531 pitch_to_determine_powered_ascent_vertical_ = 30;
2532 clear_has_pitch_to_determine_powered_ascent_vertical();
2536 return pitch_to_determine_powered_ascent_vertical_;
2539 set_has_pitch_to_determine_powered_ascent_vertical();
2540 pitch_to_determine_powered_ascent_vertical_ = value;
2546 return (_has_bits_[1] & 0x00004000u) != 0;
2548 inline void MissionManager::set_has_pitch_to_determine_dive_prep_vertical() {
2549 _has_bits_[1] |= 0x00004000u;
2551 inline void MissionManager::clear_has_pitch_to_determine_dive_prep_vertical() {
2552 _has_bits_[1] &= ~0x00004000u;
2555 pitch_to_determine_dive_prep_vertical_ = 70;
2556 clear_has_pitch_to_determine_dive_prep_vertical();
2560 return pitch_to_determine_dive_prep_vertical_;
2563 set_has_pitch_to_determine_dive_prep_vertical();
2564 pitch_to_determine_dive_prep_vertical_ = value;
2570 return (_has_bits_[1] & 0x00001000u) != 0;
2572 inline void MissionManager::set_has_pitch_angle_checks() {
2573 _has_bits_[1] |= 0x00001000u;
2575 inline void MissionManager::clear_has_pitch_angle_checks() {
2576 _has_bits_[1] &= ~0x00001000u;
2579 pitch_angle_checks_ = 3;
2580 clear_has_pitch_angle_checks();
2584 return pitch_angle_checks_;
2587 set_has_pitch_angle_checks();
2588 pitch_angle_checks_ = value;
2594 return (_has_bits_[1] & 0x00008000u) != 0;
2596 inline void MissionManager::set_has_pitch_angle_min_check_time() {
2597 _has_bits_[1] |= 0x00008000u;
2599 inline void MissionManager::clear_has_pitch_angle_min_check_time() {
2600 _has_bits_[1] &= ~0x00008000u;
2603 pitch_angle_min_check_time_ = 1;
2604 clear_has_pitch_angle_min_check_time();
2608 return pitch_angle_min_check_time_;
2611 set_has_pitch_angle_min_check_time();
2612 pitch_angle_min_check_time_ = value;
2618 return (_has_bits_[1] & 0x00010000u) != 0;
2620 inline void MissionManager::set_has_dive_eps_to_determine_diving() {
2621 _has_bits_[1] |= 0x00010000u;
2623 inline void MissionManager::clear_has_dive_eps_to_determine_diving() {
2624 _has_bits_[1] &= ~0x00010000u;
2627 dive_eps_to_determine_diving_ = 0.3;
2628 clear_has_dive_eps_to_determine_diving();
2632 return dive_eps_to_determine_diving_;
2635 set_has_dive_eps_to_determine_diving();
2636 dive_eps_to_determine_diving_ = value;
2642 return (_has_bits_[0] & 0x00000001u) != 0;
2644 inline void MissionManager::set_has_data_preoffload_script() {
2645 _has_bits_[0] |= 0x00000001u;
2647 inline void MissionManager::clear_has_data_preoffload_script() {
2648 _has_bits_[0] &= ~0x00000001u;
2651 data_preoffload_script_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2652 clear_has_data_preoffload_script();
2656 return data_preoffload_script_.GetNoArena();
2659 set_has_data_preoffload_script();
2660 data_preoffload_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2665 set_has_data_preoffload_script();
2666 data_preoffload_script_.SetNoArena(
2667 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2672 GOOGLE_DCHECK(value != NULL);
2673 set_has_data_preoffload_script();
2674 data_preoffload_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2678 set_has_data_preoffload_script();
2679 data_preoffload_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2680 ::std::string(
reinterpret_cast<const char*
>(value), size));
2684 set_has_data_preoffload_script();
2686 return data_preoffload_script_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2693 clear_has_data_preoffload_script();
2694 return data_preoffload_script_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2698 set_has_data_preoffload_script();
2700 clear_has_data_preoffload_script();
2702 data_preoffload_script_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
data_preoffload_script);
2708 return (_has_bits_[0] & 0x00000002u) != 0;
2710 inline void MissionManager::set_has_data_postoffload_script() {
2711 _has_bits_[0] |= 0x00000002u;
2713 inline void MissionManager::clear_has_data_postoffload_script() {
2714 _has_bits_[0] &= ~0x00000002u;
2717 data_postoffload_script_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2718 clear_has_data_postoffload_script();
2722 return data_postoffload_script_.GetNoArena();
2725 set_has_data_postoffload_script();
2726 data_postoffload_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2731 set_has_data_postoffload_script();
2732 data_postoffload_script_.SetNoArena(
2733 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2738 GOOGLE_DCHECK(value != NULL);
2739 set_has_data_postoffload_script();
2740 data_postoffload_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2744 set_has_data_postoffload_script();
2745 data_postoffload_script_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2746 ::std::string(
reinterpret_cast<const char*
>(value), size));
2750 set_has_data_postoffload_script();
2752 return data_postoffload_script_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2759 clear_has_data_postoffload_script();
2760 return data_postoffload_script_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2764 set_has_data_postoffload_script();
2766 clear_has_data_postoffload_script();
2768 data_postoffload_script_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
data_postoffload_script);
2774 return (_has_bits_[0] & 0x00000004u) != 0;
2776 inline void MissionManager::set_has_log_dir() {
2777 _has_bits_[0] |= 0x00000004u;
2779 inline void MissionManager::clear_has_log_dir() {
2780 _has_bits_[0] &= ~0x00000004u;
2783 log_dir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2784 clear_has_log_dir();
2788 return log_dir_.GetNoArena();
2792 log_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2798 log_dir_.SetNoArena(
2799 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2804 GOOGLE_DCHECK(value != NULL);
2806 log_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2811 log_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2812 ::std::string(
reinterpret_cast<const char*
>(value), size));
2818 return log_dir_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2825 clear_has_log_dir();
2826 return log_dir_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2832 clear_has_log_dir();
2834 log_dir_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
log_dir);
2840 return (_has_bits_[0] & 0x00000008u) != 0;
2842 inline void MissionManager::set_has_log_staging_dir() {
2843 _has_bits_[0] |= 0x00000008u;
2845 inline void MissionManager::clear_has_log_staging_dir() {
2846 _has_bits_[0] &= ~0x00000008u;
2850 clear_has_log_staging_dir();
2854 return log_staging_dir_.GetNoArena();
2857 set_has_log_staging_dir();
2863 set_has_log_staging_dir();
2864 log_staging_dir_.SetNoArena(
2870 GOOGLE_DCHECK(value != NULL);
2871 set_has_log_staging_dir();
2876 set_has_log_staging_dir();
2878 ::std::string(
reinterpret_cast<const char*
>(value), size));
2882 set_has_log_staging_dir();
2891 clear_has_log_staging_dir();
2896 set_has_log_staging_dir();
2898 clear_has_log_staging_dir();
2906 return (_has_bits_[0] & 0x00000010u) != 0;
2908 inline void MissionManager::set_has_log_archive_dir() {
2909 _has_bits_[0] |= 0x00000010u;
2911 inline void MissionManager::clear_has_log_archive_dir() {
2912 _has_bits_[0] &= ~0x00000010u;
2916 clear_has_log_archive_dir();
2920 return log_archive_dir_.GetNoArena();
2923 set_has_log_archive_dir();
2929 set_has_log_archive_dir();
2930 log_archive_dir_.SetNoArena(
2936 GOOGLE_DCHECK(value != NULL);
2937 set_has_log_archive_dir();
2942 set_has_log_archive_dir();
2944 ::std::string(
reinterpret_cast<const char*
>(value), size));
2948 set_has_log_archive_dir();
2957 clear_has_log_archive_dir();
2962 set_has_log_archive_dir();
2964 clear_has_log_archive_dir();
2972 return (_has_bits_[1] & 0x00020000u) != 0;
2974 inline void MissionManager::set_has_data_offload_exclude() {
2975 _has_bits_[1] |= 0x00020000u;
2977 inline void MissionManager::clear_has_data_offload_exclude() {
2978 _has_bits_[1] &= ~0x00020000u;
2981 data_offload_exclude_ = 1;
2982 clear_has_data_offload_exclude();
2990 set_has_data_offload_exclude();
2991 data_offload_exclude_ = value;
2997 return test_mode_.size();
3008 test_mode_.Set(index, value);
3013 test_mode_.Add(value);
3016 inline const ::google::protobuf::RepeatedField<int>&
3021 inline ::google::protobuf::RepeatedField<int>*
3029 return ignore_error_.size();
3032 ignore_error_.Clear();
3040 ignore_error_.Set(index, value);
3045 ignore_error_.Add(value);
3048 inline const ::google::protobuf::RepeatedField<int>&
3051 return ignore_error_;
3053 inline ::google::protobuf::RepeatedField<int>*
3056 return &ignore_error_;
3061 return (_has_bits_[0] & 0x00004000u) != 0;
3063 inline void MissionManager::set_has_is_sim() {
3064 _has_bits_[0] |= 0x00004000u;
3066 inline void MissionManager::clear_has_is_sim() {
3067 _has_bits_[0] &= ~0x00004000u;
3085 return (_has_bits_[0] & 0x00000100u) != 0;
3087 inline void MissionManager::set_has_subscribe_to_hub_on_start() {
3088 _has_bits_[0] |= 0x00000100u;
3090 inline void MissionManager::clear_has_subscribe_to_hub_on_start() {
3091 _has_bits_[0] &= ~0x00000100u;
3093 inline const ::jaiabot::protobuf::HubInfo& MissionManager::_internal_subscribe_to_hub_on_start()
const {
3094 return *subscribe_to_hub_on_start_;
3097 const ::jaiabot::protobuf::HubInfo* p = subscribe_to_hub_on_start_;
3104 clear_has_subscribe_to_hub_on_start();
3106 subscribe_to_hub_on_start_ = NULL;
3110 set_has_subscribe_to_hub_on_start();
3111 if (subscribe_to_hub_on_start_ == NULL) {
3112 auto* p = CreateMaybeMessage<::jaiabot::protobuf::HubInfo>(GetArenaNoVirtual());
3113 subscribe_to_hub_on_start_ = p;
3116 return subscribe_to_hub_on_start_;
3119 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3120 if (message_arena == NULL) {
3121 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(subscribe_to_hub_on_start_);
3124 ::google::protobuf::Arena* submessage_arena = NULL;
3125 if (message_arena != submessage_arena) {
3129 set_has_subscribe_to_hub_on_start();
3131 clear_has_subscribe_to_hub_on_start();
3139 return (_has_bits_[1] & 0x00080000u) != 0;
3141 inline void MissionManager::set_has_hard_bottom_type_acceleration() {
3142 _has_bits_[1] |= 0x00080000u;
3144 inline void MissionManager::clear_has_hard_bottom_type_acceleration() {
3145 _has_bits_[1] &= ~0x00080000u;
3148 hard_bottom_type_acceleration_ = 100;
3149 clear_has_hard_bottom_type_acceleration();
3153 return hard_bottom_type_acceleration_;
3156 set_has_hard_bottom_type_acceleration();
3157 hard_bottom_type_acceleration_ = value;
3163 return (_has_bits_[1] & 0x00040000u) != 0;
3165 inline void MissionManager::set_has_failed_startup_log_timeout() {
3166 _has_bits_[1] |= 0x00040000u;
3168 inline void MissionManager::clear_has_failed_startup_log_timeout() {
3169 _has_bits_[1] &= ~0x00040000u;
3172 failed_startup_log_timeout_ = 300;
3173 clear_has_failed_startup_log_timeout();
3177 return failed_startup_log_timeout_;
3180 set_has_failed_startup_log_timeout();
3181 failed_startup_log_timeout_ = value;
3187 return (_has_bits_[1] & 0x00100000u) != 0;
3189 inline void MissionManager::set_has_waypoint_with_no_task_slip_radius() {
3190 _has_bits_[1] |= 0x00100000u;
3192 inline void MissionManager::clear_has_waypoint_with_no_task_slip_radius() {
3193 _has_bits_[1] &= ~0x00100000u;
3196 waypoint_with_no_task_slip_radius_ = 15;
3197 clear_has_waypoint_with_no_task_slip_radius();
3201 return waypoint_with_no_task_slip_radius_;
3204 set_has_waypoint_with_no_task_slip_radius();
3205 waypoint_with_no_task_slip_radius_ = value;
3211 return (_has_bits_[1] & 0x00200000u) != 0;
3213 inline void MissionManager::set_has_waypoint_with_task_slip_radius() {
3214 _has_bits_[1] |= 0x00200000u;
3216 inline void MissionManager::clear_has_waypoint_with_task_slip_radius() {
3217 _has_bits_[1] &= ~0x00200000u;
3220 waypoint_with_task_slip_radius_ = 5;
3221 clear_has_waypoint_with_task_slip_radius();
3225 return waypoint_with_task_slip_radius_;
3228 set_has_waypoint_with_task_slip_radius();
3229 waypoint_with_task_slip_radius_ = value;
3235 return (_has_bits_[0] & 0x00000200u) != 0;
3237 inline void MissionManager::set_has_resolve_no_forward_progress() {
3238 _has_bits_[0] |= 0x00000200u;
3240 inline void MissionManager::clear_has_resolve_no_forward_progress() {
3241 _has_bits_[0] &= ~0x00000200u;
3244 if (resolve_no_forward_progress_ != NULL) resolve_no_forward_progress_->
Clear();
3245 clear_has_resolve_no_forward_progress();
3247 inline const ::jaiabot::config::MissionManager_ResolveNoForwardProgress& MissionManager::_internal_resolve_no_forward_progress()
const {
3248 return *resolve_no_forward_progress_;
3251 const ::jaiabot::config::MissionManager_ResolveNoForwardProgress* p = resolve_no_forward_progress_;
3258 clear_has_resolve_no_forward_progress();
3260 resolve_no_forward_progress_ = NULL;
3264 set_has_resolve_no_forward_progress();
3265 if (resolve_no_forward_progress_ == NULL) {
3266 auto* p = CreateMaybeMessage<::jaiabot::config::MissionManager_ResolveNoForwardProgress>(GetArenaNoVirtual());
3267 resolve_no_forward_progress_ = p;
3270 return resolve_no_forward_progress_;
3273 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3274 if (message_arena == NULL) {
3275 delete resolve_no_forward_progress_;
3278 ::google::protobuf::Arena* submessage_arena = NULL;
3279 if (message_arena != submessage_arena) {
3283 set_has_resolve_no_forward_progress();
3285 clear_has_resolve_no_forward_progress();
3292 #pragma GCC diagnostic pop
3303 namespace protobuf {
3307 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::config::MissionManager_RemoteControlSetpointEnd>() {
3312 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::config::MissionManager_DownloadFileTypes>() {
3317 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::config::MissionManager_EngineeringTestMode>() {
3326 #endif // PROTOBUF_INCLUDED_bin_2fmission_5fmanager_2fconfig_2eproto