Browse Source

measure msg for rabbitmq updated

yct 2 years ago
parent
commit
f16555df62
4 changed files with 1105 additions and 54 deletions
  1. 653 47
      message/measure_message.pb.cc
  2. 428 5
      message/measure_message.pb.h
  3. 12 1
      message/measure_message.proto
  4. 12 1
      system/system_executor.cpp

+ 653 - 47
message/measure_message.pb.cc

@@ -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,29 @@ 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_stuta_),
+  0,
+  1,
+  2,
+  3,
+  4,
+  5,
+  6,
+  7,
+  8,
   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 +461,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, 108, sizeof(::message::measure_info)},
+  { 117, 125, sizeof(::message::Cloud_coordinate)},
+  { 128, 134, sizeof(::message::Cloud_type)},
+  { 135, 145, sizeof(::message::Locate_sift_request_msg)},
+  { 150, 161, sizeof(::message::Locate_sift_response_msg)},
 };
 
 static ::google::protobuf::Message const * const file_default_instances[] = {
@@ -431,6 +475,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 +497,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 +543,53 @@ 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\"\242\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_stu"
+      "ta\030\t \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\004t"
+      "ype\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\013"
+      "command_key\030\002 \002(\t\022%\n\tid_struct\030\003 \002(\0132\022.m"
+      "essage.Id_struct\022\020\n\010lidar_id\030\004 \002(\005\0224\n\021cl"
+      "oud_coordinates\030\005 \003(\0132\031.message.Cloud_co"
+      "ordinate\"\347\001\n\030Locate_sift_response_msg\022%\n"
+      "\tbase_info\030\001 \002(\0132\022.message.Base_info\022\023\n\013"
+      "command_key\030\002 \002(\t\022%\n\tid_struct\030\003 \002(\0132\022.m"
+      "essage.Id_struct\022\020\n\010lidar_id\030\004 \002(\005\022\'\n\ncl"
+      "oud_type\030\005 \003(\0132\023.message.Cloud_type\022-\n\re"
+      "rror_manager\030\006 \002(\0132\026.message.Error_manag"
+      "er*\237\001\n\024Laser_manager_status\022\030\n\024LASER_MAN"
+      "AGER_UNKNOW\020\000\022\027\n\023LASER_MANAGER_READY\020\001\022\035"
+      "\n\031LASER_MANAGER_ISSUED_TASK\020\002\022\034\n\030LASER_M"
+      "ANAGER_WAIT_REPLY\020\003\022\027\n\023LASER_MANAGER_FAU"
+      "LT\020\004*U\n\013Laser_statu\022\024\n\020LASER_DISCONNECT\020"
+      "\000\022\017\n\013LASER_READY\020\001\022\016\n\nLASER_BUSY\020\002\022\017\n\013LA"
+      "SER_FAULT\020\003*\261\001\n\025Locate_manager_status\022\031\n"
+      "\025LOCATE_MANAGER_UNKNOW\020\000\022\030\n\024LOCATE_MANAG"
+      "ER_READY\020\001\022\027\n\023LOCATE_MANAGER_SIFT\020\002\022\026\n\022L"
+      "OCATE_MANAGER_CAR\020\003\022\030\n\024LOCATE_MANAGER_WH"
+      "EEL\020\004\022\030\n\024LOCATE_MANAGER_FAULT\020\005*\367\001\n\024Wanj"
+      "i_manager_status\022\031\n\025WANJI_MANAGER_UNKNOW"
+      "N\020\000\022\027\n\023WANJI_MANAGER_READY\020\001\022\026\n\022WANJI_MA"
+      "NAGER_BUSY\020\002\022\035\n\031WANJI_MANAGER_ISSUED_SCA"
+      "N\020\003\022\033\n\027WANJI_MANAGER_WAIT_SCAN\020\004\022\037\n\033WANJ"
+      "I_MANAGER_ISSUED_DETECT\020\005\022\035\n\031WANJI_MANAG"
+      "ER_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_UNKNOWN\020\000\022\034\n\030WANJI_LIDAR_D"
+      "EVICE_READY\020\001\022!\n\035WANJI_LIDAR_DEVICE_DISC"
+      "ONNECT\020\002\022\033\n\027WANJI_LIDAR_DEVICE_BUSY\020\003\022\034\n"
+      "\030WANJI_LIDAR_DEVICE_FAULT\020\n*{\n\024Region_wo"
+      "rker_status\022\031\n\025REGION_WORKER_UNKNOWN\020\000\022\027"
+      "\n\023REGION_WORKER_READY\020\001\022\026\n\022REGION_WORKER"
+      "_BUSY\020\002\022\027\n\023REGION_WORKER_FAULT\020\n*O\n\014Grou"
+      "nd_statu\022\013\n\007Nothing\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, 3353);
   ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
     "measure_message.proto", &protobuf_RegisterTypes);
   ::protobuf_message_5fbase_2eproto::AddDescriptors();
@@ -3763,6 +3812,560 @@ 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::kBorderStutaFieldNumber;
+#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*>(&border_stuta_) -
+    reinterpret_cast<char*>(&cx_)) + sizeof(border_stuta_));
+  // @@protoc_insertion_point(copy_constructor:message.measure_info)
+}
+
+void measure_info::SharedCtor() {
+  ::memset(&cx_, 0, static_cast<size_t>(
+      reinterpret_cast<char*>(&border_stuta_) -
+      reinterpret_cast<char*>(&cx_)) + sizeof(border_stuta_));
+}
+
+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_));
+  }
+  border_stuta_ = 0;
+  _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_stuta = 9;
+      case 9: {
+        if (static_cast< ::google::protobuf::uint8>(tag) ==
+            static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
+          set_has_border_stuta();
+          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
+                 input, &border_stuta_)));
+        } 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_stuta = 9;
+  if (cached_has_bits & 0x00000100u) {
+    ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->border_stuta(), 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_stuta = 9;
+  if (cached_has_bits & 0x00000100u) {
+    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->border_stuta(), 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_stuta()) {
+    // required int32 border_stuta = 9;
+    total_size += 1 +
+      ::google::protobuf::internal::WireFormatLite::Int32Size(
+        this->border_stuta());
+  }
+
+  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] & 0x000001ff) ^ 0x000001ff) == 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_stuta = 9;
+    total_size += 1 +
+      ::google::protobuf::internal::WireFormatLite::Int32Size(
+        this->border_stuta());
+
+  } 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 & 0x00000100u) {
+    set_border_stuta(from.border_stuta());
+  }
+}
+
+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] & 0x000001ff) != 0x000001ff) 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_stuta_, other->border_stuta_);
+  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 +5970,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);
 }

+ 428 - 5
message/measure_message.pb.h

@@ -40,7 +40,7 @@ namespace protobuf_measure_5fmessage_2eproto {
 struct TableStruct {
   static const ::google::protobuf::internal::ParseTableField entries[];
   static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
-  static const ::google::protobuf::internal::ParseTable schema[10];
+  static const ::google::protobuf::internal::ParseTable schema[11];
   static const ::google::protobuf::internal::FieldMetadata field_metadata[];
   static const ::google::protobuf::internal::SerializationTable serialization_table[];
   static const ::google::protobuf::uint32 offsets[];
@@ -78,6 +78,9 @@ extern Measure_response_msgDefaultTypeInternal _Measure_response_msg_default_ins
 class Measure_status_msg;
 class Measure_status_msgDefaultTypeInternal;
 extern Measure_status_msgDefaultTypeInternal _Measure_status_msg_default_instance_;
+class measure_info;
+class measure_infoDefaultTypeInternal;
+extern measure_infoDefaultTypeInternal _measure_info_default_instance_;
 }  // namespace message
 namespace google {
 namespace protobuf {
@@ -91,6 +94,7 @@ template<> ::message::Locate_sift_response_msg* Arena::CreateMaybeMessage<::mess
 template<> ::message::Measure_request_msg* Arena::CreateMaybeMessage<::message::Measure_request_msg>(Arena*);
 template<> ::message::Measure_response_msg* Arena::CreateMaybeMessage<::message::Measure_response_msg>(Arena*);
 template<> ::message::Measure_status_msg* Arena::CreateMaybeMessage<::message::Measure_status_msg>(Arena*);
+template<> ::message::measure_info* Arena::CreateMaybeMessage<::message::measure_info>(Arena*);
 }  // namespace protobuf
 }  // namespace google
 namespace message {
@@ -1346,6 +1350,203 @@ class Ground_status_msg : public ::google::protobuf::Message /* @@protoc_inserti
 };
 // -------------------------------------------------------------------
 
+class measure_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.measure_info) */ {
+ public:
+  measure_info();
+  virtual ~measure_info();
+
+  measure_info(const measure_info& from);
+
+  inline measure_info& operator=(const measure_info& from) {
+    CopyFrom(from);
+    return *this;
+  }
+  #if LANG_CXX11
+  measure_info(measure_info&& from) noexcept
+    : measure_info() {
+    *this = ::std::move(from);
+  }
+
+  inline measure_info& operator=(measure_info&& from) noexcept {
+    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
+      if (this != &from) InternalSwap(&from);
+    } else {
+      CopyFrom(from);
+    }
+    return *this;
+  }
+  #endif
+  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+    return _internal_metadata_.unknown_fields();
+  }
+  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+    return _internal_metadata_.mutable_unknown_fields();
+  }
+
+  static const ::google::protobuf::Descriptor* descriptor();
+  static const measure_info& default_instance();
+
+  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
+  static inline const measure_info* internal_default_instance() {
+    return reinterpret_cast<const measure_info*>(
+               &_measure_info_default_instance_);
+  }
+  static constexpr int kIndexInFileMessages =
+    6;
+
+  void Swap(measure_info* other);
+  friend void swap(measure_info& a, measure_info& b) {
+    a.Swap(&b);
+  }
+
+  // implements Message ----------------------------------------------
+
+  inline measure_info* New() const final {
+    return CreateMaybeMessage<measure_info>(NULL);
+  }
+
+  measure_info* New(::google::protobuf::Arena* arena) const final {
+    return CreateMaybeMessage<measure_info>(arena);
+  }
+  void CopyFrom(const ::google::protobuf::Message& from) final;
+  void MergeFrom(const ::google::protobuf::Message& from) final;
+  void CopyFrom(const measure_info& from);
+  void MergeFrom(const measure_info& from);
+  void Clear() final;
+  bool IsInitialized() const final;
+
+  size_t ByteSizeLong() const final;
+  bool MergePartialFromCodedStream(
+      ::google::protobuf::io::CodedInputStream* input) final;
+  void SerializeWithCachedSizes(
+      ::google::protobuf::io::CodedOutputStream* output) const final;
+  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
+      bool deterministic, ::google::protobuf::uint8* target) const final;
+  int GetCachedSize() const final { return _cached_size_.Get(); }
+
+  private:
+  void SharedCtor();
+  void SharedDtor();
+  void SetCachedSize(int size) const final;
+  void InternalSwap(measure_info* other);
+  private:
+  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+    return NULL;
+  }
+  inline void* MaybeArenaPtr() const {
+    return NULL;
+  }
+  public:
+
+  ::google::protobuf::Metadata GetMetadata() const final;
+
+  // nested types ----------------------------------------------------
+
+  // accessors -------------------------------------------------------
+
+  // required float cx = 1;
+  bool has_cx() const;
+  void clear_cx();
+  static const int kCxFieldNumber = 1;
+  float cx() const;
+  void set_cx(float value);
+
+  // required float cy = 2;
+  bool has_cy() const;
+  void clear_cy();
+  static const int kCyFieldNumber = 2;
+  float cy() const;
+  void set_cy(float value);
+
+  // required float theta = 3;
+  bool has_theta() const;
+  void clear_theta();
+  static const int kThetaFieldNumber = 3;
+  float theta() const;
+  void set_theta(float value);
+
+  // required float length = 4;
+  bool has_length() const;
+  void clear_length();
+  static const int kLengthFieldNumber = 4;
+  float length() const;
+  void set_length(float value);
+
+  // required float width = 5;
+  bool has_width() const;
+  void clear_width();
+  static const int kWidthFieldNumber = 5;
+  float width() const;
+  void set_width(float value);
+
+  // required float height = 6;
+  bool has_height() const;
+  void clear_height();
+  static const int kHeightFieldNumber = 6;
+  float height() const;
+  void set_height(float value);
+
+  // required float wheelbase = 7;
+  bool has_wheelbase() const;
+  void clear_wheelbase();
+  static const int kWheelbaseFieldNumber = 7;
+  float wheelbase() const;
+  void set_wheelbase(float value);
+
+  // required float front_theta = 8;
+  bool has_front_theta() const;
+  void clear_front_theta();
+  static const int kFrontThetaFieldNumber = 8;
+  float front_theta() const;
+  void set_front_theta(float value);
+
+  // required int32 border_stuta = 9;
+  bool has_border_stuta() const;
+  void clear_border_stuta();
+  static const int kBorderStutaFieldNumber = 9;
+  ::google::protobuf::int32 border_stuta() const;
+  void set_border_stuta(::google::protobuf::int32 value);
+
+  // @@protoc_insertion_point(class_scope:message.measure_info)
+ private:
+  void set_has_cx();
+  void clear_has_cx();
+  void set_has_cy();
+  void clear_has_cy();
+  void set_has_theta();
+  void clear_has_theta();
+  void set_has_length();
+  void clear_has_length();
+  void set_has_width();
+  void clear_has_width();
+  void set_has_height();
+  void clear_has_height();
+  void set_has_wheelbase();
+  void clear_has_wheelbase();
+  void set_has_front_theta();
+  void clear_has_front_theta();
+  void set_has_border_stuta();
+  void clear_has_border_stuta();
+
+  // helper for ByteSizeLong()
+  size_t RequiredFieldsByteSizeFallback() const;
+
+  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
+  ::google::protobuf::internal::HasBits<1> _has_bits_;
+  mutable ::google::protobuf::internal::CachedSize _cached_size_;
+  float cx_;
+  float cy_;
+  float theta_;
+  float length_;
+  float width_;
+  float height_;
+  float wheelbase_;
+  float front_theta_;
+  ::google::protobuf::int32 border_stuta_;
+  friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
+};
+// -------------------------------------------------------------------
+
 class Cloud_coordinate : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Cloud_coordinate) */ {
  public:
   Cloud_coordinate();
@@ -1388,7 +1589,7 @@ class Cloud_coordinate : public ::google::protobuf::Message /* @@protoc_insertio
                &_Cloud_coordinate_default_instance_);
   }
   static constexpr int kIndexInFileMessages =
-    6;
+    7;
 
   void Swap(Cloud_coordinate* other);
   friend void swap(Cloud_coordinate& a, Cloud_coordinate& b) {
@@ -1525,7 +1726,7 @@ class Cloud_type : public ::google::protobuf::Message /* @@protoc_insertion_poin
                &_Cloud_type_default_instance_);
   }
   static constexpr int kIndexInFileMessages =
-    7;
+    8;
 
   void Swap(Cloud_type* other);
   friend void swap(Cloud_type& a, Cloud_type& b) {
@@ -1639,7 +1840,7 @@ class Locate_sift_request_msg : public ::google::protobuf::Message /* @@protoc_i
                &_Locate_sift_request_msg_default_instance_);
   }
   static constexpr int kIndexInFileMessages =
-    8;
+    9;
 
   void Swap(Locate_sift_request_msg* other);
   friend void swap(Locate_sift_request_msg& a, Locate_sift_request_msg& b) {
@@ -1817,7 +2018,7 @@ class Locate_sift_response_msg : public ::google::protobuf::Message /* @@protoc_
                &_Locate_sift_response_msg_default_instance_);
   }
   static constexpr int kIndexInFileMessages =
-    9;
+    10;
 
   void Swap(Locate_sift_response_msg* other);
   friend void swap(Locate_sift_response_msg& a, Locate_sift_response_msg& b) {
@@ -3532,6 +3733,226 @@ Ground_status_msg::cloud() const {
 
 // -------------------------------------------------------------------
 
+// measure_info
+
+// required float cx = 1;
+inline bool measure_info::has_cx() const {
+  return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void measure_info::set_has_cx() {
+  _has_bits_[0] |= 0x00000001u;
+}
+inline void measure_info::clear_has_cx() {
+  _has_bits_[0] &= ~0x00000001u;
+}
+inline void measure_info::clear_cx() {
+  cx_ = 0;
+  clear_has_cx();
+}
+inline float measure_info::cx() const {
+  // @@protoc_insertion_point(field_get:message.measure_info.cx)
+  return cx_;
+}
+inline void measure_info::set_cx(float value) {
+  set_has_cx();
+  cx_ = value;
+  // @@protoc_insertion_point(field_set:message.measure_info.cx)
+}
+
+// required float cy = 2;
+inline bool measure_info::has_cy() const {
+  return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void measure_info::set_has_cy() {
+  _has_bits_[0] |= 0x00000002u;
+}
+inline void measure_info::clear_has_cy() {
+  _has_bits_[0] &= ~0x00000002u;
+}
+inline void measure_info::clear_cy() {
+  cy_ = 0;
+  clear_has_cy();
+}
+inline float measure_info::cy() const {
+  // @@protoc_insertion_point(field_get:message.measure_info.cy)
+  return cy_;
+}
+inline void measure_info::set_cy(float value) {
+  set_has_cy();
+  cy_ = value;
+  // @@protoc_insertion_point(field_set:message.measure_info.cy)
+}
+
+// required float theta = 3;
+inline bool measure_info::has_theta() const {
+  return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void measure_info::set_has_theta() {
+  _has_bits_[0] |= 0x00000004u;
+}
+inline void measure_info::clear_has_theta() {
+  _has_bits_[0] &= ~0x00000004u;
+}
+inline void measure_info::clear_theta() {
+  theta_ = 0;
+  clear_has_theta();
+}
+inline float measure_info::theta() const {
+  // @@protoc_insertion_point(field_get:message.measure_info.theta)
+  return theta_;
+}
+inline void measure_info::set_theta(float value) {
+  set_has_theta();
+  theta_ = value;
+  // @@protoc_insertion_point(field_set:message.measure_info.theta)
+}
+
+// required float length = 4;
+inline bool measure_info::has_length() const {
+  return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void measure_info::set_has_length() {
+  _has_bits_[0] |= 0x00000008u;
+}
+inline void measure_info::clear_has_length() {
+  _has_bits_[0] &= ~0x00000008u;
+}
+inline void measure_info::clear_length() {
+  length_ = 0;
+  clear_has_length();
+}
+inline float measure_info::length() const {
+  // @@protoc_insertion_point(field_get:message.measure_info.length)
+  return length_;
+}
+inline void measure_info::set_length(float value) {
+  set_has_length();
+  length_ = value;
+  // @@protoc_insertion_point(field_set:message.measure_info.length)
+}
+
+// required float width = 5;
+inline bool measure_info::has_width() const {
+  return (_has_bits_[0] & 0x00000010u) != 0;
+}
+inline void measure_info::set_has_width() {
+  _has_bits_[0] |= 0x00000010u;
+}
+inline void measure_info::clear_has_width() {
+  _has_bits_[0] &= ~0x00000010u;
+}
+inline void measure_info::clear_width() {
+  width_ = 0;
+  clear_has_width();
+}
+inline float measure_info::width() const {
+  // @@protoc_insertion_point(field_get:message.measure_info.width)
+  return width_;
+}
+inline void measure_info::set_width(float value) {
+  set_has_width();
+  width_ = value;
+  // @@protoc_insertion_point(field_set:message.measure_info.width)
+}
+
+// required float height = 6;
+inline bool measure_info::has_height() const {
+  return (_has_bits_[0] & 0x00000020u) != 0;
+}
+inline void measure_info::set_has_height() {
+  _has_bits_[0] |= 0x00000020u;
+}
+inline void measure_info::clear_has_height() {
+  _has_bits_[0] &= ~0x00000020u;
+}
+inline void measure_info::clear_height() {
+  height_ = 0;
+  clear_has_height();
+}
+inline float measure_info::height() const {
+  // @@protoc_insertion_point(field_get:message.measure_info.height)
+  return height_;
+}
+inline void measure_info::set_height(float value) {
+  set_has_height();
+  height_ = value;
+  // @@protoc_insertion_point(field_set:message.measure_info.height)
+}
+
+// required float wheelbase = 7;
+inline bool measure_info::has_wheelbase() const {
+  return (_has_bits_[0] & 0x00000040u) != 0;
+}
+inline void measure_info::set_has_wheelbase() {
+  _has_bits_[0] |= 0x00000040u;
+}
+inline void measure_info::clear_has_wheelbase() {
+  _has_bits_[0] &= ~0x00000040u;
+}
+inline void measure_info::clear_wheelbase() {
+  wheelbase_ = 0;
+  clear_has_wheelbase();
+}
+inline float measure_info::wheelbase() const {
+  // @@protoc_insertion_point(field_get:message.measure_info.wheelbase)
+  return wheelbase_;
+}
+inline void measure_info::set_wheelbase(float value) {
+  set_has_wheelbase();
+  wheelbase_ = value;
+  // @@protoc_insertion_point(field_set:message.measure_info.wheelbase)
+}
+
+// required float front_theta = 8;
+inline bool measure_info::has_front_theta() const {
+  return (_has_bits_[0] & 0x00000080u) != 0;
+}
+inline void measure_info::set_has_front_theta() {
+  _has_bits_[0] |= 0x00000080u;
+}
+inline void measure_info::clear_has_front_theta() {
+  _has_bits_[0] &= ~0x00000080u;
+}
+inline void measure_info::clear_front_theta() {
+  front_theta_ = 0;
+  clear_has_front_theta();
+}
+inline float measure_info::front_theta() const {
+  // @@protoc_insertion_point(field_get:message.measure_info.front_theta)
+  return front_theta_;
+}
+inline void measure_info::set_front_theta(float value) {
+  set_has_front_theta();
+  front_theta_ = value;
+  // @@protoc_insertion_point(field_set:message.measure_info.front_theta)
+}
+
+// required int32 border_stuta = 9;
+inline bool measure_info::has_border_stuta() const {
+  return (_has_bits_[0] & 0x00000100u) != 0;
+}
+inline void measure_info::set_has_border_stuta() {
+  _has_bits_[0] |= 0x00000100u;
+}
+inline void measure_info::clear_has_border_stuta() {
+  _has_bits_[0] &= ~0x00000100u;
+}
+inline void measure_info::clear_border_stuta() {
+  border_stuta_ = 0;
+  clear_has_border_stuta();
+}
+inline ::google::protobuf::int32 measure_info::border_stuta() const {
+  // @@protoc_insertion_point(field_get:message.measure_info.border_stuta)
+  return border_stuta_;
+}
+inline void measure_info::set_border_stuta(::google::protobuf::int32 value) {
+  set_has_border_stuta();
+  border_stuta_ = value;
+  // @@protoc_insertion_point(field_set:message.measure_info.border_stuta)
+}
+
+// -------------------------------------------------------------------
+
 // Cloud_coordinate
 
 // required float x = 1;
@@ -4173,6 +4594,8 @@ inline void Locate_sift_response_msg::set_allocated_error_manager(::message::Err
 
 // -------------------------------------------------------------------
 
+// -------------------------------------------------------------------
+
 
 // @@protoc_insertion_point(namespace_scope)
 

+ 12 - 1
message/measure_message.proto

@@ -151,7 +151,18 @@ message Ground_status_msg
     repeated Cloud_coordinate           cloud=10;     //点云坐标
 }
 
-
+/*测量信息*/
+message measure_info {
+  required float cx=1;
+  required float cy=2;
+  required float theta=3;
+  required float length=4;
+  required float width=5;
+  required float height=6;
+  required float wheelbase=7;
+  required float front_theta=8;
+  required int32 border_stuta=9;
+}
 
 //点云坐标
 message Cloud_coordinate

+ 12 - 1
system/system_executor.cpp

@@ -622,9 +622,20 @@ Error_manager System_executor::encapsulate_send_mq_status()
 
 		update_measure_info(t_multi_status_msg, t_car_wheel_information, t_region_cloud->size());
 
-		std::string t_msg = t_multi_status_msg.DebugString();
 		if(t_multi_status_msg.id_struct().terminal_id() == 4)
 		{
+			// rabbitmq new measure info
+			message::measure_info t_multi_measure_info_msg;
+			t_multi_measure_info_msg.set_cx(t_car_wheel_information.car_center_x);
+			t_multi_measure_info_msg.set_cy(t_car_wheel_information.car_center_y);
+			t_multi_measure_info_msg.set_theta(t_car_wheel_information.car_angle);
+			t_multi_measure_info_msg.set_length(0.0f);
+			t_multi_measure_info_msg.set_width(t_car_wheel_information.car_wheel_width);
+			t_multi_measure_info_msg.set_height(0.0f);
+			t_multi_measure_info_msg.set_wheelbase(t_car_wheel_information.car_wheel_base);
+			t_multi_measure_info_msg.set_front_theta(t_car_wheel_information.car_front_theta);
+			t_multi_measure_info_msg.set_border_stuta(t_car_wheel_information.range_status);
+			std::string t_msg = t_multi_measure_info_msg.DebugString();
 			System_communication_mq::get_instance_references().encapsulate_status_msg(t_msg, 0);
 		}
 		if (t_multi_status_msg.id_struct().terminal_id() == DISP_TERM_ID)