|
@@ -96,10 +96,6 @@ PROTOBUF_CONSTEXPR ToAgvCmd::ToAgvCmd(
|
|
|
|
|
|
, /*decltype(_impl_.d1_)*/ 0
|
|
|
|
|
|
- , /*decltype(_impl_.y1_)*/ 0
|
|
|
-
|
|
|
- , /*decltype(_impl_.y2_)*/ 0
|
|
|
-
|
|
|
, /*decltype(_impl_.end_)*/ 0
|
|
|
|
|
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
|
@@ -375,8 +371,6 @@ const ::uint32_t TableStruct_message_2eproto::offsets[] PROTOBUF_SECTION_VARIABL
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.l1_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.p1_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.d1_),
|
|
|
- PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.y1_),
|
|
|
- PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.y2_),
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::ToAgvCmd, _impl_.end_),
|
|
|
~0u, // no _has_bits_
|
|
|
PROTOBUF_FIELD_OFFSET(::NavMessage::Pose2d, _internal_metadata_),
|
|
@@ -515,15 +509,15 @@ static const ::_pbi::MigrationSchema
|
|
|
{ 0, -1, -1, sizeof(::NavMessage::LidarOdomStatu)},
|
|
|
{ 13, -1, -1, sizeof(::NavMessage::AgvStatu)},
|
|
|
{ 27, -1, -1, sizeof(::NavMessage::ToAgvCmd)},
|
|
|
- { 50, -1, -1, sizeof(::NavMessage::Pose2d)},
|
|
|
- { 61, -1, -1, sizeof(::NavMessage::PathNode)},
|
|
|
- { 75, -1, -1, sizeof(::NavMessage::Trajectory)},
|
|
|
- { 84, 99, -1, sizeof(::NavMessage::NewAction)},
|
|
|
- { 106, -1, -1, sizeof(::NavMessage::NavCmd)},
|
|
|
- { 117, -1, -1, sizeof(::NavMessage::NavResponse)},
|
|
|
- { 127, -1, -1, sizeof(::NavMessage::ManualCmd)},
|
|
|
- { 138, 155, -1, sizeof(::NavMessage::NavStatu)},
|
|
|
- { 164, 176, -1, sizeof(::NavMessage::RobotStatu)},
|
|
|
+ { 48, -1, -1, sizeof(::NavMessage::Pose2d)},
|
|
|
+ { 59, -1, -1, sizeof(::NavMessage::PathNode)},
|
|
|
+ { 73, -1, -1, sizeof(::NavMessage::Trajectory)},
|
|
|
+ { 82, 97, -1, sizeof(::NavMessage::NewAction)},
|
|
|
+ { 104, -1, -1, sizeof(::NavMessage::NavCmd)},
|
|
|
+ { 115, -1, -1, sizeof(::NavMessage::NavResponse)},
|
|
|
+ { 125, -1, -1, sizeof(::NavMessage::ManualCmd)},
|
|
|
+ { 136, 153, -1, sizeof(::NavMessage::NavStatu)},
|
|
|
+ { 162, 174, -1, sizeof(::NavMessage::RobotStatu)},
|
|
|
};
|
|
|
|
|
|
static const ::_pb::Message* const file_default_instances[] = {
|
|
@@ -546,46 +540,46 @@ const char descriptor_table_protodef_message_2eproto[] PROTOBUF_SECTION_VARIABLE
|
|
|
"(\002\022\t\n\001v\030\004 \001(\002\022\013\n\003vth\030\005 \001(\002\"j\n\010AgvStatu\022\t"
|
|
|
"\n\001v\030\001 \001(\002\022\t\n\001w\030\002 \001(\002\022\r\n\005clamp\030\003 \001(\005\022\023\n\013c"
|
|
|
"lamp_other\030\004 \001(\005\022\016\n\006lifter\030\005 \001(\005\022\024\n\014lift"
|
|
|
- "er_other\030\006 \001(\005\"\277\001\n\010ToAgvCmd\022\n\n\002H1\030\001 \001(\005\022"
|
|
|
+ "er_other\030\006 \001(\005\"\247\001\n\010ToAgvCmd\022\n\n\002H1\030\001 \001(\005\022"
|
|
|
"\n\n\002M1\030\002 \001(\005\022\n\n\002T1\030\003 \001(\005\022\n\n\002V1\030\004 \001(\002\022\n\n\002W"
|
|
|
"1\030\005 \001(\002\022\n\n\002V2\030\006 \001(\002\022\n\n\002W2\030\007 \001(\002\022\n\n\002V3\030\010 "
|
|
|
"\001(\002\022\n\n\002W3\030\t \001(\002\022\n\n\002L1\030\n \001(\002\022\n\n\002P1\030\013 \001(\005\022"
|
|
|
- "\n\n\002D1\030\014 \001(\002\022\n\n\002Y1\030\r \001(\002\022\n\n\002Y2\030\016 \001(\002\022\013\n\003e"
|
|
|
- "nd\030\017 \001(\005\"-\n\006Pose2d\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002"
|
|
|
- "\022\r\n\005theta\030\003 \001(\002\"Q\n\010PathNode\022\t\n\001x\030\001 \001(\002\022\t"
|
|
|
- "\n\001y\030\002 \001(\002\022\t\n\001l\030\003 \001(\002\022\t\n\001w\030\004 \001(\002\022\r\n\005theta"
|
|
|
- "\030\005 \001(\002\022\n\n\002id\030\006 \001(\t\"/\n\nTrajectory\022!\n\005pose"
|
|
|
- "s\030\001 \003(\0132\022.NavMessage.Pose2d\"\345\001\n\tNewActio"
|
|
|
- "n\022\014\n\004type\030\001 \001(\005\022\'\n\tspaceNode\030\002 \001(\0132\024.Nav"
|
|
|
- "Message.PathNode\022&\n\010passNode\030\003 \001(\0132\024.Nav"
|
|
|
- "Message.PathNode\022(\n\nstreetNode\030\004 \001(\0132\024.N"
|
|
|
- "avMessage.PathNode\022\'\n\tpathNodes\030\005 \003(\0132\024."
|
|
|
- "NavMessage.PathNode\022\021\n\twheelbase\030\006 \001(\002\022\023"
|
|
|
- "\n\013changedMode\030\007 \001(\005\"P\n\006NavCmd\022\016\n\006action\030"
|
|
|
- "\001 \001(\005\022\013\n\003key\030\002 \001(\t\022)\n\nnewActions\030\005 \003(\0132\025"
|
|
|
- ".NavMessage.NewAction\"(\n\013NavResponse\022\013\n\003"
|
|
|
- "ret\030\001 \001(\005\022\014\n\004info\030\002 \001(\t\"B\n\tManualCmd\022\013\n\003"
|
|
|
- "key\030\001 \001(\t\022\026\n\016operation_type\030\002 \001(\005\022\020\n\010vel"
|
|
|
- "ocity\030\003 \001(\002\"\366\001\n\010NavStatu\022\r\n\005statu\030\001 \001(\005\022"
|
|
|
- "\020\n\010main_agv\030\002 \001(\010\022\021\n\tmove_mode\030\003 \001(\005\022(\n\004"
|
|
|
- "odom\030\004 \001(\0132\032.NavMessage.LidarOdomStatu\022\013"
|
|
|
- "\n\003key\030\005 \001(\t\022-\n\rselected_traj\030\006 \001(\0132\026.Nav"
|
|
|
- "Message.Trajectory\022,\n\014predict_traj\030\007 \001(\013"
|
|
|
- "2\026.NavMessage.Trajectory\022\020\n\010in_space\030\010 \001"
|
|
|
- "(\010\022\020\n\010space_id\030\t \001(\t\"Y\n\nRobotStatu\022\t\n\001x\030"
|
|
|
- "\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\r\n\005theta\030\003 \001(\002\022&\n\010agvSt"
|
|
|
- "atu\030\004 \001(\0132\024.NavMessage.AgvStatu2\302\001\n\nNavE"
|
|
|
- "xcutor\0226\n\005Start\022\022.NavMessage.NavCmd\032\027.Na"
|
|
|
- "vMessage.NavResponse\"\000\0227\n\006Cancel\022\022.NavMe"
|
|
|
- "ssage.NavCmd\032\027.NavMessage.NavResponse\"\000\022"
|
|
|
- "C\n\017ManualOperation\022\025.NavMessage.ManualCm"
|
|
|
- "d\032\027.NavMessage.NavResponse\"\000b\006proto3"
|
|
|
+ "\n\n\002D1\030\014 \001(\002\022\013\n\003end\030\r \001(\005\"-\n\006Pose2d\022\t\n\001x\030"
|
|
|
+ "\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\r\n\005theta\030\003 \001(\002\"Q\n\010PathN"
|
|
|
+ "ode\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001l\030\003 \001(\002\022\t\n\001"
|
|
|
+ "w\030\004 \001(\002\022\r\n\005theta\030\005 \001(\002\022\n\n\002id\030\006 \001(\t\"/\n\nTr"
|
|
|
+ "ajectory\022!\n\005poses\030\001 \003(\0132\022.NavMessage.Pos"
|
|
|
+ "e2d\"\345\001\n\tNewAction\022\014\n\004type\030\001 \001(\005\022\'\n\tspace"
|
|
|
+ "Node\030\002 \001(\0132\024.NavMessage.PathNode\022&\n\010pass"
|
|
|
+ "Node\030\003 \001(\0132\024.NavMessage.PathNode\022(\n\nstre"
|
|
|
+ "etNode\030\004 \001(\0132\024.NavMessage.PathNode\022\'\n\tpa"
|
|
|
+ "thNodes\030\005 \003(\0132\024.NavMessage.PathNode\022\021\n\tw"
|
|
|
+ "heelbase\030\006 \001(\002\022\023\n\013changedMode\030\007 \001(\005\"P\n\006N"
|
|
|
+ "avCmd\022\016\n\006action\030\001 \001(\005\022\013\n\003key\030\002 \001(\t\022)\n\nne"
|
|
|
+ "wActions\030\005 \003(\0132\025.NavMessage.NewAction\"(\n"
|
|
|
+ "\013NavResponse\022\013\n\003ret\030\001 \001(\005\022\014\n\004info\030\002 \001(\t\""
|
|
|
+ "B\n\tManualCmd\022\013\n\003key\030\001 \001(\t\022\026\n\016operation_t"
|
|
|
+ "ype\030\002 \001(\005\022\020\n\010velocity\030\003 \001(\002\"\366\001\n\010NavStatu"
|
|
|
+ "\022\r\n\005statu\030\001 \001(\005\022\020\n\010main_agv\030\002 \001(\010\022\021\n\tmov"
|
|
|
+ "e_mode\030\003 \001(\005\022(\n\004odom\030\004 \001(\0132\032.NavMessage."
|
|
|
+ "LidarOdomStatu\022\013\n\003key\030\005 \001(\t\022-\n\rselected_"
|
|
|
+ "traj\030\006 \001(\0132\026.NavMessage.Trajectory\022,\n\014pr"
|
|
|
+ "edict_traj\030\007 \001(\0132\026.NavMessage.Trajectory"
|
|
|
+ "\022\020\n\010in_space\030\010 \001(\010\022\020\n\010space_id\030\t \001(\t\"Y\n\n"
|
|
|
+ "RobotStatu\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\r\n\005thet"
|
|
|
+ "a\030\003 \001(\002\022&\n\010agvStatu\030\004 \001(\0132\024.NavMessage.A"
|
|
|
+ "gvStatu2\302\001\n\nNavExcutor\0226\n\005Start\022\022.NavMes"
|
|
|
+ "sage.NavCmd\032\027.NavMessage.NavResponse\"\000\0227"
|
|
|
+ "\n\006Cancel\022\022.NavMessage.NavCmd\032\027.NavMessag"
|
|
|
+ "e.NavResponse\"\000\022C\n\017ManualOperation\022\025.Nav"
|
|
|
+ "Message.ManualCmd\032\027.NavMessage.NavRespon"
|
|
|
+ "se\"\000b\006proto3"
|
|
|
};
|
|
|
static ::absl::once_flag descriptor_table_message_2eproto_once;
|
|
|
const ::_pbi::DescriptorTable descriptor_table_message_2eproto = {
|
|
|
false,
|
|
|
false,
|
|
|
- 1556,
|
|
|
+ 1532,
|
|
|
descriptor_table_protodef_message_2eproto,
|
|
|
"message.proto",
|
|
|
&descriptor_table_message_2eproto_once,
|
|
@@ -1343,10 +1337,6 @@ inline void ToAgvCmd::SharedCtor(::_pb::Arena* arena) {
|
|
|
|
|
|
, decltype(_impl_.d1_) { 0 }
|
|
|
|
|
|
- , decltype(_impl_.y1_) { 0 }
|
|
|
-
|
|
|
- , decltype(_impl_.y2_) { 0 }
|
|
|
-
|
|
|
, decltype(_impl_.end_) { 0 }
|
|
|
|
|
|
, /*decltype(_impl_._cached_size_)*/{}
|
|
@@ -1496,27 +1486,9 @@ const char* ToAgvCmd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx)
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
continue;
|
|
|
- // float Y1 = 13;
|
|
|
+ // int32 end = 13;
|
|
|
case 13:
|
|
|
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 109)) {
|
|
|
- _impl_.y1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
|
|
|
- ptr += sizeof(float);
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- continue;
|
|
|
- // float Y2 = 14;
|
|
|
- case 14:
|
|
|
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 117)) {
|
|
|
- _impl_.y2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
|
|
|
- ptr += sizeof(float);
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- continue;
|
|
|
- // int32 end = 15;
|
|
|
- case 15:
|
|
|
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 120)) {
|
|
|
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 104)) {
|
|
|
_impl_.end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
|
|
CHK_(ptr);
|
|
|
} else {
|
|
@@ -1668,33 +1640,11 @@ failure:
|
|
|
12, this->_internal_d1(), target);
|
|
|
}
|
|
|
|
|
|
- // float Y1 = 13;
|
|
|
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
- float tmp_y1 = this->_internal_y1();
|
|
|
- ::uint32_t raw_y1;
|
|
|
- memcpy(&raw_y1, &tmp_y1, sizeof(tmp_y1));
|
|
|
- if (raw_y1 != 0) {
|
|
|
- target = stream->EnsureSpace(target);
|
|
|
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
|
|
|
- 13, this->_internal_y1(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // float Y2 = 14;
|
|
|
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
- float tmp_y2 = this->_internal_y2();
|
|
|
- ::uint32_t raw_y2;
|
|
|
- memcpy(&raw_y2, &tmp_y2, sizeof(tmp_y2));
|
|
|
- if (raw_y2 != 0) {
|
|
|
- target = stream->EnsureSpace(target);
|
|
|
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
|
|
|
- 14, this->_internal_y2(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 end = 15;
|
|
|
+ // int32 end = 13;
|
|
|
if (this->_internal_end() != 0) {
|
|
|
target = stream->EnsureSpace(target);
|
|
|
target = ::_pbi::WireFormatLite::WriteInt32ToArray(
|
|
|
- 15, this->_internal_end(), target);
|
|
|
+ 13, this->_internal_end(), target);
|
|
|
}
|
|
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
@@ -1809,25 +1759,7 @@ failure:
|
|
|
total_size += 5;
|
|
|
}
|
|
|
|
|
|
- // float Y1 = 13;
|
|
|
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
- float tmp_y1 = this->_internal_y1();
|
|
|
- ::uint32_t raw_y1;
|
|
|
- memcpy(&raw_y1, &tmp_y1, sizeof(tmp_y1));
|
|
|
- if (raw_y1 != 0) {
|
|
|
- total_size += 5;
|
|
|
- }
|
|
|
-
|
|
|
- // float Y2 = 14;
|
|
|
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
- float tmp_y2 = this->_internal_y2();
|
|
|
- ::uint32_t raw_y2;
|
|
|
- memcpy(&raw_y2, &tmp_y2, sizeof(tmp_y2));
|
|
|
- if (raw_y2 != 0) {
|
|
|
- total_size += 5;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 end = 15;
|
|
|
+ // int32 end = 13;
|
|
|
if (this->_internal_end() != 0) {
|
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
|
this->_internal_end());
|
|
@@ -1919,20 +1851,6 @@ void ToAgvCmd::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTO
|
|
|
if (raw_d1 != 0) {
|
|
|
_this->_internal_set_d1(from._internal_d1());
|
|
|
}
|
|
|
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
- float tmp_y1 = from._internal_y1();
|
|
|
- ::uint32_t raw_y1;
|
|
|
- memcpy(&raw_y1, &tmp_y1, sizeof(tmp_y1));
|
|
|
- if (raw_y1 != 0) {
|
|
|
- _this->_internal_set_y1(from._internal_y1());
|
|
|
- }
|
|
|
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
|
|
|
- float tmp_y2 = from._internal_y2();
|
|
|
- ::uint32_t raw_y2;
|
|
|
- memcpy(&raw_y2, &tmp_y2, sizeof(tmp_y2));
|
|
|
- if (raw_y2 != 0) {
|
|
|
- _this->_internal_set_y2(from._internal_y2());
|
|
|
- }
|
|
|
if (from._internal_end() != 0) {
|
|
|
_this->_internal_set_end(from._internal_end());
|
|
|
}
|