|
|
@@ -234,6 +234,7 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::velodyne::Region, border_maxx_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::velodyne::Region, plc_offsetx_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::velodyne::Region, plc_offsety_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::velodyne::Region, plc_offset_degree_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::velodyne::Region, plc_border_miny_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::velodyne::Region, car_min_width_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::velodyne::Region, car_max_width_),
|
|
|
@@ -262,13 +263,14 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
17,
|
|
|
18,
|
|
|
19,
|
|
|
+ 20,
|
|
|
};
|
|
|
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
{ 0, 12, sizeof(::velodyne::velodyneManagerParams)},
|
|
|
{ 19, 35, sizeof(::velodyne::velodyneLidarParams)},
|
|
|
{ 46, 57, sizeof(::velodyne::CalibParameter)},
|
|
|
{ 63, 70, sizeof(::velodyne::lidarExtrinsic)},
|
|
|
- { 72, 98, sizeof(::velodyne::Region)},
|
|
|
+ { 72, 99, sizeof(::velodyne::Region)},
|
|
|
};
|
|
|
|
|
|
static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
|
@@ -318,7 +320,7 @@ void AddDescriptorsImpl() {
|
|
|
"\002:\0010\022\014\n\001p\030\002 \001(\002:\0010\022\014\n\001y\030\003 \001(\002:\0010\022\r\n\002cx\030\004"
|
|
|
" \001(\002:\0010\022\r\n\002cy\030\005 \001(\002:\0010\022\r\n\002cz\030\006 \001(\002:\0010\"K\n"
|
|
|
"\016lidarExtrinsic\022\020\n\010lidar_id\030\001 \002(\005\022\'\n\005cal"
|
|
|
- "ib\030\002 \001(\0132\030.velodyne.CalibParameter\"\361\003\n\006R"
|
|
|
+ "ib\030\002 \001(\0132\030.velodyne.CalibParameter\"\214\004\n\006R"
|
|
|
"egion\022\014\n\004minx\030\001 \002(\002\022\014\n\004maxx\030\002 \002(\002\022\014\n\004min"
|
|
|
"y\030\003 \002(\002\022\014\n\004maxy\030\004 \002(\002\022\014\n\004minz\030\005 \002(\002\022\014\n\004m"
|
|
|
"axz\030\006 \002(\002\022\021\n\tregion_id\030\007 \002(\005\022,\n\nlidar_ex"
|
|
|
@@ -326,15 +328,16 @@ void AddDescriptorsImpl() {
|
|
|
"rnplate_cx\030\t \002(\002\022\024\n\014turnplate_cy\030\n \002(\002\022\023"
|
|
|
"\n\013border_minx\030\013 \002(\002\022\023\n\013border_maxx\030\014 \002(\002"
|
|
|
"\022\023\n\013plc_offsetx\030\r \002(\002\022\023\n\013plc_offsety\030\016 \002"
|
|
|
- "(\002\022\027\n\017plc_border_miny\030\017 \002(\002\022\025\n\rcar_min_w"
|
|
|
- "idth\030\020 \002(\002\022\025\n\rcar_max_width\030\021 \002(\002\022\031\n\021car"
|
|
|
- "_min_wheelbase\030\022 \002(\002\022\031\n\021car_max_wheelbas"
|
|
|
- "e\030\023 \002(\002\022,\n$turnplate_angle_limit_anti_cl"
|
|
|
- "ockwise\030\024 \002(\002\022\'\n\037turnplate_angle_limit_c"
|
|
|
- "lockwise\030\025 \002(\002"
|
|
|
+ "(\002\022\031\n\021plc_offset_degree\030\017 \002(\002\022\027\n\017plc_bor"
|
|
|
+ "der_miny\030\020 \002(\002\022\025\n\rcar_min_width\030\021 \002(\002\022\025\n"
|
|
|
+ "\rcar_max_width\030\022 \002(\002\022\031\n\021car_min_wheelbas"
|
|
|
+ "e\030\023 \002(\002\022\031\n\021car_max_wheelbase\030\024 \002(\002\022,\n$tu"
|
|
|
+ "rnplate_angle_limit_anti_clockwise\030\025 \002(\002"
|
|
|
+ "\022\'\n\037turnplate_angle_limit_clockwise\030\026 \002("
|
|
|
+ "\002"
|
|
|
};
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
- descriptor, 1254);
|
|
|
+ descriptor, 1281);
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
"velodyne_config.proto", &protobuf_RegisterTypes);
|
|
|
}
|
|
|
@@ -2373,6 +2376,7 @@ const int Region::kBorderMinxFieldNumber;
|
|
|
const int Region::kBorderMaxxFieldNumber;
|
|
|
const int Region::kPlcOffsetxFieldNumber;
|
|
|
const int Region::kPlcOffsetyFieldNumber;
|
|
|
+const int Region::kPlcOffsetDegreeFieldNumber;
|
|
|
const int Region::kPlcBorderMinyFieldNumber;
|
|
|
const int Region::kCarMinWidthFieldNumber;
|
|
|
const int Region::kCarMaxWidthFieldNumber;
|
|
|
@@ -2444,13 +2448,13 @@ void Region::Clear() {
|
|
|
}
|
|
|
if (cached_has_bits & 65280u) {
|
|
|
::memset(&turnplate_cy_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&car_max_width_) -
|
|
|
- reinterpret_cast<char*>(&turnplate_cy_)) + sizeof(car_max_width_));
|
|
|
+ reinterpret_cast<char*>(&car_min_width_) -
|
|
|
+ reinterpret_cast<char*>(&turnplate_cy_)) + sizeof(car_min_width_));
|
|
|
}
|
|
|
- if (cached_has_bits & 983040u) {
|
|
|
- ::memset(&car_min_wheelbase_, 0, static_cast<size_t>(
|
|
|
+ if (cached_has_bits & 2031616u) {
|
|
|
+ ::memset(&car_max_width_, 0, static_cast<size_t>(
|
|
|
reinterpret_cast<char*>(&turnplate_angle_limit_clockwise_) -
|
|
|
- reinterpret_cast<char*>(&car_min_wheelbase_)) + sizeof(turnplate_angle_limit_clockwise_));
|
|
|
+ reinterpret_cast<char*>(&car_max_width_)) + sizeof(turnplate_angle_limit_clockwise_));
|
|
|
}
|
|
|
_has_bits_.Clear();
|
|
|
_internal_metadata_.Clear();
|
|
|
@@ -2660,94 +2664,108 @@ bool Region::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // required float plc_border_miny = 15;
|
|
|
+ // required float plc_offset_degree = 15;
|
|
|
case 15: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(125u /* 125 & 0xFF */)) {
|
|
|
- set_has_plc_border_miny();
|
|
|
+ set_has_plc_offset_degree();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
- input, &plc_border_miny_)));
|
|
|
+ input, &plc_offset_degree_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // required float car_min_width = 16;
|
|
|
+ // required float plc_border_miny = 16;
|
|
|
case 16: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(133u /* 133 & 0xFF */)) {
|
|
|
- set_has_car_min_width();
|
|
|
+ set_has_plc_border_miny();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
- input, &car_min_width_)));
|
|
|
+ input, &plc_border_miny_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // required float car_max_width = 17;
|
|
|
+ // required float car_min_width = 17;
|
|
|
case 17: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(141u /* 141 & 0xFF */)) {
|
|
|
- set_has_car_max_width();
|
|
|
+ set_has_car_min_width();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
- input, &car_max_width_)));
|
|
|
+ input, &car_min_width_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // required float car_min_wheelbase = 18;
|
|
|
+ // required float car_max_width = 18;
|
|
|
case 18: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(149u /* 149 & 0xFF */)) {
|
|
|
- set_has_car_min_wheelbase();
|
|
|
+ set_has_car_max_width();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
- input, &car_min_wheelbase_)));
|
|
|
+ input, &car_max_width_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // required float car_max_wheelbase = 19;
|
|
|
+ // required float car_min_wheelbase = 19;
|
|
|
case 19: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(157u /* 157 & 0xFF */)) {
|
|
|
- set_has_car_max_wheelbase();
|
|
|
+ set_has_car_min_wheelbase();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
- input, &car_max_wheelbase_)));
|
|
|
+ input, &car_min_wheelbase_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // required float turnplate_angle_limit_anti_clockwise = 20;
|
|
|
+ // required float car_max_wheelbase = 20;
|
|
|
case 20: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(165u /* 165 & 0xFF */)) {
|
|
|
- set_has_turnplate_angle_limit_anti_clockwise();
|
|
|
+ set_has_car_max_wheelbase();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
- input, &turnplate_angle_limit_anti_clockwise_)));
|
|
|
+ input, &car_max_wheelbase_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // required float turnplate_angle_limit_clockwise = 21;
|
|
|
+ // required float turnplate_angle_limit_anti_clockwise = 21;
|
|
|
case 21: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(173u /* 173 & 0xFF */)) {
|
|
|
+ set_has_turnplate_angle_limit_anti_clockwise();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
+ input, &turnplate_angle_limit_anti_clockwise_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float turnplate_angle_limit_clockwise = 22;
|
|
|
+ case 22: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(181u /* 181 & 0xFF */)) {
|
|
|
set_has_turnplate_angle_limit_clockwise();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
@@ -2859,39 +2877,44 @@ void Region::SerializeWithCachedSizes(
|
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(14, this->plc_offsety(), output);
|
|
|
}
|
|
|
|
|
|
- // required float plc_border_miny = 15;
|
|
|
+ // required float plc_offset_degree = 15;
|
|
|
if (cached_has_bits & 0x00002000u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(15, this->plc_border_miny(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(15, this->plc_offset_degree(), output);
|
|
|
}
|
|
|
|
|
|
- // required float car_min_width = 16;
|
|
|
+ // required float plc_border_miny = 16;
|
|
|
if (cached_has_bits & 0x00004000u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(16, this->car_min_width(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(16, this->plc_border_miny(), output);
|
|
|
}
|
|
|
|
|
|
- // required float car_max_width = 17;
|
|
|
+ // required float car_min_width = 17;
|
|
|
if (cached_has_bits & 0x00008000u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(17, this->car_max_width(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(17, this->car_min_width(), output);
|
|
|
}
|
|
|
|
|
|
- // required float car_min_wheelbase = 18;
|
|
|
+ // required float car_max_width = 18;
|
|
|
if (cached_has_bits & 0x00010000u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(18, this->car_min_wheelbase(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(18, this->car_max_width(), output);
|
|
|
}
|
|
|
|
|
|
- // required float car_max_wheelbase = 19;
|
|
|
+ // required float car_min_wheelbase = 19;
|
|
|
if (cached_has_bits & 0x00020000u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(19, this->car_max_wheelbase(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(19, this->car_min_wheelbase(), output);
|
|
|
}
|
|
|
|
|
|
- // required float turnplate_angle_limit_anti_clockwise = 20;
|
|
|
+ // required float car_max_wheelbase = 20;
|
|
|
if (cached_has_bits & 0x00040000u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(20, this->turnplate_angle_limit_anti_clockwise(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(20, this->car_max_wheelbase(), output);
|
|
|
}
|
|
|
|
|
|
- // required float turnplate_angle_limit_clockwise = 21;
|
|
|
+ // required float turnplate_angle_limit_anti_clockwise = 21;
|
|
|
if (cached_has_bits & 0x00080000u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(21, this->turnplate_angle_limit_clockwise(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(21, this->turnplate_angle_limit_anti_clockwise(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float turnplate_angle_limit_clockwise = 22;
|
|
|
+ if (cached_has_bits & 0x00100000u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(22, this->turnplate_angle_limit_clockwise(), output);
|
|
|
}
|
|
|
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
@@ -2982,39 +3005,44 @@ void Region::SerializeWithCachedSizes(
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(14, this->plc_offsety(), target);
|
|
|
}
|
|
|
|
|
|
- // required float plc_border_miny = 15;
|
|
|
+ // required float plc_offset_degree = 15;
|
|
|
if (cached_has_bits & 0x00002000u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(15, this->plc_border_miny(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(15, this->plc_offset_degree(), target);
|
|
|
}
|
|
|
|
|
|
- // required float car_min_width = 16;
|
|
|
+ // required float plc_border_miny = 16;
|
|
|
if (cached_has_bits & 0x00004000u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(16, this->car_min_width(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(16, this->plc_border_miny(), target);
|
|
|
}
|
|
|
|
|
|
- // required float car_max_width = 17;
|
|
|
+ // required float car_min_width = 17;
|
|
|
if (cached_has_bits & 0x00008000u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(17, this->car_max_width(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(17, this->car_min_width(), target);
|
|
|
}
|
|
|
|
|
|
- // required float car_min_wheelbase = 18;
|
|
|
+ // required float car_max_width = 18;
|
|
|
if (cached_has_bits & 0x00010000u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(18, this->car_min_wheelbase(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(18, this->car_max_width(), target);
|
|
|
}
|
|
|
|
|
|
- // required float car_max_wheelbase = 19;
|
|
|
+ // required float car_min_wheelbase = 19;
|
|
|
if (cached_has_bits & 0x00020000u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(19, this->car_max_wheelbase(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(19, this->car_min_wheelbase(), target);
|
|
|
}
|
|
|
|
|
|
- // required float turnplate_angle_limit_anti_clockwise = 20;
|
|
|
+ // required float car_max_wheelbase = 20;
|
|
|
if (cached_has_bits & 0x00040000u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(20, this->turnplate_angle_limit_anti_clockwise(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(20, this->car_max_wheelbase(), target);
|
|
|
}
|
|
|
|
|
|
- // required float turnplate_angle_limit_clockwise = 21;
|
|
|
+ // required float turnplate_angle_limit_anti_clockwise = 21;
|
|
|
if (cached_has_bits & 0x00080000u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(21, this->turnplate_angle_limit_clockwise(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(21, this->turnplate_angle_limit_anti_clockwise(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // required float turnplate_angle_limit_clockwise = 22;
|
|
|
+ if (cached_has_bits & 0x00100000u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(22, this->turnplate_angle_limit_clockwise(), target);
|
|
|
}
|
|
|
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
@@ -3096,38 +3124,43 @@ size_t Region::RequiredFieldsByteSizeFallback() const {
|
|
|
total_size += 1 + 4;
|
|
|
}
|
|
|
|
|
|
- if (has_plc_border_miny()) {
|
|
|
- // required float plc_border_miny = 15;
|
|
|
+ if (has_plc_offset_degree()) {
|
|
|
+ // required float plc_offset_degree = 15;
|
|
|
total_size += 1 + 4;
|
|
|
}
|
|
|
|
|
|
+ if (has_plc_border_miny()) {
|
|
|
+ // required float plc_border_miny = 16;
|
|
|
+ total_size += 2 + 4;
|
|
|
+ }
|
|
|
+
|
|
|
if (has_car_min_width()) {
|
|
|
- // required float car_min_width = 16;
|
|
|
+ // required float car_min_width = 17;
|
|
|
total_size += 2 + 4;
|
|
|
}
|
|
|
|
|
|
if (has_car_max_width()) {
|
|
|
- // required float car_max_width = 17;
|
|
|
+ // required float car_max_width = 18;
|
|
|
total_size += 2 + 4;
|
|
|
}
|
|
|
|
|
|
if (has_car_min_wheelbase()) {
|
|
|
- // required float car_min_wheelbase = 18;
|
|
|
+ // required float car_min_wheelbase = 19;
|
|
|
total_size += 2 + 4;
|
|
|
}
|
|
|
|
|
|
if (has_car_max_wheelbase()) {
|
|
|
- // required float car_max_wheelbase = 19;
|
|
|
+ // required float car_max_wheelbase = 20;
|
|
|
total_size += 2 + 4;
|
|
|
}
|
|
|
|
|
|
if (has_turnplate_angle_limit_anti_clockwise()) {
|
|
|
- // required float turnplate_angle_limit_anti_clockwise = 20;
|
|
|
+ // required float turnplate_angle_limit_anti_clockwise = 21;
|
|
|
total_size += 2 + 4;
|
|
|
}
|
|
|
|
|
|
if (has_turnplate_angle_limit_clockwise()) {
|
|
|
- // required float turnplate_angle_limit_clockwise = 21;
|
|
|
+ // required float turnplate_angle_limit_clockwise = 22;
|
|
|
total_size += 2 + 4;
|
|
|
}
|
|
|
|
|
|
@@ -3142,7 +3175,7 @@ size_t Region::ByteSizeLong() const {
|
|
|
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
_internal_metadata_.unknown_fields());
|
|
|
}
|
|
|
- if (((_has_bits_[0] & 0x000fffff) ^ 0x000fffff) == 0) { // All required fields are present.
|
|
|
+ if (((_has_bits_[0] & 0x001fffff) ^ 0x001fffff) == 0) { // All required fields are present.
|
|
|
// required float minx = 1;
|
|
|
total_size += 1 + 4;
|
|
|
|
|
|
@@ -3184,25 +3217,28 @@ size_t Region::ByteSizeLong() const {
|
|
|
// required float plc_offsety = 14;
|
|
|
total_size += 1 + 4;
|
|
|
|
|
|
- // required float plc_border_miny = 15;
|
|
|
+ // required float plc_offset_degree = 15;
|
|
|
total_size += 1 + 4;
|
|
|
|
|
|
- // required float car_min_width = 16;
|
|
|
+ // required float plc_border_miny = 16;
|
|
|
+ total_size += 2 + 4;
|
|
|
+
|
|
|
+ // required float car_min_width = 17;
|
|
|
total_size += 2 + 4;
|
|
|
|
|
|
- // required float car_max_width = 17;
|
|
|
+ // required float car_max_width = 18;
|
|
|
total_size += 2 + 4;
|
|
|
|
|
|
- // required float car_min_wheelbase = 18;
|
|
|
+ // required float car_min_wheelbase = 19;
|
|
|
total_size += 2 + 4;
|
|
|
|
|
|
- // required float car_max_wheelbase = 19;
|
|
|
+ // required float car_max_wheelbase = 20;
|
|
|
total_size += 2 + 4;
|
|
|
|
|
|
- // required float turnplate_angle_limit_anti_clockwise = 20;
|
|
|
+ // required float turnplate_angle_limit_anti_clockwise = 21;
|
|
|
total_size += 2 + 4;
|
|
|
|
|
|
- // required float turnplate_angle_limit_clockwise = 21;
|
|
|
+ // required float turnplate_angle_limit_clockwise = 22;
|
|
|
total_size += 2 + 4;
|
|
|
|
|
|
} else {
|
|
|
@@ -3292,27 +3328,30 @@ void Region::MergeFrom(const Region& from) {
|
|
|
plc_offsety_ = from.plc_offsety_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00002000u) {
|
|
|
- plc_border_miny_ = from.plc_border_miny_;
|
|
|
+ plc_offset_degree_ = from.plc_offset_degree_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00004000u) {
|
|
|
- car_min_width_ = from.car_min_width_;
|
|
|
+ plc_border_miny_ = from.plc_border_miny_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00008000u) {
|
|
|
- car_max_width_ = from.car_max_width_;
|
|
|
+ car_min_width_ = from.car_min_width_;
|
|
|
}
|
|
|
_has_bits_[0] |= cached_has_bits;
|
|
|
}
|
|
|
- if (cached_has_bits & 983040u) {
|
|
|
+ if (cached_has_bits & 2031616u) {
|
|
|
if (cached_has_bits & 0x00010000u) {
|
|
|
- car_min_wheelbase_ = from.car_min_wheelbase_;
|
|
|
+ car_max_width_ = from.car_max_width_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00020000u) {
|
|
|
- car_max_wheelbase_ = from.car_max_wheelbase_;
|
|
|
+ car_min_wheelbase_ = from.car_min_wheelbase_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00040000u) {
|
|
|
- turnplate_angle_limit_anti_clockwise_ = from.turnplate_angle_limit_anti_clockwise_;
|
|
|
+ car_max_wheelbase_ = from.car_max_wheelbase_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00080000u) {
|
|
|
+ turnplate_angle_limit_anti_clockwise_ = from.turnplate_angle_limit_anti_clockwise_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00100000u) {
|
|
|
turnplate_angle_limit_clockwise_ = from.turnplate_angle_limit_clockwise_;
|
|
|
}
|
|
|
_has_bits_[0] |= cached_has_bits;
|
|
|
@@ -3334,7 +3373,7 @@ void Region::CopyFrom(const Region& from) {
|
|
|
}
|
|
|
|
|
|
bool Region::IsInitialized() const {
|
|
|
- if ((_has_bits_[0] & 0x000fffff) != 0x000fffff) return false;
|
|
|
+ if ((_has_bits_[0] & 0x001fffff) != 0x001fffff) return false;
|
|
|
if (!::google::protobuf::internal::AllAreInitialized(this->lidar_exts())) return false;
|
|
|
return true;
|
|
|
}
|
|
|
@@ -3359,6 +3398,7 @@ void Region::InternalSwap(Region* other) {
|
|
|
swap(border_maxx_, other->border_maxx_);
|
|
|
swap(plc_offsetx_, other->plc_offsetx_);
|
|
|
swap(plc_offsety_, other->plc_offsety_);
|
|
|
+ swap(plc_offset_degree_, other->plc_offset_degree_);
|
|
|
swap(plc_border_miny_, other->plc_border_miny_);
|
|
|
swap(car_min_width_, other->car_min_width_);
|
|
|
swap(car_max_width_, other->car_max_width_);
|