|
@@ -60,6 +60,11 @@ class Ground_status_msgDefaultTypeInternal {
|
|
|
::google::protobuf::internal::ExplicitlyConstructed<Ground_status_msg>
|
|
|
_instance;
|
|
|
} _Ground_status_msg_default_instance_;
|
|
|
+class measure_infoDefaultTypeInternal {
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<measure_info>
|
|
|
+ _instance;
|
|
|
+} _measure_info_default_instance_;
|
|
|
class Cloud_coordinateDefaultTypeInternal {
|
|
|
public:
|
|
|
::google::protobuf::internal::ExplicitlyConstructed<Cloud_coordinate>
|
|
@@ -186,6 +191,20 @@ static void InitDefaultsGround_status_msg() {
|
|
|
&protobuf_message_5fbase_2eproto::scc_info_Error_manager.base,
|
|
|
&protobuf_measure_5fmessage_2eproto::scc_info_Cloud_coordinate.base,}};
|
|
|
|
|
|
+static void InitDefaultsmeasure_info() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
+
|
|
|
+ {
|
|
|
+ void* ptr = &::message::_measure_info_default_instance_;
|
|
|
+ new (ptr) ::message::measure_info();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::message::measure_info::InitAsDefaultInstance();
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::internal::SCCInfo<0> scc_info_measure_info =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsmeasure_info}, {}};
|
|
|
+
|
|
|
static void InitDefaultsCloud_coordinate() {
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
@@ -256,13 +275,14 @@ void InitDefaults() {
|
|
|
::google::protobuf::internal::InitSCC(&scc_info_Ground_detect_request_msg.base);
|
|
|
::google::protobuf::internal::InitSCC(&scc_info_Ground_detect_response_msg.base);
|
|
|
::google::protobuf::internal::InitSCC(&scc_info_Ground_status_msg.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_measure_info.base);
|
|
|
::google::protobuf::internal::InitSCC(&scc_info_Cloud_coordinate.base);
|
|
|
::google::protobuf::internal::InitSCC(&scc_info_Cloud_type.base);
|
|
|
::google::protobuf::internal::InitSCC(&scc_info_Locate_sift_request_msg.base);
|
|
|
::google::protobuf::internal::InitSCC(&scc_info_Locate_sift_response_msg.base);
|
|
|
}
|
|
|
|
|
|
-::google::protobuf::Metadata file_level_metadata[10];
|
|
|
+::google::protobuf::Metadata file_level_metadata[11];
|
|
|
const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[7];
|
|
|
|
|
|
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
@@ -360,6 +380,31 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
7,
|
|
|
3,
|
|
|
~0u,
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::measure_info, _has_bits_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::measure_info, _internal_metadata_),
|
|
|
+ ~0u, // no _extensions_
|
|
|
+ ~0u, // no _oneof_case_
|
|
|
+ ~0u, // no _weak_field_map_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::measure_info, cx_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::measure_info, cy_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::measure_info, theta_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::measure_info, length_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::measure_info, width_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::measure_info, height_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::measure_info, wheelbase_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::measure_info, front_theta_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::measure_info, border_statu_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::measure_info, ground_status_),
|
|
|
+ 0,
|
|
|
+ 1,
|
|
|
+ 2,
|
|
|
+ 3,
|
|
|
+ 4,
|
|
|
+ 5,
|
|
|
+ 6,
|
|
|
+ 7,
|
|
|
+ 8,
|
|
|
+ 9,
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Cloud_coordinate, _has_bits_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Cloud_coordinate, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
@@ -418,10 +463,11 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROT
|
|
|
{ 43, 51, sizeof(::message::Ground_detect_request_msg)},
|
|
|
{ 54, 64, sizeof(::message::Ground_detect_response_msg)},
|
|
|
{ 69, 84, sizeof(::message::Ground_status_msg)},
|
|
|
- { 94, 102, sizeof(::message::Cloud_coordinate)},
|
|
|
- { 105, 111, sizeof(::message::Cloud_type)},
|
|
|
- { 112, 122, sizeof(::message::Locate_sift_request_msg)},
|
|
|
- { 127, 138, sizeof(::message::Locate_sift_response_msg)},
|
|
|
+ { 94, 109, sizeof(::message::measure_info)},
|
|
|
+ { 119, 127, sizeof(::message::Cloud_coordinate)},
|
|
|
+ { 130, 136, sizeof(::message::Cloud_type)},
|
|
|
+ { 137, 147, sizeof(::message::Locate_sift_request_msg)},
|
|
|
+ { 152, 163, sizeof(::message::Locate_sift_response_msg)},
|
|
|
};
|
|
|
|
|
|
static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
@@ -431,6 +477,7 @@ static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Ground_detect_request_msg_default_instance_),
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Ground_detect_response_msg_default_instance_),
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Ground_status_msg_default_instance_),
|
|
|
+ reinterpret_cast<const ::google::protobuf::Message*>(&::message::_measure_info_default_instance_),
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Cloud_coordinate_default_instance_),
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Cloud_type_default_instance_),
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Locate_sift_request_msg_default_instance_),
|
|
@@ -452,7 +499,7 @@ void protobuf_AssignDescriptorsOnce() {
|
|
|
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
|
|
|
void protobuf_RegisterTypes(const ::std::string&) {
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
- ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 10);
|
|
|
+ ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 11);
|
|
|
}
|
|
|
|
|
|
void AddDescriptorsImpl() {
|
|
@@ -498,49 +545,54 @@ void AddDescriptorsImpl() {
|
|
|
"round_statu\022\025\n\rborder_status\030\010 \002(\005\022-\n\rer"
|
|
|
"ror_manager\030\t \002(\0132\026.message.Error_manage"
|
|
|
"r\022(\n\005cloud\030\n \003(\0132\031.message.Cloud_coordin"
|
|
|
- "ate\"3\n\020Cloud_coordinate\022\t\n\001x\030\001 \002(\002\022\t\n\001y\030"
|
|
|
- "\002 \002(\002\022\t\n\001z\030\003 \002(\002\"\032\n\nCloud_type\022\014\n\004type\030\001"
|
|
|
- " \002(\005\"\304\001\n\027Locate_sift_request_msg\022%\n\tbase"
|
|
|
- "_info\030\001 \002(\0132\022.message.Base_info\022\023\n\013comma"
|
|
|
- "nd_key\030\002 \002(\t\022%\n\tid_struct\030\003 \002(\0132\022.messag"
|
|
|
- "e.Id_struct\022\020\n\010lidar_id\030\004 \002(\005\0224\n\021cloud_c"
|
|
|
- "oordinates\030\005 \003(\0132\031.message.Cloud_coordin"
|
|
|
- "ate\"\347\001\n\030Locate_sift_response_msg\022%\n\tbase"
|
|
|
- "_info\030\001 \002(\0132\022.message.Base_info\022\023\n\013comma"
|
|
|
- "nd_key\030\002 \002(\t\022%\n\tid_struct\030\003 \002(\0132\022.messag"
|
|
|
- "e.Id_struct\022\020\n\010lidar_id\030\004 \002(\005\022\'\n\ncloud_t"
|
|
|
- "ype\030\005 \003(\0132\023.message.Cloud_type\022-\n\rerror_"
|
|
|
- "manager\030\006 \002(\0132\026.message.Error_manager*\237\001"
|
|
|
- "\n\024Laser_manager_status\022\030\n\024LASER_MANAGER_"
|
|
|
- "UNKNOW\020\000\022\027\n\023LASER_MANAGER_READY\020\001\022\035\n\031LAS"
|
|
|
- "ER_MANAGER_ISSUED_TASK\020\002\022\034\n\030LASER_MANAGE"
|
|
|
- "R_WAIT_REPLY\020\003\022\027\n\023LASER_MANAGER_FAULT\020\004*"
|
|
|
- "U\n\013Laser_statu\022\024\n\020LASER_DISCONNECT\020\000\022\017\n\013"
|
|
|
- "LASER_READY\020\001\022\016\n\nLASER_BUSY\020\002\022\017\n\013LASER_F"
|
|
|
- "AULT\020\003*\261\001\n\025Locate_manager_status\022\031\n\025LOCA"
|
|
|
- "TE_MANAGER_UNKNOW\020\000\022\030\n\024LOCATE_MANAGER_RE"
|
|
|
- "ADY\020\001\022\027\n\023LOCATE_MANAGER_SIFT\020\002\022\026\n\022LOCATE"
|
|
|
- "_MANAGER_CAR\020\003\022\030\n\024LOCATE_MANAGER_WHEEL\020\004"
|
|
|
- "\022\030\n\024LOCATE_MANAGER_FAULT\020\005*\367\001\n\024Wanji_man"
|
|
|
- "ager_status\022\031\n\025WANJI_MANAGER_UNKNOWN\020\000\022\027"
|
|
|
- "\n\023WANJI_MANAGER_READY\020\001\022\026\n\022WANJI_MANAGER"
|
|
|
- "_BUSY\020\002\022\035\n\031WANJI_MANAGER_ISSUED_SCAN\020\003\022\033"
|
|
|
- "\n\027WANJI_MANAGER_WAIT_SCAN\020\004\022\037\n\033WANJI_MAN"
|
|
|
- "AGER_ISSUED_DETECT\020\005\022\035\n\031WANJI_MANAGER_WA"
|
|
|
- "IT_DETECT\020\006\022\027\n\023WANJI_MANAGER_FAULT\020\n*\267\001\n"
|
|
|
- "\031Wanji_lidar_device_status\022\036\n\032WANJI_LIDA"
|
|
|
- "R_DEVICE_UNKNOWN\020\000\022\034\n\030WANJI_LIDAR_DEVICE"
|
|
|
- "_READY\020\001\022!\n\035WANJI_LIDAR_DEVICE_DISCONNEC"
|
|
|
- "T\020\002\022\033\n\027WANJI_LIDAR_DEVICE_BUSY\020\003\022\034\n\030WANJ"
|
|
|
- "I_LIDAR_DEVICE_FAULT\020\n*{\n\024Region_worker_"
|
|
|
- "status\022\031\n\025REGION_WORKER_UNKNOWN\020\000\022\027\n\023REG"
|
|
|
- "ION_WORKER_READY\020\001\022\026\n\022REGION_WORKER_BUSY"
|
|
|
- "\020\002\022\027\n\023REGION_WORKER_FAULT\020\n*O\n\014Ground_st"
|
|
|
- "atu\022\013\n\007Nothing\020\000\022\t\n\005Noise\020\001\022\017\n\013Car_corre"
|
|
|
- "ct\020\002\022\026\n\022Car_border_reached\020\003"
|
|
|
+ "ate\"\271\001\n\014measure_info\022\n\n\002cx\030\001 \002(\002\022\n\n\002cy\030\002"
|
|
|
+ " \002(\002\022\r\n\005theta\030\003 \002(\002\022\016\n\006length\030\004 \002(\002\022\r\n\005w"
|
|
|
+ "idth\030\005 \002(\002\022\016\n\006height\030\006 \002(\002\022\021\n\twheelbase\030"
|
|
|
+ "\007 \002(\002\022\023\n\013front_theta\030\010 \002(\002\022\024\n\014border_sta"
|
|
|
+ "tu\030\t \002(\005\022\025\n\rground_status\030\n \002(\005\"3\n\020Cloud"
|
|
|
+ "_coordinate\022\t\n\001x\030\001 \002(\002\022\t\n\001y\030\002 \002(\002\022\t\n\001z\030\003"
|
|
|
+ " \002(\002\"\032\n\nCloud_type\022\014\n\004type\030\001 \002(\005\"\304\001\n\027Loc"
|
|
|
+ "ate_sift_request_msg\022%\n\tbase_info\030\001 \002(\0132"
|
|
|
+ "\022.message.Base_info\022\023\n\013command_key\030\002 \002(\t"
|
|
|
+ "\022%\n\tid_struct\030\003 \002(\0132\022.message.Id_struct\022"
|
|
|
+ "\020\n\010lidar_id\030\004 \002(\005\0224\n\021cloud_coordinates\030\005"
|
|
|
+ " \003(\0132\031.message.Cloud_coordinate\"\347\001\n\030Loca"
|
|
|
+ "te_sift_response_msg\022%\n\tbase_info\030\001 \002(\0132"
|
|
|
+ "\022.message.Base_info\022\023\n\013command_key\030\002 \002(\t"
|
|
|
+ "\022%\n\tid_struct\030\003 \002(\0132\022.message.Id_struct\022"
|
|
|
+ "\020\n\010lidar_id\030\004 \002(\005\022\'\n\ncloud_type\030\005 \003(\0132\023."
|
|
|
+ "message.Cloud_type\022-\n\rerror_manager\030\006 \002("
|
|
|
+ "\0132\026.message.Error_manager*\237\001\n\024Laser_mana"
|
|
|
+ "ger_status\022\030\n\024LASER_MANAGER_UNKNOW\020\000\022\027\n\023"
|
|
|
+ "LASER_MANAGER_READY\020\001\022\035\n\031LASER_MANAGER_I"
|
|
|
+ "SSUED_TASK\020\002\022\034\n\030LASER_MANAGER_WAIT_REPLY"
|
|
|
+ "\020\003\022\027\n\023LASER_MANAGER_FAULT\020\004*U\n\013Laser_sta"
|
|
|
+ "tu\022\024\n\020LASER_DISCONNECT\020\000\022\017\n\013LASER_READY\020"
|
|
|
+ "\001\022\016\n\nLASER_BUSY\020\002\022\017\n\013LASER_FAULT\020\003*\261\001\n\025L"
|
|
|
+ "ocate_manager_status\022\031\n\025LOCATE_MANAGER_U"
|
|
|
+ "NKNOW\020\000\022\030\n\024LOCATE_MANAGER_READY\020\001\022\027\n\023LOC"
|
|
|
+ "ATE_MANAGER_SIFT\020\002\022\026\n\022LOCATE_MANAGER_CAR"
|
|
|
+ "\020\003\022\030\n\024LOCATE_MANAGER_WHEEL\020\004\022\030\n\024LOCATE_M"
|
|
|
+ "ANAGER_FAULT\020\005*\367\001\n\024Wanji_manager_status\022"
|
|
|
+ "\031\n\025WANJI_MANAGER_UNKNOWN\020\000\022\027\n\023WANJI_MANA"
|
|
|
+ "GER_READY\020\001\022\026\n\022WANJI_MANAGER_BUSY\020\002\022\035\n\031W"
|
|
|
+ "ANJI_MANAGER_ISSUED_SCAN\020\003\022\033\n\027WANJI_MANA"
|
|
|
+ "GER_WAIT_SCAN\020\004\022\037\n\033WANJI_MANAGER_ISSUED_"
|
|
|
+ "DETECT\020\005\022\035\n\031WANJI_MANAGER_WAIT_DETECT\020\006\022"
|
|
|
+ "\027\n\023WANJI_MANAGER_FAULT\020\n*\267\001\n\031Wanji_lidar"
|
|
|
+ "_device_status\022\036\n\032WANJI_LIDAR_DEVICE_UNK"
|
|
|
+ "NOWN\020\000\022\034\n\030WANJI_LIDAR_DEVICE_READY\020\001\022!\n\035"
|
|
|
+ "WANJI_LIDAR_DEVICE_DISCONNECT\020\002\022\033\n\027WANJI"
|
|
|
+ "_LIDAR_DEVICE_BUSY\020\003\022\034\n\030WANJI_LIDAR_DEVI"
|
|
|
+ "CE_FAULT\020\n*{\n\024Region_worker_status\022\031\n\025RE"
|
|
|
+ "GION_WORKER_UNKNOWN\020\000\022\027\n\023REGION_WORKER_R"
|
|
|
+ "EADY\020\001\022\026\n\022REGION_WORKER_BUSY\020\002\022\027\n\023REGION"
|
|
|
+ "_WORKER_FAULT\020\n*O\n\014Ground_statu\022\013\n\007Nothi"
|
|
|
+ "ng\020\000\022\t\n\005Noise\020\001\022\017\n\013Car_correct\020\002\022\026\n\022Car_"
|
|
|
+ "border_reached\020\003"
|
|
|
};
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
- descriptor, 3188);
|
|
|
+ descriptor, 3376);
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
"measure_message.proto", &protobuf_RegisterTypes);
|
|
|
::protobuf_message_5fbase_2eproto::AddDescriptors();
|
|
@@ -3763,6 +3815,608 @@ void Ground_status_msg::InternalSwap(Ground_status_msg* other) {
|
|
|
}
|
|
|
|
|
|
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+void measure_info::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+const int measure_info::kCxFieldNumber;
|
|
|
+const int measure_info::kCyFieldNumber;
|
|
|
+const int measure_info::kThetaFieldNumber;
|
|
|
+const int measure_info::kLengthFieldNumber;
|
|
|
+const int measure_info::kWidthFieldNumber;
|
|
|
+const int measure_info::kHeightFieldNumber;
|
|
|
+const int measure_info::kWheelbaseFieldNumber;
|
|
|
+const int measure_info::kFrontThetaFieldNumber;
|
|
|
+const int measure_info::kBorderStatuFieldNumber;
|
|
|
+const int measure_info::kGroundStatusFieldNumber;
|
|
|
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+
|
|
|
+measure_info::measure_info()
|
|
|
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_measure_5fmessage_2eproto::scc_info_measure_info.base);
|
|
|
+ SharedCtor();
|
|
|
+ // @@protoc_insertion_point(constructor:message.measure_info)
|
|
|
+}
|
|
|
+measure_info::measure_info(const measure_info& from)
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL),
|
|
|
+ _has_bits_(from._has_bits_) {
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::memcpy(&cx_, &from.cx_,
|
|
|
+ static_cast<size_t>(reinterpret_cast<char*>(&ground_status_) -
|
|
|
+ reinterpret_cast<char*>(&cx_)) + sizeof(ground_status_));
|
|
|
+ // @@protoc_insertion_point(copy_constructor:message.measure_info)
|
|
|
+}
|
|
|
+
|
|
|
+void measure_info::SharedCtor() {
|
|
|
+ ::memset(&cx_, 0, static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&ground_status_) -
|
|
|
+ reinterpret_cast<char*>(&cx_)) + sizeof(ground_status_));
|
|
|
+}
|
|
|
+
|
|
|
+measure_info::~measure_info() {
|
|
|
+ // @@protoc_insertion_point(destructor:message.measure_info)
|
|
|
+ SharedDtor();
|
|
|
+}
|
|
|
+
|
|
|
+void measure_info::SharedDtor() {
|
|
|
+}
|
|
|
+
|
|
|
+void measure_info::SetCachedSize(int size) const {
|
|
|
+ _cached_size_.Set(size);
|
|
|
+}
|
|
|
+const ::google::protobuf::Descriptor* measure_info::descriptor() {
|
|
|
+ ::protobuf_measure_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_measure_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
+}
|
|
|
+
|
|
|
+const measure_info& measure_info::default_instance() {
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_measure_5fmessage_2eproto::scc_info_measure_info.base);
|
|
|
+ return *internal_default_instance();
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+void measure_info::Clear() {
|
|
|
+// @@protoc_insertion_point(message_clear_start:message.measure_info)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ // Prevent compiler warnings about cached_has_bits being unused
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ cached_has_bits = _has_bits_[0];
|
|
|
+ if (cached_has_bits & 255u) {
|
|
|
+ ::memset(&cx_, 0, static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&front_theta_) -
|
|
|
+ reinterpret_cast<char*>(&cx_)) + sizeof(front_theta_));
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 768u) {
|
|
|
+ ::memset(&border_statu_, 0, static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&ground_status_) -
|
|
|
+ reinterpret_cast<char*>(&border_statu_)) + sizeof(ground_status_));
|
|
|
+ }
|
|
|
+ _has_bits_.Clear();
|
|
|
+ _internal_metadata_.Clear();
|
|
|
+}
|
|
|
+
|
|
|
+bool measure_info::MergePartialFromCodedStream(
|
|
|
+ ::google::protobuf::io::CodedInputStream* input) {
|
|
|
+#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
+ ::google::protobuf::uint32 tag;
|
|
|
+ // @@protoc_insertion_point(parse_start:message.measure_info)
|
|
|
+ for (;;) {
|
|
|
+ ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ tag = p.first;
|
|
|
+ if (!p.second) goto handle_unusual;
|
|
|
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
+ // required float cx = 1;
|
|
|
+ case 1: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(13u /* 13 & 0xFF */)) {
|
|
|
+ set_has_cx();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
+ input, &cx_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float cy = 2;
|
|
|
+ case 2: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) {
|
|
|
+ set_has_cy();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
+ input, &cy_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float theta = 3;
|
|
|
+ case 3: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(29u /* 29 & 0xFF */)) {
|
|
|
+ set_has_theta();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
+ input, &theta_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float length = 4;
|
|
|
+ case 4: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(37u /* 37 & 0xFF */)) {
|
|
|
+ set_has_length();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
+ input, &length_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float width = 5;
|
|
|
+ case 5: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(45u /* 45 & 0xFF */)) {
|
|
|
+ set_has_width();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
+ input, &width_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float height = 6;
|
|
|
+ case 6: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(53u /* 53 & 0xFF */)) {
|
|
|
+ set_has_height();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
+ input, &height_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float wheelbase = 7;
|
|
|
+ case 7: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) {
|
|
|
+ set_has_wheelbase();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
+ input, &wheelbase_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float front_theta = 8;
|
|
|
+ case 8: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(69u /* 69 & 0xFF */)) {
|
|
|
+ set_has_front_theta();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
+ input, &front_theta_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // required int32 border_statu = 9;
|
|
|
+ case 9: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
|
|
|
+ set_has_border_statu();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
+ input, &border_statu_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // required int32 ground_status = 10;
|
|
|
+ case 10: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
|
|
|
+ set_has_ground_status();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
+ input, &ground_status_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ default: {
|
|
|
+ handle_unusual:
|
|
|
+ if (tag == 0) {
|
|
|
+ goto success;
|
|
|
+ }
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+success:
|
|
|
+ // @@protoc_insertion_point(parse_success:message.measure_info)
|
|
|
+ return true;
|
|
|
+failure:
|
|
|
+ // @@protoc_insertion_point(parse_failure:message.measure_info)
|
|
|
+ return false;
|
|
|
+#undef DO_
|
|
|
+}
|
|
|
+
|
|
|
+void measure_info::SerializeWithCachedSizes(
|
|
|
+ ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
+ // @@protoc_insertion_point(serialize_start:message.measure_info)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ cached_has_bits = _has_bits_[0];
|
|
|
+ // required float cx = 1;
|
|
|
+ if (cached_has_bits & 0x00000001u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->cx(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float cy = 2;
|
|
|
+ if (cached_has_bits & 0x00000002u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->cy(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float theta = 3;
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->theta(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float length = 4;
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->length(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float width = 5;
|
|
|
+ if (cached_has_bits & 0x00000010u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->width(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float height = 6;
|
|
|
+ if (cached_has_bits & 0x00000020u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->height(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float wheelbase = 7;
|
|
|
+ if (cached_has_bits & 0x00000040u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->wheelbase(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float front_theta = 8;
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->front_theta(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required int32 border_statu = 9;
|
|
|
+ if (cached_has_bits & 0x00000100u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->border_statu(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required int32 ground_status = 10;
|
|
|
+ if (cached_has_bits & 0x00000200u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->ground_status(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ if (_internal_metadata_.have_unknown_fields()) {
|
|
|
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
+ _internal_metadata_.unknown_fields(), output);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_end:message.measure_info)
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::uint8* measure_info::InternalSerializeWithCachedSizesToArray(
|
|
|
+ bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
+ (void)deterministic; // Unused
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_start:message.measure_info)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ cached_has_bits = _has_bits_[0];
|
|
|
+ // required float cx = 1;
|
|
|
+ if (cached_has_bits & 0x00000001u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->cx(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float cy = 2;
|
|
|
+ if (cached_has_bits & 0x00000002u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->cy(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float theta = 3;
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->theta(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float length = 4;
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->length(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float width = 5;
|
|
|
+ if (cached_has_bits & 0x00000010u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->width(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float height = 6;
|
|
|
+ if (cached_has_bits & 0x00000020u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->height(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float wheelbase = 7;
|
|
|
+ if (cached_has_bits & 0x00000040u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->wheelbase(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float front_theta = 8;
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->front_theta(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required int32 border_statu = 9;
|
|
|
+ if (cached_has_bits & 0x00000100u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->border_statu(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required int32 ground_status = 10;
|
|
|
+ if (cached_has_bits & 0x00000200u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->ground_status(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ if (_internal_metadata_.have_unknown_fields()) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ _internal_metadata_.unknown_fields(), target);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:message.measure_info)
|
|
|
+ return target;
|
|
|
+}
|
|
|
+
|
|
|
+size_t measure_info::RequiredFieldsByteSizeFallback() const {
|
|
|
+// @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.measure_info)
|
|
|
+ size_t total_size = 0;
|
|
|
+
|
|
|
+ if (has_cx()) {
|
|
|
+ // required float cx = 1;
|
|
|
+ total_size += 1 + 4;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (has_cy()) {
|
|
|
+ // required float cy = 2;
|
|
|
+ total_size += 1 + 4;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (has_theta()) {
|
|
|
+ // required float theta = 3;
|
|
|
+ total_size += 1 + 4;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (has_length()) {
|
|
|
+ // required float length = 4;
|
|
|
+ total_size += 1 + 4;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (has_width()) {
|
|
|
+ // required float width = 5;
|
|
|
+ total_size += 1 + 4;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (has_height()) {
|
|
|
+ // required float height = 6;
|
|
|
+ total_size += 1 + 4;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (has_wheelbase()) {
|
|
|
+ // required float wheelbase = 7;
|
|
|
+ total_size += 1 + 4;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (has_front_theta()) {
|
|
|
+ // required float front_theta = 8;
|
|
|
+ total_size += 1 + 4;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (has_border_statu()) {
|
|
|
+ // required int32 border_statu = 9;
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
+ this->border_statu());
|
|
|
+ }
|
|
|
+
|
|
|
+ if (has_ground_status()) {
|
|
|
+ // required int32 ground_status = 10;
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
+ this->ground_status());
|
|
|
+ }
|
|
|
+
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+size_t measure_info::ByteSizeLong() const {
|
|
|
+// @@protoc_insertion_point(message_byte_size_start:message.measure_info)
|
|
|
+ size_t total_size = 0;
|
|
|
+
|
|
|
+ if (_internal_metadata_.have_unknown_fields()) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ _internal_metadata_.unknown_fields());
|
|
|
+ }
|
|
|
+ if (((_has_bits_[0] & 0x000003ff) ^ 0x000003ff) == 0) { // All required fields are present.
|
|
|
+ // required float cx = 1;
|
|
|
+ total_size += 1 + 4;
|
|
|
+
|
|
|
+ // required float cy = 2;
|
|
|
+ total_size += 1 + 4;
|
|
|
+
|
|
|
+ // required float theta = 3;
|
|
|
+ total_size += 1 + 4;
|
|
|
+
|
|
|
+ // required float length = 4;
|
|
|
+ total_size += 1 + 4;
|
|
|
+
|
|
|
+ // required float width = 5;
|
|
|
+ total_size += 1 + 4;
|
|
|
+
|
|
|
+ // required float height = 6;
|
|
|
+ total_size += 1 + 4;
|
|
|
+
|
|
|
+ // required float wheelbase = 7;
|
|
|
+ total_size += 1 + 4;
|
|
|
+
|
|
|
+ // required float front_theta = 8;
|
|
|
+ total_size += 1 + 4;
|
|
|
+
|
|
|
+ // required int32 border_statu = 9;
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
+ this->border_statu());
|
|
|
+
|
|
|
+ // required int32 ground_status = 10;
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
+ this->ground_status());
|
|
|
+
|
|
|
+ } else {
|
|
|
+ total_size += RequiredFieldsByteSizeFallback();
|
|
|
+ }
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ SetCachedSize(cached_size);
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void measure_info::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_merge_from_start:message.measure_info)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ const measure_info* source =
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const measure_info>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.measure_info)
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ } else {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:message.measure_info)
|
|
|
+ MergeFrom(*source);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void measure_info::MergeFrom(const measure_info& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_merge_from_start:message.measure_info)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ cached_has_bits = from._has_bits_[0];
|
|
|
+ if (cached_has_bits & 255u) {
|
|
|
+ if (cached_has_bits & 0x00000001u) {
|
|
|
+ cx_ = from.cx_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000002u) {
|
|
|
+ cy_ = from.cy_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
+ theta_ = from.theta_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
+ length_ = from.length_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000010u) {
|
|
|
+ width_ = from.width_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000020u) {
|
|
|
+ height_ = from.height_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000040u) {
|
|
|
+ wheelbase_ = from.wheelbase_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000080u) {
|
|
|
+ front_theta_ = from.front_theta_;
|
|
|
+ }
|
|
|
+ _has_bits_[0] |= cached_has_bits;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 768u) {
|
|
|
+ if (cached_has_bits & 0x00000100u) {
|
|
|
+ border_statu_ = from.border_statu_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000200u) {
|
|
|
+ ground_status_ = from.ground_status_;
|
|
|
+ }
|
|
|
+ _has_bits_[0] |= cached_has_bits;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void measure_info::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_copy_from_start:message.measure_info)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+void measure_info::CopyFrom(const measure_info& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_copy_from_start:message.measure_info)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+bool measure_info::IsInitialized() const {
|
|
|
+ if ((_has_bits_[0] & 0x000003ff) != 0x000003ff) return false;
|
|
|
+ return true;
|
|
|
+}
|
|
|
+
|
|
|
+void measure_info::Swap(measure_info* other) {
|
|
|
+ if (other == this) return;
|
|
|
+ InternalSwap(other);
|
|
|
+}
|
|
|
+void measure_info::InternalSwap(measure_info* other) {
|
|
|
+ using std::swap;
|
|
|
+ swap(cx_, other->cx_);
|
|
|
+ swap(cy_, other->cy_);
|
|
|
+ swap(theta_, other->theta_);
|
|
|
+ swap(length_, other->length_);
|
|
|
+ swap(width_, other->width_);
|
|
|
+ swap(height_, other->height_);
|
|
|
+ swap(wheelbase_, other->wheelbase_);
|
|
|
+ swap(front_theta_, other->front_theta_);
|
|
|
+ swap(border_statu_, other->border_statu_);
|
|
|
+ swap(ground_status_, other->ground_status_);
|
|
|
+ swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::Metadata measure_info::GetMetadata() const {
|
|
|
+ protobuf_measure_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_measure_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
// ===================================================================
|
|
|
|
|
|
void Cloud_coordinate::InitAsDefaultInstance() {
|
|
@@ -5367,6 +6021,9 @@ template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Ground_detect_response_
|
|
|
template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Ground_status_msg* Arena::CreateMaybeMessage< ::message::Ground_status_msg >(Arena* arena) {
|
|
|
return Arena::CreateInternal< ::message::Ground_status_msg >(arena);
|
|
|
}
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::measure_info* Arena::CreateMaybeMessage< ::message::measure_info >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::message::measure_info >(arena);
|
|
|
+}
|
|
|
template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Cloud_coordinate* Arena::CreateMaybeMessage< ::message::Cloud_coordinate >(Arena* arena) {
|
|
|
return Arena::CreateInternal< ::message::Cloud_coordinate >(arena);
|
|
|
}
|