12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969 |
- // 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_.pubclampliftertopic_)*/ {
- &::_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_),
- PROTOBUF_FIELD_OFFSET(::NavParameter::AgvEmqx_parameter, _impl_.pubclampliftertopic_),
- ~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)},
- { 15, -1, -1, sizeof(::NavParameter::Emqx_parameter)},
- { 28, -1, -1, sizeof(::NavParameter::BrotherEmqx)},
- { 40, -1, -1, sizeof(::NavParameter::MPC_parameter)},
- { 52, -1, -1, sizeof(::NavParameter::SpeedLimit)},
- { 62, -1, -1, sizeof(::NavParameter::Accuracy)},
- { 72, 90, -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\"\236\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\022\033\n\023pubClampLifterTopic\030\007 \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\020p"
- "ubNavStatuTopic\030\005 \001(\t\"U\n\013BrotherEmqx\022\016\n\006"
- "NodeId\030\001 \001(\t\022\n\n\002ip\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\022\034"
- "\n\024subBrotherStatuTopic\030\004 \001(\t\"_\n\rMPC_para"
- "meter\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\013acc_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\010main_agv\030\001 \001"
- "(\010\0221\n\010Agv_emqx\030\002 \001(\0132\037.NavParameter.AgvE"
- "mqx_parameter\0223\n\rTerminal_emqx\030\003 \001(\0132\034.N"
- "avParameter.Emqx_parameter\022/\n\014brother_em"
- "qx\030\004 \001(\0132\031.NavParameter.BrotherEmqx\0224\n\017x"
- "_mpc_parameter\030\005 \001(\0132\033.NavParameter.MPC_"
- "parameter\0224\n\017y_mpc_parameter\030\006 \001(\0132\033.Nav"
- "Parameter.MPC_parameter\022-\n\013InOutVLimit\030\007"
- " \001(\0132\030.NavParameter.SpeedLimit\0223\n\021NodeVe"
- "locityLimit\030\010 \001(\0132\030.NavParameter.SpeedLi"
- "mit\0222\n\020NodeAngularLimit\030\t \001(\0132\030.NavParam"
- "eter.SpeedLimit\022\022\n\nrpc_ipport\030\n \001(\tb\006pro"
- "to3"
- };
- static ::absl::once_flag descriptor_table_parameter_2eproto_once;
- const ::_pbi::DescriptorTable descriptor_table_parameter_2eproto = {
- false,
- false,
- 1043,
- 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_.pubclampliftertopic_) {}
- , 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());
- }
- _impl_.pubclampliftertopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.pubclampliftertopic_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_pubclampliftertopic().empty()) {
- _this->_impl_.pubclampliftertopic_.Set(from._internal_pubclampliftertopic(), _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_.pubclampliftertopic_) {}
- , 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
- _impl_.pubclampliftertopic_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.pubclampliftertopic_.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();
- _impl_.pubclampliftertopic_.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_.pubclampliftertopic_.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;
- // string pubClampLifterTopic = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) {
- auto str = _internal_mutable_pubclampliftertopic();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- CHK_(::_pbi::VerifyUTF8(str, "NavParameter.AgvEmqx_parameter.pubClampLifterTopic"));
- } 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);
- }
- // string pubClampLifterTopic = 7;
- if (!this->_internal_pubclampliftertopic().empty()) {
- const std::string& _s = this->_internal_pubclampliftertopic();
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "NavParameter.AgvEmqx_parameter.pubClampLifterTopic");
- target = stream->WriteStringMaybeAliased(7, _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());
- }
- // string pubClampLifterTopic = 7;
- if (!this->_internal_pubclampliftertopic().empty()) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_pubclampliftertopic());
- }
- // 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_pubclampliftertopic().empty()) {
- _this->_internal_set_pubclampliftertopic(from._internal_pubclampliftertopic());
- }
- 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);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.pubclampliftertopic_, lhs_arena,
- &other->_impl_.pubclampliftertopic_, 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"
|