message.pb.h 115 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: message.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_message_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_message_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3013000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3013000 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/inlined_string_field.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/unknown_field_set.h>
  31. // @@protoc_insertion_point(includes)
  32. #include <google/protobuf/port_def.inc>
  33. #define PROTOBUF_INTERNAL_EXPORT_message_2eproto
  34. PROTOBUF_NAMESPACE_OPEN
  35. namespace internal {
  36. class AnyMetadata;
  37. } // namespace internal
  38. PROTOBUF_NAMESPACE_CLOSE
  39. // Internal implementation detail -- do not use these members.
  40. struct TableStruct_message_2eproto {
  41. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  42. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[10]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  49. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  50. };
  51. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_message_2eproto;
  52. namespace NavMessage {
  53. class Action;
  54. class ActionDefaultTypeInternal;
  55. extern ActionDefaultTypeInternal _Action_default_instance_;
  56. class AgvStatu;
  57. class AgvStatuDefaultTypeInternal;
  58. extern AgvStatuDefaultTypeInternal _AgvStatu_default_instance_;
  59. class LidarOdomStatu;
  60. class LidarOdomStatuDefaultTypeInternal;
  61. extern LidarOdomStatuDefaultTypeInternal _LidarOdomStatu_default_instance_;
  62. class NavCmd;
  63. class NavCmdDefaultTypeInternal;
  64. extern NavCmdDefaultTypeInternal _NavCmd_default_instance_;
  65. class NavStatu;
  66. class NavStatuDefaultTypeInternal;
  67. extern NavStatuDefaultTypeInternal _NavStatu_default_instance_;
  68. class Pose2d;
  69. class Pose2dDefaultTypeInternal;
  70. extern Pose2dDefaultTypeInternal _Pose2d_default_instance_;
  71. class RobotStatu;
  72. class RobotStatuDefaultTypeInternal;
  73. extern RobotStatuDefaultTypeInternal _RobotStatu_default_instance_;
  74. class SpeedLimit;
  75. class SpeedLimitDefaultTypeInternal;
  76. extern SpeedLimitDefaultTypeInternal _SpeedLimit_default_instance_;
  77. class ToAgvCmd;
  78. class ToAgvCmdDefaultTypeInternal;
  79. extern ToAgvCmdDefaultTypeInternal _ToAgvCmd_default_instance_;
  80. class Trajectory;
  81. class TrajectoryDefaultTypeInternal;
  82. extern TrajectoryDefaultTypeInternal _Trajectory_default_instance_;
  83. } // namespace NavMessage
  84. PROTOBUF_NAMESPACE_OPEN
  85. template<> ::NavMessage::Action* Arena::CreateMaybeMessage<::NavMessage::Action>(Arena*);
  86. template<> ::NavMessage::AgvStatu* Arena::CreateMaybeMessage<::NavMessage::AgvStatu>(Arena*);
  87. template<> ::NavMessage::LidarOdomStatu* Arena::CreateMaybeMessage<::NavMessage::LidarOdomStatu>(Arena*);
  88. template<> ::NavMessage::NavCmd* Arena::CreateMaybeMessage<::NavMessage::NavCmd>(Arena*);
  89. template<> ::NavMessage::NavStatu* Arena::CreateMaybeMessage<::NavMessage::NavStatu>(Arena*);
  90. template<> ::NavMessage::Pose2d* Arena::CreateMaybeMessage<::NavMessage::Pose2d>(Arena*);
  91. template<> ::NavMessage::RobotStatu* Arena::CreateMaybeMessage<::NavMessage::RobotStatu>(Arena*);
  92. template<> ::NavMessage::SpeedLimit* Arena::CreateMaybeMessage<::NavMessage::SpeedLimit>(Arena*);
  93. template<> ::NavMessage::ToAgvCmd* Arena::CreateMaybeMessage<::NavMessage::ToAgvCmd>(Arena*);
  94. template<> ::NavMessage::Trajectory* Arena::CreateMaybeMessage<::NavMessage::Trajectory>(Arena*);
  95. PROTOBUF_NAMESPACE_CLOSE
  96. namespace NavMessage {
  97. // ===================================================================
  98. class LidarOdomStatu PROTOBUF_FINAL :
  99. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.LidarOdomStatu) */ {
  100. public:
  101. inline LidarOdomStatu() : LidarOdomStatu(nullptr) {}
  102. virtual ~LidarOdomStatu();
  103. LidarOdomStatu(const LidarOdomStatu& from);
  104. LidarOdomStatu(LidarOdomStatu&& from) noexcept
  105. : LidarOdomStatu() {
  106. *this = ::std::move(from);
  107. }
  108. inline LidarOdomStatu& operator=(const LidarOdomStatu& from) {
  109. CopyFrom(from);
  110. return *this;
  111. }
  112. inline LidarOdomStatu& operator=(LidarOdomStatu&& from) noexcept {
  113. if (GetArena() == from.GetArena()) {
  114. if (this != &from) InternalSwap(&from);
  115. } else {
  116. CopyFrom(from);
  117. }
  118. return *this;
  119. }
  120. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  121. return GetDescriptor();
  122. }
  123. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  124. return GetMetadataStatic().descriptor;
  125. }
  126. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  127. return GetMetadataStatic().reflection;
  128. }
  129. static const LidarOdomStatu& default_instance();
  130. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  131. static inline const LidarOdomStatu* internal_default_instance() {
  132. return reinterpret_cast<const LidarOdomStatu*>(
  133. &_LidarOdomStatu_default_instance_);
  134. }
  135. static constexpr int kIndexInFileMessages =
  136. 0;
  137. friend void swap(LidarOdomStatu& a, LidarOdomStatu& b) {
  138. a.Swap(&b);
  139. }
  140. inline void Swap(LidarOdomStatu* other) {
  141. if (other == this) return;
  142. if (GetArena() == other->GetArena()) {
  143. InternalSwap(other);
  144. } else {
  145. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  146. }
  147. }
  148. void UnsafeArenaSwap(LidarOdomStatu* other) {
  149. if (other == this) return;
  150. GOOGLE_DCHECK(GetArena() == other->GetArena());
  151. InternalSwap(other);
  152. }
  153. // implements Message ----------------------------------------------
  154. inline LidarOdomStatu* New() const final {
  155. return CreateMaybeMessage<LidarOdomStatu>(nullptr);
  156. }
  157. LidarOdomStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  158. return CreateMaybeMessage<LidarOdomStatu>(arena);
  159. }
  160. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  161. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  162. void CopyFrom(const LidarOdomStatu& from);
  163. void MergeFrom(const LidarOdomStatu& from);
  164. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  165. bool IsInitialized() const final;
  166. size_t ByteSizeLong() const final;
  167. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  168. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  169. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  170. int GetCachedSize() const final { return _cached_size_.Get(); }
  171. private:
  172. inline void SharedCtor();
  173. inline void SharedDtor();
  174. void SetCachedSize(int size) const final;
  175. void InternalSwap(LidarOdomStatu* other);
  176. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  177. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  178. return "NavMessage.LidarOdomStatu";
  179. }
  180. protected:
  181. explicit LidarOdomStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  182. private:
  183. static void ArenaDtor(void* object);
  184. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  185. public:
  186. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  187. private:
  188. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  189. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  190. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  191. }
  192. public:
  193. // nested types ----------------------------------------------------
  194. // accessors -------------------------------------------------------
  195. enum : int {
  196. kXFieldNumber = 1,
  197. kYFieldNumber = 2,
  198. kThetaFieldNumber = 3,
  199. kVFieldNumber = 4,
  200. kVthFieldNumber = 5,
  201. };
  202. // float x = 1;
  203. void clear_x();
  204. float x() const;
  205. void set_x(float value);
  206. private:
  207. float _internal_x() const;
  208. void _internal_set_x(float value);
  209. public:
  210. // float y = 2;
  211. void clear_y();
  212. float y() const;
  213. void set_y(float value);
  214. private:
  215. float _internal_y() const;
  216. void _internal_set_y(float value);
  217. public:
  218. // float theta = 3;
  219. void clear_theta();
  220. float theta() const;
  221. void set_theta(float value);
  222. private:
  223. float _internal_theta() const;
  224. void _internal_set_theta(float value);
  225. public:
  226. // float v = 4;
  227. void clear_v();
  228. float v() const;
  229. void set_v(float value);
  230. private:
  231. float _internal_v() const;
  232. void _internal_set_v(float value);
  233. public:
  234. // float vth = 5;
  235. void clear_vth();
  236. float vth() const;
  237. void set_vth(float value);
  238. private:
  239. float _internal_vth() const;
  240. void _internal_set_vth(float value);
  241. public:
  242. // @@protoc_insertion_point(class_scope:NavMessage.LidarOdomStatu)
  243. private:
  244. class _Internal;
  245. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  246. typedef void InternalArenaConstructable_;
  247. typedef void DestructorSkippable_;
  248. float x_;
  249. float y_;
  250. float theta_;
  251. float v_;
  252. float vth_;
  253. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  254. friend struct ::TableStruct_message_2eproto;
  255. };
  256. // -------------------------------------------------------------------
  257. class AgvStatu PROTOBUF_FINAL :
  258. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.AgvStatu) */ {
  259. public:
  260. inline AgvStatu() : AgvStatu(nullptr) {}
  261. virtual ~AgvStatu();
  262. AgvStatu(const AgvStatu& from);
  263. AgvStatu(AgvStatu&& from) noexcept
  264. : AgvStatu() {
  265. *this = ::std::move(from);
  266. }
  267. inline AgvStatu& operator=(const AgvStatu& from) {
  268. CopyFrom(from);
  269. return *this;
  270. }
  271. inline AgvStatu& operator=(AgvStatu&& from) noexcept {
  272. if (GetArena() == from.GetArena()) {
  273. if (this != &from) InternalSwap(&from);
  274. } else {
  275. CopyFrom(from);
  276. }
  277. return *this;
  278. }
  279. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  280. return GetDescriptor();
  281. }
  282. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  283. return GetMetadataStatic().descriptor;
  284. }
  285. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  286. return GetMetadataStatic().reflection;
  287. }
  288. static const AgvStatu& default_instance();
  289. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  290. static inline const AgvStatu* internal_default_instance() {
  291. return reinterpret_cast<const AgvStatu*>(
  292. &_AgvStatu_default_instance_);
  293. }
  294. static constexpr int kIndexInFileMessages =
  295. 1;
  296. friend void swap(AgvStatu& a, AgvStatu& b) {
  297. a.Swap(&b);
  298. }
  299. inline void Swap(AgvStatu* other) {
  300. if (other == this) return;
  301. if (GetArena() == other->GetArena()) {
  302. InternalSwap(other);
  303. } else {
  304. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  305. }
  306. }
  307. void UnsafeArenaSwap(AgvStatu* other) {
  308. if (other == this) return;
  309. GOOGLE_DCHECK(GetArena() == other->GetArena());
  310. InternalSwap(other);
  311. }
  312. // implements Message ----------------------------------------------
  313. inline AgvStatu* New() const final {
  314. return CreateMaybeMessage<AgvStatu>(nullptr);
  315. }
  316. AgvStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  317. return CreateMaybeMessage<AgvStatu>(arena);
  318. }
  319. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  320. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  321. void CopyFrom(const AgvStatu& from);
  322. void MergeFrom(const AgvStatu& from);
  323. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  324. bool IsInitialized() const final;
  325. size_t ByteSizeLong() const final;
  326. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  327. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  328. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  329. int GetCachedSize() const final { return _cached_size_.Get(); }
  330. private:
  331. inline void SharedCtor();
  332. inline void SharedDtor();
  333. void SetCachedSize(int size) const final;
  334. void InternalSwap(AgvStatu* other);
  335. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  336. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  337. return "NavMessage.AgvStatu";
  338. }
  339. protected:
  340. explicit AgvStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  341. private:
  342. static void ArenaDtor(void* object);
  343. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  344. public:
  345. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  346. private:
  347. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  348. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  349. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  350. }
  351. public:
  352. // nested types ----------------------------------------------------
  353. // accessors -------------------------------------------------------
  354. enum : int {
  355. kVFieldNumber = 1,
  356. kWFieldNumber = 2,
  357. kClampFieldNumber = 3,
  358. kClampOtherFieldNumber = 4,
  359. };
  360. // float v = 1;
  361. void clear_v();
  362. float v() const;
  363. void set_v(float value);
  364. private:
  365. float _internal_v() const;
  366. void _internal_set_v(float value);
  367. public:
  368. // float w = 2;
  369. void clear_w();
  370. float w() const;
  371. void set_w(float value);
  372. private:
  373. float _internal_w() const;
  374. void _internal_set_w(float value);
  375. public:
  376. // int32 clamp = 3;
  377. void clear_clamp();
  378. ::PROTOBUF_NAMESPACE_ID::int32 clamp() const;
  379. void set_clamp(::PROTOBUF_NAMESPACE_ID::int32 value);
  380. private:
  381. ::PROTOBUF_NAMESPACE_ID::int32 _internal_clamp() const;
  382. void _internal_set_clamp(::PROTOBUF_NAMESPACE_ID::int32 value);
  383. public:
  384. // int32 clamp_other = 4;
  385. void clear_clamp_other();
  386. ::PROTOBUF_NAMESPACE_ID::int32 clamp_other() const;
  387. void set_clamp_other(::PROTOBUF_NAMESPACE_ID::int32 value);
  388. private:
  389. ::PROTOBUF_NAMESPACE_ID::int32 _internal_clamp_other() const;
  390. void _internal_set_clamp_other(::PROTOBUF_NAMESPACE_ID::int32 value);
  391. public:
  392. // @@protoc_insertion_point(class_scope:NavMessage.AgvStatu)
  393. private:
  394. class _Internal;
  395. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  396. typedef void InternalArenaConstructable_;
  397. typedef void DestructorSkippable_;
  398. float v_;
  399. float w_;
  400. ::PROTOBUF_NAMESPACE_ID::int32 clamp_;
  401. ::PROTOBUF_NAMESPACE_ID::int32 clamp_other_;
  402. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  403. friend struct ::TableStruct_message_2eproto;
  404. };
  405. // -------------------------------------------------------------------
  406. class ToAgvCmd PROTOBUF_FINAL :
  407. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.ToAgvCmd) */ {
  408. public:
  409. inline ToAgvCmd() : ToAgvCmd(nullptr) {}
  410. virtual ~ToAgvCmd();
  411. ToAgvCmd(const ToAgvCmd& from);
  412. ToAgvCmd(ToAgvCmd&& from) noexcept
  413. : ToAgvCmd() {
  414. *this = ::std::move(from);
  415. }
  416. inline ToAgvCmd& operator=(const ToAgvCmd& from) {
  417. CopyFrom(from);
  418. return *this;
  419. }
  420. inline ToAgvCmd& operator=(ToAgvCmd&& from) noexcept {
  421. if (GetArena() == from.GetArena()) {
  422. if (this != &from) InternalSwap(&from);
  423. } else {
  424. CopyFrom(from);
  425. }
  426. return *this;
  427. }
  428. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  429. return GetDescriptor();
  430. }
  431. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  432. return GetMetadataStatic().descriptor;
  433. }
  434. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  435. return GetMetadataStatic().reflection;
  436. }
  437. static const ToAgvCmd& default_instance();
  438. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  439. static inline const ToAgvCmd* internal_default_instance() {
  440. return reinterpret_cast<const ToAgvCmd*>(
  441. &_ToAgvCmd_default_instance_);
  442. }
  443. static constexpr int kIndexInFileMessages =
  444. 2;
  445. friend void swap(ToAgvCmd& a, ToAgvCmd& b) {
  446. a.Swap(&b);
  447. }
  448. inline void Swap(ToAgvCmd* other) {
  449. if (other == this) return;
  450. if (GetArena() == other->GetArena()) {
  451. InternalSwap(other);
  452. } else {
  453. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  454. }
  455. }
  456. void UnsafeArenaSwap(ToAgvCmd* other) {
  457. if (other == this) return;
  458. GOOGLE_DCHECK(GetArena() == other->GetArena());
  459. InternalSwap(other);
  460. }
  461. // implements Message ----------------------------------------------
  462. inline ToAgvCmd* New() const final {
  463. return CreateMaybeMessage<ToAgvCmd>(nullptr);
  464. }
  465. ToAgvCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  466. return CreateMaybeMessage<ToAgvCmd>(arena);
  467. }
  468. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  469. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  470. void CopyFrom(const ToAgvCmd& from);
  471. void MergeFrom(const ToAgvCmd& from);
  472. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  473. bool IsInitialized() const final;
  474. size_t ByteSizeLong() const final;
  475. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  476. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  477. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  478. int GetCachedSize() const final { return _cached_size_.Get(); }
  479. private:
  480. inline void SharedCtor();
  481. inline void SharedDtor();
  482. void SetCachedSize(int size) const final;
  483. void InternalSwap(ToAgvCmd* other);
  484. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  485. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  486. return "NavMessage.ToAgvCmd";
  487. }
  488. protected:
  489. explicit ToAgvCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  490. private:
  491. static void ArenaDtor(void* object);
  492. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  493. public:
  494. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  495. private:
  496. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  497. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  498. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  499. }
  500. public:
  501. // nested types ----------------------------------------------------
  502. // accessors -------------------------------------------------------
  503. enum : int {
  504. kHFieldNumber = 1,
  505. kMFieldNumber = 2,
  506. kTFieldNumber = 3,
  507. kVFieldNumber = 4,
  508. kWFieldNumber = 5,
  509. kLFieldNumber = 6,
  510. kEndFieldNumber = 7,
  511. };
  512. // int32 H = 1;
  513. void clear_h();
  514. ::PROTOBUF_NAMESPACE_ID::int32 h() const;
  515. void set_h(::PROTOBUF_NAMESPACE_ID::int32 value);
  516. private:
  517. ::PROTOBUF_NAMESPACE_ID::int32 _internal_h() const;
  518. void _internal_set_h(::PROTOBUF_NAMESPACE_ID::int32 value);
  519. public:
  520. // int32 M = 2;
  521. void clear_m();
  522. ::PROTOBUF_NAMESPACE_ID::int32 m() const;
  523. void set_m(::PROTOBUF_NAMESPACE_ID::int32 value);
  524. private:
  525. ::PROTOBUF_NAMESPACE_ID::int32 _internal_m() const;
  526. void _internal_set_m(::PROTOBUF_NAMESPACE_ID::int32 value);
  527. public:
  528. // int32 T = 3;
  529. void clear_t();
  530. ::PROTOBUF_NAMESPACE_ID::int32 t() const;
  531. void set_t(::PROTOBUF_NAMESPACE_ID::int32 value);
  532. private:
  533. ::PROTOBUF_NAMESPACE_ID::int32 _internal_t() const;
  534. void _internal_set_t(::PROTOBUF_NAMESPACE_ID::int32 value);
  535. public:
  536. // float V = 4;
  537. void clear_v();
  538. float v() const;
  539. void set_v(float value);
  540. private:
  541. float _internal_v() const;
  542. void _internal_set_v(float value);
  543. public:
  544. // float W = 5;
  545. void clear_w();
  546. float w() const;
  547. void set_w(float value);
  548. private:
  549. float _internal_w() const;
  550. void _internal_set_w(float value);
  551. public:
  552. // float L = 6;
  553. void clear_l();
  554. float l() const;
  555. void set_l(float value);
  556. private:
  557. float _internal_l() const;
  558. void _internal_set_l(float value);
  559. public:
  560. // int32 end = 7;
  561. void clear_end();
  562. ::PROTOBUF_NAMESPACE_ID::int32 end() const;
  563. void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  564. private:
  565. ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const;
  566. void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  567. public:
  568. // @@protoc_insertion_point(class_scope:NavMessage.ToAgvCmd)
  569. private:
  570. class _Internal;
  571. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  572. typedef void InternalArenaConstructable_;
  573. typedef void DestructorSkippable_;
  574. ::PROTOBUF_NAMESPACE_ID::int32 h_;
  575. ::PROTOBUF_NAMESPACE_ID::int32 m_;
  576. ::PROTOBUF_NAMESPACE_ID::int32 t_;
  577. float v_;
  578. float w_;
  579. float l_;
  580. ::PROTOBUF_NAMESPACE_ID::int32 end_;
  581. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  582. friend struct ::TableStruct_message_2eproto;
  583. };
  584. // -------------------------------------------------------------------
  585. class SpeedLimit PROTOBUF_FINAL :
  586. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.SpeedLimit) */ {
  587. public:
  588. inline SpeedLimit() : SpeedLimit(nullptr) {}
  589. virtual ~SpeedLimit();
  590. SpeedLimit(const SpeedLimit& from);
  591. SpeedLimit(SpeedLimit&& from) noexcept
  592. : SpeedLimit() {
  593. *this = ::std::move(from);
  594. }
  595. inline SpeedLimit& operator=(const SpeedLimit& from) {
  596. CopyFrom(from);
  597. return *this;
  598. }
  599. inline SpeedLimit& operator=(SpeedLimit&& from) noexcept {
  600. if (GetArena() == from.GetArena()) {
  601. if (this != &from) InternalSwap(&from);
  602. } else {
  603. CopyFrom(from);
  604. }
  605. return *this;
  606. }
  607. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  608. return GetDescriptor();
  609. }
  610. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  611. return GetMetadataStatic().descriptor;
  612. }
  613. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  614. return GetMetadataStatic().reflection;
  615. }
  616. static const SpeedLimit& default_instance();
  617. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  618. static inline const SpeedLimit* internal_default_instance() {
  619. return reinterpret_cast<const SpeedLimit*>(
  620. &_SpeedLimit_default_instance_);
  621. }
  622. static constexpr int kIndexInFileMessages =
  623. 3;
  624. friend void swap(SpeedLimit& a, SpeedLimit& b) {
  625. a.Swap(&b);
  626. }
  627. inline void Swap(SpeedLimit* other) {
  628. if (other == this) return;
  629. if (GetArena() == other->GetArena()) {
  630. InternalSwap(other);
  631. } else {
  632. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  633. }
  634. }
  635. void UnsafeArenaSwap(SpeedLimit* other) {
  636. if (other == this) return;
  637. GOOGLE_DCHECK(GetArena() == other->GetArena());
  638. InternalSwap(other);
  639. }
  640. // implements Message ----------------------------------------------
  641. inline SpeedLimit* New() const final {
  642. return CreateMaybeMessage<SpeedLimit>(nullptr);
  643. }
  644. SpeedLimit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  645. return CreateMaybeMessage<SpeedLimit>(arena);
  646. }
  647. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  648. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  649. void CopyFrom(const SpeedLimit& from);
  650. void MergeFrom(const SpeedLimit& from);
  651. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  652. bool IsInitialized() const final;
  653. size_t ByteSizeLong() const final;
  654. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  655. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  656. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  657. int GetCachedSize() const final { return _cached_size_.Get(); }
  658. private:
  659. inline void SharedCtor();
  660. inline void SharedDtor();
  661. void SetCachedSize(int size) const final;
  662. void InternalSwap(SpeedLimit* other);
  663. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  664. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  665. return "NavMessage.SpeedLimit";
  666. }
  667. protected:
  668. explicit SpeedLimit(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  669. private:
  670. static void ArenaDtor(void* object);
  671. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  672. public:
  673. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  674. private:
  675. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  676. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  677. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  678. }
  679. public:
  680. // nested types ----------------------------------------------------
  681. // accessors -------------------------------------------------------
  682. enum : int {
  683. kMinFieldNumber = 1,
  684. kMaxFieldNumber = 2,
  685. };
  686. // float min = 1;
  687. void clear_min();
  688. float min() const;
  689. void set_min(float value);
  690. private:
  691. float _internal_min() const;
  692. void _internal_set_min(float value);
  693. public:
  694. // float max = 2;
  695. void clear_max();
  696. float max() const;
  697. void set_max(float value);
  698. private:
  699. float _internal_max() const;
  700. void _internal_set_max(float value);
  701. public:
  702. // @@protoc_insertion_point(class_scope:NavMessage.SpeedLimit)
  703. private:
  704. class _Internal;
  705. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  706. typedef void InternalArenaConstructable_;
  707. typedef void DestructorSkippable_;
  708. float min_;
  709. float max_;
  710. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  711. friend struct ::TableStruct_message_2eproto;
  712. };
  713. // -------------------------------------------------------------------
  714. class Pose2d PROTOBUF_FINAL :
  715. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Pose2d) */ {
  716. public:
  717. inline Pose2d() : Pose2d(nullptr) {}
  718. virtual ~Pose2d();
  719. Pose2d(const Pose2d& from);
  720. Pose2d(Pose2d&& from) noexcept
  721. : Pose2d() {
  722. *this = ::std::move(from);
  723. }
  724. inline Pose2d& operator=(const Pose2d& from) {
  725. CopyFrom(from);
  726. return *this;
  727. }
  728. inline Pose2d& operator=(Pose2d&& from) noexcept {
  729. if (GetArena() == from.GetArena()) {
  730. if (this != &from) InternalSwap(&from);
  731. } else {
  732. CopyFrom(from);
  733. }
  734. return *this;
  735. }
  736. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  737. return GetDescriptor();
  738. }
  739. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  740. return GetMetadataStatic().descriptor;
  741. }
  742. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  743. return GetMetadataStatic().reflection;
  744. }
  745. static const Pose2d& default_instance();
  746. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  747. static inline const Pose2d* internal_default_instance() {
  748. return reinterpret_cast<const Pose2d*>(
  749. &_Pose2d_default_instance_);
  750. }
  751. static constexpr int kIndexInFileMessages =
  752. 4;
  753. friend void swap(Pose2d& a, Pose2d& b) {
  754. a.Swap(&b);
  755. }
  756. inline void Swap(Pose2d* other) {
  757. if (other == this) return;
  758. if (GetArena() == other->GetArena()) {
  759. InternalSwap(other);
  760. } else {
  761. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  762. }
  763. }
  764. void UnsafeArenaSwap(Pose2d* other) {
  765. if (other == this) return;
  766. GOOGLE_DCHECK(GetArena() == other->GetArena());
  767. InternalSwap(other);
  768. }
  769. // implements Message ----------------------------------------------
  770. inline Pose2d* New() const final {
  771. return CreateMaybeMessage<Pose2d>(nullptr);
  772. }
  773. Pose2d* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  774. return CreateMaybeMessage<Pose2d>(arena);
  775. }
  776. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  777. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  778. void CopyFrom(const Pose2d& from);
  779. void MergeFrom(const Pose2d& from);
  780. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  781. bool IsInitialized() const final;
  782. size_t ByteSizeLong() const final;
  783. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  784. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  785. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  786. int GetCachedSize() const final { return _cached_size_.Get(); }
  787. private:
  788. inline void SharedCtor();
  789. inline void SharedDtor();
  790. void SetCachedSize(int size) const final;
  791. void InternalSwap(Pose2d* other);
  792. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  793. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  794. return "NavMessage.Pose2d";
  795. }
  796. protected:
  797. explicit Pose2d(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  798. private:
  799. static void ArenaDtor(void* object);
  800. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  801. public:
  802. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  803. private:
  804. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  805. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  806. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  807. }
  808. public:
  809. // nested types ----------------------------------------------------
  810. // accessors -------------------------------------------------------
  811. enum : int {
  812. kXFieldNumber = 1,
  813. kYFieldNumber = 2,
  814. kThetaFieldNumber = 3,
  815. };
  816. // float x = 1;
  817. void clear_x();
  818. float x() const;
  819. void set_x(float value);
  820. private:
  821. float _internal_x() const;
  822. void _internal_set_x(float value);
  823. public:
  824. // float y = 2;
  825. void clear_y();
  826. float y() const;
  827. void set_y(float value);
  828. private:
  829. float _internal_y() const;
  830. void _internal_set_y(float value);
  831. public:
  832. // float theta = 3;
  833. void clear_theta();
  834. float theta() const;
  835. void set_theta(float value);
  836. private:
  837. float _internal_theta() const;
  838. void _internal_set_theta(float value);
  839. public:
  840. // @@protoc_insertion_point(class_scope:NavMessage.Pose2d)
  841. private:
  842. class _Internal;
  843. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  844. typedef void InternalArenaConstructable_;
  845. typedef void DestructorSkippable_;
  846. float x_;
  847. float y_;
  848. float theta_;
  849. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  850. friend struct ::TableStruct_message_2eproto;
  851. };
  852. // -------------------------------------------------------------------
  853. class Trajectory PROTOBUF_FINAL :
  854. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Trajectory) */ {
  855. public:
  856. inline Trajectory() : Trajectory(nullptr) {}
  857. virtual ~Trajectory();
  858. Trajectory(const Trajectory& from);
  859. Trajectory(Trajectory&& from) noexcept
  860. : Trajectory() {
  861. *this = ::std::move(from);
  862. }
  863. inline Trajectory& operator=(const Trajectory& from) {
  864. CopyFrom(from);
  865. return *this;
  866. }
  867. inline Trajectory& operator=(Trajectory&& from) noexcept {
  868. if (GetArena() == from.GetArena()) {
  869. if (this != &from) InternalSwap(&from);
  870. } else {
  871. CopyFrom(from);
  872. }
  873. return *this;
  874. }
  875. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  876. return GetDescriptor();
  877. }
  878. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  879. return GetMetadataStatic().descriptor;
  880. }
  881. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  882. return GetMetadataStatic().reflection;
  883. }
  884. static const Trajectory& default_instance();
  885. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  886. static inline const Trajectory* internal_default_instance() {
  887. return reinterpret_cast<const Trajectory*>(
  888. &_Trajectory_default_instance_);
  889. }
  890. static constexpr int kIndexInFileMessages =
  891. 5;
  892. friend void swap(Trajectory& a, Trajectory& b) {
  893. a.Swap(&b);
  894. }
  895. inline void Swap(Trajectory* other) {
  896. if (other == this) return;
  897. if (GetArena() == other->GetArena()) {
  898. InternalSwap(other);
  899. } else {
  900. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  901. }
  902. }
  903. void UnsafeArenaSwap(Trajectory* other) {
  904. if (other == this) return;
  905. GOOGLE_DCHECK(GetArena() == other->GetArena());
  906. InternalSwap(other);
  907. }
  908. // implements Message ----------------------------------------------
  909. inline Trajectory* New() const final {
  910. return CreateMaybeMessage<Trajectory>(nullptr);
  911. }
  912. Trajectory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  913. return CreateMaybeMessage<Trajectory>(arena);
  914. }
  915. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  916. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  917. void CopyFrom(const Trajectory& from);
  918. void MergeFrom(const Trajectory& from);
  919. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  920. bool IsInitialized() const final;
  921. size_t ByteSizeLong() const final;
  922. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  923. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  924. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  925. int GetCachedSize() const final { return _cached_size_.Get(); }
  926. private:
  927. inline void SharedCtor();
  928. inline void SharedDtor();
  929. void SetCachedSize(int size) const final;
  930. void InternalSwap(Trajectory* other);
  931. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  932. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  933. return "NavMessage.Trajectory";
  934. }
  935. protected:
  936. explicit Trajectory(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  937. private:
  938. static void ArenaDtor(void* object);
  939. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  940. public:
  941. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  942. private:
  943. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  944. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  945. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  946. }
  947. public:
  948. // nested types ----------------------------------------------------
  949. // accessors -------------------------------------------------------
  950. enum : int {
  951. kPosesFieldNumber = 1,
  952. };
  953. // repeated .NavMessage.Pose2d poses = 1;
  954. int poses_size() const;
  955. private:
  956. int _internal_poses_size() const;
  957. public:
  958. void clear_poses();
  959. ::NavMessage::Pose2d* mutable_poses(int index);
  960. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >*
  961. mutable_poses();
  962. private:
  963. const ::NavMessage::Pose2d& _internal_poses(int index) const;
  964. ::NavMessage::Pose2d* _internal_add_poses();
  965. public:
  966. const ::NavMessage::Pose2d& poses(int index) const;
  967. ::NavMessage::Pose2d* add_poses();
  968. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >&
  969. poses() const;
  970. // @@protoc_insertion_point(class_scope:NavMessage.Trajectory)
  971. private:
  972. class _Internal;
  973. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  974. typedef void InternalArenaConstructable_;
  975. typedef void DestructorSkippable_;
  976. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d > poses_;
  977. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  978. friend struct ::TableStruct_message_2eproto;
  979. };
  980. // -------------------------------------------------------------------
  981. class Action PROTOBUF_FINAL :
  982. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Action) */ {
  983. public:
  984. inline Action() : Action(nullptr) {}
  985. virtual ~Action();
  986. Action(const Action& from);
  987. Action(Action&& from) noexcept
  988. : Action() {
  989. *this = ::std::move(from);
  990. }
  991. inline Action& operator=(const Action& from) {
  992. CopyFrom(from);
  993. return *this;
  994. }
  995. inline Action& operator=(Action&& from) noexcept {
  996. if (GetArena() == from.GetArena()) {
  997. if (this != &from) InternalSwap(&from);
  998. } else {
  999. CopyFrom(from);
  1000. }
  1001. return *this;
  1002. }
  1003. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1004. return GetDescriptor();
  1005. }
  1006. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1007. return GetMetadataStatic().descriptor;
  1008. }
  1009. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1010. return GetMetadataStatic().reflection;
  1011. }
  1012. static const Action& default_instance();
  1013. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1014. static inline const Action* internal_default_instance() {
  1015. return reinterpret_cast<const Action*>(
  1016. &_Action_default_instance_);
  1017. }
  1018. static constexpr int kIndexInFileMessages =
  1019. 6;
  1020. friend void swap(Action& a, Action& b) {
  1021. a.Swap(&b);
  1022. }
  1023. inline void Swap(Action* other) {
  1024. if (other == this) return;
  1025. if (GetArena() == other->GetArena()) {
  1026. InternalSwap(other);
  1027. } else {
  1028. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1029. }
  1030. }
  1031. void UnsafeArenaSwap(Action* other) {
  1032. if (other == this) return;
  1033. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1034. InternalSwap(other);
  1035. }
  1036. // implements Message ----------------------------------------------
  1037. inline Action* New() const final {
  1038. return CreateMaybeMessage<Action>(nullptr);
  1039. }
  1040. Action* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1041. return CreateMaybeMessage<Action>(arena);
  1042. }
  1043. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1044. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1045. void CopyFrom(const Action& from);
  1046. void MergeFrom(const Action& from);
  1047. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1048. bool IsInitialized() const final;
  1049. size_t ByteSizeLong() const final;
  1050. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1051. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1052. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1053. int GetCachedSize() const final { return _cached_size_.Get(); }
  1054. private:
  1055. inline void SharedCtor();
  1056. inline void SharedDtor();
  1057. void SetCachedSize(int size) const final;
  1058. void InternalSwap(Action* other);
  1059. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1060. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1061. return "NavMessage.Action";
  1062. }
  1063. protected:
  1064. explicit Action(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1065. private:
  1066. static void ArenaDtor(void* object);
  1067. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1068. public:
  1069. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1070. private:
  1071. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1072. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  1073. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  1074. }
  1075. public:
  1076. // nested types ----------------------------------------------------
  1077. // accessors -------------------------------------------------------
  1078. enum : int {
  1079. kBeginFieldNumber = 2,
  1080. kTargetFieldNumber = 3,
  1081. kTargetDiffFieldNumber = 4,
  1082. kVelocityLimitFieldNumber = 5,
  1083. kAngularLimitFieldNumber = 6,
  1084. kHorizeLimitFieldNumber = 7,
  1085. kTypeFieldNumber = 1,
  1086. };
  1087. // .NavMessage.Pose2d begin = 2;
  1088. bool has_begin() const;
  1089. private:
  1090. bool _internal_has_begin() const;
  1091. public:
  1092. void clear_begin();
  1093. const ::NavMessage::Pose2d& begin() const;
  1094. ::NavMessage::Pose2d* release_begin();
  1095. ::NavMessage::Pose2d* mutable_begin();
  1096. void set_allocated_begin(::NavMessage::Pose2d* begin);
  1097. private:
  1098. const ::NavMessage::Pose2d& _internal_begin() const;
  1099. ::NavMessage::Pose2d* _internal_mutable_begin();
  1100. public:
  1101. void unsafe_arena_set_allocated_begin(
  1102. ::NavMessage::Pose2d* begin);
  1103. ::NavMessage::Pose2d* unsafe_arena_release_begin();
  1104. // .NavMessage.Pose2d target = 3;
  1105. bool has_target() const;
  1106. private:
  1107. bool _internal_has_target() const;
  1108. public:
  1109. void clear_target();
  1110. const ::NavMessage::Pose2d& target() const;
  1111. ::NavMessage::Pose2d* release_target();
  1112. ::NavMessage::Pose2d* mutable_target();
  1113. void set_allocated_target(::NavMessage::Pose2d* target);
  1114. private:
  1115. const ::NavMessage::Pose2d& _internal_target() const;
  1116. ::NavMessage::Pose2d* _internal_mutable_target();
  1117. public:
  1118. void unsafe_arena_set_allocated_target(
  1119. ::NavMessage::Pose2d* target);
  1120. ::NavMessage::Pose2d* unsafe_arena_release_target();
  1121. // .NavMessage.Pose2d target_diff = 4;
  1122. bool has_target_diff() const;
  1123. private:
  1124. bool _internal_has_target_diff() const;
  1125. public:
  1126. void clear_target_diff();
  1127. const ::NavMessage::Pose2d& target_diff() const;
  1128. ::NavMessage::Pose2d* release_target_diff();
  1129. ::NavMessage::Pose2d* mutable_target_diff();
  1130. void set_allocated_target_diff(::NavMessage::Pose2d* target_diff);
  1131. private:
  1132. const ::NavMessage::Pose2d& _internal_target_diff() const;
  1133. ::NavMessage::Pose2d* _internal_mutable_target_diff();
  1134. public:
  1135. void unsafe_arena_set_allocated_target_diff(
  1136. ::NavMessage::Pose2d* target_diff);
  1137. ::NavMessage::Pose2d* unsafe_arena_release_target_diff();
  1138. // .NavMessage.SpeedLimit velocity_limit = 5;
  1139. bool has_velocity_limit() const;
  1140. private:
  1141. bool _internal_has_velocity_limit() const;
  1142. public:
  1143. void clear_velocity_limit();
  1144. const ::NavMessage::SpeedLimit& velocity_limit() const;
  1145. ::NavMessage::SpeedLimit* release_velocity_limit();
  1146. ::NavMessage::SpeedLimit* mutable_velocity_limit();
  1147. void set_allocated_velocity_limit(::NavMessage::SpeedLimit* velocity_limit);
  1148. private:
  1149. const ::NavMessage::SpeedLimit& _internal_velocity_limit() const;
  1150. ::NavMessage::SpeedLimit* _internal_mutable_velocity_limit();
  1151. public:
  1152. void unsafe_arena_set_allocated_velocity_limit(
  1153. ::NavMessage::SpeedLimit* velocity_limit);
  1154. ::NavMessage::SpeedLimit* unsafe_arena_release_velocity_limit();
  1155. // .NavMessage.SpeedLimit angular_limit = 6;
  1156. bool has_angular_limit() const;
  1157. private:
  1158. bool _internal_has_angular_limit() const;
  1159. public:
  1160. void clear_angular_limit();
  1161. const ::NavMessage::SpeedLimit& angular_limit() const;
  1162. ::NavMessage::SpeedLimit* release_angular_limit();
  1163. ::NavMessage::SpeedLimit* mutable_angular_limit();
  1164. void set_allocated_angular_limit(::NavMessage::SpeedLimit* angular_limit);
  1165. private:
  1166. const ::NavMessage::SpeedLimit& _internal_angular_limit() const;
  1167. ::NavMessage::SpeedLimit* _internal_mutable_angular_limit();
  1168. public:
  1169. void unsafe_arena_set_allocated_angular_limit(
  1170. ::NavMessage::SpeedLimit* angular_limit);
  1171. ::NavMessage::SpeedLimit* unsafe_arena_release_angular_limit();
  1172. // .NavMessage.SpeedLimit horize_limit = 7;
  1173. bool has_horize_limit() const;
  1174. private:
  1175. bool _internal_has_horize_limit() const;
  1176. public:
  1177. void clear_horize_limit();
  1178. const ::NavMessage::SpeedLimit& horize_limit() const;
  1179. ::NavMessage::SpeedLimit* release_horize_limit();
  1180. ::NavMessage::SpeedLimit* mutable_horize_limit();
  1181. void set_allocated_horize_limit(::NavMessage::SpeedLimit* horize_limit);
  1182. private:
  1183. const ::NavMessage::SpeedLimit& _internal_horize_limit() const;
  1184. ::NavMessage::SpeedLimit* _internal_mutable_horize_limit();
  1185. public:
  1186. void unsafe_arena_set_allocated_horize_limit(
  1187. ::NavMessage::SpeedLimit* horize_limit);
  1188. ::NavMessage::SpeedLimit* unsafe_arena_release_horize_limit();
  1189. // int32 type = 1;
  1190. void clear_type();
  1191. ::PROTOBUF_NAMESPACE_ID::int32 type() const;
  1192. void set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
  1193. private:
  1194. ::PROTOBUF_NAMESPACE_ID::int32 _internal_type() const;
  1195. void _internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
  1196. public:
  1197. // @@protoc_insertion_point(class_scope:NavMessage.Action)
  1198. private:
  1199. class _Internal;
  1200. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1201. typedef void InternalArenaConstructable_;
  1202. typedef void DestructorSkippable_;
  1203. ::NavMessage::Pose2d* begin_;
  1204. ::NavMessage::Pose2d* target_;
  1205. ::NavMessage::Pose2d* target_diff_;
  1206. ::NavMessage::SpeedLimit* velocity_limit_;
  1207. ::NavMessage::SpeedLimit* angular_limit_;
  1208. ::NavMessage::SpeedLimit* horize_limit_;
  1209. ::PROTOBUF_NAMESPACE_ID::int32 type_;
  1210. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1211. friend struct ::TableStruct_message_2eproto;
  1212. };
  1213. // -------------------------------------------------------------------
  1214. class NavCmd PROTOBUF_FINAL :
  1215. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavCmd) */ {
  1216. public:
  1217. inline NavCmd() : NavCmd(nullptr) {}
  1218. virtual ~NavCmd();
  1219. NavCmd(const NavCmd& from);
  1220. NavCmd(NavCmd&& from) noexcept
  1221. : NavCmd() {
  1222. *this = ::std::move(from);
  1223. }
  1224. inline NavCmd& operator=(const NavCmd& from) {
  1225. CopyFrom(from);
  1226. return *this;
  1227. }
  1228. inline NavCmd& operator=(NavCmd&& from) noexcept {
  1229. if (GetArena() == from.GetArena()) {
  1230. if (this != &from) InternalSwap(&from);
  1231. } else {
  1232. CopyFrom(from);
  1233. }
  1234. return *this;
  1235. }
  1236. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1237. return GetDescriptor();
  1238. }
  1239. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1240. return GetMetadataStatic().descriptor;
  1241. }
  1242. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1243. return GetMetadataStatic().reflection;
  1244. }
  1245. static const NavCmd& default_instance();
  1246. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1247. static inline const NavCmd* internal_default_instance() {
  1248. return reinterpret_cast<const NavCmd*>(
  1249. &_NavCmd_default_instance_);
  1250. }
  1251. static constexpr int kIndexInFileMessages =
  1252. 7;
  1253. friend void swap(NavCmd& a, NavCmd& b) {
  1254. a.Swap(&b);
  1255. }
  1256. inline void Swap(NavCmd* other) {
  1257. if (other == this) return;
  1258. if (GetArena() == other->GetArena()) {
  1259. InternalSwap(other);
  1260. } else {
  1261. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1262. }
  1263. }
  1264. void UnsafeArenaSwap(NavCmd* other) {
  1265. if (other == this) return;
  1266. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1267. InternalSwap(other);
  1268. }
  1269. // implements Message ----------------------------------------------
  1270. inline NavCmd* New() const final {
  1271. return CreateMaybeMessage<NavCmd>(nullptr);
  1272. }
  1273. NavCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1274. return CreateMaybeMessage<NavCmd>(arena);
  1275. }
  1276. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1277. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1278. void CopyFrom(const NavCmd& from);
  1279. void MergeFrom(const NavCmd& from);
  1280. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1281. bool IsInitialized() const final;
  1282. size_t ByteSizeLong() const final;
  1283. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1284. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1285. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1286. int GetCachedSize() const final { return _cached_size_.Get(); }
  1287. private:
  1288. inline void SharedCtor();
  1289. inline void SharedDtor();
  1290. void SetCachedSize(int size) const final;
  1291. void InternalSwap(NavCmd* other);
  1292. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1293. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1294. return "NavMessage.NavCmd";
  1295. }
  1296. protected:
  1297. explicit NavCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1298. private:
  1299. static void ArenaDtor(void* object);
  1300. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1301. public:
  1302. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1303. private:
  1304. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1305. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  1306. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  1307. }
  1308. public:
  1309. // nested types ----------------------------------------------------
  1310. // accessors -------------------------------------------------------
  1311. enum : int {
  1312. kActionsFieldNumber = 4,
  1313. kKeyFieldNumber = 2,
  1314. kActionFieldNumber = 1,
  1315. kWheelbaseFieldNumber = 3,
  1316. };
  1317. // repeated .NavMessage.Action actions = 4;
  1318. int actions_size() const;
  1319. private:
  1320. int _internal_actions_size() const;
  1321. public:
  1322. void clear_actions();
  1323. ::NavMessage::Action* mutable_actions(int index);
  1324. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >*
  1325. mutable_actions();
  1326. private:
  1327. const ::NavMessage::Action& _internal_actions(int index) const;
  1328. ::NavMessage::Action* _internal_add_actions();
  1329. public:
  1330. const ::NavMessage::Action& actions(int index) const;
  1331. ::NavMessage::Action* add_actions();
  1332. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >&
  1333. actions() const;
  1334. // string key = 2;
  1335. void clear_key();
  1336. const std::string& key() const;
  1337. void set_key(const std::string& value);
  1338. void set_key(std::string&& value);
  1339. void set_key(const char* value);
  1340. void set_key(const char* value, size_t size);
  1341. std::string* mutable_key();
  1342. std::string* release_key();
  1343. void set_allocated_key(std::string* key);
  1344. private:
  1345. const std::string& _internal_key() const;
  1346. void _internal_set_key(const std::string& value);
  1347. std::string* _internal_mutable_key();
  1348. public:
  1349. // int32 action = 1;
  1350. void clear_action();
  1351. ::PROTOBUF_NAMESPACE_ID::int32 action() const;
  1352. void set_action(::PROTOBUF_NAMESPACE_ID::int32 value);
  1353. private:
  1354. ::PROTOBUF_NAMESPACE_ID::int32 _internal_action() const;
  1355. void _internal_set_action(::PROTOBUF_NAMESPACE_ID::int32 value);
  1356. public:
  1357. // float wheelbase = 3;
  1358. void clear_wheelbase();
  1359. float wheelbase() const;
  1360. void set_wheelbase(float value);
  1361. private:
  1362. float _internal_wheelbase() const;
  1363. void _internal_set_wheelbase(float value);
  1364. public:
  1365. // @@protoc_insertion_point(class_scope:NavMessage.NavCmd)
  1366. private:
  1367. class _Internal;
  1368. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1369. typedef void InternalArenaConstructable_;
  1370. typedef void DestructorSkippable_;
  1371. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action > actions_;
  1372. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
  1373. ::PROTOBUF_NAMESPACE_ID::int32 action_;
  1374. float wheelbase_;
  1375. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1376. friend struct ::TableStruct_message_2eproto;
  1377. };
  1378. // -------------------------------------------------------------------
  1379. class NavStatu PROTOBUF_FINAL :
  1380. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavStatu) */ {
  1381. public:
  1382. inline NavStatu() : NavStatu(nullptr) {}
  1383. virtual ~NavStatu();
  1384. NavStatu(const NavStatu& from);
  1385. NavStatu(NavStatu&& from) noexcept
  1386. : NavStatu() {
  1387. *this = ::std::move(from);
  1388. }
  1389. inline NavStatu& operator=(const NavStatu& from) {
  1390. CopyFrom(from);
  1391. return *this;
  1392. }
  1393. inline NavStatu& operator=(NavStatu&& from) noexcept {
  1394. if (GetArena() == from.GetArena()) {
  1395. if (this != &from) InternalSwap(&from);
  1396. } else {
  1397. CopyFrom(from);
  1398. }
  1399. return *this;
  1400. }
  1401. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1402. return GetDescriptor();
  1403. }
  1404. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1405. return GetMetadataStatic().descriptor;
  1406. }
  1407. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1408. return GetMetadataStatic().reflection;
  1409. }
  1410. static const NavStatu& default_instance();
  1411. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1412. static inline const NavStatu* internal_default_instance() {
  1413. return reinterpret_cast<const NavStatu*>(
  1414. &_NavStatu_default_instance_);
  1415. }
  1416. static constexpr int kIndexInFileMessages =
  1417. 8;
  1418. friend void swap(NavStatu& a, NavStatu& b) {
  1419. a.Swap(&b);
  1420. }
  1421. inline void Swap(NavStatu* other) {
  1422. if (other == this) return;
  1423. if (GetArena() == other->GetArena()) {
  1424. InternalSwap(other);
  1425. } else {
  1426. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1427. }
  1428. }
  1429. void UnsafeArenaSwap(NavStatu* other) {
  1430. if (other == this) return;
  1431. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1432. InternalSwap(other);
  1433. }
  1434. // implements Message ----------------------------------------------
  1435. inline NavStatu* New() const final {
  1436. return CreateMaybeMessage<NavStatu>(nullptr);
  1437. }
  1438. NavStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1439. return CreateMaybeMessage<NavStatu>(arena);
  1440. }
  1441. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1442. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1443. void CopyFrom(const NavStatu& from);
  1444. void MergeFrom(const NavStatu& from);
  1445. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1446. bool IsInitialized() const final;
  1447. size_t ByteSizeLong() const final;
  1448. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1449. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1450. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1451. int GetCachedSize() const final { return _cached_size_.Get(); }
  1452. private:
  1453. inline void SharedCtor();
  1454. inline void SharedDtor();
  1455. void SetCachedSize(int size) const final;
  1456. void InternalSwap(NavStatu* other);
  1457. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1458. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1459. return "NavMessage.NavStatu";
  1460. }
  1461. protected:
  1462. explicit NavStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1463. private:
  1464. static void ArenaDtor(void* object);
  1465. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1466. public:
  1467. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1468. private:
  1469. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1470. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  1471. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  1472. }
  1473. public:
  1474. // nested types ----------------------------------------------------
  1475. // accessors -------------------------------------------------------
  1476. enum : int {
  1477. kUnfinishedActionsFieldNumber = 5,
  1478. kKeyFieldNumber = 4,
  1479. kSelectedTrajFieldNumber = 6,
  1480. kPredictTrajFieldNumber = 7,
  1481. kStatuFieldNumber = 1,
  1482. kMainAgvFieldNumber = 2,
  1483. kMoveModeFieldNumber = 3,
  1484. };
  1485. // repeated .NavMessage.Action unfinished_actions = 5;
  1486. int unfinished_actions_size() const;
  1487. private:
  1488. int _internal_unfinished_actions_size() const;
  1489. public:
  1490. void clear_unfinished_actions();
  1491. ::NavMessage::Action* mutable_unfinished_actions(int index);
  1492. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >*
  1493. mutable_unfinished_actions();
  1494. private:
  1495. const ::NavMessage::Action& _internal_unfinished_actions(int index) const;
  1496. ::NavMessage::Action* _internal_add_unfinished_actions();
  1497. public:
  1498. const ::NavMessage::Action& unfinished_actions(int index) const;
  1499. ::NavMessage::Action* add_unfinished_actions();
  1500. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >&
  1501. unfinished_actions() const;
  1502. // string key = 4;
  1503. void clear_key();
  1504. const std::string& key() const;
  1505. void set_key(const std::string& value);
  1506. void set_key(std::string&& value);
  1507. void set_key(const char* value);
  1508. void set_key(const char* value, size_t size);
  1509. std::string* mutable_key();
  1510. std::string* release_key();
  1511. void set_allocated_key(std::string* key);
  1512. private:
  1513. const std::string& _internal_key() const;
  1514. void _internal_set_key(const std::string& value);
  1515. std::string* _internal_mutable_key();
  1516. public:
  1517. // .NavMessage.Trajectory selected_traj = 6;
  1518. bool has_selected_traj() const;
  1519. private:
  1520. bool _internal_has_selected_traj() const;
  1521. public:
  1522. void clear_selected_traj();
  1523. const ::NavMessage::Trajectory& selected_traj() const;
  1524. ::NavMessage::Trajectory* release_selected_traj();
  1525. ::NavMessage::Trajectory* mutable_selected_traj();
  1526. void set_allocated_selected_traj(::NavMessage::Trajectory* selected_traj);
  1527. private:
  1528. const ::NavMessage::Trajectory& _internal_selected_traj() const;
  1529. ::NavMessage::Trajectory* _internal_mutable_selected_traj();
  1530. public:
  1531. void unsafe_arena_set_allocated_selected_traj(
  1532. ::NavMessage::Trajectory* selected_traj);
  1533. ::NavMessage::Trajectory* unsafe_arena_release_selected_traj();
  1534. // .NavMessage.Trajectory predict_traj = 7;
  1535. bool has_predict_traj() const;
  1536. private:
  1537. bool _internal_has_predict_traj() const;
  1538. public:
  1539. void clear_predict_traj();
  1540. const ::NavMessage::Trajectory& predict_traj() const;
  1541. ::NavMessage::Trajectory* release_predict_traj();
  1542. ::NavMessage::Trajectory* mutable_predict_traj();
  1543. void set_allocated_predict_traj(::NavMessage::Trajectory* predict_traj);
  1544. private:
  1545. const ::NavMessage::Trajectory& _internal_predict_traj() const;
  1546. ::NavMessage::Trajectory* _internal_mutable_predict_traj();
  1547. public:
  1548. void unsafe_arena_set_allocated_predict_traj(
  1549. ::NavMessage::Trajectory* predict_traj);
  1550. ::NavMessage::Trajectory* unsafe_arena_release_predict_traj();
  1551. // int32 statu = 1;
  1552. void clear_statu();
  1553. ::PROTOBUF_NAMESPACE_ID::int32 statu() const;
  1554. void set_statu(::PROTOBUF_NAMESPACE_ID::int32 value);
  1555. private:
  1556. ::PROTOBUF_NAMESPACE_ID::int32 _internal_statu() const;
  1557. void _internal_set_statu(::PROTOBUF_NAMESPACE_ID::int32 value);
  1558. public:
  1559. // bool main_agv = 2;
  1560. void clear_main_agv();
  1561. bool main_agv() const;
  1562. void set_main_agv(bool value);
  1563. private:
  1564. bool _internal_main_agv() const;
  1565. void _internal_set_main_agv(bool value);
  1566. public:
  1567. // int32 move_mode = 3;
  1568. void clear_move_mode();
  1569. ::PROTOBUF_NAMESPACE_ID::int32 move_mode() const;
  1570. void set_move_mode(::PROTOBUF_NAMESPACE_ID::int32 value);
  1571. private:
  1572. ::PROTOBUF_NAMESPACE_ID::int32 _internal_move_mode() const;
  1573. void _internal_set_move_mode(::PROTOBUF_NAMESPACE_ID::int32 value);
  1574. public:
  1575. // @@protoc_insertion_point(class_scope:NavMessage.NavStatu)
  1576. private:
  1577. class _Internal;
  1578. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1579. typedef void InternalArenaConstructable_;
  1580. typedef void DestructorSkippable_;
  1581. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action > unfinished_actions_;
  1582. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
  1583. ::NavMessage::Trajectory* selected_traj_;
  1584. ::NavMessage::Trajectory* predict_traj_;
  1585. ::PROTOBUF_NAMESPACE_ID::int32 statu_;
  1586. bool main_agv_;
  1587. ::PROTOBUF_NAMESPACE_ID::int32 move_mode_;
  1588. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1589. friend struct ::TableStruct_message_2eproto;
  1590. };
  1591. // -------------------------------------------------------------------
  1592. class RobotStatu PROTOBUF_FINAL :
  1593. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.RobotStatu) */ {
  1594. public:
  1595. inline RobotStatu() : RobotStatu(nullptr) {}
  1596. virtual ~RobotStatu();
  1597. RobotStatu(const RobotStatu& from);
  1598. RobotStatu(RobotStatu&& from) noexcept
  1599. : RobotStatu() {
  1600. *this = ::std::move(from);
  1601. }
  1602. inline RobotStatu& operator=(const RobotStatu& from) {
  1603. CopyFrom(from);
  1604. return *this;
  1605. }
  1606. inline RobotStatu& operator=(RobotStatu&& from) noexcept {
  1607. if (GetArena() == from.GetArena()) {
  1608. if (this != &from) InternalSwap(&from);
  1609. } else {
  1610. CopyFrom(from);
  1611. }
  1612. return *this;
  1613. }
  1614. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1615. return GetDescriptor();
  1616. }
  1617. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1618. return GetMetadataStatic().descriptor;
  1619. }
  1620. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1621. return GetMetadataStatic().reflection;
  1622. }
  1623. static const RobotStatu& default_instance();
  1624. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1625. static inline const RobotStatu* internal_default_instance() {
  1626. return reinterpret_cast<const RobotStatu*>(
  1627. &_RobotStatu_default_instance_);
  1628. }
  1629. static constexpr int kIndexInFileMessages =
  1630. 9;
  1631. friend void swap(RobotStatu& a, RobotStatu& b) {
  1632. a.Swap(&b);
  1633. }
  1634. inline void Swap(RobotStatu* other) {
  1635. if (other == this) return;
  1636. if (GetArena() == other->GetArena()) {
  1637. InternalSwap(other);
  1638. } else {
  1639. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1640. }
  1641. }
  1642. void UnsafeArenaSwap(RobotStatu* other) {
  1643. if (other == this) return;
  1644. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1645. InternalSwap(other);
  1646. }
  1647. // implements Message ----------------------------------------------
  1648. inline RobotStatu* New() const final {
  1649. return CreateMaybeMessage<RobotStatu>(nullptr);
  1650. }
  1651. RobotStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1652. return CreateMaybeMessage<RobotStatu>(arena);
  1653. }
  1654. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1655. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1656. void CopyFrom(const RobotStatu& from);
  1657. void MergeFrom(const RobotStatu& from);
  1658. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1659. bool IsInitialized() const final;
  1660. size_t ByteSizeLong() const final;
  1661. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1662. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1663. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1664. int GetCachedSize() const final { return _cached_size_.Get(); }
  1665. private:
  1666. inline void SharedCtor();
  1667. inline void SharedDtor();
  1668. void SetCachedSize(int size) const final;
  1669. void InternalSwap(RobotStatu* other);
  1670. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1671. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1672. return "NavMessage.RobotStatu";
  1673. }
  1674. protected:
  1675. explicit RobotStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1676. private:
  1677. static void ArenaDtor(void* object);
  1678. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1679. public:
  1680. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1681. private:
  1682. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1683. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_message_2eproto);
  1684. return ::descriptor_table_message_2eproto.file_level_metadata[kIndexInFileMessages];
  1685. }
  1686. public:
  1687. // nested types ----------------------------------------------------
  1688. // accessors -------------------------------------------------------
  1689. enum : int {
  1690. kAgvStatuFieldNumber = 4,
  1691. kXFieldNumber = 1,
  1692. kYFieldNumber = 2,
  1693. kThetaFieldNumber = 3,
  1694. };
  1695. // .NavMessage.AgvStatu agvStatu = 4;
  1696. bool has_agvstatu() const;
  1697. private:
  1698. bool _internal_has_agvstatu() const;
  1699. public:
  1700. void clear_agvstatu();
  1701. const ::NavMessage::AgvStatu& agvstatu() const;
  1702. ::NavMessage::AgvStatu* release_agvstatu();
  1703. ::NavMessage::AgvStatu* mutable_agvstatu();
  1704. void set_allocated_agvstatu(::NavMessage::AgvStatu* agvstatu);
  1705. private:
  1706. const ::NavMessage::AgvStatu& _internal_agvstatu() const;
  1707. ::NavMessage::AgvStatu* _internal_mutable_agvstatu();
  1708. public:
  1709. void unsafe_arena_set_allocated_agvstatu(
  1710. ::NavMessage::AgvStatu* agvstatu);
  1711. ::NavMessage::AgvStatu* unsafe_arena_release_agvstatu();
  1712. // float x = 1;
  1713. void clear_x();
  1714. float x() const;
  1715. void set_x(float value);
  1716. private:
  1717. float _internal_x() const;
  1718. void _internal_set_x(float value);
  1719. public:
  1720. // float y = 2;
  1721. void clear_y();
  1722. float y() const;
  1723. void set_y(float value);
  1724. private:
  1725. float _internal_y() const;
  1726. void _internal_set_y(float value);
  1727. public:
  1728. // float theta = 3;
  1729. void clear_theta();
  1730. float theta() const;
  1731. void set_theta(float value);
  1732. private:
  1733. float _internal_theta() const;
  1734. void _internal_set_theta(float value);
  1735. public:
  1736. // @@protoc_insertion_point(class_scope:NavMessage.RobotStatu)
  1737. private:
  1738. class _Internal;
  1739. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1740. typedef void InternalArenaConstructable_;
  1741. typedef void DestructorSkippable_;
  1742. ::NavMessage::AgvStatu* agvstatu_;
  1743. float x_;
  1744. float y_;
  1745. float theta_;
  1746. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1747. friend struct ::TableStruct_message_2eproto;
  1748. };
  1749. // ===================================================================
  1750. // ===================================================================
  1751. #ifdef __GNUC__
  1752. #pragma GCC diagnostic push
  1753. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1754. #endif // __GNUC__
  1755. // LidarOdomStatu
  1756. // float x = 1;
  1757. inline void LidarOdomStatu::clear_x() {
  1758. x_ = 0;
  1759. }
  1760. inline float LidarOdomStatu::_internal_x() const {
  1761. return x_;
  1762. }
  1763. inline float LidarOdomStatu::x() const {
  1764. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.x)
  1765. return _internal_x();
  1766. }
  1767. inline void LidarOdomStatu::_internal_set_x(float value) {
  1768. x_ = value;
  1769. }
  1770. inline void LidarOdomStatu::set_x(float value) {
  1771. _internal_set_x(value);
  1772. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.x)
  1773. }
  1774. // float y = 2;
  1775. inline void LidarOdomStatu::clear_y() {
  1776. y_ = 0;
  1777. }
  1778. inline float LidarOdomStatu::_internal_y() const {
  1779. return y_;
  1780. }
  1781. inline float LidarOdomStatu::y() const {
  1782. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.y)
  1783. return _internal_y();
  1784. }
  1785. inline void LidarOdomStatu::_internal_set_y(float value) {
  1786. y_ = value;
  1787. }
  1788. inline void LidarOdomStatu::set_y(float value) {
  1789. _internal_set_y(value);
  1790. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.y)
  1791. }
  1792. // float theta = 3;
  1793. inline void LidarOdomStatu::clear_theta() {
  1794. theta_ = 0;
  1795. }
  1796. inline float LidarOdomStatu::_internal_theta() const {
  1797. return theta_;
  1798. }
  1799. inline float LidarOdomStatu::theta() const {
  1800. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.theta)
  1801. return _internal_theta();
  1802. }
  1803. inline void LidarOdomStatu::_internal_set_theta(float value) {
  1804. theta_ = value;
  1805. }
  1806. inline void LidarOdomStatu::set_theta(float value) {
  1807. _internal_set_theta(value);
  1808. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.theta)
  1809. }
  1810. // float v = 4;
  1811. inline void LidarOdomStatu::clear_v() {
  1812. v_ = 0;
  1813. }
  1814. inline float LidarOdomStatu::_internal_v() const {
  1815. return v_;
  1816. }
  1817. inline float LidarOdomStatu::v() const {
  1818. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.v)
  1819. return _internal_v();
  1820. }
  1821. inline void LidarOdomStatu::_internal_set_v(float value) {
  1822. v_ = value;
  1823. }
  1824. inline void LidarOdomStatu::set_v(float value) {
  1825. _internal_set_v(value);
  1826. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.v)
  1827. }
  1828. // float vth = 5;
  1829. inline void LidarOdomStatu::clear_vth() {
  1830. vth_ = 0;
  1831. }
  1832. inline float LidarOdomStatu::_internal_vth() const {
  1833. return vth_;
  1834. }
  1835. inline float LidarOdomStatu::vth() const {
  1836. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.vth)
  1837. return _internal_vth();
  1838. }
  1839. inline void LidarOdomStatu::_internal_set_vth(float value) {
  1840. vth_ = value;
  1841. }
  1842. inline void LidarOdomStatu::set_vth(float value) {
  1843. _internal_set_vth(value);
  1844. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.vth)
  1845. }
  1846. // -------------------------------------------------------------------
  1847. // AgvStatu
  1848. // float v = 1;
  1849. inline void AgvStatu::clear_v() {
  1850. v_ = 0;
  1851. }
  1852. inline float AgvStatu::_internal_v() const {
  1853. return v_;
  1854. }
  1855. inline float AgvStatu::v() const {
  1856. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.v)
  1857. return _internal_v();
  1858. }
  1859. inline void AgvStatu::_internal_set_v(float value) {
  1860. v_ = value;
  1861. }
  1862. inline void AgvStatu::set_v(float value) {
  1863. _internal_set_v(value);
  1864. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.v)
  1865. }
  1866. // float w = 2;
  1867. inline void AgvStatu::clear_w() {
  1868. w_ = 0;
  1869. }
  1870. inline float AgvStatu::_internal_w() const {
  1871. return w_;
  1872. }
  1873. inline float AgvStatu::w() const {
  1874. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.w)
  1875. return _internal_w();
  1876. }
  1877. inline void AgvStatu::_internal_set_w(float value) {
  1878. w_ = value;
  1879. }
  1880. inline void AgvStatu::set_w(float value) {
  1881. _internal_set_w(value);
  1882. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.w)
  1883. }
  1884. // int32 clamp = 3;
  1885. inline void AgvStatu::clear_clamp() {
  1886. clamp_ = 0;
  1887. }
  1888. inline ::PROTOBUF_NAMESPACE_ID::int32 AgvStatu::_internal_clamp() const {
  1889. return clamp_;
  1890. }
  1891. inline ::PROTOBUF_NAMESPACE_ID::int32 AgvStatu::clamp() const {
  1892. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.clamp)
  1893. return _internal_clamp();
  1894. }
  1895. inline void AgvStatu::_internal_set_clamp(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1896. clamp_ = value;
  1897. }
  1898. inline void AgvStatu::set_clamp(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1899. _internal_set_clamp(value);
  1900. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.clamp)
  1901. }
  1902. // int32 clamp_other = 4;
  1903. inline void AgvStatu::clear_clamp_other() {
  1904. clamp_other_ = 0;
  1905. }
  1906. inline ::PROTOBUF_NAMESPACE_ID::int32 AgvStatu::_internal_clamp_other() const {
  1907. return clamp_other_;
  1908. }
  1909. inline ::PROTOBUF_NAMESPACE_ID::int32 AgvStatu::clamp_other() const {
  1910. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.clamp_other)
  1911. return _internal_clamp_other();
  1912. }
  1913. inline void AgvStatu::_internal_set_clamp_other(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1914. clamp_other_ = value;
  1915. }
  1916. inline void AgvStatu::set_clamp_other(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1917. _internal_set_clamp_other(value);
  1918. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.clamp_other)
  1919. }
  1920. // -------------------------------------------------------------------
  1921. // ToAgvCmd
  1922. // int32 H = 1;
  1923. inline void ToAgvCmd::clear_h() {
  1924. h_ = 0;
  1925. }
  1926. inline ::PROTOBUF_NAMESPACE_ID::int32 ToAgvCmd::_internal_h() const {
  1927. return h_;
  1928. }
  1929. inline ::PROTOBUF_NAMESPACE_ID::int32 ToAgvCmd::h() const {
  1930. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.H)
  1931. return _internal_h();
  1932. }
  1933. inline void ToAgvCmd::_internal_set_h(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1934. h_ = value;
  1935. }
  1936. inline void ToAgvCmd::set_h(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1937. _internal_set_h(value);
  1938. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.H)
  1939. }
  1940. // int32 M = 2;
  1941. inline void ToAgvCmd::clear_m() {
  1942. m_ = 0;
  1943. }
  1944. inline ::PROTOBUF_NAMESPACE_ID::int32 ToAgvCmd::_internal_m() const {
  1945. return m_;
  1946. }
  1947. inline ::PROTOBUF_NAMESPACE_ID::int32 ToAgvCmd::m() const {
  1948. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.M)
  1949. return _internal_m();
  1950. }
  1951. inline void ToAgvCmd::_internal_set_m(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1952. m_ = value;
  1953. }
  1954. inline void ToAgvCmd::set_m(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1955. _internal_set_m(value);
  1956. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.M)
  1957. }
  1958. // int32 T = 3;
  1959. inline void ToAgvCmd::clear_t() {
  1960. t_ = 0;
  1961. }
  1962. inline ::PROTOBUF_NAMESPACE_ID::int32 ToAgvCmd::_internal_t() const {
  1963. return t_;
  1964. }
  1965. inline ::PROTOBUF_NAMESPACE_ID::int32 ToAgvCmd::t() const {
  1966. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.T)
  1967. return _internal_t();
  1968. }
  1969. inline void ToAgvCmd::_internal_set_t(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1970. t_ = value;
  1971. }
  1972. inline void ToAgvCmd::set_t(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1973. _internal_set_t(value);
  1974. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.T)
  1975. }
  1976. // float V = 4;
  1977. inline void ToAgvCmd::clear_v() {
  1978. v_ = 0;
  1979. }
  1980. inline float ToAgvCmd::_internal_v() const {
  1981. return v_;
  1982. }
  1983. inline float ToAgvCmd::v() const {
  1984. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.V)
  1985. return _internal_v();
  1986. }
  1987. inline void ToAgvCmd::_internal_set_v(float value) {
  1988. v_ = value;
  1989. }
  1990. inline void ToAgvCmd::set_v(float value) {
  1991. _internal_set_v(value);
  1992. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.V)
  1993. }
  1994. // float W = 5;
  1995. inline void ToAgvCmd::clear_w() {
  1996. w_ = 0;
  1997. }
  1998. inline float ToAgvCmd::_internal_w() const {
  1999. return w_;
  2000. }
  2001. inline float ToAgvCmd::w() const {
  2002. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.W)
  2003. return _internal_w();
  2004. }
  2005. inline void ToAgvCmd::_internal_set_w(float value) {
  2006. w_ = value;
  2007. }
  2008. inline void ToAgvCmd::set_w(float value) {
  2009. _internal_set_w(value);
  2010. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.W)
  2011. }
  2012. // float L = 6;
  2013. inline void ToAgvCmd::clear_l() {
  2014. l_ = 0;
  2015. }
  2016. inline float ToAgvCmd::_internal_l() const {
  2017. return l_;
  2018. }
  2019. inline float ToAgvCmd::l() const {
  2020. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.L)
  2021. return _internal_l();
  2022. }
  2023. inline void ToAgvCmd::_internal_set_l(float value) {
  2024. l_ = value;
  2025. }
  2026. inline void ToAgvCmd::set_l(float value) {
  2027. _internal_set_l(value);
  2028. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.L)
  2029. }
  2030. // int32 end = 7;
  2031. inline void ToAgvCmd::clear_end() {
  2032. end_ = 0;
  2033. }
  2034. inline ::PROTOBUF_NAMESPACE_ID::int32 ToAgvCmd::_internal_end() const {
  2035. return end_;
  2036. }
  2037. inline ::PROTOBUF_NAMESPACE_ID::int32 ToAgvCmd::end() const {
  2038. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.end)
  2039. return _internal_end();
  2040. }
  2041. inline void ToAgvCmd::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2042. end_ = value;
  2043. }
  2044. inline void ToAgvCmd::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2045. _internal_set_end(value);
  2046. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.end)
  2047. }
  2048. // -------------------------------------------------------------------
  2049. // SpeedLimit
  2050. // float min = 1;
  2051. inline void SpeedLimit::clear_min() {
  2052. min_ = 0;
  2053. }
  2054. inline float SpeedLimit::_internal_min() const {
  2055. return min_;
  2056. }
  2057. inline float SpeedLimit::min() const {
  2058. // @@protoc_insertion_point(field_get:NavMessage.SpeedLimit.min)
  2059. return _internal_min();
  2060. }
  2061. inline void SpeedLimit::_internal_set_min(float value) {
  2062. min_ = value;
  2063. }
  2064. inline void SpeedLimit::set_min(float value) {
  2065. _internal_set_min(value);
  2066. // @@protoc_insertion_point(field_set:NavMessage.SpeedLimit.min)
  2067. }
  2068. // float max = 2;
  2069. inline void SpeedLimit::clear_max() {
  2070. max_ = 0;
  2071. }
  2072. inline float SpeedLimit::_internal_max() const {
  2073. return max_;
  2074. }
  2075. inline float SpeedLimit::max() const {
  2076. // @@protoc_insertion_point(field_get:NavMessage.SpeedLimit.max)
  2077. return _internal_max();
  2078. }
  2079. inline void SpeedLimit::_internal_set_max(float value) {
  2080. max_ = value;
  2081. }
  2082. inline void SpeedLimit::set_max(float value) {
  2083. _internal_set_max(value);
  2084. // @@protoc_insertion_point(field_set:NavMessage.SpeedLimit.max)
  2085. }
  2086. // -------------------------------------------------------------------
  2087. // Pose2d
  2088. // float x = 1;
  2089. inline void Pose2d::clear_x() {
  2090. x_ = 0;
  2091. }
  2092. inline float Pose2d::_internal_x() const {
  2093. return x_;
  2094. }
  2095. inline float Pose2d::x() const {
  2096. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.x)
  2097. return _internal_x();
  2098. }
  2099. inline void Pose2d::_internal_set_x(float value) {
  2100. x_ = value;
  2101. }
  2102. inline void Pose2d::set_x(float value) {
  2103. _internal_set_x(value);
  2104. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.x)
  2105. }
  2106. // float y = 2;
  2107. inline void Pose2d::clear_y() {
  2108. y_ = 0;
  2109. }
  2110. inline float Pose2d::_internal_y() const {
  2111. return y_;
  2112. }
  2113. inline float Pose2d::y() const {
  2114. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.y)
  2115. return _internal_y();
  2116. }
  2117. inline void Pose2d::_internal_set_y(float value) {
  2118. y_ = value;
  2119. }
  2120. inline void Pose2d::set_y(float value) {
  2121. _internal_set_y(value);
  2122. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.y)
  2123. }
  2124. // float theta = 3;
  2125. inline void Pose2d::clear_theta() {
  2126. theta_ = 0;
  2127. }
  2128. inline float Pose2d::_internal_theta() const {
  2129. return theta_;
  2130. }
  2131. inline float Pose2d::theta() const {
  2132. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.theta)
  2133. return _internal_theta();
  2134. }
  2135. inline void Pose2d::_internal_set_theta(float value) {
  2136. theta_ = value;
  2137. }
  2138. inline void Pose2d::set_theta(float value) {
  2139. _internal_set_theta(value);
  2140. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.theta)
  2141. }
  2142. // -------------------------------------------------------------------
  2143. // Trajectory
  2144. // repeated .NavMessage.Pose2d poses = 1;
  2145. inline int Trajectory::_internal_poses_size() const {
  2146. return poses_.size();
  2147. }
  2148. inline int Trajectory::poses_size() const {
  2149. return _internal_poses_size();
  2150. }
  2151. inline void Trajectory::clear_poses() {
  2152. poses_.Clear();
  2153. }
  2154. inline ::NavMessage::Pose2d* Trajectory::mutable_poses(int index) {
  2155. // @@protoc_insertion_point(field_mutable:NavMessage.Trajectory.poses)
  2156. return poses_.Mutable(index);
  2157. }
  2158. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >*
  2159. Trajectory::mutable_poses() {
  2160. // @@protoc_insertion_point(field_mutable_list:NavMessage.Trajectory.poses)
  2161. return &poses_;
  2162. }
  2163. inline const ::NavMessage::Pose2d& Trajectory::_internal_poses(int index) const {
  2164. return poses_.Get(index);
  2165. }
  2166. inline const ::NavMessage::Pose2d& Trajectory::poses(int index) const {
  2167. // @@protoc_insertion_point(field_get:NavMessage.Trajectory.poses)
  2168. return _internal_poses(index);
  2169. }
  2170. inline ::NavMessage::Pose2d* Trajectory::_internal_add_poses() {
  2171. return poses_.Add();
  2172. }
  2173. inline ::NavMessage::Pose2d* Trajectory::add_poses() {
  2174. // @@protoc_insertion_point(field_add:NavMessage.Trajectory.poses)
  2175. return _internal_add_poses();
  2176. }
  2177. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >&
  2178. Trajectory::poses() const {
  2179. // @@protoc_insertion_point(field_list:NavMessage.Trajectory.poses)
  2180. return poses_;
  2181. }
  2182. // -------------------------------------------------------------------
  2183. // Action
  2184. // int32 type = 1;
  2185. inline void Action::clear_type() {
  2186. type_ = 0;
  2187. }
  2188. inline ::PROTOBUF_NAMESPACE_ID::int32 Action::_internal_type() const {
  2189. return type_;
  2190. }
  2191. inline ::PROTOBUF_NAMESPACE_ID::int32 Action::type() const {
  2192. // @@protoc_insertion_point(field_get:NavMessage.Action.type)
  2193. return _internal_type();
  2194. }
  2195. inline void Action::_internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2196. type_ = value;
  2197. }
  2198. inline void Action::set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2199. _internal_set_type(value);
  2200. // @@protoc_insertion_point(field_set:NavMessage.Action.type)
  2201. }
  2202. // .NavMessage.Pose2d begin = 2;
  2203. inline bool Action::_internal_has_begin() const {
  2204. return this != internal_default_instance() && begin_ != nullptr;
  2205. }
  2206. inline bool Action::has_begin() const {
  2207. return _internal_has_begin();
  2208. }
  2209. inline void Action::clear_begin() {
  2210. if (GetArena() == nullptr && begin_ != nullptr) {
  2211. delete begin_;
  2212. }
  2213. begin_ = nullptr;
  2214. }
  2215. inline const ::NavMessage::Pose2d& Action::_internal_begin() const {
  2216. const ::NavMessage::Pose2d* p = begin_;
  2217. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Pose2d*>(
  2218. &::NavMessage::_Pose2d_default_instance_);
  2219. }
  2220. inline const ::NavMessage::Pose2d& Action::begin() const {
  2221. // @@protoc_insertion_point(field_get:NavMessage.Action.begin)
  2222. return _internal_begin();
  2223. }
  2224. inline void Action::unsafe_arena_set_allocated_begin(
  2225. ::NavMessage::Pose2d* begin) {
  2226. if (GetArena() == nullptr) {
  2227. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(begin_);
  2228. }
  2229. begin_ = begin;
  2230. if (begin) {
  2231. } else {
  2232. }
  2233. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.begin)
  2234. }
  2235. inline ::NavMessage::Pose2d* Action::release_begin() {
  2236. ::NavMessage::Pose2d* temp = begin_;
  2237. begin_ = nullptr;
  2238. if (GetArena() != nullptr) {
  2239. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2240. }
  2241. return temp;
  2242. }
  2243. inline ::NavMessage::Pose2d* Action::unsafe_arena_release_begin() {
  2244. // @@protoc_insertion_point(field_release:NavMessage.Action.begin)
  2245. ::NavMessage::Pose2d* temp = begin_;
  2246. begin_ = nullptr;
  2247. return temp;
  2248. }
  2249. inline ::NavMessage::Pose2d* Action::_internal_mutable_begin() {
  2250. if (begin_ == nullptr) {
  2251. auto* p = CreateMaybeMessage<::NavMessage::Pose2d>(GetArena());
  2252. begin_ = p;
  2253. }
  2254. return begin_;
  2255. }
  2256. inline ::NavMessage::Pose2d* Action::mutable_begin() {
  2257. // @@protoc_insertion_point(field_mutable:NavMessage.Action.begin)
  2258. return _internal_mutable_begin();
  2259. }
  2260. inline void Action::set_allocated_begin(::NavMessage::Pose2d* begin) {
  2261. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2262. if (message_arena == nullptr) {
  2263. delete begin_;
  2264. }
  2265. if (begin) {
  2266. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2267. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(begin);
  2268. if (message_arena != submessage_arena) {
  2269. begin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2270. message_arena, begin, submessage_arena);
  2271. }
  2272. } else {
  2273. }
  2274. begin_ = begin;
  2275. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.begin)
  2276. }
  2277. // .NavMessage.Pose2d target = 3;
  2278. inline bool Action::_internal_has_target() const {
  2279. return this != internal_default_instance() && target_ != nullptr;
  2280. }
  2281. inline bool Action::has_target() const {
  2282. return _internal_has_target();
  2283. }
  2284. inline void Action::clear_target() {
  2285. if (GetArena() == nullptr && target_ != nullptr) {
  2286. delete target_;
  2287. }
  2288. target_ = nullptr;
  2289. }
  2290. inline const ::NavMessage::Pose2d& Action::_internal_target() const {
  2291. const ::NavMessage::Pose2d* p = target_;
  2292. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Pose2d*>(
  2293. &::NavMessage::_Pose2d_default_instance_);
  2294. }
  2295. inline const ::NavMessage::Pose2d& Action::target() const {
  2296. // @@protoc_insertion_point(field_get:NavMessage.Action.target)
  2297. return _internal_target();
  2298. }
  2299. inline void Action::unsafe_arena_set_allocated_target(
  2300. ::NavMessage::Pose2d* target) {
  2301. if (GetArena() == nullptr) {
  2302. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_);
  2303. }
  2304. target_ = target;
  2305. if (target) {
  2306. } else {
  2307. }
  2308. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.target)
  2309. }
  2310. inline ::NavMessage::Pose2d* Action::release_target() {
  2311. ::NavMessage::Pose2d* temp = target_;
  2312. target_ = nullptr;
  2313. if (GetArena() != nullptr) {
  2314. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2315. }
  2316. return temp;
  2317. }
  2318. inline ::NavMessage::Pose2d* Action::unsafe_arena_release_target() {
  2319. // @@protoc_insertion_point(field_release:NavMessage.Action.target)
  2320. ::NavMessage::Pose2d* temp = target_;
  2321. target_ = nullptr;
  2322. return temp;
  2323. }
  2324. inline ::NavMessage::Pose2d* Action::_internal_mutable_target() {
  2325. if (target_ == nullptr) {
  2326. auto* p = CreateMaybeMessage<::NavMessage::Pose2d>(GetArena());
  2327. target_ = p;
  2328. }
  2329. return target_;
  2330. }
  2331. inline ::NavMessage::Pose2d* Action::mutable_target() {
  2332. // @@protoc_insertion_point(field_mutable:NavMessage.Action.target)
  2333. return _internal_mutable_target();
  2334. }
  2335. inline void Action::set_allocated_target(::NavMessage::Pose2d* target) {
  2336. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2337. if (message_arena == nullptr) {
  2338. delete target_;
  2339. }
  2340. if (target) {
  2341. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2342. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(target);
  2343. if (message_arena != submessage_arena) {
  2344. target = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2345. message_arena, target, submessage_arena);
  2346. }
  2347. } else {
  2348. }
  2349. target_ = target;
  2350. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.target)
  2351. }
  2352. // .NavMessage.Pose2d target_diff = 4;
  2353. inline bool Action::_internal_has_target_diff() const {
  2354. return this != internal_default_instance() && target_diff_ != nullptr;
  2355. }
  2356. inline bool Action::has_target_diff() const {
  2357. return _internal_has_target_diff();
  2358. }
  2359. inline void Action::clear_target_diff() {
  2360. if (GetArena() == nullptr && target_diff_ != nullptr) {
  2361. delete target_diff_;
  2362. }
  2363. target_diff_ = nullptr;
  2364. }
  2365. inline const ::NavMessage::Pose2d& Action::_internal_target_diff() const {
  2366. const ::NavMessage::Pose2d* p = target_diff_;
  2367. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Pose2d*>(
  2368. &::NavMessage::_Pose2d_default_instance_);
  2369. }
  2370. inline const ::NavMessage::Pose2d& Action::target_diff() const {
  2371. // @@protoc_insertion_point(field_get:NavMessage.Action.target_diff)
  2372. return _internal_target_diff();
  2373. }
  2374. inline void Action::unsafe_arena_set_allocated_target_diff(
  2375. ::NavMessage::Pose2d* target_diff) {
  2376. if (GetArena() == nullptr) {
  2377. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_diff_);
  2378. }
  2379. target_diff_ = target_diff;
  2380. if (target_diff) {
  2381. } else {
  2382. }
  2383. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.target_diff)
  2384. }
  2385. inline ::NavMessage::Pose2d* Action::release_target_diff() {
  2386. ::NavMessage::Pose2d* temp = target_diff_;
  2387. target_diff_ = nullptr;
  2388. if (GetArena() != nullptr) {
  2389. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2390. }
  2391. return temp;
  2392. }
  2393. inline ::NavMessage::Pose2d* Action::unsafe_arena_release_target_diff() {
  2394. // @@protoc_insertion_point(field_release:NavMessage.Action.target_diff)
  2395. ::NavMessage::Pose2d* temp = target_diff_;
  2396. target_diff_ = nullptr;
  2397. return temp;
  2398. }
  2399. inline ::NavMessage::Pose2d* Action::_internal_mutable_target_diff() {
  2400. if (target_diff_ == nullptr) {
  2401. auto* p = CreateMaybeMessage<::NavMessage::Pose2d>(GetArena());
  2402. target_diff_ = p;
  2403. }
  2404. return target_diff_;
  2405. }
  2406. inline ::NavMessage::Pose2d* Action::mutable_target_diff() {
  2407. // @@protoc_insertion_point(field_mutable:NavMessage.Action.target_diff)
  2408. return _internal_mutable_target_diff();
  2409. }
  2410. inline void Action::set_allocated_target_diff(::NavMessage::Pose2d* target_diff) {
  2411. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2412. if (message_arena == nullptr) {
  2413. delete target_diff_;
  2414. }
  2415. if (target_diff) {
  2416. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2417. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(target_diff);
  2418. if (message_arena != submessage_arena) {
  2419. target_diff = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2420. message_arena, target_diff, submessage_arena);
  2421. }
  2422. } else {
  2423. }
  2424. target_diff_ = target_diff;
  2425. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.target_diff)
  2426. }
  2427. // .NavMessage.SpeedLimit velocity_limit = 5;
  2428. inline bool Action::_internal_has_velocity_limit() const {
  2429. return this != internal_default_instance() && velocity_limit_ != nullptr;
  2430. }
  2431. inline bool Action::has_velocity_limit() const {
  2432. return _internal_has_velocity_limit();
  2433. }
  2434. inline void Action::clear_velocity_limit() {
  2435. if (GetArena() == nullptr && velocity_limit_ != nullptr) {
  2436. delete velocity_limit_;
  2437. }
  2438. velocity_limit_ = nullptr;
  2439. }
  2440. inline const ::NavMessage::SpeedLimit& Action::_internal_velocity_limit() const {
  2441. const ::NavMessage::SpeedLimit* p = velocity_limit_;
  2442. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::SpeedLimit*>(
  2443. &::NavMessage::_SpeedLimit_default_instance_);
  2444. }
  2445. inline const ::NavMessage::SpeedLimit& Action::velocity_limit() const {
  2446. // @@protoc_insertion_point(field_get:NavMessage.Action.velocity_limit)
  2447. return _internal_velocity_limit();
  2448. }
  2449. inline void Action::unsafe_arena_set_allocated_velocity_limit(
  2450. ::NavMessage::SpeedLimit* velocity_limit) {
  2451. if (GetArena() == nullptr) {
  2452. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(velocity_limit_);
  2453. }
  2454. velocity_limit_ = velocity_limit;
  2455. if (velocity_limit) {
  2456. } else {
  2457. }
  2458. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.velocity_limit)
  2459. }
  2460. inline ::NavMessage::SpeedLimit* Action::release_velocity_limit() {
  2461. ::NavMessage::SpeedLimit* temp = velocity_limit_;
  2462. velocity_limit_ = nullptr;
  2463. if (GetArena() != nullptr) {
  2464. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2465. }
  2466. return temp;
  2467. }
  2468. inline ::NavMessage::SpeedLimit* Action::unsafe_arena_release_velocity_limit() {
  2469. // @@protoc_insertion_point(field_release:NavMessage.Action.velocity_limit)
  2470. ::NavMessage::SpeedLimit* temp = velocity_limit_;
  2471. velocity_limit_ = nullptr;
  2472. return temp;
  2473. }
  2474. inline ::NavMessage::SpeedLimit* Action::_internal_mutable_velocity_limit() {
  2475. if (velocity_limit_ == nullptr) {
  2476. auto* p = CreateMaybeMessage<::NavMessage::SpeedLimit>(GetArena());
  2477. velocity_limit_ = p;
  2478. }
  2479. return velocity_limit_;
  2480. }
  2481. inline ::NavMessage::SpeedLimit* Action::mutable_velocity_limit() {
  2482. // @@protoc_insertion_point(field_mutable:NavMessage.Action.velocity_limit)
  2483. return _internal_mutable_velocity_limit();
  2484. }
  2485. inline void Action::set_allocated_velocity_limit(::NavMessage::SpeedLimit* velocity_limit) {
  2486. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2487. if (message_arena == nullptr) {
  2488. delete velocity_limit_;
  2489. }
  2490. if (velocity_limit) {
  2491. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2492. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(velocity_limit);
  2493. if (message_arena != submessage_arena) {
  2494. velocity_limit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2495. message_arena, velocity_limit, submessage_arena);
  2496. }
  2497. } else {
  2498. }
  2499. velocity_limit_ = velocity_limit;
  2500. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.velocity_limit)
  2501. }
  2502. // .NavMessage.SpeedLimit angular_limit = 6;
  2503. inline bool Action::_internal_has_angular_limit() const {
  2504. return this != internal_default_instance() && angular_limit_ != nullptr;
  2505. }
  2506. inline bool Action::has_angular_limit() const {
  2507. return _internal_has_angular_limit();
  2508. }
  2509. inline void Action::clear_angular_limit() {
  2510. if (GetArena() == nullptr && angular_limit_ != nullptr) {
  2511. delete angular_limit_;
  2512. }
  2513. angular_limit_ = nullptr;
  2514. }
  2515. inline const ::NavMessage::SpeedLimit& Action::_internal_angular_limit() const {
  2516. const ::NavMessage::SpeedLimit* p = angular_limit_;
  2517. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::SpeedLimit*>(
  2518. &::NavMessage::_SpeedLimit_default_instance_);
  2519. }
  2520. inline const ::NavMessage::SpeedLimit& Action::angular_limit() const {
  2521. // @@protoc_insertion_point(field_get:NavMessage.Action.angular_limit)
  2522. return _internal_angular_limit();
  2523. }
  2524. inline void Action::unsafe_arena_set_allocated_angular_limit(
  2525. ::NavMessage::SpeedLimit* angular_limit) {
  2526. if (GetArena() == nullptr) {
  2527. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angular_limit_);
  2528. }
  2529. angular_limit_ = angular_limit;
  2530. if (angular_limit) {
  2531. } else {
  2532. }
  2533. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.angular_limit)
  2534. }
  2535. inline ::NavMessage::SpeedLimit* Action::release_angular_limit() {
  2536. ::NavMessage::SpeedLimit* temp = angular_limit_;
  2537. angular_limit_ = nullptr;
  2538. if (GetArena() != nullptr) {
  2539. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2540. }
  2541. return temp;
  2542. }
  2543. inline ::NavMessage::SpeedLimit* Action::unsafe_arena_release_angular_limit() {
  2544. // @@protoc_insertion_point(field_release:NavMessage.Action.angular_limit)
  2545. ::NavMessage::SpeedLimit* temp = angular_limit_;
  2546. angular_limit_ = nullptr;
  2547. return temp;
  2548. }
  2549. inline ::NavMessage::SpeedLimit* Action::_internal_mutable_angular_limit() {
  2550. if (angular_limit_ == nullptr) {
  2551. auto* p = CreateMaybeMessage<::NavMessage::SpeedLimit>(GetArena());
  2552. angular_limit_ = p;
  2553. }
  2554. return angular_limit_;
  2555. }
  2556. inline ::NavMessage::SpeedLimit* Action::mutable_angular_limit() {
  2557. // @@protoc_insertion_point(field_mutable:NavMessage.Action.angular_limit)
  2558. return _internal_mutable_angular_limit();
  2559. }
  2560. inline void Action::set_allocated_angular_limit(::NavMessage::SpeedLimit* angular_limit) {
  2561. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2562. if (message_arena == nullptr) {
  2563. delete angular_limit_;
  2564. }
  2565. if (angular_limit) {
  2566. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2567. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(angular_limit);
  2568. if (message_arena != submessage_arena) {
  2569. angular_limit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2570. message_arena, angular_limit, submessage_arena);
  2571. }
  2572. } else {
  2573. }
  2574. angular_limit_ = angular_limit;
  2575. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.angular_limit)
  2576. }
  2577. // .NavMessage.SpeedLimit horize_limit = 7;
  2578. inline bool Action::_internal_has_horize_limit() const {
  2579. return this != internal_default_instance() && horize_limit_ != nullptr;
  2580. }
  2581. inline bool Action::has_horize_limit() const {
  2582. return _internal_has_horize_limit();
  2583. }
  2584. inline void Action::clear_horize_limit() {
  2585. if (GetArena() == nullptr && horize_limit_ != nullptr) {
  2586. delete horize_limit_;
  2587. }
  2588. horize_limit_ = nullptr;
  2589. }
  2590. inline const ::NavMessage::SpeedLimit& Action::_internal_horize_limit() const {
  2591. const ::NavMessage::SpeedLimit* p = horize_limit_;
  2592. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::SpeedLimit*>(
  2593. &::NavMessage::_SpeedLimit_default_instance_);
  2594. }
  2595. inline const ::NavMessage::SpeedLimit& Action::horize_limit() const {
  2596. // @@protoc_insertion_point(field_get:NavMessage.Action.horize_limit)
  2597. return _internal_horize_limit();
  2598. }
  2599. inline void Action::unsafe_arena_set_allocated_horize_limit(
  2600. ::NavMessage::SpeedLimit* horize_limit) {
  2601. if (GetArena() == nullptr) {
  2602. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(horize_limit_);
  2603. }
  2604. horize_limit_ = horize_limit;
  2605. if (horize_limit) {
  2606. } else {
  2607. }
  2608. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.Action.horize_limit)
  2609. }
  2610. inline ::NavMessage::SpeedLimit* Action::release_horize_limit() {
  2611. ::NavMessage::SpeedLimit* temp = horize_limit_;
  2612. horize_limit_ = nullptr;
  2613. if (GetArena() != nullptr) {
  2614. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2615. }
  2616. return temp;
  2617. }
  2618. inline ::NavMessage::SpeedLimit* Action::unsafe_arena_release_horize_limit() {
  2619. // @@protoc_insertion_point(field_release:NavMessage.Action.horize_limit)
  2620. ::NavMessage::SpeedLimit* temp = horize_limit_;
  2621. horize_limit_ = nullptr;
  2622. return temp;
  2623. }
  2624. inline ::NavMessage::SpeedLimit* Action::_internal_mutable_horize_limit() {
  2625. if (horize_limit_ == nullptr) {
  2626. auto* p = CreateMaybeMessage<::NavMessage::SpeedLimit>(GetArena());
  2627. horize_limit_ = p;
  2628. }
  2629. return horize_limit_;
  2630. }
  2631. inline ::NavMessage::SpeedLimit* Action::mutable_horize_limit() {
  2632. // @@protoc_insertion_point(field_mutable:NavMessage.Action.horize_limit)
  2633. return _internal_mutable_horize_limit();
  2634. }
  2635. inline void Action::set_allocated_horize_limit(::NavMessage::SpeedLimit* horize_limit) {
  2636. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2637. if (message_arena == nullptr) {
  2638. delete horize_limit_;
  2639. }
  2640. if (horize_limit) {
  2641. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2642. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(horize_limit);
  2643. if (message_arena != submessage_arena) {
  2644. horize_limit = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2645. message_arena, horize_limit, submessage_arena);
  2646. }
  2647. } else {
  2648. }
  2649. horize_limit_ = horize_limit;
  2650. // @@protoc_insertion_point(field_set_allocated:NavMessage.Action.horize_limit)
  2651. }
  2652. // -------------------------------------------------------------------
  2653. // NavCmd
  2654. // int32 action = 1;
  2655. inline void NavCmd::clear_action() {
  2656. action_ = 0;
  2657. }
  2658. inline ::PROTOBUF_NAMESPACE_ID::int32 NavCmd::_internal_action() const {
  2659. return action_;
  2660. }
  2661. inline ::PROTOBUF_NAMESPACE_ID::int32 NavCmd::action() const {
  2662. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.action)
  2663. return _internal_action();
  2664. }
  2665. inline void NavCmd::_internal_set_action(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2666. action_ = value;
  2667. }
  2668. inline void NavCmd::set_action(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2669. _internal_set_action(value);
  2670. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.action)
  2671. }
  2672. // string key = 2;
  2673. inline void NavCmd::clear_key() {
  2674. key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2675. }
  2676. inline const std::string& NavCmd::key() const {
  2677. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.key)
  2678. return _internal_key();
  2679. }
  2680. inline void NavCmd::set_key(const std::string& value) {
  2681. _internal_set_key(value);
  2682. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.key)
  2683. }
  2684. inline std::string* NavCmd::mutable_key() {
  2685. // @@protoc_insertion_point(field_mutable:NavMessage.NavCmd.key)
  2686. return _internal_mutable_key();
  2687. }
  2688. inline const std::string& NavCmd::_internal_key() const {
  2689. return key_.Get();
  2690. }
  2691. inline void NavCmd::_internal_set_key(const std::string& value) {
  2692. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  2693. }
  2694. inline void NavCmd::set_key(std::string&& value) {
  2695. key_.Set(
  2696. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  2697. // @@protoc_insertion_point(field_set_rvalue:NavMessage.NavCmd.key)
  2698. }
  2699. inline void NavCmd::set_key(const char* value) {
  2700. GOOGLE_DCHECK(value != nullptr);
  2701. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  2702. GetArena());
  2703. // @@protoc_insertion_point(field_set_char:NavMessage.NavCmd.key)
  2704. }
  2705. inline void NavCmd::set_key(const char* value,
  2706. size_t size) {
  2707. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  2708. reinterpret_cast<const char*>(value), size), GetArena());
  2709. // @@protoc_insertion_point(field_set_pointer:NavMessage.NavCmd.key)
  2710. }
  2711. inline std::string* NavCmd::_internal_mutable_key() {
  2712. return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2713. }
  2714. inline std::string* NavCmd::release_key() {
  2715. // @@protoc_insertion_point(field_release:NavMessage.NavCmd.key)
  2716. return key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2717. }
  2718. inline void NavCmd::set_allocated_key(std::string* key) {
  2719. if (key != nullptr) {
  2720. } else {
  2721. }
  2722. key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key,
  2723. GetArena());
  2724. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavCmd.key)
  2725. }
  2726. // float wheelbase = 3;
  2727. inline void NavCmd::clear_wheelbase() {
  2728. wheelbase_ = 0;
  2729. }
  2730. inline float NavCmd::_internal_wheelbase() const {
  2731. return wheelbase_;
  2732. }
  2733. inline float NavCmd::wheelbase() const {
  2734. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.wheelbase)
  2735. return _internal_wheelbase();
  2736. }
  2737. inline void NavCmd::_internal_set_wheelbase(float value) {
  2738. wheelbase_ = value;
  2739. }
  2740. inline void NavCmd::set_wheelbase(float value) {
  2741. _internal_set_wheelbase(value);
  2742. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.wheelbase)
  2743. }
  2744. // repeated .NavMessage.Action actions = 4;
  2745. inline int NavCmd::_internal_actions_size() const {
  2746. return actions_.size();
  2747. }
  2748. inline int NavCmd::actions_size() const {
  2749. return _internal_actions_size();
  2750. }
  2751. inline void NavCmd::clear_actions() {
  2752. actions_.Clear();
  2753. }
  2754. inline ::NavMessage::Action* NavCmd::mutable_actions(int index) {
  2755. // @@protoc_insertion_point(field_mutable:NavMessage.NavCmd.actions)
  2756. return actions_.Mutable(index);
  2757. }
  2758. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >*
  2759. NavCmd::mutable_actions() {
  2760. // @@protoc_insertion_point(field_mutable_list:NavMessage.NavCmd.actions)
  2761. return &actions_;
  2762. }
  2763. inline const ::NavMessage::Action& NavCmd::_internal_actions(int index) const {
  2764. return actions_.Get(index);
  2765. }
  2766. inline const ::NavMessage::Action& NavCmd::actions(int index) const {
  2767. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.actions)
  2768. return _internal_actions(index);
  2769. }
  2770. inline ::NavMessage::Action* NavCmd::_internal_add_actions() {
  2771. return actions_.Add();
  2772. }
  2773. inline ::NavMessage::Action* NavCmd::add_actions() {
  2774. // @@protoc_insertion_point(field_add:NavMessage.NavCmd.actions)
  2775. return _internal_add_actions();
  2776. }
  2777. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >&
  2778. NavCmd::actions() const {
  2779. // @@protoc_insertion_point(field_list:NavMessage.NavCmd.actions)
  2780. return actions_;
  2781. }
  2782. // -------------------------------------------------------------------
  2783. // NavStatu
  2784. // int32 statu = 1;
  2785. inline void NavStatu::clear_statu() {
  2786. statu_ = 0;
  2787. }
  2788. inline ::PROTOBUF_NAMESPACE_ID::int32 NavStatu::_internal_statu() const {
  2789. return statu_;
  2790. }
  2791. inline ::PROTOBUF_NAMESPACE_ID::int32 NavStatu::statu() const {
  2792. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.statu)
  2793. return _internal_statu();
  2794. }
  2795. inline void NavStatu::_internal_set_statu(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2796. statu_ = value;
  2797. }
  2798. inline void NavStatu::set_statu(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2799. _internal_set_statu(value);
  2800. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.statu)
  2801. }
  2802. // bool main_agv = 2;
  2803. inline void NavStatu::clear_main_agv() {
  2804. main_agv_ = false;
  2805. }
  2806. inline bool NavStatu::_internal_main_agv() const {
  2807. return main_agv_;
  2808. }
  2809. inline bool NavStatu::main_agv() const {
  2810. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.main_agv)
  2811. return _internal_main_agv();
  2812. }
  2813. inline void NavStatu::_internal_set_main_agv(bool value) {
  2814. main_agv_ = value;
  2815. }
  2816. inline void NavStatu::set_main_agv(bool value) {
  2817. _internal_set_main_agv(value);
  2818. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.main_agv)
  2819. }
  2820. // int32 move_mode = 3;
  2821. inline void NavStatu::clear_move_mode() {
  2822. move_mode_ = 0;
  2823. }
  2824. inline ::PROTOBUF_NAMESPACE_ID::int32 NavStatu::_internal_move_mode() const {
  2825. return move_mode_;
  2826. }
  2827. inline ::PROTOBUF_NAMESPACE_ID::int32 NavStatu::move_mode() const {
  2828. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.move_mode)
  2829. return _internal_move_mode();
  2830. }
  2831. inline void NavStatu::_internal_set_move_mode(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2832. move_mode_ = value;
  2833. }
  2834. inline void NavStatu::set_move_mode(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2835. _internal_set_move_mode(value);
  2836. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.move_mode)
  2837. }
  2838. // string key = 4;
  2839. inline void NavStatu::clear_key() {
  2840. key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2841. }
  2842. inline const std::string& NavStatu::key() const {
  2843. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.key)
  2844. return _internal_key();
  2845. }
  2846. inline void NavStatu::set_key(const std::string& value) {
  2847. _internal_set_key(value);
  2848. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.key)
  2849. }
  2850. inline std::string* NavStatu::mutable_key() {
  2851. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.key)
  2852. return _internal_mutable_key();
  2853. }
  2854. inline const std::string& NavStatu::_internal_key() const {
  2855. return key_.Get();
  2856. }
  2857. inline void NavStatu::_internal_set_key(const std::string& value) {
  2858. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  2859. }
  2860. inline void NavStatu::set_key(std::string&& value) {
  2861. key_.Set(
  2862. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  2863. // @@protoc_insertion_point(field_set_rvalue:NavMessage.NavStatu.key)
  2864. }
  2865. inline void NavStatu::set_key(const char* value) {
  2866. GOOGLE_DCHECK(value != nullptr);
  2867. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  2868. GetArena());
  2869. // @@protoc_insertion_point(field_set_char:NavMessage.NavStatu.key)
  2870. }
  2871. inline void NavStatu::set_key(const char* value,
  2872. size_t size) {
  2873. key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  2874. reinterpret_cast<const char*>(value), size), GetArena());
  2875. // @@protoc_insertion_point(field_set_pointer:NavMessage.NavStatu.key)
  2876. }
  2877. inline std::string* NavStatu::_internal_mutable_key() {
  2878. return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2879. }
  2880. inline std::string* NavStatu::release_key() {
  2881. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.key)
  2882. return key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2883. }
  2884. inline void NavStatu::set_allocated_key(std::string* key) {
  2885. if (key != nullptr) {
  2886. } else {
  2887. }
  2888. key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key,
  2889. GetArena());
  2890. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.key)
  2891. }
  2892. // repeated .NavMessage.Action unfinished_actions = 5;
  2893. inline int NavStatu::_internal_unfinished_actions_size() const {
  2894. return unfinished_actions_.size();
  2895. }
  2896. inline int NavStatu::unfinished_actions_size() const {
  2897. return _internal_unfinished_actions_size();
  2898. }
  2899. inline void NavStatu::clear_unfinished_actions() {
  2900. unfinished_actions_.Clear();
  2901. }
  2902. inline ::NavMessage::Action* NavStatu::mutable_unfinished_actions(int index) {
  2903. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.unfinished_actions)
  2904. return unfinished_actions_.Mutable(index);
  2905. }
  2906. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >*
  2907. NavStatu::mutable_unfinished_actions() {
  2908. // @@protoc_insertion_point(field_mutable_list:NavMessage.NavStatu.unfinished_actions)
  2909. return &unfinished_actions_;
  2910. }
  2911. inline const ::NavMessage::Action& NavStatu::_internal_unfinished_actions(int index) const {
  2912. return unfinished_actions_.Get(index);
  2913. }
  2914. inline const ::NavMessage::Action& NavStatu::unfinished_actions(int index) const {
  2915. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.unfinished_actions)
  2916. return _internal_unfinished_actions(index);
  2917. }
  2918. inline ::NavMessage::Action* NavStatu::_internal_add_unfinished_actions() {
  2919. return unfinished_actions_.Add();
  2920. }
  2921. inline ::NavMessage::Action* NavStatu::add_unfinished_actions() {
  2922. // @@protoc_insertion_point(field_add:NavMessage.NavStatu.unfinished_actions)
  2923. return _internal_add_unfinished_actions();
  2924. }
  2925. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Action >&
  2926. NavStatu::unfinished_actions() const {
  2927. // @@protoc_insertion_point(field_list:NavMessage.NavStatu.unfinished_actions)
  2928. return unfinished_actions_;
  2929. }
  2930. // .NavMessage.Trajectory selected_traj = 6;
  2931. inline bool NavStatu::_internal_has_selected_traj() const {
  2932. return this != internal_default_instance() && selected_traj_ != nullptr;
  2933. }
  2934. inline bool NavStatu::has_selected_traj() const {
  2935. return _internal_has_selected_traj();
  2936. }
  2937. inline void NavStatu::clear_selected_traj() {
  2938. if (GetArena() == nullptr && selected_traj_ != nullptr) {
  2939. delete selected_traj_;
  2940. }
  2941. selected_traj_ = nullptr;
  2942. }
  2943. inline const ::NavMessage::Trajectory& NavStatu::_internal_selected_traj() const {
  2944. const ::NavMessage::Trajectory* p = selected_traj_;
  2945. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Trajectory*>(
  2946. &::NavMessage::_Trajectory_default_instance_);
  2947. }
  2948. inline const ::NavMessage::Trajectory& NavStatu::selected_traj() const {
  2949. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.selected_traj)
  2950. return _internal_selected_traj();
  2951. }
  2952. inline void NavStatu::unsafe_arena_set_allocated_selected_traj(
  2953. ::NavMessage::Trajectory* selected_traj) {
  2954. if (GetArena() == nullptr) {
  2955. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(selected_traj_);
  2956. }
  2957. selected_traj_ = selected_traj;
  2958. if (selected_traj) {
  2959. } else {
  2960. }
  2961. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.selected_traj)
  2962. }
  2963. inline ::NavMessage::Trajectory* NavStatu::release_selected_traj() {
  2964. ::NavMessage::Trajectory* temp = selected_traj_;
  2965. selected_traj_ = nullptr;
  2966. if (GetArena() != nullptr) {
  2967. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  2968. }
  2969. return temp;
  2970. }
  2971. inline ::NavMessage::Trajectory* NavStatu::unsafe_arena_release_selected_traj() {
  2972. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.selected_traj)
  2973. ::NavMessage::Trajectory* temp = selected_traj_;
  2974. selected_traj_ = nullptr;
  2975. return temp;
  2976. }
  2977. inline ::NavMessage::Trajectory* NavStatu::_internal_mutable_selected_traj() {
  2978. if (selected_traj_ == nullptr) {
  2979. auto* p = CreateMaybeMessage<::NavMessage::Trajectory>(GetArena());
  2980. selected_traj_ = p;
  2981. }
  2982. return selected_traj_;
  2983. }
  2984. inline ::NavMessage::Trajectory* NavStatu::mutable_selected_traj() {
  2985. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.selected_traj)
  2986. return _internal_mutable_selected_traj();
  2987. }
  2988. inline void NavStatu::set_allocated_selected_traj(::NavMessage::Trajectory* selected_traj) {
  2989. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  2990. if (message_arena == nullptr) {
  2991. delete selected_traj_;
  2992. }
  2993. if (selected_traj) {
  2994. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  2995. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(selected_traj);
  2996. if (message_arena != submessage_arena) {
  2997. selected_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  2998. message_arena, selected_traj, submessage_arena);
  2999. }
  3000. } else {
  3001. }
  3002. selected_traj_ = selected_traj;
  3003. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.selected_traj)
  3004. }
  3005. // .NavMessage.Trajectory predict_traj = 7;
  3006. inline bool NavStatu::_internal_has_predict_traj() const {
  3007. return this != internal_default_instance() && predict_traj_ != nullptr;
  3008. }
  3009. inline bool NavStatu::has_predict_traj() const {
  3010. return _internal_has_predict_traj();
  3011. }
  3012. inline void NavStatu::clear_predict_traj() {
  3013. if (GetArena() == nullptr && predict_traj_ != nullptr) {
  3014. delete predict_traj_;
  3015. }
  3016. predict_traj_ = nullptr;
  3017. }
  3018. inline const ::NavMessage::Trajectory& NavStatu::_internal_predict_traj() const {
  3019. const ::NavMessage::Trajectory* p = predict_traj_;
  3020. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::Trajectory*>(
  3021. &::NavMessage::_Trajectory_default_instance_);
  3022. }
  3023. inline const ::NavMessage::Trajectory& NavStatu::predict_traj() const {
  3024. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.predict_traj)
  3025. return _internal_predict_traj();
  3026. }
  3027. inline void NavStatu::unsafe_arena_set_allocated_predict_traj(
  3028. ::NavMessage::Trajectory* predict_traj) {
  3029. if (GetArena() == nullptr) {
  3030. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(predict_traj_);
  3031. }
  3032. predict_traj_ = predict_traj;
  3033. if (predict_traj) {
  3034. } else {
  3035. }
  3036. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.predict_traj)
  3037. }
  3038. inline ::NavMessage::Trajectory* NavStatu::release_predict_traj() {
  3039. ::NavMessage::Trajectory* temp = predict_traj_;
  3040. predict_traj_ = nullptr;
  3041. if (GetArena() != nullptr) {
  3042. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3043. }
  3044. return temp;
  3045. }
  3046. inline ::NavMessage::Trajectory* NavStatu::unsafe_arena_release_predict_traj() {
  3047. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.predict_traj)
  3048. ::NavMessage::Trajectory* temp = predict_traj_;
  3049. predict_traj_ = nullptr;
  3050. return temp;
  3051. }
  3052. inline ::NavMessage::Trajectory* NavStatu::_internal_mutable_predict_traj() {
  3053. if (predict_traj_ == nullptr) {
  3054. auto* p = CreateMaybeMessage<::NavMessage::Trajectory>(GetArena());
  3055. predict_traj_ = p;
  3056. }
  3057. return predict_traj_;
  3058. }
  3059. inline ::NavMessage::Trajectory* NavStatu::mutable_predict_traj() {
  3060. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.predict_traj)
  3061. return _internal_mutable_predict_traj();
  3062. }
  3063. inline void NavStatu::set_allocated_predict_traj(::NavMessage::Trajectory* predict_traj) {
  3064. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  3065. if (message_arena == nullptr) {
  3066. delete predict_traj_;
  3067. }
  3068. if (predict_traj) {
  3069. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3070. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(predict_traj);
  3071. if (message_arena != submessage_arena) {
  3072. predict_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3073. message_arena, predict_traj, submessage_arena);
  3074. }
  3075. } else {
  3076. }
  3077. predict_traj_ = predict_traj;
  3078. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.predict_traj)
  3079. }
  3080. // -------------------------------------------------------------------
  3081. // RobotStatu
  3082. // float x = 1;
  3083. inline void RobotStatu::clear_x() {
  3084. x_ = 0;
  3085. }
  3086. inline float RobotStatu::_internal_x() const {
  3087. return x_;
  3088. }
  3089. inline float RobotStatu::x() const {
  3090. // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.x)
  3091. return _internal_x();
  3092. }
  3093. inline void RobotStatu::_internal_set_x(float value) {
  3094. x_ = value;
  3095. }
  3096. inline void RobotStatu::set_x(float value) {
  3097. _internal_set_x(value);
  3098. // @@protoc_insertion_point(field_set:NavMessage.RobotStatu.x)
  3099. }
  3100. // float y = 2;
  3101. inline void RobotStatu::clear_y() {
  3102. y_ = 0;
  3103. }
  3104. inline float RobotStatu::_internal_y() const {
  3105. return y_;
  3106. }
  3107. inline float RobotStatu::y() const {
  3108. // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.y)
  3109. return _internal_y();
  3110. }
  3111. inline void RobotStatu::_internal_set_y(float value) {
  3112. y_ = value;
  3113. }
  3114. inline void RobotStatu::set_y(float value) {
  3115. _internal_set_y(value);
  3116. // @@protoc_insertion_point(field_set:NavMessage.RobotStatu.y)
  3117. }
  3118. // float theta = 3;
  3119. inline void RobotStatu::clear_theta() {
  3120. theta_ = 0;
  3121. }
  3122. inline float RobotStatu::_internal_theta() const {
  3123. return theta_;
  3124. }
  3125. inline float RobotStatu::theta() const {
  3126. // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.theta)
  3127. return _internal_theta();
  3128. }
  3129. inline void RobotStatu::_internal_set_theta(float value) {
  3130. theta_ = value;
  3131. }
  3132. inline void RobotStatu::set_theta(float value) {
  3133. _internal_set_theta(value);
  3134. // @@protoc_insertion_point(field_set:NavMessage.RobotStatu.theta)
  3135. }
  3136. // .NavMessage.AgvStatu agvStatu = 4;
  3137. inline bool RobotStatu::_internal_has_agvstatu() const {
  3138. return this != internal_default_instance() && agvstatu_ != nullptr;
  3139. }
  3140. inline bool RobotStatu::has_agvstatu() const {
  3141. return _internal_has_agvstatu();
  3142. }
  3143. inline void RobotStatu::clear_agvstatu() {
  3144. if (GetArena() == nullptr && agvstatu_ != nullptr) {
  3145. delete agvstatu_;
  3146. }
  3147. agvstatu_ = nullptr;
  3148. }
  3149. inline const ::NavMessage::AgvStatu& RobotStatu::_internal_agvstatu() const {
  3150. const ::NavMessage::AgvStatu* p = agvstatu_;
  3151. return p != nullptr ? *p : *reinterpret_cast<const ::NavMessage::AgvStatu*>(
  3152. &::NavMessage::_AgvStatu_default_instance_);
  3153. }
  3154. inline const ::NavMessage::AgvStatu& RobotStatu::agvstatu() const {
  3155. // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.agvStatu)
  3156. return _internal_agvstatu();
  3157. }
  3158. inline void RobotStatu::unsafe_arena_set_allocated_agvstatu(
  3159. ::NavMessage::AgvStatu* agvstatu) {
  3160. if (GetArena() == nullptr) {
  3161. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(agvstatu_);
  3162. }
  3163. agvstatu_ = agvstatu;
  3164. if (agvstatu) {
  3165. } else {
  3166. }
  3167. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.RobotStatu.agvStatu)
  3168. }
  3169. inline ::NavMessage::AgvStatu* RobotStatu::release_agvstatu() {
  3170. ::NavMessage::AgvStatu* temp = agvstatu_;
  3171. agvstatu_ = nullptr;
  3172. if (GetArena() != nullptr) {
  3173. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3174. }
  3175. return temp;
  3176. }
  3177. inline ::NavMessage::AgvStatu* RobotStatu::unsafe_arena_release_agvstatu() {
  3178. // @@protoc_insertion_point(field_release:NavMessage.RobotStatu.agvStatu)
  3179. ::NavMessage::AgvStatu* temp = agvstatu_;
  3180. agvstatu_ = nullptr;
  3181. return temp;
  3182. }
  3183. inline ::NavMessage::AgvStatu* RobotStatu::_internal_mutable_agvstatu() {
  3184. if (agvstatu_ == nullptr) {
  3185. auto* p = CreateMaybeMessage<::NavMessage::AgvStatu>(GetArena());
  3186. agvstatu_ = p;
  3187. }
  3188. return agvstatu_;
  3189. }
  3190. inline ::NavMessage::AgvStatu* RobotStatu::mutable_agvstatu() {
  3191. // @@protoc_insertion_point(field_mutable:NavMessage.RobotStatu.agvStatu)
  3192. return _internal_mutable_agvstatu();
  3193. }
  3194. inline void RobotStatu::set_allocated_agvstatu(::NavMessage::AgvStatu* agvstatu) {
  3195. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  3196. if (message_arena == nullptr) {
  3197. delete agvstatu_;
  3198. }
  3199. if (agvstatu) {
  3200. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3201. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(agvstatu);
  3202. if (message_arena != submessage_arena) {
  3203. agvstatu = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3204. message_arena, agvstatu, submessage_arena);
  3205. }
  3206. } else {
  3207. }
  3208. agvstatu_ = agvstatu;
  3209. // @@protoc_insertion_point(field_set_allocated:NavMessage.RobotStatu.agvStatu)
  3210. }
  3211. #ifdef __GNUC__
  3212. #pragma GCC diagnostic pop
  3213. #endif // __GNUC__
  3214. // -------------------------------------------------------------------
  3215. // -------------------------------------------------------------------
  3216. // -------------------------------------------------------------------
  3217. // -------------------------------------------------------------------
  3218. // -------------------------------------------------------------------
  3219. // -------------------------------------------------------------------
  3220. // -------------------------------------------------------------------
  3221. // -------------------------------------------------------------------
  3222. // -------------------------------------------------------------------
  3223. // @@protoc_insertion_point(namespace_scope)
  3224. } // namespace NavMessage
  3225. // @@protoc_insertion_point(global_scope)
  3226. #include <google/protobuf/port_undef.inc>
  3227. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_message_2eproto