|
@@ -241,10 +241,11 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::globalmsg::resultInfo, width_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::globalmsg::resultInfo, width_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::globalmsg::resultInfo, height_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::globalmsg::resultInfo, height_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::globalmsg::resultInfo, error_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::globalmsg::resultInfo, error_),
|
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::globalmsg::resultInfo, front_theta_),
|
|
0,
|
|
0,
|
|
2,
|
|
2,
|
|
3,
|
|
3,
|
|
- 11,
|
|
|
|
|
|
+ 12,
|
|
4,
|
|
4,
|
|
5,
|
|
5,
|
|
6,
|
|
6,
|
|
@@ -253,6 +254,7 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
9,
|
|
9,
|
|
10,
|
|
10,
|
|
1,
|
|
1,
|
|
|
|
+ 11,
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::globalmsg::algMsg, _has_bits_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::globalmsg::algMsg, _has_bits_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::globalmsg::algMsg, _internal_metadata_),
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::globalmsg::algMsg, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _extensions_
|
|
@@ -278,9 +280,9 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROT
|
|
{ 0, 10, sizeof(::globalmsg::msg)},
|
|
{ 0, 10, sizeof(::globalmsg::msg)},
|
|
{ 15, 24, sizeof(::globalmsg::laserMsg)},
|
|
{ 15, 24, sizeof(::globalmsg::laserMsg)},
|
|
{ 28, 35, sizeof(::globalmsg::plcMsg)},
|
|
{ 28, 35, sizeof(::globalmsg::plcMsg)},
|
|
- { 37, 54, sizeof(::globalmsg::resultInfo)},
|
|
|
|
- { 66, 74, sizeof(::globalmsg::algMsg)},
|
|
|
|
- { 77, 84, sizeof(::globalmsg::SysMsg)},
|
|
|
|
|
|
+ { 37, 55, sizeof(::globalmsg::resultInfo)},
|
|
|
|
+ { 68, 76, sizeof(::globalmsg::algMsg)},
|
|
|
|
+ { 79, 86, sizeof(::globalmsg::SysMsg)},
|
|
};
|
|
};
|
|
|
|
|
|
static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
@@ -324,27 +326,27 @@ void AddDescriptorsImpl() {
|
|
"\020queue_data_count\030\002 \001(\005\022\023\n\013cloud_count\030\003"
|
|
"\020queue_data_count\030\002 \001(\005\022\023\n\013cloud_count\030\003"
|
|
" \001(\005\022\n\n\002id\030\004 \002(\005\"F\n\006plcMsg\022(\n\nplc_status"
|
|
" \001(\005\022\n\n\002id\030\004 \002(\005\"F\n\006plcMsg\022(\n\nplc_status"
|
|
"\030\001 \001(\0162\024.globalmsg.plcStatus\022\022\n\nplc_valu"
|
|
"\030\001 \001(\0162\024.globalmsg.plcStatus\022\022\n\nplc_valu"
|
|
- "es\030\002 \003(\005\"\320\001\n\nresultInfo\022\016\n\004time\030\001 \002(\t:\000\022"
|
|
|
|
|
|
+ "es\030\002 \003(\005\"\345\001\n\nresultInfo\022\016\n\004time\030\001 \002(\t:\000\022"
|
|
"\023\n\013correctness\030\002 \002(\010\022\025\n\rpark_space_id\030\003 "
|
|
"\023\n\013correctness\030\002 \002(\010\022\025\n\rpark_space_id\030\003 "
|
|
"\001(\005\022\021\n\tlaser_ids\030\004 \001(\005\022\t\n\001x\030\005 \001(\001\022\t\n\001y\030\006"
|
|
"\001(\005\022\021\n\tlaser_ids\030\004 \001(\005\022\t\n\001x\030\005 \001(\001\022\t\n\001y\030\006"
|
|
" \001(\001\022\t\n\001c\030\007 \001(\001\022\022\n\nwheel_base\030\010 \001(\001\022\016\n\006l"
|
|
" \001(\001\022\t\n\001c\030\007 \001(\001\022\022\n\nwheel_base\030\010 \001(\001\022\016\n\006l"
|
|
"ength\030\t \001(\001\022\r\n\005width\030\n \001(\001\022\016\n\006height\030\013 \001"
|
|
"ength\030\t \001(\001\022\r\n\005width\030\n \001(\001\022\016\n\006height\030\013 \001"
|
|
- "(\001\022\017\n\005error\030\014 \001(\t:\000\"^\n\006algMsg\022%\n\006result\030"
|
|
|
|
- "\001 \003(\0132\025.globalmsg.resultInfo\022\031\n\021thread_q"
|
|
|
|
- "ueue_size\030\002 \001(\005\022\022\n\010log_path\030\003 \001(\t:\000\"E\n\006S"
|
|
|
|
- "ysMsg\022\r\n\003log\030\001 \002(\t:\000\022,\n\005level\030\002 \001(\0162\023.gl"
|
|
|
|
- "obalmsg.logLevel:\010eSysInfo*0\n\004type\022\010\n\004eP"
|
|
|
|
- "LC\020\000\022\n\n\006eLaser\020\001\022\010\n\004eAlg\020\002\022\010\n\004eLog\020\003*]\n\013"
|
|
|
|
- "laserStatus\022\023\n\017eLaserConnected\020\000\022\026\n\022eLas"
|
|
|
|
- "erDisconnected\020\001\022\016\n\neLaserBusy\020\002\022\021\n\reLas"
|
|
|
|
- "erUnknown\020\003*V\n\tplcStatus\022\021\n\rePLCConnecte"
|
|
|
|
- "d\020\000\022\024\n\020ePLCDisconnected\020\001\022\017\n\013ePLCRefused"
|
|
|
|
- "\020\002\022\017\n\013ePLCUnknown\020\003*E\n\010logLevel\022\014\n\010eSysI"
|
|
|
|
- "nfo\020\000\022\013\n\007eSysLog\020\001\022\017\n\013eSysWarning\020\002\022\r\n\te"
|
|
|
|
- "SysError\020\003"
|
|
|
|
|
|
+ "(\001\022\017\n\005error\030\014 \001(\t:\000\022\023\n\013front_theta\030\r \001(\001"
|
|
|
|
+ "\"^\n\006algMsg\022%\n\006result\030\001 \003(\0132\025.globalmsg.r"
|
|
|
|
+ "esultInfo\022\031\n\021thread_queue_size\030\002 \001(\005\022\022\n\010"
|
|
|
|
+ "log_path\030\003 \001(\t:\000\"E\n\006SysMsg\022\r\n\003log\030\001 \002(\t:"
|
|
|
|
+ "\000\022,\n\005level\030\002 \001(\0162\023.globalmsg.logLevel:\010e"
|
|
|
|
+ "SysInfo*0\n\004type\022\010\n\004ePLC\020\000\022\n\n\006eLaser\020\001\022\010\n"
|
|
|
|
+ "\004eAlg\020\002\022\010\n\004eLog\020\003*]\n\013laserStatus\022\023\n\017eLas"
|
|
|
|
+ "erConnected\020\000\022\026\n\022eLaserDisconnected\020\001\022\016\n"
|
|
|
|
+ "\neLaserBusy\020\002\022\021\n\reLaserUnknown\020\003*V\n\tplcS"
|
|
|
|
+ "tatus\022\021\n\rePLCConnected\020\000\022\024\n\020ePLCDisconne"
|
|
|
|
+ "cted\020\001\022\017\n\013ePLCRefused\020\002\022\017\n\013ePLCUnknown\020\003"
|
|
|
|
+ "*E\n\010logLevel\022\014\n\010eSysInfo\020\000\022\013\n\007eSysLog\020\001\022"
|
|
|
|
+ "\017\n\013eSysWarning\020\002\022\r\n\teSysError\020\003"
|
|
};
|
|
};
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
- descriptor, 1090);
|
|
|
|
|
|
+ descriptor, 1111);
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
"globalmsg.proto", &protobuf_RegisterTypes);
|
|
"globalmsg.proto", &protobuf_RegisterTypes);
|
|
}
|
|
}
|
|
@@ -1575,6 +1577,7 @@ const int resultInfo::kLengthFieldNumber;
|
|
const int resultInfo::kWidthFieldNumber;
|
|
const int resultInfo::kWidthFieldNumber;
|
|
const int resultInfo::kHeightFieldNumber;
|
|
const int resultInfo::kHeightFieldNumber;
|
|
const int resultInfo::kErrorFieldNumber;
|
|
const int resultInfo::kErrorFieldNumber;
|
|
|
|
+const int resultInfo::kFrontThetaFieldNumber;
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
|
resultInfo::resultInfo()
|
|
resultInfo::resultInfo()
|
|
@@ -1669,7 +1672,7 @@ void resultInfo::Clear() {
|
|
reinterpret_cast<char*>(&wheel_base_) -
|
|
reinterpret_cast<char*>(&wheel_base_) -
|
|
reinterpret_cast<char*>(&correctness_)) + sizeof(wheel_base_));
|
|
reinterpret_cast<char*>(&correctness_)) + sizeof(wheel_base_));
|
|
}
|
|
}
|
|
- if (cached_has_bits & 3840u) {
|
|
|
|
|
|
+ if (cached_has_bits & 7936u) {
|
|
::memset(&length_, 0, static_cast<size_t>(
|
|
::memset(&length_, 0, static_cast<size_t>(
|
|
reinterpret_cast<char*>(&laser_ids_) -
|
|
reinterpret_cast<char*>(&laser_ids_) -
|
|
reinterpret_cast<char*>(&length_)) + sizeof(laser_ids_));
|
|
reinterpret_cast<char*>(&length_)) + sizeof(laser_ids_));
|
|
@@ -1860,6 +1863,20 @@ bool resultInfo::MergePartialFromCodedStream(
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // optional double front_theta = 13;
|
|
|
|
+ case 13: {
|
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
|
+ static_cast< ::google::protobuf::uint8>(105u /* 105 & 0xFF */)) {
|
|
|
|
+ set_has_front_theta();
|
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
|
+ double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
|
|
|
|
+ input, &front_theta_)));
|
|
|
|
+ } else {
|
|
|
|
+ goto handle_unusual;
|
|
|
|
+ }
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+
|
|
default: {
|
|
default: {
|
|
handle_unusual:
|
|
handle_unusual:
|
|
if (tag == 0) {
|
|
if (tag == 0) {
|
|
@@ -1908,7 +1925,7 @@ void resultInfo::SerializeWithCachedSizes(
|
|
}
|
|
}
|
|
|
|
|
|
// optional int32 laser_ids = 4;
|
|
// optional int32 laser_ids = 4;
|
|
- if (cached_has_bits & 0x00000800u) {
|
|
|
|
|
|
+ if (cached_has_bits & 0x00001000u) {
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->laser_ids(), output);
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->laser_ids(), output);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1957,6 +1974,11 @@ void resultInfo::SerializeWithCachedSizes(
|
|
12, this->error(), output);
|
|
12, this->error(), output);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // optional double front_theta = 13;
|
|
|
|
+ if (cached_has_bits & 0x00000800u) {
|
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteDouble(13, this->front_theta(), output);
|
|
|
|
+ }
|
|
|
|
+
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
_internal_metadata_.unknown_fields(), output);
|
|
_internal_metadata_.unknown_fields(), output);
|
|
@@ -1994,7 +2016,7 @@ void resultInfo::SerializeWithCachedSizes(
|
|
}
|
|
}
|
|
|
|
|
|
// optional int32 laser_ids = 4;
|
|
// optional int32 laser_ids = 4;
|
|
- if (cached_has_bits & 0x00000800u) {
|
|
|
|
|
|
+ if (cached_has_bits & 0x00001000u) {
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->laser_ids(), target);
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->laser_ids(), target);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -2044,6 +2066,11 @@ void resultInfo::SerializeWithCachedSizes(
|
|
12, this->error(), target);
|
|
12, this->error(), target);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // optional double front_theta = 13;
|
|
|
|
+ if (cached_has_bits & 0x00000800u) {
|
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(13, this->front_theta(), target);
|
|
|
|
+ }
|
|
|
|
+
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields(), target);
|
|
_internal_metadata_.unknown_fields(), target);
|
|
@@ -2127,7 +2154,7 @@ size_t resultInfo::ByteSizeLong() const {
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
- if (_has_bits_[8 / 32] & 3840u) {
|
|
|
|
|
|
+ if (_has_bits_[8 / 32] & 7936u) {
|
|
// optional double length = 9;
|
|
// optional double length = 9;
|
|
if (has_length()) {
|
|
if (has_length()) {
|
|
total_size += 1 + 8;
|
|
total_size += 1 + 8;
|
|
@@ -2143,6 +2170,11 @@ size_t resultInfo::ByteSizeLong() const {
|
|
total_size += 1 + 8;
|
|
total_size += 1 + 8;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // optional double front_theta = 13;
|
|
|
|
+ if (has_front_theta()) {
|
|
|
|
+ total_size += 1 + 8;
|
|
|
|
+ }
|
|
|
|
+
|
|
// optional int32 laser_ids = 4;
|
|
// optional int32 laser_ids = 4;
|
|
if (has_laser_ids()) {
|
|
if (has_laser_ids()) {
|
|
total_size += 1 +
|
|
total_size += 1 +
|
|
@@ -2210,7 +2242,7 @@ void resultInfo::MergeFrom(const resultInfo& from) {
|
|
}
|
|
}
|
|
_has_bits_[0] |= cached_has_bits;
|
|
_has_bits_[0] |= cached_has_bits;
|
|
}
|
|
}
|
|
- if (cached_has_bits & 3840u) {
|
|
|
|
|
|
+ if (cached_has_bits & 7936u) {
|
|
if (cached_has_bits & 0x00000100u) {
|
|
if (cached_has_bits & 0x00000100u) {
|
|
length_ = from.length_;
|
|
length_ = from.length_;
|
|
}
|
|
}
|
|
@@ -2221,6 +2253,9 @@ void resultInfo::MergeFrom(const resultInfo& from) {
|
|
height_ = from.height_;
|
|
height_ = from.height_;
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x00000800u) {
|
|
if (cached_has_bits & 0x00000800u) {
|
|
|
|
+ front_theta_ = from.front_theta_;
|
|
|
|
+ }
|
|
|
|
+ if (cached_has_bits & 0x00001000u) {
|
|
laser_ids_ = from.laser_ids_;
|
|
laser_ids_ = from.laser_ids_;
|
|
}
|
|
}
|
|
_has_bits_[0] |= cached_has_bits;
|
|
_has_bits_[0] |= cached_has_bits;
|
|
@@ -2263,6 +2298,7 @@ void resultInfo::InternalSwap(resultInfo* other) {
|
|
swap(length_, other->length_);
|
|
swap(length_, other->length_);
|
|
swap(width_, other->width_);
|
|
swap(width_, other->width_);
|
|
swap(height_, other->height_);
|
|
swap(height_, other->height_);
|
|
|
|
+ swap(front_theta_, other->front_theta_);
|
|
swap(laser_ids_, other->laser_ids_);
|
|
swap(laser_ids_, other->laser_ids_);
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|