فهرست منبع

20230627, huli

yct 1 سال پیش
والد
کامیت
d30ff8135e

+ 321 - 6
plc调度节点/message/message.pb.cc

@@ -77,6 +77,11 @@ class dispatch_node_statuDefaultTypeInternal {
   ::google::protobuf::internal::ExplicitlyConstructed<dispatch_node_statu>
       _instance;
 } _dispatch_node_statu_default_instance_;
+class terminal_node_statuDefaultTypeInternal {
+ public:
+  ::google::protobuf::internal::ExplicitlyConstructed<terminal_node_statu>
+      _instance;
+} _terminal_node_statu_default_instance_;
 namespace protobuf_message_2eproto {
 static void InitDefaultsmeasure_info() {
   GOOGLE_PROTOBUF_VERIFY_VERSION;
@@ -228,6 +233,20 @@ static void InitDefaultsdispatch_node_statu() {
       &protobuf_message_2eproto::scc_info_pick_table.base,
       &protobuf_message_2eproto::scc_info_dispatch_region_info.base,}};
 
+static void InitDefaultsterminal_node_statu() {
+  GOOGLE_PROTOBUF_VERIFY_VERSION;
+
+  {
+    void* ptr = &::_terminal_node_statu_default_instance_;
+    new (ptr) ::terminal_node_statu();
+    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
+  }
+  ::terminal_node_statu::InitAsDefaultInstance();
+}
+
+::google::protobuf::internal::SCCInfo<0> scc_info_terminal_node_statu =
+    {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsterminal_node_statu}, {}};
+
 void InitDefaults() {
   ::google::protobuf::internal::InitSCC(&scc_info_measure_info.base);
   ::google::protobuf::internal::InitSCC(&scc_info_parkspace_info.base);
@@ -239,9 +258,10 @@ void InitDefaults() {
   ::google::protobuf::internal::InitSCC(&scc_info_measure_statu.base);
   ::google::protobuf::internal::InitSCC(&scc_info_dispatch_region_info.base);
   ::google::protobuf::internal::InitSCC(&scc_info_dispatch_node_statu.base);
+  ::google::protobuf::internal::InitSCC(&scc_info_terminal_node_statu.base);
 }
 
-::google::protobuf::Metadata file_level_metadata[10];
+::google::protobuf::Metadata file_level_metadata[11];
 const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2];
 
 const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
@@ -349,6 +369,13 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_heartbeat_),
   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, plc_status_info_),
   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dispatch_node_statu, dispatch_region_info_vector_),
+  ~0u,  // no _has_bits_
+  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::terminal_node_statu, _internal_metadata_),
+  ~0u,  // no _extensions_
+  ~0u,  // no _oneof_case_
+  ~0u,  // no _weak_field_map_
+  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::terminal_node_statu, terminal_id_),
+  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::terminal_node_statu, car_number_),
 };
 static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
   { 0, -1, sizeof(::measure_info)},
@@ -361,6 +388,7 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROT
   { 77, -1, sizeof(::measure_statu)},
   { 83, -1, sizeof(::dispatch_region_info)},
   { 91, -1, sizeof(::dispatch_node_statu)},
+  { 104, -1, sizeof(::terminal_node_statu)},
 };
 
 static ::google::protobuf::Message const * const file_default_instances[] = {
@@ -374,6 +402,7 @@ static ::google::protobuf::Message const * const file_default_instances[] = {
   reinterpret_cast<const ::google::protobuf::Message*>(&::_measure_statu_default_instance_),
   reinterpret_cast<const ::google::protobuf::Message*>(&::_dispatch_region_info_default_instance_),
   reinterpret_cast<const ::google::protobuf::Message*>(&::_dispatch_node_statu_default_instance_),
+  reinterpret_cast<const ::google::protobuf::Message*>(&::_terminal_node_statu_default_instance_),
 };
 
 void protobuf_AssignDescriptors() {
@@ -391,7 +420,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() {
@@ -435,12 +464,14 @@ void AddDescriptorsImpl() {
       "\013.pick_table\022\017\n\007unit_id\030\005 \001(\005\022\025\n\rplc_hea"
       "rtbeat\030\006 \001(\005\022\027\n\017plc_status_info\030\007 \001(\005\022:\n"
       "\033dispatch_region_info_vector\030\010 \003(\0132\025.dis"
-      "patch_region_info* \n\005STATU\022\013\n\007eNormal\020\000\022"
-      "\n\n\006eError\020\001*0\n\014CarrierStatu\022\t\n\005eIdle\020\000\022\t"
-      "\n\005eBusy\020\001\022\n\n\006eFault\020\002b\006proto3"
+      "patch_region_info\">\n\023terminal_node_statu"
+      "\022\023\n\013terminal_id\030\001 \001(\005\022\022\n\ncar_number\030\002 \001("
+      "\t* \n\005STATU\022\013\n\007eNormal\020\000\022\n\n\006eError\020\001*0\n\014C"
+      "arrierStatu\022\t\n\005eIdle\020\000\022\t\n\005eBusy\020\001\022\n\n\006eFa"
+      "ult\020\002b\006proto3"
   };
   ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
-      descriptor, 1629);
+      descriptor, 1693);
   ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
     "message.proto", &protobuf_RegisterTypes);
 }
@@ -4590,6 +4621,287 @@ void dispatch_node_statu::InternalSwap(dispatch_node_statu* other) {
 }
 
 
+// ===================================================================
+
+void terminal_node_statu::InitAsDefaultInstance() {
+}
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
+const int terminal_node_statu::kTerminalIdFieldNumber;
+const int terminal_node_statu::kCarNumberFieldNumber;
+#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
+
+terminal_node_statu::terminal_node_statu()
+  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
+  ::google::protobuf::internal::InitSCC(
+      &protobuf_message_2eproto::scc_info_terminal_node_statu.base);
+  SharedCtor();
+  // @@protoc_insertion_point(constructor:terminal_node_statu)
+}
+terminal_node_statu::terminal_node_statu(const terminal_node_statu& from)
+  : ::google::protobuf::Message(),
+      _internal_metadata_(NULL) {
+  _internal_metadata_.MergeFrom(from._internal_metadata_);
+  car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+  if (from.car_number().size() > 0) {
+    car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
+  }
+  terminal_id_ = from.terminal_id_;
+  // @@protoc_insertion_point(copy_constructor:terminal_node_statu)
+}
+
+void terminal_node_statu::SharedCtor() {
+  car_number_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+  terminal_id_ = 0;
+}
+
+terminal_node_statu::~terminal_node_statu() {
+  // @@protoc_insertion_point(destructor:terminal_node_statu)
+  SharedDtor();
+}
+
+void terminal_node_statu::SharedDtor() {
+  car_number_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+}
+
+void terminal_node_statu::SetCachedSize(int size) const {
+  _cached_size_.Set(size);
+}
+const ::google::protobuf::Descriptor* terminal_node_statu::descriptor() {
+  ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
+  return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
+}
+
+const terminal_node_statu& terminal_node_statu::default_instance() {
+  ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_terminal_node_statu.base);
+  return *internal_default_instance();
+}
+
+
+void terminal_node_statu::Clear() {
+// @@protoc_insertion_point(message_clear_start:terminal_node_statu)
+  ::google::protobuf::uint32 cached_has_bits = 0;
+  // Prevent compiler warnings about cached_has_bits being unused
+  (void) cached_has_bits;
+
+  car_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+  terminal_id_ = 0;
+  _internal_metadata_.Clear();
+}
+
+bool terminal_node_statu::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:terminal_node_statu)
+  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)) {
+      // int32 terminal_id = 1;
+      case 1: {
+        if (static_cast< ::google::protobuf::uint8>(tag) ==
+            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
+
+          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
+                 input, &terminal_id_)));
+        } else {
+          goto handle_unusual;
+        }
+        break;
+      }
+
+      // string car_number = 2;
+      case 2: {
+        if (static_cast< ::google::protobuf::uint8>(tag) ==
+            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
+          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
+                input, this->mutable_car_number()));
+          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
+            this->car_number().data(), static_cast<int>(this->car_number().length()),
+            ::google::protobuf::internal::WireFormatLite::PARSE,
+            "terminal_node_statu.car_number"));
+        } 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:terminal_node_statu)
+  return true;
+failure:
+  // @@protoc_insertion_point(parse_failure:terminal_node_statu)
+  return false;
+#undef DO_
+}
+
+void terminal_node_statu::SerializeWithCachedSizes(
+    ::google::protobuf::io::CodedOutputStream* output) const {
+  // @@protoc_insertion_point(serialize_start:terminal_node_statu)
+  ::google::protobuf::uint32 cached_has_bits = 0;
+  (void) cached_has_bits;
+
+  // int32 terminal_id = 1;
+  if (this->terminal_id() != 0) {
+    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->terminal_id(), output);
+  }
+
+  // string car_number = 2;
+  if (this->car_number().size() > 0) {
+    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
+      this->car_number().data(), static_cast<int>(this->car_number().length()),
+      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
+      "terminal_node_statu.car_number");
+    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
+      2, this->car_number(), output);
+  }
+
+  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
+    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
+        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
+  }
+  // @@protoc_insertion_point(serialize_end:terminal_node_statu)
+}
+
+::google::protobuf::uint8* terminal_node_statu::InternalSerializeWithCachedSizesToArray(
+    bool deterministic, ::google::protobuf::uint8* target) const {
+  (void)deterministic; // Unused
+  // @@protoc_insertion_point(serialize_to_array_start:terminal_node_statu)
+  ::google::protobuf::uint32 cached_has_bits = 0;
+  (void) cached_has_bits;
+
+  // int32 terminal_id = 1;
+  if (this->terminal_id() != 0) {
+    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->terminal_id(), target);
+  }
+
+  // string car_number = 2;
+  if (this->car_number().size() > 0) {
+    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
+      this->car_number().data(), static_cast<int>(this->car_number().length()),
+      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
+      "terminal_node_statu.car_number");
+    target =
+      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
+        2, this->car_number(), target);
+  }
+
+  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
+    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
+        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
+  }
+  // @@protoc_insertion_point(serialize_to_array_end:terminal_node_statu)
+  return target;
+}
+
+size_t terminal_node_statu::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:terminal_node_statu)
+  size_t total_size = 0;
+
+  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
+    total_size +=
+      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
+        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
+  }
+  // string car_number = 2;
+  if (this->car_number().size() > 0) {
+    total_size += 1 +
+      ::google::protobuf::internal::WireFormatLite::StringSize(
+        this->car_number());
+  }
+
+  // int32 terminal_id = 1;
+  if (this->terminal_id() != 0) {
+    total_size += 1 +
+      ::google::protobuf::internal::WireFormatLite::Int32Size(
+        this->terminal_id());
+  }
+
+  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
+  SetCachedSize(cached_size);
+  return total_size;
+}
+
+void terminal_node_statu::MergeFrom(const ::google::protobuf::Message& from) {
+// @@protoc_insertion_point(generalized_merge_from_start:terminal_node_statu)
+  GOOGLE_DCHECK_NE(&from, this);
+  const terminal_node_statu* source =
+      ::google::protobuf::internal::DynamicCastToGenerated<const terminal_node_statu>(
+          &from);
+  if (source == NULL) {
+  // @@protoc_insertion_point(generalized_merge_from_cast_fail:terminal_node_statu)
+    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
+  } else {
+  // @@protoc_insertion_point(generalized_merge_from_cast_success:terminal_node_statu)
+    MergeFrom(*source);
+  }
+}
+
+void terminal_node_statu::MergeFrom(const terminal_node_statu& from) {
+// @@protoc_insertion_point(class_specific_merge_from_start:terminal_node_statu)
+  GOOGLE_DCHECK_NE(&from, this);
+  _internal_metadata_.MergeFrom(from._internal_metadata_);
+  ::google::protobuf::uint32 cached_has_bits = 0;
+  (void) cached_has_bits;
+
+  if (from.car_number().size() > 0) {
+
+    car_number_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.car_number_);
+  }
+  if (from.terminal_id() != 0) {
+    set_terminal_id(from.terminal_id());
+  }
+}
+
+void terminal_node_statu::CopyFrom(const ::google::protobuf::Message& from) {
+// @@protoc_insertion_point(generalized_copy_from_start:terminal_node_statu)
+  if (&from == this) return;
+  Clear();
+  MergeFrom(from);
+}
+
+void terminal_node_statu::CopyFrom(const terminal_node_statu& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:terminal_node_statu)
+  if (&from == this) return;
+  Clear();
+  MergeFrom(from);
+}
+
+bool terminal_node_statu::IsInitialized() const {
+  return true;
+}
+
+void terminal_node_statu::Swap(terminal_node_statu* other) {
+  if (other == this) return;
+  InternalSwap(other);
+}
+void terminal_node_statu::InternalSwap(terminal_node_statu* other) {
+  using std::swap;
+  car_number_.Swap(&other->car_number_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
+    GetArenaNoVirtual());
+  swap(terminal_id_, other->terminal_id_);
+  _internal_metadata_.Swap(&other->_internal_metadata_);
+}
+
+::google::protobuf::Metadata terminal_node_statu::GetMetadata() const {
+  protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
+  return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
+}
+
+
 // @@protoc_insertion_point(namespace_scope)
 namespace google {
 namespace protobuf {
@@ -4623,6 +4935,9 @@ template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::dispatch_region_info* Arena::Cre
 template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::dispatch_node_statu* Arena::CreateMaybeMessage< ::dispatch_node_statu >(Arena* arena) {
   return Arena::CreateInternal< ::dispatch_node_statu >(arena);
 }
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::terminal_node_statu* Arena::CreateMaybeMessage< ::terminal_node_statu >(Arena* arena) {
+  return Arena::CreateInternal< ::terminal_node_statu >(arena);
+}
 }  // namespace protobuf
 }  // namespace google
 

+ 196 - 1
plc调度节点/message/message.pb.h

@@ -39,7 +39,7 @@ namespace protobuf_message_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[];
@@ -76,6 +76,9 @@ extern pick_tableDefaultTypeInternal _pick_table_default_instance_;
 class table_statu;
 class table_statuDefaultTypeInternal;
 extern table_statuDefaultTypeInternal _table_statu_default_instance_;
+class terminal_node_statu;
+class terminal_node_statuDefaultTypeInternal;
+extern terminal_node_statuDefaultTypeInternal _terminal_node_statu_default_instance_;
 namespace google {
 namespace protobuf {
 template<> ::dispatch_node_statu* Arena::CreateMaybeMessage<::dispatch_node_statu>(Arena*);
@@ -88,6 +91,7 @@ template<> ::park_table* Arena::CreateMaybeMessage<::park_table>(Arena*);
 template<> ::parkspace_info* Arena::CreateMaybeMessage<::parkspace_info>(Arena*);
 template<> ::pick_table* Arena::CreateMaybeMessage<::pick_table>(Arena*);
 template<> ::table_statu* Arena::CreateMaybeMessage<::table_statu>(Arena*);
+template<> ::terminal_node_statu* Arena::CreateMaybeMessage<::terminal_node_statu>(Arena*);
 }  // namespace protobuf
 }  // namespace google
 
@@ -1584,6 +1588,124 @@ class dispatch_node_statu : public ::google::protobuf::Message /* @@protoc_inser
   mutable ::google::protobuf::internal::CachedSize _cached_size_;
   friend struct ::protobuf_message_2eproto::TableStruct;
 };
+// -------------------------------------------------------------------
+
+class terminal_node_statu : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:terminal_node_statu) */ {
+ public:
+  terminal_node_statu();
+  virtual ~terminal_node_statu();
+
+  terminal_node_statu(const terminal_node_statu& from);
+
+  inline terminal_node_statu& operator=(const terminal_node_statu& from) {
+    CopyFrom(from);
+    return *this;
+  }
+  #if LANG_CXX11
+  terminal_node_statu(terminal_node_statu&& from) noexcept
+    : terminal_node_statu() {
+    *this = ::std::move(from);
+  }
+
+  inline terminal_node_statu& operator=(terminal_node_statu&& from) noexcept {
+    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
+      if (this != &from) InternalSwap(&from);
+    } else {
+      CopyFrom(from);
+    }
+    return *this;
+  }
+  #endif
+  static const ::google::protobuf::Descriptor* descriptor();
+  static const terminal_node_statu& default_instance();
+
+  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
+  static inline const terminal_node_statu* internal_default_instance() {
+    return reinterpret_cast<const terminal_node_statu*>(
+               &_terminal_node_statu_default_instance_);
+  }
+  static constexpr int kIndexInFileMessages =
+    10;
+
+  void Swap(terminal_node_statu* other);
+  friend void swap(terminal_node_statu& a, terminal_node_statu& b) {
+    a.Swap(&b);
+  }
+
+  // implements Message ----------------------------------------------
+
+  inline terminal_node_statu* New() const final {
+    return CreateMaybeMessage<terminal_node_statu>(NULL);
+  }
+
+  terminal_node_statu* New(::google::protobuf::Arena* arena) const final {
+    return CreateMaybeMessage<terminal_node_statu>(arena);
+  }
+  void CopyFrom(const ::google::protobuf::Message& from) final;
+  void MergeFrom(const ::google::protobuf::Message& from) final;
+  void CopyFrom(const terminal_node_statu& from);
+  void MergeFrom(const terminal_node_statu& 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(terminal_node_statu* 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 -------------------------------------------------------
+
+  // string car_number = 2;
+  void clear_car_number();
+  static const int kCarNumberFieldNumber = 2;
+  const ::std::string& car_number() const;
+  void set_car_number(const ::std::string& value);
+  #if LANG_CXX11
+  void set_car_number(::std::string&& value);
+  #endif
+  void set_car_number(const char* value);
+  void set_car_number(const char* value, size_t size);
+  ::std::string* mutable_car_number();
+  ::std::string* release_car_number();
+  void set_allocated_car_number(::std::string* car_number);
+
+  // int32 terminal_id = 1;
+  void clear_terminal_id();
+  static const int kTerminalIdFieldNumber = 1;
+  ::google::protobuf::int32 terminal_id() const;
+  void set_terminal_id(::google::protobuf::int32 value);
+
+  // @@protoc_insertion_point(class_scope:terminal_node_statu)
+ private:
+
+  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
+  ::google::protobuf::internal::ArenaStringPtr car_number_;
+  ::google::protobuf::int32 terminal_id_;
+  mutable ::google::protobuf::internal::CachedSize _cached_size_;
+  friend struct ::protobuf_message_2eproto::TableStruct;
+};
 // ===================================================================
 
 
@@ -3038,6 +3160,77 @@ dispatch_node_statu::dispatch_region_info_vector() const {
   return dispatch_region_info_vector_;
 }
 
+// -------------------------------------------------------------------
+
+// terminal_node_statu
+
+// int32 terminal_id = 1;
+inline void terminal_node_statu::clear_terminal_id() {
+  terminal_id_ = 0;
+}
+inline ::google::protobuf::int32 terminal_node_statu::terminal_id() const {
+  // @@protoc_insertion_point(field_get:terminal_node_statu.terminal_id)
+  return terminal_id_;
+}
+inline void terminal_node_statu::set_terminal_id(::google::protobuf::int32 value) {
+  
+  terminal_id_ = value;
+  // @@protoc_insertion_point(field_set:terminal_node_statu.terminal_id)
+}
+
+// string car_number = 2;
+inline void terminal_node_statu::clear_car_number() {
+  car_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+}
+inline const ::std::string& terminal_node_statu::car_number() const {
+  // @@protoc_insertion_point(field_get:terminal_node_statu.car_number)
+  return car_number_.GetNoArena();
+}
+inline void terminal_node_statu::set_car_number(const ::std::string& value) {
+  
+  car_number_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
+  // @@protoc_insertion_point(field_set:terminal_node_statu.car_number)
+}
+#if LANG_CXX11
+inline void terminal_node_statu::set_car_number(::std::string&& value) {
+  
+  car_number_.SetNoArena(
+    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
+  // @@protoc_insertion_point(field_set_rvalue:terminal_node_statu.car_number)
+}
+#endif
+inline void terminal_node_statu::set_car_number(const char* value) {
+  GOOGLE_DCHECK(value != NULL);
+  
+  car_number_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
+  // @@protoc_insertion_point(field_set_char:terminal_node_statu.car_number)
+}
+inline void terminal_node_statu::set_car_number(const char* value, size_t size) {
+  
+  car_number_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
+      ::std::string(reinterpret_cast<const char*>(value), size));
+  // @@protoc_insertion_point(field_set_pointer:terminal_node_statu.car_number)
+}
+inline ::std::string* terminal_node_statu::mutable_car_number() {
+  
+  // @@protoc_insertion_point(field_mutable:terminal_node_statu.car_number)
+  return car_number_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+}
+inline ::std::string* terminal_node_statu::release_car_number() {
+  // @@protoc_insertion_point(field_release:terminal_node_statu.car_number)
+  
+  return car_number_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+}
+inline void terminal_node_statu::set_allocated_car_number(::std::string* car_number) {
+  if (car_number != NULL) {
+    
+  } else {
+    
+  }
+  car_number_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), car_number);
+  // @@protoc_insertion_point(field_set_allocated:terminal_node_statu.car_number)
+}
+
 #ifdef __GNUC__
   #pragma GCC diagnostic pop
 #endif  // __GNUC__
@@ -3059,6 +3252,8 @@ dispatch_node_statu::dispatch_region_info_vector() const {
 
 // -------------------------------------------------------------------
 
+// -------------------------------------------------------------------
+
 
 // @@protoc_insertion_point(namespace_scope)
 

+ 9 - 0
测量节点/velodyne_lidar/match3d/detect_wheel_ceres3d.cpp

@@ -196,6 +196,12 @@ bool detect_wheel_ceres3d::update_model(float ratio)
         t_right_model[i].z = t_right_model[i].z * ratio;
     }
 
+
+//    LOG(INFO) << "--------------------------------------------------------------------------------------------------------";
+//    LOG(INFO) << "mp_left_grid.resolution() = " << mp_left_grid->resolution();
+//    LOG(INFO) << "t_left_model.size() = " <<t_left_model.size();
+
+
     for(int i=0;i<t_left_model.size();++i)
     {
 
@@ -247,6 +253,9 @@ bool detect_wheel_ceres3d::update_model(float ratio)
             }
         }
     }
+
+//    LOG(INFO) << "=========================================================================================================-";
+
     return true;
 }