123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: parameter.proto
- #include "parameter.pb.h"
- #include <algorithm>
- #include "google/protobuf/io/coded_stream.h"
- #include "google/protobuf/extension_set.h"
- #include "google/protobuf/wire_format_lite.h"
- #include "google/protobuf/descriptor.h"
- #include "google/protobuf/generated_message_reflection.h"
- #include "google/protobuf/reflection_ops.h"
- #include "google/protobuf/wire_format.h"
- // @@protoc_insertion_point(includes)
- // Must be included last.
- #include "google/protobuf/port_def.inc"
- PROTOBUF_PRAGMA_INIT_SEG
- namespace _pb = ::PROTOBUF_NAMESPACE_ID;
- namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal;
- namespace NavParameter {
- template <typename>
- PROTOBUF_CONSTEXPR AgvEmqx_parameter::AgvEmqx_parameter(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.nodeid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.ip_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.pubspeedtopic_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.subposetopic_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.subspeedtopic_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.port_)*/ 0
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct AgvEmqx_parameterDefaultTypeInternal {
- PROTOBUF_CONSTEXPR AgvEmqx_parameterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~AgvEmqx_parameterDefaultTypeInternal() {}
- union {
- AgvEmqx_parameter _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AgvEmqx_parameterDefaultTypeInternal _AgvEmqx_parameter_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR Emqx_parameter::Emqx_parameter(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.nodeid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.ip_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.pubstatutopic_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.pubnavstatutopic_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.port_)*/ 0
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct Emqx_parameterDefaultTypeInternal {
- PROTOBUF_CONSTEXPR Emqx_parameterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~Emqx_parameterDefaultTypeInternal() {}
- union {
- Emqx_parameter _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Emqx_parameterDefaultTypeInternal _Emqx_parameter_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR BrotherEmqx::BrotherEmqx(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.nodeid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.ip_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.subbrotherstatutopic_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.port_)*/ 0
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct BrotherEmqxDefaultTypeInternal {
- PROTOBUF_CONSTEXPR BrotherEmqxDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~BrotherEmqxDefaultTypeInternal() {}
- union {
- BrotherEmqx _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BrotherEmqxDefaultTypeInternal _BrotherEmqx_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR MPC_parameter::MPC_parameter(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.shortest_radius_)*/ 0
- , /*decltype(_impl_.dt_)*/ 0
- , /*decltype(_impl_.acc_velocity_)*/ 0
- , /*decltype(_impl_.acc_angular_)*/ 0
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct MPC_parameterDefaultTypeInternal {
- PROTOBUF_CONSTEXPR MPC_parameterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~MPC_parameterDefaultTypeInternal() {}
- union {
- MPC_parameter _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPC_parameterDefaultTypeInternal _MPC_parameter_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR SpeedLimit::SpeedLimit(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.min_)*/ 0
- , /*decltype(_impl_.max_)*/ 0
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct SpeedLimitDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SpeedLimitDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SpeedLimitDefaultTypeInternal() {}
- union {
- SpeedLimit _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SpeedLimitDefaultTypeInternal _SpeedLimit_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR Accuracy::Accuracy(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.l_)*/ 0
- , /*decltype(_impl_.w_)*/ 0
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct AccuracyDefaultTypeInternal {
- PROTOBUF_CONSTEXPR AccuracyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~AccuracyDefaultTypeInternal() {}
- union {
- Accuracy _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AccuracyDefaultTypeInternal _Accuracy_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR Navigation_parameter::Navigation_parameter(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.rpc_ipport_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.agv_emqx_)*/nullptr
- , /*decltype(_impl_.terminal_emqx_)*/nullptr
- , /*decltype(_impl_.brother_emqx_)*/nullptr
- , /*decltype(_impl_.x_mpc_parameter_)*/nullptr
- , /*decltype(_impl_.y_mpc_parameter_)*/nullptr
- , /*decltype(_impl_.inoutvlimit_)*/nullptr
- , /*decltype(_impl_.nodevelocitylimit_)*/nullptr
- , /*decltype(_impl_.nodeangularlimit_)*/nullptr
- , /*decltype(_impl_.main_agv_)*/ false
- } {}
- struct Navigation_parameterDefaultTypeInternal {
- PROTOBUF_CONSTEXPR Navigation_parameterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~Navigation_parameterDefaultTypeInternal() {}
- union {
- Navigation_parameter _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Navigation_parameterDefaultTypeInternal _Navigation_parameter_default_instance_;
- } // namespace NavParameter
- static ::_pb::Metadata file_level_metadata_parameter_2eproto[7];
- static constexpr const ::_pb::EnumDescriptor**
- file_level_enum_descriptors_parameter_2eproto = nullptr;
- static constexpr const ::_pb::ServiceDescriptor**
- file_level_service_descriptors_parameter_2eproto = nullptr;
- const ::uint32_t TableStruct_parameter_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(
- protodesc_cold) = {
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::NavParameter::AgvEmqx_parameter, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::NavParameter::AgvEmqx_parameter, _impl_.nodeid_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::AgvEmqx_parameter, _impl_.ip_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::AgvEmqx_parameter, _impl_.port_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::AgvEmqx_parameter, _impl_.pubspeedtopic_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::AgvEmqx_parameter, _impl_.subposetopic_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::AgvEmqx_parameter, _impl_.subspeedtopic_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::NavParameter::Emqx_parameter, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::NavParameter::Emqx_parameter, _impl_.nodeid_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Emqx_parameter, _impl_.ip_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Emqx_parameter, _impl_.port_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Emqx_parameter, _impl_.pubstatutopic_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Emqx_parameter, _impl_.pubnavstatutopic_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::NavParameter::BrotherEmqx, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::NavParameter::BrotherEmqx, _impl_.nodeid_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::BrotherEmqx, _impl_.ip_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::BrotherEmqx, _impl_.port_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::BrotherEmqx, _impl_.subbrotherstatutopic_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::NavParameter::MPC_parameter, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::NavParameter::MPC_parameter, _impl_.shortest_radius_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::MPC_parameter, _impl_.dt_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::MPC_parameter, _impl_.acc_velocity_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::MPC_parameter, _impl_.acc_angular_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::NavParameter::SpeedLimit, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::NavParameter::SpeedLimit, _impl_.min_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::SpeedLimit, _impl_.max_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::NavParameter::Accuracy, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::NavParameter::Accuracy, _impl_.l_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Accuracy, _impl_.w_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Navigation_parameter, _impl_._has_bits_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Navigation_parameter, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::NavParameter::Navigation_parameter, _impl_.main_agv_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Navigation_parameter, _impl_.agv_emqx_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Navigation_parameter, _impl_.terminal_emqx_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Navigation_parameter, _impl_.brother_emqx_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Navigation_parameter, _impl_.x_mpc_parameter_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Navigation_parameter, _impl_.y_mpc_parameter_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Navigation_parameter, _impl_.inoutvlimit_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Navigation_parameter, _impl_.nodevelocitylimit_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Navigation_parameter, _impl_.nodeangularlimit_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::Navigation_parameter, _impl_.rpc_ipport_),
- ~0u,
- 0,
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- ~0u,
- };
- static const ::_pbi::MigrationSchema
- schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
- { 0, -1, -1, sizeof(::NavParameter::AgvEmqx_parameter)},
- { 14, -1, -1, sizeof(::NavParameter::Emqx_parameter)},
- { 27, -1, -1, sizeof(::NavParameter::BrotherEmqx)},
- { 39, -1, -1, sizeof(::NavParameter::MPC_parameter)},
- { 51, -1, -1, sizeof(::NavParameter::SpeedLimit)},
- { 61, -1, -1, sizeof(::NavParameter::Accuracy)},
- { 71, 89, -1, sizeof(::NavParameter::Navigation_parameter)},
- };
- static const ::_pb::Message* const file_default_instances[] = {
- &::NavParameter::_AgvEmqx_parameter_default_instance_._instance,
- &::NavParameter::_Emqx_parameter_default_instance_._instance,
- &::NavParameter::_BrotherEmqx_default_instance_._instance,
- &::NavParameter::_MPC_parameter_default_instance_._instance,
- &::NavParameter::_SpeedLimit_default_instance_._instance,
- &::NavParameter::_Accuracy_default_instance_._instance,
- &::NavParameter::_Navigation_parameter_default_instance_._instance,
- };
- const char descriptor_table_protodef_parameter_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
- "\n\017parameter.proto\022\014NavParameter\"\201\001\n\021AgvE"
- "mqx_parameter\022\016\n\006NodeId\030\001 \001(\t\022\n\n\002ip\030\002 \001("
- "\t\022\014\n\004port\030\003 \001(\005\022\025\n\rpubSpeedTopic\030\004 \001(\t\022\024"
- "\n\014subPoseTopic\030\005 \001(\t\022\025\n\rsubSpeedTopic\030\006 "
- "\001(\t\"k\n\016Emqx_parameter\022\016\n\006NodeId\030\001 \001(\t\022\n\n"
- "\002ip\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\022\025\n\rpubStatuTopic"
- "\030\004 \001(\t\022\030\n\020pubNavStatuTopic\030\005 \001(\t\"U\n\013Brot"
- "herEmqx\022\016\n\006NodeId\030\001 \001(\t\022\n\n\002ip\030\002 \001(\t\022\014\n\004p"
- "ort\030\003 \001(\005\022\034\n\024subBrotherStatuTopic\030\004 \001(\t\""
- "_\n\rMPC_parameter\022\027\n\017shortest_radius\030\001 \001("
- "\002\022\n\n\002dt\030\002 \001(\002\022\024\n\014acc_velocity\030\003 \001(\002\022\023\n\013a"
- "cc_angular\030\004 \001(\002\"&\n\nSpeedLimit\022\013\n\003min\030\001 "
- "\001(\002\022\013\n\003max\030\002 \001(\002\" \n\010Accuracy\022\t\n\001l\030\001 \001(\002\022"
- "\t\n\001w\030\002 \001(\002\"\331\003\n\024Navigation_parameter\022\020\n\010m"
- "ain_agv\030\001 \001(\010\0221\n\010Agv_emqx\030\002 \001(\0132\037.NavPar"
- "ameter.AgvEmqx_parameter\0223\n\rTerminal_emq"
- "x\030\003 \001(\0132\034.NavParameter.Emqx_parameter\022/\n"
- "\014brother_emqx\030\004 \001(\0132\031.NavParameter.Broth"
- "erEmqx\0224\n\017x_mpc_parameter\030\005 \001(\0132\033.NavPar"
- "ameter.MPC_parameter\0224\n\017y_mpc_parameter\030"
- "\006 \001(\0132\033.NavParameter.MPC_parameter\022-\n\013In"
- "OutVLimit\030\007 \001(\0132\030.NavParameter.SpeedLimi"
- "t\0223\n\021NodeVelocityLimit\030\010 \001(\0132\030.NavParame"
- "ter.SpeedLimit\0222\n\020NodeAngularLimit\030\t \001(\013"
- "2\030.NavParameter.SpeedLimit\022\022\n\nrpc_ipport"
- "\030\n \001(\tb\006proto3"
- };
- static ::absl::once_flag descriptor_table_parameter_2eproto_once;
- const ::_pbi::DescriptorTable descriptor_table_parameter_2eproto = {
- false,
- false,
- 1014,
- descriptor_table_protodef_parameter_2eproto,
- "parameter.proto",
- &descriptor_table_parameter_2eproto_once,
- nullptr,
- 0,
- 7,
- schemas,
- file_default_instances,
- TableStruct_parameter_2eproto::offsets,
- file_level_metadata_parameter_2eproto,
- file_level_enum_descriptors_parameter_2eproto,
- file_level_service_descriptors_parameter_2eproto,
- };
- // This function exists to be marked as weak.
- // It can significantly speed up compilation by breaking up LLVM's SCC
- // in the .pb.cc translation units. Large translation units see a
- // reduction of more than 35% of walltime for optimized builds. Without
- // the weak attribute all the messages in the file, including all the
- // vtables and everything they use become part of the same SCC through
- // a cycle like:
- // GetMetadata -> descriptor table -> default instances ->
- // vtables -> GetMetadata
- // By adding a weak function here we break the connection from the
- // individual vtables back into the descriptor table.
- PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_parameter_2eproto_getter() {
- return &descriptor_table_parameter_2eproto;
- }
- // Force running AddDescriptors() at dynamic initialization time.
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
- static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_parameter_2eproto(&descriptor_table_parameter_2eproto);
- namespace NavParameter {
- // ===================================================================
- class AgvEmqx_parameter::_Internal {
- public:
- };
- AgvEmqx_parameter::AgvEmqx_parameter(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:NavParameter.AgvEmqx_parameter)
- }
- AgvEmqx_parameter::AgvEmqx_parameter(const AgvEmqx_parameter& from)
- : ::PROTOBUF_NAMESPACE_ID::Message() {
- AgvEmqx_parameter* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.nodeid_) {}
- , decltype(_impl_.ip_) {}
- , decltype(_impl_.pubspeedtopic_) {}
- , decltype(_impl_.subposetopic_) {}
- , decltype(_impl_.subspeedtopic_) {}
- , decltype(_impl_.port_) {}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- _impl_.nodeid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.nodeid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_nodeid().empty()) {
- _this->_impl_.nodeid_.Set(from._internal_nodeid(), _this->GetArenaForAllocation());
- }
- _impl_.ip_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.ip_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_ip().empty()) {
- _this->_impl_.ip_.Set(from._internal_ip(), _this->GetArenaForAllocation());
- }
- _impl_.pubspeedtopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.pubspeedtopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_pubspeedtopic().empty()) {
- _this->_impl_.pubspeedtopic_.Set(from._internal_pubspeedtopic(), _this->GetArenaForAllocation());
- }
- _impl_.subposetopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.subposetopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_subposetopic().empty()) {
- _this->_impl_.subposetopic_.Set(from._internal_subposetopic(), _this->GetArenaForAllocation());
- }
- _impl_.subspeedtopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.subspeedtopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_subspeedtopic().empty()) {
- _this->_impl_.subspeedtopic_.Set(from._internal_subspeedtopic(), _this->GetArenaForAllocation());
- }
- _this->_impl_.port_ = from._impl_.port_;
- // @@protoc_insertion_point(copy_constructor:NavParameter.AgvEmqx_parameter)
- }
- inline void AgvEmqx_parameter::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.nodeid_) {}
- , decltype(_impl_.ip_) {}
- , decltype(_impl_.pubspeedtopic_) {}
- , decltype(_impl_.subposetopic_) {}
- , decltype(_impl_.subspeedtopic_) {}
- , decltype(_impl_.port_) { 0 }
- , /*decltype(_impl_._cached_size_)*/{}
- };
- _impl_.nodeid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.nodeid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.ip_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.ip_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.pubspeedtopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.pubspeedtopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.subposetopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.subposetopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.subspeedtopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.subspeedtopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- AgvEmqx_parameter::~AgvEmqx_parameter() {
- // @@protoc_insertion_point(destructor:NavParameter.AgvEmqx_parameter)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void AgvEmqx_parameter::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.nodeid_.Destroy();
- _impl_.ip_.Destroy();
- _impl_.pubspeedtopic_.Destroy();
- _impl_.subposetopic_.Destroy();
- _impl_.subspeedtopic_.Destroy();
- }
- void AgvEmqx_parameter::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void AgvEmqx_parameter::Clear() {
- // @@protoc_insertion_point(message_clear_start:NavParameter.AgvEmqx_parameter)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.nodeid_.ClearToEmpty();
- _impl_.ip_.ClearToEmpty();
- _impl_.pubspeedtopic_.ClearToEmpty();
- _impl_.subposetopic_.ClearToEmpty();
- _impl_.subspeedtopic_.ClearToEmpty();
- _impl_.port_ = 0;
- _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- const char* AgvEmqx_parameter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // string NodeId = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_nodeid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.AgvEmqx_parameter.NodeId"));
- } else {
- goto handle_unusual;
- }
- continue;
- // string ip = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_ip();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.AgvEmqx_parameter.ip"));
- } else {
- goto handle_unusual;
- }
- continue;
- // int32 port = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _impl_.port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // string pubSpeedTopic = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
- auto str = _internal_mutable_pubspeedtopic();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.AgvEmqx_parameter.pubSpeedTopic"));
- } else {
- goto handle_unusual;
- }
- continue;
- // string subPoseTopic = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
- auto str = _internal_mutable_subposetopic();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.AgvEmqx_parameter.subPoseTopic"));
- } else {
- goto handle_unusual;
- }
- continue;
- // string subSpeedTopic = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) {
- auto str = _internal_mutable_subspeedtopic();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.AgvEmqx_parameter.subSpeedTopic"));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* AgvEmqx_parameter::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:NavParameter.AgvEmqx_parameter)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // string NodeId = 1;
- if (!this->_internal_nodeid().empty()) {
- const std::string& _s = this->_internal_nodeid();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.AgvEmqx_parameter.NodeId");
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // string ip = 2;
- if (!this->_internal_ip().empty()) {
- const std::string& _s = this->_internal_ip();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.AgvEmqx_parameter.ip");
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // int32 port = 3;
- if (this->_internal_port() != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 3, this->_internal_port(), target);
- }
- // string pubSpeedTopic = 4;
- if (!this->_internal_pubspeedtopic().empty()) {
- const std::string& _s = this->_internal_pubspeedtopic();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.AgvEmqx_parameter.pubSpeedTopic");
- target = stream->WriteStringMaybeAliased(4, _s, target);
- }
- // string subPoseTopic = 5;
- if (!this->_internal_subposetopic().empty()) {
- const std::string& _s = this->_internal_subposetopic();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.AgvEmqx_parameter.subPoseTopic");
- target = stream->WriteStringMaybeAliased(5, _s, target);
- }
- // string subSpeedTopic = 6;
- if (!this->_internal_subspeedtopic().empty()) {
- const std::string& _s = this->_internal_subspeedtopic();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.AgvEmqx_parameter.subSpeedTopic");
- target = stream->WriteStringMaybeAliased(6, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:NavParameter.AgvEmqx_parameter)
- return target;
- }
- ::size_t AgvEmqx_parameter::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:NavParameter.AgvEmqx_parameter)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // string NodeId = 1;
- if (!this->_internal_nodeid().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_nodeid());
- }
- // string ip = 2;
- if (!this->_internal_ip().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_ip());
- }
- // string pubSpeedTopic = 4;
- if (!this->_internal_pubspeedtopic().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_pubspeedtopic());
- }
- // string subPoseTopic = 5;
- if (!this->_internal_subposetopic().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_subposetopic());
- }
- // string subSpeedTopic = 6;
- if (!this->_internal_subspeedtopic().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_subspeedtopic());
- }
- // int32 port = 3;
- if (this->_internal_port() != 0) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_port());
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AgvEmqx_parameter::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
- AgvEmqx_parameter::MergeImpl
- };
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AgvEmqx_parameter::GetClassData() const { return &_class_data_; }
- void AgvEmqx_parameter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
- auto* const _this = static_cast<AgvEmqx_parameter*>(&to_msg);
- auto& from = static_cast<const AgvEmqx_parameter&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:NavParameter.AgvEmqx_parameter)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if (!from._internal_nodeid().empty()) {
- _this->_internal_set_nodeid(from._internal_nodeid());
- }
- if (!from._internal_ip().empty()) {
- _this->_internal_set_ip(from._internal_ip());
- }
- if (!from._internal_pubspeedtopic().empty()) {
- _this->_internal_set_pubspeedtopic(from._internal_pubspeedtopic());
- }
- if (!from._internal_subposetopic().empty()) {
- _this->_internal_set_subposetopic(from._internal_subposetopic());
- }
- if (!from._internal_subspeedtopic().empty()) {
- _this->_internal_set_subspeedtopic(from._internal_subspeedtopic());
- }
- if (from._internal_port() != 0) {
- _this->_internal_set_port(from._internal_port());
- }
- _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- }
- void AgvEmqx_parameter::CopyFrom(const AgvEmqx_parameter& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:NavParameter.AgvEmqx_parameter)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool AgvEmqx_parameter::IsInitialized() const {
- return true;
- }
- void AgvEmqx_parameter::InternalSwap(AgvEmqx_parameter* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.nodeid_, lhs_arena,
- &other->_impl_.nodeid_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ip_, lhs_arena,
- &other->_impl_.ip_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.pubspeedtopic_, lhs_arena,
- &other->_impl_.pubspeedtopic_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subposetopic_, lhs_arena,
- &other->_impl_.subposetopic_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subspeedtopic_, lhs_arena,
- &other->_impl_.subspeedtopic_, rhs_arena);
- swap(_impl_.port_, other->_impl_.port_);
- }
- ::PROTOBUF_NAMESPACE_ID::Metadata AgvEmqx_parameter::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_parameter_2eproto_getter, &descriptor_table_parameter_2eproto_once,
- file_level_metadata_parameter_2eproto[0]);
- }
- // ===================================================================
- class Emqx_parameter::_Internal {
- public:
- };
- Emqx_parameter::Emqx_parameter(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:NavParameter.Emqx_parameter)
- }
- Emqx_parameter::Emqx_parameter(const Emqx_parameter& from)
- : ::PROTOBUF_NAMESPACE_ID::Message() {
- Emqx_parameter* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.nodeid_) {}
- , decltype(_impl_.ip_) {}
- , decltype(_impl_.pubstatutopic_) {}
- , decltype(_impl_.pubnavstatutopic_) {}
- , decltype(_impl_.port_) {}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- _impl_.nodeid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.nodeid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_nodeid().empty()) {
- _this->_impl_.nodeid_.Set(from._internal_nodeid(), _this->GetArenaForAllocation());
- }
- _impl_.ip_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.ip_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_ip().empty()) {
- _this->_impl_.ip_.Set(from._internal_ip(), _this->GetArenaForAllocation());
- }
- _impl_.pubstatutopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.pubstatutopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_pubstatutopic().empty()) {
- _this->_impl_.pubstatutopic_.Set(from._internal_pubstatutopic(), _this->GetArenaForAllocation());
- }
- _impl_.pubnavstatutopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.pubnavstatutopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_pubnavstatutopic().empty()) {
- _this->_impl_.pubnavstatutopic_.Set(from._internal_pubnavstatutopic(), _this->GetArenaForAllocation());
- }
- _this->_impl_.port_ = from._impl_.port_;
- // @@protoc_insertion_point(copy_constructor:NavParameter.Emqx_parameter)
- }
- inline void Emqx_parameter::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.nodeid_) {}
- , decltype(_impl_.ip_) {}
- , decltype(_impl_.pubstatutopic_) {}
- , decltype(_impl_.pubnavstatutopic_) {}
- , decltype(_impl_.port_) { 0 }
- , /*decltype(_impl_._cached_size_)*/{}
- };
- _impl_.nodeid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.nodeid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.ip_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.ip_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.pubstatutopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.pubstatutopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.pubnavstatutopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.pubnavstatutopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- Emqx_parameter::~Emqx_parameter() {
- // @@protoc_insertion_point(destructor:NavParameter.Emqx_parameter)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void Emqx_parameter::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.nodeid_.Destroy();
- _impl_.ip_.Destroy();
- _impl_.pubstatutopic_.Destroy();
- _impl_.pubnavstatutopic_.Destroy();
- }
- void Emqx_parameter::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void Emqx_parameter::Clear() {
- // @@protoc_insertion_point(message_clear_start:NavParameter.Emqx_parameter)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.nodeid_.ClearToEmpty();
- _impl_.ip_.ClearToEmpty();
- _impl_.pubstatutopic_.ClearToEmpty();
- _impl_.pubnavstatutopic_.ClearToEmpty();
- _impl_.port_ = 0;
- _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- const char* Emqx_parameter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // string NodeId = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_nodeid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.Emqx_parameter.NodeId"));
- } else {
- goto handle_unusual;
- }
- continue;
- // string ip = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_ip();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.Emqx_parameter.ip"));
- } else {
- goto handle_unusual;
- }
- continue;
- // int32 port = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _impl_.port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // string pubStatuTopic = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
- auto str = _internal_mutable_pubstatutopic();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.Emqx_parameter.pubStatuTopic"));
- } else {
- goto handle_unusual;
- }
- continue;
- // string pubNavStatuTopic = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
- auto str = _internal_mutable_pubnavstatutopic();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.Emqx_parameter.pubNavStatuTopic"));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* Emqx_parameter::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:NavParameter.Emqx_parameter)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // string NodeId = 1;
- if (!this->_internal_nodeid().empty()) {
- const std::string& _s = this->_internal_nodeid();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.Emqx_parameter.NodeId");
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // string ip = 2;
- if (!this->_internal_ip().empty()) {
- const std::string& _s = this->_internal_ip();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.Emqx_parameter.ip");
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // int32 port = 3;
- if (this->_internal_port() != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 3, this->_internal_port(), target);
- }
- // string pubStatuTopic = 4;
- if (!this->_internal_pubstatutopic().empty()) {
- const std::string& _s = this->_internal_pubstatutopic();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.Emqx_parameter.pubStatuTopic");
- target = stream->WriteStringMaybeAliased(4, _s, target);
- }
- // string pubNavStatuTopic = 5;
- if (!this->_internal_pubnavstatutopic().empty()) {
- const std::string& _s = this->_internal_pubnavstatutopic();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.Emqx_parameter.pubNavStatuTopic");
- target = stream->WriteStringMaybeAliased(5, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:NavParameter.Emqx_parameter)
- return target;
- }
- ::size_t Emqx_parameter::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:NavParameter.Emqx_parameter)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // string NodeId = 1;
- if (!this->_internal_nodeid().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_nodeid());
- }
- // string ip = 2;
- if (!this->_internal_ip().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_ip());
- }
- // string pubStatuTopic = 4;
- if (!this->_internal_pubstatutopic().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_pubstatutopic());
- }
- // string pubNavStatuTopic = 5;
- if (!this->_internal_pubnavstatutopic().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_pubnavstatutopic());
- }
- // int32 port = 3;
- if (this->_internal_port() != 0) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_port());
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Emqx_parameter::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
- Emqx_parameter::MergeImpl
- };
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Emqx_parameter::GetClassData() const { return &_class_data_; }
- void Emqx_parameter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
- auto* const _this = static_cast<Emqx_parameter*>(&to_msg);
- auto& from = static_cast<const Emqx_parameter&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:NavParameter.Emqx_parameter)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if (!from._internal_nodeid().empty()) {
- _this->_internal_set_nodeid(from._internal_nodeid());
- }
- if (!from._internal_ip().empty()) {
- _this->_internal_set_ip(from._internal_ip());
- }
- if (!from._internal_pubstatutopic().empty()) {
- _this->_internal_set_pubstatutopic(from._internal_pubstatutopic());
- }
- if (!from._internal_pubnavstatutopic().empty()) {
- _this->_internal_set_pubnavstatutopic(from._internal_pubnavstatutopic());
- }
- if (from._internal_port() != 0) {
- _this->_internal_set_port(from._internal_port());
- }
- _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- }
- void Emqx_parameter::CopyFrom(const Emqx_parameter& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:NavParameter.Emqx_parameter)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Emqx_parameter::IsInitialized() const {
- return true;
- }
- void Emqx_parameter::InternalSwap(Emqx_parameter* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.nodeid_, lhs_arena,
- &other->_impl_.nodeid_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ip_, lhs_arena,
- &other->_impl_.ip_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.pubstatutopic_, lhs_arena,
- &other->_impl_.pubstatutopic_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.pubnavstatutopic_, lhs_arena,
- &other->_impl_.pubnavstatutopic_, rhs_arena);
- swap(_impl_.port_, other->_impl_.port_);
- }
- ::PROTOBUF_NAMESPACE_ID::Metadata Emqx_parameter::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_parameter_2eproto_getter, &descriptor_table_parameter_2eproto_once,
- file_level_metadata_parameter_2eproto[1]);
- }
- // ===================================================================
- class BrotherEmqx::_Internal {
- public:
- };
- BrotherEmqx::BrotherEmqx(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:NavParameter.BrotherEmqx)
- }
- BrotherEmqx::BrotherEmqx(const BrotherEmqx& from)
- : ::PROTOBUF_NAMESPACE_ID::Message() {
- BrotherEmqx* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.nodeid_) {}
- , decltype(_impl_.ip_) {}
- , decltype(_impl_.subbrotherstatutopic_) {}
- , decltype(_impl_.port_) {}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- _impl_.nodeid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.nodeid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_nodeid().empty()) {
- _this->_impl_.nodeid_.Set(from._internal_nodeid(), _this->GetArenaForAllocation());
- }
- _impl_.ip_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.ip_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_ip().empty()) {
- _this->_impl_.ip_.Set(from._internal_ip(), _this->GetArenaForAllocation());
- }
- _impl_.subbrotherstatutopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.subbrotherstatutopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_subbrotherstatutopic().empty()) {
- _this->_impl_.subbrotherstatutopic_.Set(from._internal_subbrotherstatutopic(), _this->GetArenaForAllocation());
- }
- _this->_impl_.port_ = from._impl_.port_;
- // @@protoc_insertion_point(copy_constructor:NavParameter.BrotherEmqx)
- }
- inline void BrotherEmqx::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.nodeid_) {}
- , decltype(_impl_.ip_) {}
- , decltype(_impl_.subbrotherstatutopic_) {}
- , decltype(_impl_.port_) { 0 }
- , /*decltype(_impl_._cached_size_)*/{}
- };
- _impl_.nodeid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.nodeid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.ip_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.ip_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.subbrotherstatutopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.subbrotherstatutopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- BrotherEmqx::~BrotherEmqx() {
- // @@protoc_insertion_point(destructor:NavParameter.BrotherEmqx)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void BrotherEmqx::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.nodeid_.Destroy();
- _impl_.ip_.Destroy();
- _impl_.subbrotherstatutopic_.Destroy();
- }
- void BrotherEmqx::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void BrotherEmqx::Clear() {
- // @@protoc_insertion_point(message_clear_start:NavParameter.BrotherEmqx)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.nodeid_.ClearToEmpty();
- _impl_.ip_.ClearToEmpty();
- _impl_.subbrotherstatutopic_.ClearToEmpty();
- _impl_.port_ = 0;
- _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- const char* BrotherEmqx::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // string NodeId = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_nodeid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.BrotherEmqx.NodeId"));
- } else {
- goto handle_unusual;
- }
- continue;
- // string ip = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_ip();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.BrotherEmqx.ip"));
- } else {
- goto handle_unusual;
- }
- continue;
- // int32 port = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _impl_.port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // string subBrotherStatuTopic = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
- auto str = _internal_mutable_subbrotherstatutopic();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.BrotherEmqx.subBrotherStatuTopic"));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* BrotherEmqx::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:NavParameter.BrotherEmqx)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // string NodeId = 1;
- if (!this->_internal_nodeid().empty()) {
- const std::string& _s = this->_internal_nodeid();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.BrotherEmqx.NodeId");
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // string ip = 2;
- if (!this->_internal_ip().empty()) {
- const std::string& _s = this->_internal_ip();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.BrotherEmqx.ip");
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // int32 port = 3;
- if (this->_internal_port() != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 3, this->_internal_port(), target);
- }
- // string subBrotherStatuTopic = 4;
- if (!this->_internal_subbrotherstatutopic().empty()) {
- const std::string& _s = this->_internal_subbrotherstatutopic();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.BrotherEmqx.subBrotherStatuTopic");
- target = stream->WriteStringMaybeAliased(4, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:NavParameter.BrotherEmqx)
- return target;
- }
- ::size_t BrotherEmqx::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:NavParameter.BrotherEmqx)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // string NodeId = 1;
- if (!this->_internal_nodeid().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_nodeid());
- }
- // string ip = 2;
- if (!this->_internal_ip().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_ip());
- }
- // string subBrotherStatuTopic = 4;
- if (!this->_internal_subbrotherstatutopic().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_subbrotherstatutopic());
- }
- // int32 port = 3;
- if (this->_internal_port() != 0) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_port());
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BrotherEmqx::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
- BrotherEmqx::MergeImpl
- };
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BrotherEmqx::GetClassData() const { return &_class_data_; }
- void BrotherEmqx::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
- auto* const _this = static_cast<BrotherEmqx*>(&to_msg);
- auto& from = static_cast<const BrotherEmqx&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:NavParameter.BrotherEmqx)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if (!from._internal_nodeid().empty()) {
- _this->_internal_set_nodeid(from._internal_nodeid());
- }
- if (!from._internal_ip().empty()) {
- _this->_internal_set_ip(from._internal_ip());
- }
- if (!from._internal_subbrotherstatutopic().empty()) {
- _this->_internal_set_subbrotherstatutopic(from._internal_subbrotherstatutopic());
- }
- if (from._internal_port() != 0) {
- _this->_internal_set_port(from._internal_port());
- }
- _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- }
- void BrotherEmqx::CopyFrom(const BrotherEmqx& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:NavParameter.BrotherEmqx)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool BrotherEmqx::IsInitialized() const {
- return true;
- }
- void BrotherEmqx::InternalSwap(BrotherEmqx* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.nodeid_, lhs_arena,
- &other->_impl_.nodeid_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ip_, lhs_arena,
- &other->_impl_.ip_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subbrotherstatutopic_, lhs_arena,
- &other->_impl_.subbrotherstatutopic_, rhs_arena);
- swap(_impl_.port_, other->_impl_.port_);
- }
- ::PROTOBUF_NAMESPACE_ID::Metadata BrotherEmqx::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_parameter_2eproto_getter, &descriptor_table_parameter_2eproto_once,
- file_level_metadata_parameter_2eproto[2]);
- }
- // ===================================================================
- class MPC_parameter::_Internal {
- public:
- };
- MPC_parameter::MPC_parameter(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:NavParameter.MPC_parameter)
- }
- MPC_parameter::MPC_parameter(const MPC_parameter& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:NavParameter.MPC_parameter)
- }
- inline void MPC_parameter::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.shortest_radius_) { 0 }
- , decltype(_impl_.dt_) { 0 }
- , decltype(_impl_.acc_velocity_) { 0 }
- , decltype(_impl_.acc_angular_) { 0 }
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- MPC_parameter::~MPC_parameter() {
- // @@protoc_insertion_point(destructor:NavParameter.MPC_parameter)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void MPC_parameter::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void MPC_parameter::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void MPC_parameter::Clear() {
- // @@protoc_insertion_point(message_clear_start:NavParameter.MPC_parameter)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&_impl_.shortest_radius_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.acc_angular_) -
- reinterpret_cast<char*>(&_impl_.shortest_radius_)) + sizeof(_impl_.acc_angular_));
- _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- const char* MPC_parameter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // float shortest_radius = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) {
- _impl_.shortest_radius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
- ptr += sizeof(float);
- } else {
- goto handle_unusual;
- }
- continue;
- // float dt = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) {
- _impl_.dt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
- ptr += sizeof(float);
- } else {
- goto handle_unusual;
- }
- continue;
- // float acc_velocity = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) {
- _impl_.acc_velocity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
- ptr += sizeof(float);
- } else {
- goto handle_unusual;
- }
- continue;
- // float acc_angular = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) {
- _impl_.acc_angular_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
- ptr += sizeof(float);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* MPC_parameter::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:NavParameter.MPC_parameter)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // float shortest_radius = 1;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_shortest_radius = this->_internal_shortest_radius();
- ::uint32_t raw_shortest_radius;
- memcpy(&raw_shortest_radius, &tmp_shortest_radius, sizeof(tmp_shortest_radius));
- if (raw_shortest_radius != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
- 1, this->_internal_shortest_radius(), target);
- }
- // float dt = 2;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_dt = this->_internal_dt();
- ::uint32_t raw_dt;
- memcpy(&raw_dt, &tmp_dt, sizeof(tmp_dt));
- if (raw_dt != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
- 2, this->_internal_dt(), target);
- }
- // float acc_velocity = 3;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_acc_velocity = this->_internal_acc_velocity();
- ::uint32_t raw_acc_velocity;
- memcpy(&raw_acc_velocity, &tmp_acc_velocity, sizeof(tmp_acc_velocity));
- if (raw_acc_velocity != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
- 3, this->_internal_acc_velocity(), target);
- }
- // float acc_angular = 4;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_acc_angular = this->_internal_acc_angular();
- ::uint32_t raw_acc_angular;
- memcpy(&raw_acc_angular, &tmp_acc_angular, sizeof(tmp_acc_angular));
- if (raw_acc_angular != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
- 4, this->_internal_acc_angular(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:NavParameter.MPC_parameter)
- return target;
- }
- ::size_t MPC_parameter::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:NavParameter.MPC_parameter)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // float shortest_radius = 1;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_shortest_radius = this->_internal_shortest_radius();
- ::uint32_t raw_shortest_radius;
- memcpy(&raw_shortest_radius, &tmp_shortest_radius, sizeof(tmp_shortest_radius));
- if (raw_shortest_radius != 0) {
- total_size += 5;
- }
- // float dt = 2;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_dt = this->_internal_dt();
- ::uint32_t raw_dt;
- memcpy(&raw_dt, &tmp_dt, sizeof(tmp_dt));
- if (raw_dt != 0) {
- total_size += 5;
- }
- // float acc_velocity = 3;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_acc_velocity = this->_internal_acc_velocity();
- ::uint32_t raw_acc_velocity;
- memcpy(&raw_acc_velocity, &tmp_acc_velocity, sizeof(tmp_acc_velocity));
- if (raw_acc_velocity != 0) {
- total_size += 5;
- }
- // float acc_angular = 4;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_acc_angular = this->_internal_acc_angular();
- ::uint32_t raw_acc_angular;
- memcpy(&raw_acc_angular, &tmp_acc_angular, sizeof(tmp_acc_angular));
- if (raw_acc_angular != 0) {
- total_size += 5;
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MPC_parameter::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
- MPC_parameter::MergeImpl
- };
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MPC_parameter::GetClassData() const { return &_class_data_; }
- void MPC_parameter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
- auto* const _this = static_cast<MPC_parameter*>(&to_msg);
- auto& from = static_cast<const MPC_parameter&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:NavParameter.MPC_parameter)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_shortest_radius = from._internal_shortest_radius();
- ::uint32_t raw_shortest_radius;
- memcpy(&raw_shortest_radius, &tmp_shortest_radius, sizeof(tmp_shortest_radius));
- if (raw_shortest_radius != 0) {
- _this->_internal_set_shortest_radius(from._internal_shortest_radius());
- }
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_dt = from._internal_dt();
- ::uint32_t raw_dt;
- memcpy(&raw_dt, &tmp_dt, sizeof(tmp_dt));
- if (raw_dt != 0) {
- _this->_internal_set_dt(from._internal_dt());
- }
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_acc_velocity = from._internal_acc_velocity();
- ::uint32_t raw_acc_velocity;
- memcpy(&raw_acc_velocity, &tmp_acc_velocity, sizeof(tmp_acc_velocity));
- if (raw_acc_velocity != 0) {
- _this->_internal_set_acc_velocity(from._internal_acc_velocity());
- }
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_acc_angular = from._internal_acc_angular();
- ::uint32_t raw_acc_angular;
- memcpy(&raw_acc_angular, &tmp_acc_angular, sizeof(tmp_acc_angular));
- if (raw_acc_angular != 0) {
- _this->_internal_set_acc_angular(from._internal_acc_angular());
- }
- _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- }
- void MPC_parameter::CopyFrom(const MPC_parameter& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:NavParameter.MPC_parameter)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool MPC_parameter::IsInitialized() const {
- return true;
- }
- void MPC_parameter::InternalSwap(MPC_parameter* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(MPC_parameter, _impl_.acc_angular_)
- + sizeof(MPC_parameter::_impl_.acc_angular_)
- - PROTOBUF_FIELD_OFFSET(MPC_parameter, _impl_.shortest_radius_)>(
- reinterpret_cast<char*>(&_impl_.shortest_radius_),
- reinterpret_cast<char*>(&other->_impl_.shortest_radius_));
- }
- ::PROTOBUF_NAMESPACE_ID::Metadata MPC_parameter::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_parameter_2eproto_getter, &descriptor_table_parameter_2eproto_once,
- file_level_metadata_parameter_2eproto[3]);
- }
- // ===================================================================
- class SpeedLimit::_Internal {
- public:
- };
- SpeedLimit::SpeedLimit(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:NavParameter.SpeedLimit)
- }
- SpeedLimit::SpeedLimit(const SpeedLimit& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:NavParameter.SpeedLimit)
- }
- inline void SpeedLimit::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.min_) { 0 }
- , decltype(_impl_.max_) { 0 }
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- SpeedLimit::~SpeedLimit() {
- // @@protoc_insertion_point(destructor:NavParameter.SpeedLimit)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SpeedLimit::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void SpeedLimit::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SpeedLimit::Clear() {
- // @@protoc_insertion_point(message_clear_start:NavParameter.SpeedLimit)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&_impl_.min_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.max_) -
- reinterpret_cast<char*>(&_impl_.min_)) + sizeof(_impl_.max_));
- _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- const char* SpeedLimit::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // float min = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) {
- _impl_.min_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
- ptr += sizeof(float);
- } else {
- goto handle_unusual;
- }
- continue;
- // float max = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) {
- _impl_.max_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
- ptr += sizeof(float);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SpeedLimit::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:NavParameter.SpeedLimit)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // float min = 1;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_min = this->_internal_min();
- ::uint32_t raw_min;
- memcpy(&raw_min, &tmp_min, sizeof(tmp_min));
- if (raw_min != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
- 1, this->_internal_min(), target);
- }
- // float max = 2;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_max = this->_internal_max();
- ::uint32_t raw_max;
- memcpy(&raw_max, &tmp_max, sizeof(tmp_max));
- if (raw_max != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
- 2, this->_internal_max(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:NavParameter.SpeedLimit)
- return target;
- }
- ::size_t SpeedLimit::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:NavParameter.SpeedLimit)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // float min = 1;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_min = this->_internal_min();
- ::uint32_t raw_min;
- memcpy(&raw_min, &tmp_min, sizeof(tmp_min));
- if (raw_min != 0) {
- total_size += 5;
- }
- // float max = 2;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_max = this->_internal_max();
- ::uint32_t raw_max;
- memcpy(&raw_max, &tmp_max, sizeof(tmp_max));
- if (raw_max != 0) {
- total_size += 5;
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SpeedLimit::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
- SpeedLimit::MergeImpl
- };
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SpeedLimit::GetClassData() const { return &_class_data_; }
- void SpeedLimit::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
- auto* const _this = static_cast<SpeedLimit*>(&to_msg);
- auto& from = static_cast<const SpeedLimit&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:NavParameter.SpeedLimit)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_min = from._internal_min();
- ::uint32_t raw_min;
- memcpy(&raw_min, &tmp_min, sizeof(tmp_min));
- if (raw_min != 0) {
- _this->_internal_set_min(from._internal_min());
- }
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_max = from._internal_max();
- ::uint32_t raw_max;
- memcpy(&raw_max, &tmp_max, sizeof(tmp_max));
- if (raw_max != 0) {
- _this->_internal_set_max(from._internal_max());
- }
- _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- }
- void SpeedLimit::CopyFrom(const SpeedLimit& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:NavParameter.SpeedLimit)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SpeedLimit::IsInitialized() const {
- return true;
- }
- void SpeedLimit::InternalSwap(SpeedLimit* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(SpeedLimit, _impl_.max_)
- + sizeof(SpeedLimit::_impl_.max_)
- - PROTOBUF_FIELD_OFFSET(SpeedLimit, _impl_.min_)>(
- reinterpret_cast<char*>(&_impl_.min_),
- reinterpret_cast<char*>(&other->_impl_.min_));
- }
- ::PROTOBUF_NAMESPACE_ID::Metadata SpeedLimit::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_parameter_2eproto_getter, &descriptor_table_parameter_2eproto_once,
- file_level_metadata_parameter_2eproto[4]);
- }
- // ===================================================================
- class Accuracy::_Internal {
- public:
- };
- Accuracy::Accuracy(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:NavParameter.Accuracy)
- }
- Accuracy::Accuracy(const Accuracy& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:NavParameter.Accuracy)
- }
- inline void Accuracy::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.l_) { 0 }
- , decltype(_impl_.w_) { 0 }
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- Accuracy::~Accuracy() {
- // @@protoc_insertion_point(destructor:NavParameter.Accuracy)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void Accuracy::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void Accuracy::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void Accuracy::Clear() {
- // @@protoc_insertion_point(message_clear_start:NavParameter.Accuracy)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ::memset(&_impl_.l_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.w_) -
- reinterpret_cast<char*>(&_impl_.l_)) + sizeof(_impl_.w_));
- _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- const char* Accuracy::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // float l = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) {
- _impl_.l_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
- ptr += sizeof(float);
- } else {
- goto handle_unusual;
- }
- continue;
- // float w = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) {
- _impl_.w_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
- ptr += sizeof(float);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* Accuracy::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:NavParameter.Accuracy)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // float l = 1;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_l = this->_internal_l();
- ::uint32_t raw_l;
- memcpy(&raw_l, &tmp_l, sizeof(tmp_l));
- if (raw_l != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
- 1, this->_internal_l(), target);
- }
- // float w = 2;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_w = this->_internal_w();
- ::uint32_t raw_w;
- memcpy(&raw_w, &tmp_w, sizeof(tmp_w));
- if (raw_w != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
- 2, this->_internal_w(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:NavParameter.Accuracy)
- return target;
- }
- ::size_t Accuracy::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:NavParameter.Accuracy)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // float l = 1;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_l = this->_internal_l();
- ::uint32_t raw_l;
- memcpy(&raw_l, &tmp_l, sizeof(tmp_l));
- if (raw_l != 0) {
- total_size += 5;
- }
- // float w = 2;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_w = this->_internal_w();
- ::uint32_t raw_w;
- memcpy(&raw_w, &tmp_w, sizeof(tmp_w));
- if (raw_w != 0) {
- total_size += 5;
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Accuracy::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
- Accuracy::MergeImpl
- };
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Accuracy::GetClassData() const { return &_class_data_; }
- void Accuracy::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
- auto* const _this = static_cast<Accuracy*>(&to_msg);
- auto& from = static_cast<const Accuracy&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:NavParameter.Accuracy)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_l = from._internal_l();
- ::uint32_t raw_l;
- memcpy(&raw_l, &tmp_l, sizeof(tmp_l));
- if (raw_l != 0) {
- _this->_internal_set_l(from._internal_l());
- }
- static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
- float tmp_w = from._internal_w();
- ::uint32_t raw_w;
- memcpy(&raw_w, &tmp_w, sizeof(tmp_w));
- if (raw_w != 0) {
- _this->_internal_set_w(from._internal_w());
- }
- _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- }
- void Accuracy::CopyFrom(const Accuracy& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:NavParameter.Accuracy)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Accuracy::IsInitialized() const {
- return true;
- }
- void Accuracy::InternalSwap(Accuracy* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(Accuracy, _impl_.w_)
- + sizeof(Accuracy::_impl_.w_)
- - PROTOBUF_FIELD_OFFSET(Accuracy, _impl_.l_)>(
- reinterpret_cast<char*>(&_impl_.l_),
- reinterpret_cast<char*>(&other->_impl_.l_));
- }
- ::PROTOBUF_NAMESPACE_ID::Metadata Accuracy::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_parameter_2eproto_getter, &descriptor_table_parameter_2eproto_once,
- file_level_metadata_parameter_2eproto[5]);
- }
- // ===================================================================
- class Navigation_parameter::_Internal {
- public:
- using HasBits = decltype(std::declval<Navigation_parameter>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(Navigation_parameter, _impl_._has_bits_);
- static const ::NavParameter::AgvEmqx_parameter& agv_emqx(const Navigation_parameter* msg);
- static void set_has_agv_emqx(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static const ::NavParameter::Emqx_parameter& terminal_emqx(const Navigation_parameter* msg);
- static void set_has_terminal_emqx(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static const ::NavParameter::BrotherEmqx& brother_emqx(const Navigation_parameter* msg);
- static void set_has_brother_emqx(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static const ::NavParameter::MPC_parameter& x_mpc_parameter(const Navigation_parameter* msg);
- static void set_has_x_mpc_parameter(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- static const ::NavParameter::MPC_parameter& y_mpc_parameter(const Navigation_parameter* msg);
- static void set_has_y_mpc_parameter(HasBits* has_bits) {
- (*has_bits)[0] |= 16u;
- }
- static const ::NavParameter::SpeedLimit& inoutvlimit(const Navigation_parameter* msg);
- static void set_has_inoutvlimit(HasBits* has_bits) {
- (*has_bits)[0] |= 32u;
- }
- static const ::NavParameter::SpeedLimit& nodevelocitylimit(const Navigation_parameter* msg);
- static void set_has_nodevelocitylimit(HasBits* has_bits) {
- (*has_bits)[0] |= 64u;
- }
- static const ::NavParameter::SpeedLimit& nodeangularlimit(const Navigation_parameter* msg);
- static void set_has_nodeangularlimit(HasBits* has_bits) {
- (*has_bits)[0] |= 128u;
- }
- };
- const ::NavParameter::AgvEmqx_parameter&
- Navigation_parameter::_Internal::agv_emqx(const Navigation_parameter* msg) {
- return *msg->_impl_.agv_emqx_;
- }
- const ::NavParameter::Emqx_parameter&
- Navigation_parameter::_Internal::terminal_emqx(const Navigation_parameter* msg) {
- return *msg->_impl_.terminal_emqx_;
- }
- const ::NavParameter::BrotherEmqx&
- Navigation_parameter::_Internal::brother_emqx(const Navigation_parameter* msg) {
- return *msg->_impl_.brother_emqx_;
- }
- const ::NavParameter::MPC_parameter&
- Navigation_parameter::_Internal::x_mpc_parameter(const Navigation_parameter* msg) {
- return *msg->_impl_.x_mpc_parameter_;
- }
- const ::NavParameter::MPC_parameter&
- Navigation_parameter::_Internal::y_mpc_parameter(const Navigation_parameter* msg) {
- return *msg->_impl_.y_mpc_parameter_;
- }
- const ::NavParameter::SpeedLimit&
- Navigation_parameter::_Internal::inoutvlimit(const Navigation_parameter* msg) {
- return *msg->_impl_.inoutvlimit_;
- }
- const ::NavParameter::SpeedLimit&
- Navigation_parameter::_Internal::nodevelocitylimit(const Navigation_parameter* msg) {
- return *msg->_impl_.nodevelocitylimit_;
- }
- const ::NavParameter::SpeedLimit&
- Navigation_parameter::_Internal::nodeangularlimit(const Navigation_parameter* msg) {
- return *msg->_impl_.nodeangularlimit_;
- }
- Navigation_parameter::Navigation_parameter(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:NavParameter.Navigation_parameter)
- }
- Navigation_parameter::Navigation_parameter(const Navigation_parameter& from)
- : ::PROTOBUF_NAMESPACE_ID::Message() {
- Navigation_parameter* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.rpc_ipport_) {}
- , decltype(_impl_.agv_emqx_){nullptr}
- , decltype(_impl_.terminal_emqx_){nullptr}
- , decltype(_impl_.brother_emqx_){nullptr}
- , decltype(_impl_.x_mpc_parameter_){nullptr}
- , decltype(_impl_.y_mpc_parameter_){nullptr}
- , decltype(_impl_.inoutvlimit_){nullptr}
- , decltype(_impl_.nodevelocitylimit_){nullptr}
- , decltype(_impl_.nodeangularlimit_){nullptr}
- , decltype(_impl_.main_agv_) {}
- };
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- _impl_.rpc_ipport_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.rpc_ipport_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_rpc_ipport().empty()) {
- _this->_impl_.rpc_ipport_.Set(from._internal_rpc_ipport(), _this->GetArenaForAllocation());
- }
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.agv_emqx_ = new ::NavParameter::AgvEmqx_parameter(*from._impl_.agv_emqx_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.terminal_emqx_ = new ::NavParameter::Emqx_parameter(*from._impl_.terminal_emqx_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
- _this->_impl_.brother_emqx_ = new ::NavParameter::BrotherEmqx(*from._impl_.brother_emqx_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) {
- _this->_impl_.x_mpc_parameter_ = new ::NavParameter::MPC_parameter(*from._impl_.x_mpc_parameter_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000010u) != 0) {
- _this->_impl_.y_mpc_parameter_ = new ::NavParameter::MPC_parameter(*from._impl_.y_mpc_parameter_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000020u) != 0) {
- _this->_impl_.inoutvlimit_ = new ::NavParameter::SpeedLimit(*from._impl_.inoutvlimit_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000040u) != 0) {
- _this->_impl_.nodevelocitylimit_ = new ::NavParameter::SpeedLimit(*from._impl_.nodevelocitylimit_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000080u) != 0) {
- _this->_impl_.nodeangularlimit_ = new ::NavParameter::SpeedLimit(*from._impl_.nodeangularlimit_);
- }
- _this->_impl_.main_agv_ = from._impl_.main_agv_;
- // @@protoc_insertion_point(copy_constructor:NavParameter.Navigation_parameter)
- }
- inline void Navigation_parameter::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.rpc_ipport_) {}
- , decltype(_impl_.agv_emqx_){nullptr}
- , decltype(_impl_.terminal_emqx_){nullptr}
- , decltype(_impl_.brother_emqx_){nullptr}
- , decltype(_impl_.x_mpc_parameter_){nullptr}
- , decltype(_impl_.y_mpc_parameter_){nullptr}
- , decltype(_impl_.inoutvlimit_){nullptr}
- , decltype(_impl_.nodevelocitylimit_){nullptr}
- , decltype(_impl_.nodeangularlimit_){nullptr}
- , decltype(_impl_.main_agv_) { false }
- };
- _impl_.rpc_ipport_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.rpc_ipport_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- Navigation_parameter::~Navigation_parameter() {
- // @@protoc_insertion_point(destructor:NavParameter.Navigation_parameter)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void Navigation_parameter::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.rpc_ipport_.Destroy();
- if (this != internal_default_instance()) delete _impl_.agv_emqx_;
- if (this != internal_default_instance()) delete _impl_.terminal_emqx_;
- if (this != internal_default_instance()) delete _impl_.brother_emqx_;
- if (this != internal_default_instance()) delete _impl_.x_mpc_parameter_;
- if (this != internal_default_instance()) delete _impl_.y_mpc_parameter_;
- if (this != internal_default_instance()) delete _impl_.inoutvlimit_;
- if (this != internal_default_instance()) delete _impl_.nodevelocitylimit_;
- if (this != internal_default_instance()) delete _impl_.nodeangularlimit_;
- }
- void Navigation_parameter::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void Navigation_parameter::Clear() {
- // @@protoc_insertion_point(message_clear_start:NavParameter.Navigation_parameter)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.rpc_ipport_.ClearToEmpty();
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x000000ffu) {
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.agv_emqx_ != nullptr);
- _impl_.agv_emqx_->Clear();
- }
- if (cached_has_bits & 0x00000002u) {
- ABSL_DCHECK(_impl_.terminal_emqx_ != nullptr);
- _impl_.terminal_emqx_->Clear();
- }
- if (cached_has_bits & 0x00000004u) {
- ABSL_DCHECK(_impl_.brother_emqx_ != nullptr);
- _impl_.brother_emqx_->Clear();
- }
- if (cached_has_bits & 0x00000008u) {
- ABSL_DCHECK(_impl_.x_mpc_parameter_ != nullptr);
- _impl_.x_mpc_parameter_->Clear();
- }
- if (cached_has_bits & 0x00000010u) {
- ABSL_DCHECK(_impl_.y_mpc_parameter_ != nullptr);
- _impl_.y_mpc_parameter_->Clear();
- }
- if (cached_has_bits & 0x00000020u) {
- ABSL_DCHECK(_impl_.inoutvlimit_ != nullptr);
- _impl_.inoutvlimit_->Clear();
- }
- if (cached_has_bits & 0x00000040u) {
- ABSL_DCHECK(_impl_.nodevelocitylimit_ != nullptr);
- _impl_.nodevelocitylimit_->Clear();
- }
- if (cached_has_bits & 0x00000080u) {
- ABSL_DCHECK(_impl_.nodeangularlimit_ != nullptr);
- _impl_.nodeangularlimit_->Clear();
- }
- }
- _impl_.main_agv_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- const char* Navigation_parameter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // bool main_agv = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _impl_.main_agv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // .NavParameter.AgvEmqx_parameter Agv_emqx = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_agv_emqx(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // .NavParameter.Emqx_parameter Terminal_emqx = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
- ptr = ctx->ParseMessage(_internal_mutable_terminal_emqx(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // .NavParameter.BrotherEmqx brother_emqx = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
- ptr = ctx->ParseMessage(_internal_mutable_brother_emqx(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // .NavParameter.MPC_parameter x_mpc_parameter = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
- ptr = ctx->ParseMessage(_internal_mutable_x_mpc_parameter(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // .NavParameter.MPC_parameter y_mpc_parameter = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) {
- ptr = ctx->ParseMessage(_internal_mutable_y_mpc_parameter(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // .NavParameter.SpeedLimit InOutVLimit = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) {
- ptr = ctx->ParseMessage(_internal_mutable_inoutvlimit(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // .NavParameter.SpeedLimit NodeVelocityLimit = 8;
- case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) {
- ptr = ctx->ParseMessage(_internal_mutable_nodevelocitylimit(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // .NavParameter.SpeedLimit NodeAngularLimit = 9;
- case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) {
- ptr = ctx->ParseMessage(_internal_mutable_nodeangularlimit(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // string rpc_ipport = 10;
- case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) {
- auto str = _internal_mutable_rpc_ipport();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.Navigation_parameter.rpc_ipport"));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* Navigation_parameter::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:NavParameter.Navigation_parameter)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // bool main_agv = 1;
- if (this->_internal_main_agv() != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 1, this->_internal_main_agv(), target);
- }
- cached_has_bits = _impl_._has_bits_[0];
- // .NavParameter.AgvEmqx_parameter Agv_emqx = 2;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::agv_emqx(this),
- _Internal::agv_emqx(this).GetCachedSize(), target, stream);
- }
- // .NavParameter.Emqx_parameter Terminal_emqx = 3;
- if (cached_has_bits & 0x00000002u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(3, _Internal::terminal_emqx(this),
- _Internal::terminal_emqx(this).GetCachedSize(), target, stream);
- }
- // .NavParameter.BrotherEmqx brother_emqx = 4;
- if (cached_has_bits & 0x00000004u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(4, _Internal::brother_emqx(this),
- _Internal::brother_emqx(this).GetCachedSize(), target, stream);
- }
- // .NavParameter.MPC_parameter x_mpc_parameter = 5;
- if (cached_has_bits & 0x00000008u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(5, _Internal::x_mpc_parameter(this),
- _Internal::x_mpc_parameter(this).GetCachedSize(), target, stream);
- }
- // .NavParameter.MPC_parameter y_mpc_parameter = 6;
- if (cached_has_bits & 0x00000010u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(6, _Internal::y_mpc_parameter(this),
- _Internal::y_mpc_parameter(this).GetCachedSize(), target, stream);
- }
- // .NavParameter.SpeedLimit InOutVLimit = 7;
- if (cached_has_bits & 0x00000020u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(7, _Internal::inoutvlimit(this),
- _Internal::inoutvlimit(this).GetCachedSize(), target, stream);
- }
- // .NavParameter.SpeedLimit NodeVelocityLimit = 8;
- if (cached_has_bits & 0x00000040u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(8, _Internal::nodevelocitylimit(this),
- _Internal::nodevelocitylimit(this).GetCachedSize(), target, stream);
- }
- // .NavParameter.SpeedLimit NodeAngularLimit = 9;
- if (cached_has_bits & 0x00000080u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(9, _Internal::nodeangularlimit(this),
- _Internal::nodeangularlimit(this).GetCachedSize(), target, stream);
- }
- // string rpc_ipport = 10;
- if (!this->_internal_rpc_ipport().empty()) {
- const std::string& _s = this->_internal_rpc_ipport();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.Navigation_parameter.rpc_ipport");
- target = stream->WriteStringMaybeAliased(10, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:NavParameter.Navigation_parameter)
- return target;
- }
- ::size_t Navigation_parameter::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:NavParameter.Navigation_parameter)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // string rpc_ipport = 10;
- if (!this->_internal_rpc_ipport().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_rpc_ipport());
- }
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x000000ffu) {
- // .NavParameter.AgvEmqx_parameter Agv_emqx = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.agv_emqx_);
- }
- // .NavParameter.Emqx_parameter Terminal_emqx = 3;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.terminal_emqx_);
- }
- // .NavParameter.BrotherEmqx brother_emqx = 4;
- if (cached_has_bits & 0x00000004u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.brother_emqx_);
- }
- // .NavParameter.MPC_parameter x_mpc_parameter = 5;
- if (cached_has_bits & 0x00000008u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.x_mpc_parameter_);
- }
- // .NavParameter.MPC_parameter y_mpc_parameter = 6;
- if (cached_has_bits & 0x00000010u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.y_mpc_parameter_);
- }
- // .NavParameter.SpeedLimit InOutVLimit = 7;
- if (cached_has_bits & 0x00000020u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.inoutvlimit_);
- }
- // .NavParameter.SpeedLimit NodeVelocityLimit = 8;
- if (cached_has_bits & 0x00000040u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.nodevelocitylimit_);
- }
- // .NavParameter.SpeedLimit NodeAngularLimit = 9;
- if (cached_has_bits & 0x00000080u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.nodeangularlimit_);
- }
- }
- // bool main_agv = 1;
- if (this->_internal_main_agv() != 0) {
- total_size += 2;
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Navigation_parameter::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
- Navigation_parameter::MergeImpl
- };
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Navigation_parameter::GetClassData() const { return &_class_data_; }
- void Navigation_parameter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
- auto* const _this = static_cast<Navigation_parameter*>(&to_msg);
- auto& from = static_cast<const Navigation_parameter&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:NavParameter.Navigation_parameter)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if (!from._internal_rpc_ipport().empty()) {
- _this->_internal_set_rpc_ipport(from._internal_rpc_ipport());
- }
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x000000ffu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_agv_emqx()->::NavParameter::AgvEmqx_parameter::MergeFrom(
- from._internal_agv_emqx());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_mutable_terminal_emqx()->::NavParameter::Emqx_parameter::MergeFrom(
- from._internal_terminal_emqx());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_internal_mutable_brother_emqx()->::NavParameter::BrotherEmqx::MergeFrom(
- from._internal_brother_emqx());
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_internal_mutable_x_mpc_parameter()->::NavParameter::MPC_parameter::MergeFrom(
- from._internal_x_mpc_parameter());
- }
- if (cached_has_bits & 0x00000010u) {
- _this->_internal_mutable_y_mpc_parameter()->::NavParameter::MPC_parameter::MergeFrom(
- from._internal_y_mpc_parameter());
- }
- if (cached_has_bits & 0x00000020u) {
- _this->_internal_mutable_inoutvlimit()->::NavParameter::SpeedLimit::MergeFrom(
- from._internal_inoutvlimit());
- }
- if (cached_has_bits & 0x00000040u) {
- _this->_internal_mutable_nodevelocitylimit()->::NavParameter::SpeedLimit::MergeFrom(
- from._internal_nodevelocitylimit());
- }
- if (cached_has_bits & 0x00000080u) {
- _this->_internal_mutable_nodeangularlimit()->::NavParameter::SpeedLimit::MergeFrom(
- from._internal_nodeangularlimit());
- }
- }
- if (from._internal_main_agv() != 0) {
- _this->_internal_set_main_agv(from._internal_main_agv());
- }
- _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- }
- void Navigation_parameter::CopyFrom(const Navigation_parameter& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:NavParameter.Navigation_parameter)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Navigation_parameter::IsInitialized() const {
- return true;
- }
- void Navigation_parameter::InternalSwap(Navigation_parameter* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.rpc_ipport_, lhs_arena,
- &other->_impl_.rpc_ipport_, rhs_arena);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(Navigation_parameter, _impl_.main_agv_)
- + sizeof(Navigation_parameter::_impl_.main_agv_)
- - PROTOBUF_FIELD_OFFSET(Navigation_parameter, _impl_.agv_emqx_)>(
- reinterpret_cast<char*>(&_impl_.agv_emqx_),
- reinterpret_cast<char*>(&other->_impl_.agv_emqx_));
- }
- ::PROTOBUF_NAMESPACE_ID::Metadata Navigation_parameter::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_parameter_2eproto_getter, &descriptor_table_parameter_2eproto_once,
- file_level_metadata_parameter_2eproto[6]);
- }
- // @@protoc_insertion_point(namespace_scope)
- } // namespace NavParameter
- PROTOBUF_NAMESPACE_OPEN
- template<> PROTOBUF_NOINLINE ::NavParameter::AgvEmqx_parameter*
- Arena::CreateMaybeMessage< ::NavParameter::AgvEmqx_parameter >(Arena* arena) {
- return Arena::CreateMessageInternal< ::NavParameter::AgvEmqx_parameter >(arena);
- }
- template<> PROTOBUF_NOINLINE ::NavParameter::Emqx_parameter*
- Arena::CreateMaybeMessage< ::NavParameter::Emqx_parameter >(Arena* arena) {
- return Arena::CreateMessageInternal< ::NavParameter::Emqx_parameter >(arena);
- }
- template<> PROTOBUF_NOINLINE ::NavParameter::BrotherEmqx*
- Arena::CreateMaybeMessage< ::NavParameter::BrotherEmqx >(Arena* arena) {
- return Arena::CreateMessageInternal< ::NavParameter::BrotherEmqx >(arena);
- }
- template<> PROTOBUF_NOINLINE ::NavParameter::MPC_parameter*
- Arena::CreateMaybeMessage< ::NavParameter::MPC_parameter >(Arena* arena) {
- return Arena::CreateMessageInternal< ::NavParameter::MPC_parameter >(arena);
- }
- template<> PROTOBUF_NOINLINE ::NavParameter::SpeedLimit*
- Arena::CreateMaybeMessage< ::NavParameter::SpeedLimit >(Arena* arena) {
- return Arena::CreateMessageInternal< ::NavParameter::SpeedLimit >(arena);
- }
- template<> PROTOBUF_NOINLINE ::NavParameter::Accuracy*
- Arena::CreateMaybeMessage< ::NavParameter::Accuracy >(Arena* arena) {
- return Arena::CreateMessageInternal< ::NavParameter::Accuracy >(arena);
- }
- template<> PROTOBUF_NOINLINE ::NavParameter::Navigation_parameter*
- Arena::CreateMaybeMessage< ::NavParameter::Navigation_parameter >(Arena* arena) {
- return Arena::CreateMessageInternal< ::NavParameter::Navigation_parameter >(arena);
- }
- PROTOBUF_NAMESPACE_CLOSE
- // @@protoc_insertion_point(global_scope)
- #include "google/protobuf/port_undef.inc"
|