common.xml 348 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638
  1. <?xml version="1.0"?>
  2. <mavlink>
  3. <version>3</version>
  4. <dialect>0</dialect>
  5. <enums>
  6. <enum name="MAV_AUTOPILOT">
  7. <description>Micro air vehicle / autopilot classes. This identifies the individual model.</description>
  8. <entry value="0" name="MAV_AUTOPILOT_GENERIC">
  9. <description>Generic autopilot, full support for everything</description>
  10. </entry>
  11. <entry value="1" name="MAV_AUTOPILOT_RESERVED">
  12. <description>Reserved for future use.</description>
  13. </entry>
  14. <entry value="2" name="MAV_AUTOPILOT_SLUGS">
  15. <description>SLUGS autopilot, http://slugsuav.soe.ucsc.edu</description>
  16. </entry>
  17. <entry value="3" name="MAV_AUTOPILOT_ARDUPILOTMEGA">
  18. <description>ArduPilot - Plane/Copter/Rover/Sub/Tracker, http://ardupilot.org</description>
  19. </entry>
  20. <entry value="4" name="MAV_AUTOPILOT_OPENPILOT">
  21. <description>OpenPilot, http://openpilot.org</description>
  22. </entry>
  23. <entry value="5" name="MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY">
  24. <description>Generic autopilot only supporting simple waypoints</description>
  25. </entry>
  26. <entry value="6" name="MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY">
  27. <description>Generic autopilot supporting waypoints and other simple navigation commands</description>
  28. </entry>
  29. <entry value="7" name="MAV_AUTOPILOT_GENERIC_MISSION_FULL">
  30. <description>Generic autopilot supporting the full mission command set</description>
  31. </entry>
  32. <entry value="8" name="MAV_AUTOPILOT_INVALID">
  33. <description>No valid autopilot, e.g. a GCS or other MAVLink component</description>
  34. </entry>
  35. <entry value="9" name="MAV_AUTOPILOT_PPZ">
  36. <description>PPZ UAV - http://nongnu.org/paparazzi</description>
  37. </entry>
  38. <entry value="10" name="MAV_AUTOPILOT_UDB">
  39. <description>UAV Dev Board</description>
  40. </entry>
  41. <entry value="11" name="MAV_AUTOPILOT_FP">
  42. <description>FlexiPilot</description>
  43. </entry>
  44. <entry value="12" name="MAV_AUTOPILOT_PX4">
  45. <description>PX4 Autopilot - http://px4.io/</description>
  46. </entry>
  47. <entry value="13" name="MAV_AUTOPILOT_SMACCMPILOT">
  48. <description>SMACCMPilot - http://smaccmpilot.org</description>
  49. </entry>
  50. <entry value="14" name="MAV_AUTOPILOT_AUTOQUAD">
  51. <description>AutoQuad -- http://autoquad.org</description>
  52. </entry>
  53. <entry value="15" name="MAV_AUTOPILOT_ARMAZILA">
  54. <description>Armazila -- http://armazila.com</description>
  55. </entry>
  56. <entry value="16" name="MAV_AUTOPILOT_AEROB">
  57. <description>Aerob -- http://aerob.ru</description>
  58. </entry>
  59. <entry value="17" name="MAV_AUTOPILOT_ASLUAV">
  60. <description>ASLUAV autopilot -- http://www.asl.ethz.ch</description>
  61. </entry>
  62. <entry value="18" name="MAV_AUTOPILOT_SMARTAP">
  63. <description>SmartAP Autopilot - http://sky-drones.com</description>
  64. </entry>
  65. <entry value="19" name="MAV_AUTOPILOT_AIRRAILS">
  66. <description>AirRails - http://uaventure.com</description>
  67. </entry>
  68. </enum>
  69. <enum name="MAV_TYPE">
  70. <description>MAVLINK system type. All components in a system should report this type in their HEARTBEAT.</description>
  71. <entry value="0" name="MAV_TYPE_GENERIC">
  72. <description>Generic micro air vehicle.</description>
  73. </entry>
  74. <entry value="1" name="MAV_TYPE_FIXED_WING">
  75. <description>Fixed wing aircraft.</description>
  76. </entry>
  77. <entry value="2" name="MAV_TYPE_QUADROTOR">
  78. <description>Quadrotor</description>
  79. </entry>
  80. <entry value="3" name="MAV_TYPE_COAXIAL">
  81. <description>Coaxial helicopter</description>
  82. </entry>
  83. <entry value="4" name="MAV_TYPE_HELICOPTER">
  84. <description>Normal helicopter with tail rotor.</description>
  85. </entry>
  86. <entry value="5" name="MAV_TYPE_ANTENNA_TRACKER">
  87. <description>Ground installation</description>
  88. </entry>
  89. <entry value="6" name="MAV_TYPE_GCS">
  90. <description>Operator control unit / ground control station</description>
  91. </entry>
  92. <entry value="7" name="MAV_TYPE_AIRSHIP">
  93. <description>Airship, controlled</description>
  94. </entry>
  95. <entry value="8" name="MAV_TYPE_FREE_BALLOON">
  96. <description>Free balloon, uncontrolled</description>
  97. </entry>
  98. <entry value="9" name="MAV_TYPE_ROCKET">
  99. <description>Rocket</description>
  100. </entry>
  101. <entry value="10" name="MAV_TYPE_GROUND_ROVER">
  102. <description>Ground rover</description>
  103. </entry>
  104. <entry value="11" name="MAV_TYPE_SURFACE_BOAT">
  105. <description>Surface vessel, boat, ship</description>
  106. </entry>
  107. <entry value="12" name="MAV_TYPE_SUBMARINE">
  108. <description>Submarine</description>
  109. </entry>
  110. <entry value="13" name="MAV_TYPE_HEXAROTOR">
  111. <description>Hexarotor</description>
  112. </entry>
  113. <entry value="14" name="MAV_TYPE_OCTOROTOR">
  114. <description>Octorotor</description>
  115. </entry>
  116. <entry value="15" name="MAV_TYPE_TRICOPTER">
  117. <description>Tricopter</description>
  118. </entry>
  119. <entry value="16" name="MAV_TYPE_FLAPPING_WING">
  120. <description>Flapping wing</description>
  121. </entry>
  122. <entry value="17" name="MAV_TYPE_KITE">
  123. <description>Kite</description>
  124. </entry>
  125. <entry value="18" name="MAV_TYPE_ONBOARD_CONTROLLER">
  126. <description>Onboard companion controller</description>
  127. </entry>
  128. <entry value="19" name="MAV_TYPE_VTOL_DUOROTOR">
  129. <description>Two-rotor VTOL using control surfaces in vertical operation in addition. Tailsitter.</description>
  130. </entry>
  131. <entry value="20" name="MAV_TYPE_VTOL_QUADROTOR">
  132. <description>Quad-rotor VTOL using a V-shaped quad config in vertical operation. Tailsitter.</description>
  133. </entry>
  134. <entry value="21" name="MAV_TYPE_VTOL_TILTROTOR">
  135. <description>Tiltrotor VTOL</description>
  136. </entry>
  137. <!-- Entries up to 25 reserved for other VTOL airframes -->
  138. <entry value="22" name="MAV_TYPE_VTOL_RESERVED2">
  139. <description>VTOL reserved 2</description>
  140. </entry>
  141. <entry value="23" name="MAV_TYPE_VTOL_RESERVED3">
  142. <description>VTOL reserved 3</description>
  143. </entry>
  144. <entry value="24" name="MAV_TYPE_VTOL_RESERVED4">
  145. <description>VTOL reserved 4</description>
  146. </entry>
  147. <entry value="25" name="MAV_TYPE_VTOL_RESERVED5">
  148. <description>VTOL reserved 5</description>
  149. </entry>
  150. <entry value="26" name="MAV_TYPE_GIMBAL">
  151. <description>Gimbal (standalone)</description>
  152. </entry>
  153. <entry value="27" name="MAV_TYPE_ADSB">
  154. <description>ADSB system (standalone)</description>
  155. </entry>
  156. <entry value="28" name="MAV_TYPE_PARAFOIL">
  157. <description>Steerable, nonrigid airfoil</description>
  158. </entry>
  159. <entry value="29" name="MAV_TYPE_DODECAROTOR">
  160. <description>Dodecarotor</description>
  161. </entry>
  162. <entry value="30" name="MAV_TYPE_CAMERA">
  163. <description>Camera (standalone)</description>
  164. </entry>
  165. <entry value="31" name="MAV_TYPE_CHARGING_STATION">
  166. <description>Charging station</description>
  167. </entry>
  168. <entry value="32" name="MAV_TYPE_FLARM">
  169. <description>FLARM collision avoidance system (standalone)</description>
  170. </entry>
  171. </enum>
  172. <enum name="FIRMWARE_VERSION_TYPE">
  173. <description>These values define the type of firmware release. These values indicate the first version or release of this type. For example the first alpha release would be 64, the second would be 65.</description>
  174. <entry value="0" name="FIRMWARE_VERSION_TYPE_DEV">
  175. <description>development release</description>
  176. </entry>
  177. <entry value="64" name="FIRMWARE_VERSION_TYPE_ALPHA">
  178. <description>alpha release</description>
  179. </entry>
  180. <entry value="128" name="FIRMWARE_VERSION_TYPE_BETA">
  181. <description>beta release</description>
  182. </entry>
  183. <entry value="192" name="FIRMWARE_VERSION_TYPE_RC">
  184. <description>release candidate</description>
  185. </entry>
  186. <entry value="255" name="FIRMWARE_VERSION_TYPE_OFFICIAL">
  187. <description>official stable release</description>
  188. </entry>
  189. </enum>
  190. <enum name="MAV_MODE_FLAG">
  191. <description>These flags encode the MAV mode.</description>
  192. <entry value="128" name="MAV_MODE_FLAG_SAFETY_ARMED">
  193. <description>0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly. Additional note: this flag is to be ignore when sent in the command MAV_CMD_DO_SET_MODE and MAV_CMD_COMPONENT_ARM_DISARM shall be used instead. The flag can still be used to report the armed state.</description>
  194. </entry>
  195. <entry value="64" name="MAV_MODE_FLAG_MANUAL_INPUT_ENABLED">
  196. <description>0b01000000 remote control input is enabled.</description>
  197. </entry>
  198. <entry value="32" name="MAV_MODE_FLAG_HIL_ENABLED">
  199. <description>0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational.</description>
  200. </entry>
  201. <entry value="16" name="MAV_MODE_FLAG_STABILIZE_ENABLED">
  202. <description>0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around.</description>
  203. </entry>
  204. <entry value="8" name="MAV_MODE_FLAG_GUIDED_ENABLED">
  205. <description>0b00001000 guided mode enabled, system flies waypoints / mission items.</description>
  206. </entry>
  207. <entry value="4" name="MAV_MODE_FLAG_AUTO_ENABLED">
  208. <description>0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation.</description>
  209. </entry>
  210. <entry value="2" name="MAV_MODE_FLAG_TEST_ENABLED">
  211. <description>0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations.</description>
  212. </entry>
  213. <entry value="1" name="MAV_MODE_FLAG_CUSTOM_MODE_ENABLED">
  214. <description>0b00000001 Reserved for future use.</description>
  215. </entry>
  216. </enum>
  217. <enum name="MAV_MODE_FLAG_DECODE_POSITION">
  218. <description>These values encode the bit positions of the decode position. These values can be used to read the value of a flag bit by combining the base_mode variable with AND with the flag position value. The result will be either 0 or 1, depending on if the flag is set or not.</description>
  219. <entry value="128" name="MAV_MODE_FLAG_DECODE_POSITION_SAFETY">
  220. <description>First bit: 10000000</description>
  221. </entry>
  222. <entry value="64" name="MAV_MODE_FLAG_DECODE_POSITION_MANUAL">
  223. <description>Second bit: 01000000</description>
  224. </entry>
  225. <entry value="32" name="MAV_MODE_FLAG_DECODE_POSITION_HIL">
  226. <description>Third bit: 00100000</description>
  227. </entry>
  228. <entry value="16" name="MAV_MODE_FLAG_DECODE_POSITION_STABILIZE">
  229. <description>Fourth bit: 00010000</description>
  230. </entry>
  231. <entry value="8" name="MAV_MODE_FLAG_DECODE_POSITION_GUIDED">
  232. <description>Fifth bit: 00001000</description>
  233. </entry>
  234. <entry value="4" name="MAV_MODE_FLAG_DECODE_POSITION_AUTO">
  235. <description>Sixth bit: 00000100</description>
  236. </entry>
  237. <entry value="2" name="MAV_MODE_FLAG_DECODE_POSITION_TEST">
  238. <description>Seventh bit: 00000010</description>
  239. </entry>
  240. <entry value="1" name="MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE">
  241. <description>Eighth bit: 00000001</description>
  242. </entry>
  243. </enum>
  244. <enum name="MAV_GOTO">
  245. <description>Actions that may be specified in MAV_CMD_OVERRIDE_GOTO to override mission execution.</description>
  246. <entry value="0" name="MAV_GOTO_DO_HOLD">
  247. <description>Hold at the current position.</description>
  248. </entry>
  249. <entry value="1" name="MAV_GOTO_DO_CONTINUE">
  250. <description>Continue with the next item in mission execution.</description>
  251. </entry>
  252. <entry value="2" name="MAV_GOTO_HOLD_AT_CURRENT_POSITION">
  253. <description>Hold at the current position of the system</description>
  254. </entry>
  255. <entry value="3" name="MAV_GOTO_HOLD_AT_SPECIFIED_POSITION">
  256. <description>Hold at the position specified in the parameters of the DO_HOLD action</description>
  257. </entry>
  258. </enum>
  259. <enum name="MAV_MODE">
  260. <description>These defines are predefined OR-combined mode flags. There is no need to use values from this enum, but it
  261. simplifies the use of the mode flags. Note that manual input is enabled in all modes as a safety override.</description>
  262. <entry value="0" name="MAV_MODE_PREFLIGHT">
  263. <description>System is not ready to fly, booting, calibrating, etc. No flag is set.</description>
  264. </entry>
  265. <entry value="80" name="MAV_MODE_STABILIZE_DISARMED">
  266. <description>System is allowed to be active, under assisted RC control.</description>
  267. </entry>
  268. <entry value="208" name="MAV_MODE_STABILIZE_ARMED">
  269. <description>System is allowed to be active, under assisted RC control.</description>
  270. </entry>
  271. <entry value="64" name="MAV_MODE_MANUAL_DISARMED">
  272. <description>System is allowed to be active, under manual (RC) control, no stabilization</description>
  273. </entry>
  274. <entry value="192" name="MAV_MODE_MANUAL_ARMED">
  275. <description>System is allowed to be active, under manual (RC) control, no stabilization</description>
  276. </entry>
  277. <entry value="88" name="MAV_MODE_GUIDED_DISARMED">
  278. <description>System is allowed to be active, under autonomous control, manual setpoint</description>
  279. </entry>
  280. <entry value="216" name="MAV_MODE_GUIDED_ARMED">
  281. <description>System is allowed to be active, under autonomous control, manual setpoint</description>
  282. </entry>
  283. <entry value="92" name="MAV_MODE_AUTO_DISARMED">
  284. <description>System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints)</description>
  285. </entry>
  286. <entry value="220" name="MAV_MODE_AUTO_ARMED">
  287. <description>System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints)</description>
  288. </entry>
  289. <entry value="66" name="MAV_MODE_TEST_DISARMED">
  290. <description>UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only.</description>
  291. </entry>
  292. <entry value="194" name="MAV_MODE_TEST_ARMED">
  293. <description>UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only.</description>
  294. </entry>
  295. </enum>
  296. <enum name="MAV_STATE">
  297. <entry value="0" name="MAV_STATE_UNINIT">
  298. <description>Uninitialized system, state is unknown.</description>
  299. </entry>
  300. <entry name="MAV_STATE_BOOT">
  301. <description>System is booting up.</description>
  302. </entry>
  303. <entry name="MAV_STATE_CALIBRATING">
  304. <description>System is calibrating and not flight-ready.</description>
  305. </entry>
  306. <entry name="MAV_STATE_STANDBY">
  307. <description>System is grounded and on standby. It can be launched any time.</description>
  308. </entry>
  309. <entry name="MAV_STATE_ACTIVE">
  310. <description>System is active and might be already airborne. Motors are engaged.</description>
  311. </entry>
  312. <entry name="MAV_STATE_CRITICAL">
  313. <description>System is in a non-normal flight mode. It can however still navigate.</description>
  314. </entry>
  315. <entry name="MAV_STATE_EMERGENCY">
  316. <description>System is in a non-normal flight mode. It lost control over parts or over the whole airframe. It is in mayday and going down.</description>
  317. </entry>
  318. <entry name="MAV_STATE_POWEROFF">
  319. <description>System just initialized its power-down sequence, will shut down now.</description>
  320. </entry>
  321. <entry name="MAV_STATE_FLIGHT_TERMINATION">
  322. <description>System is terminating itself.</description>
  323. </entry>
  324. </enum>
  325. <enum name="MAV_COMPONENT">
  326. <description>Component ids (values) for the different types and instances of onboard hardware/software that might make up a MAVLink system (autopilot, cameras, servos, GPS systems, avoidance systems etc.).
  327. Components must use the appropriate ID in their source address when sending messages. Components can also use IDs to determine if they are the intended recipient of an incoming message. The MAV_COMP_ID_ALL value is used to indicate messages that must be processed by all components.
  328. When creating new entries, components that can have multiple instances (e.g. cameras, servos etc.) should be allocated sequential values. An appropriate number of values should be left free after these components to allow the number of instances to be expanded.</description>
  329. <entry value="0" name="MAV_COMP_ID_ALL">
  330. <description>Used to broadcast messages to all components of the receiving system. Components should attempt to process messages with this component ID and forward to components on any other interfaces.</description>
  331. </entry>
  332. <entry value="1" name="MAV_COMP_ID_AUTOPILOT1">
  333. <description>System flight controller component ("autopilot"). Only one autopilot is expected in a particular system.</description>
  334. </entry>
  335. <entry value="100" name="MAV_COMP_ID_CAMERA">
  336. <description>Camera #1.</description>
  337. </entry>
  338. <entry value="101" name="MAV_COMP_ID_CAMERA2">
  339. <description>Camera #2.</description>
  340. </entry>
  341. <entry value="102" name="MAV_COMP_ID_CAMERA3">
  342. <description>Camera #3.</description>
  343. </entry>
  344. <entry value="103" name="MAV_COMP_ID_CAMERA4">
  345. <description>Camera #4.</description>
  346. </entry>
  347. <entry value="104" name="MAV_COMP_ID_CAMERA5">
  348. <description>Camera #5.</description>
  349. </entry>
  350. <entry value="105" name="MAV_COMP_ID_CAMERA6">
  351. <description>Camera #6.</description>
  352. </entry>
  353. <entry value="140" name="MAV_COMP_ID_SERVO1">
  354. <description>Servo #1.</description>
  355. </entry>
  356. <entry value="141" name="MAV_COMP_ID_SERVO2">
  357. <description>Servo #2.</description>
  358. </entry>
  359. <entry value="142" name="MAV_COMP_ID_SERVO3">
  360. <description>Servo #3.</description>
  361. </entry>
  362. <entry value="143" name="MAV_COMP_ID_SERVO4">
  363. <description>Servo #4.</description>
  364. </entry>
  365. <entry value="144" name="MAV_COMP_ID_SERVO5">
  366. <description>Servo #5.</description>
  367. </entry>
  368. <entry value="145" name="MAV_COMP_ID_SERVO6">
  369. <description>Servo #6.</description>
  370. </entry>
  371. <entry value="146" name="MAV_COMP_ID_SERVO7">
  372. <description>Servo #7.</description>
  373. </entry>
  374. <entry value="147" name="MAV_COMP_ID_SERVO8">
  375. <description>Servo #8.</description>
  376. </entry>
  377. <entry value="148" name="MAV_COMP_ID_SERVO9">
  378. <description>Servo #9.</description>
  379. </entry>
  380. <entry value="149" name="MAV_COMP_ID_SERVO10">
  381. <description>Servo #10.</description>
  382. </entry>
  383. <entry value="150" name="MAV_COMP_ID_SERVO11">
  384. <description>Servo #11.</description>
  385. </entry>
  386. <entry value="151" name="MAV_COMP_ID_SERVO12">
  387. <description>Servo #12.</description>
  388. </entry>
  389. <entry value="152" name="MAV_COMP_ID_SERVO13">
  390. <description>Servo #13.</description>
  391. </entry>
  392. <entry value="153" name="MAV_COMP_ID_SERVO14">
  393. <description>Servo #14.</description>
  394. </entry>
  395. <entry value="154" name="MAV_COMP_ID_GIMBAL">
  396. <description>Gimbal component.</description>
  397. </entry>
  398. <entry value="155" name="MAV_COMP_ID_LOG">
  399. <description>Logging component.</description>
  400. </entry>
  401. <entry value="156" name="MAV_COMP_ID_ADSB">
  402. <description>Automatic Dependent Surveillance-Broadcast (ADS-B) component.</description>
  403. </entry>
  404. <entry value="157" name="MAV_COMP_ID_OSD">
  405. <description>On Screen Display (OSD) devices for video links.</description>
  406. </entry>
  407. <entry value="158" name="MAV_COMP_ID_PERIPHERAL">
  408. <description>Generic autopilot peripheral component ID. Meant for devices that do not implement the parameter microservice.</description>
  409. </entry>
  410. <entry value="159" name="MAV_COMP_ID_QX1_GIMBAL">
  411. <deprecated since="2018-11" replaced_by="MAV_COMP_ID_GIMBAL">All gimbals should use MAV_COMP_ID_GIMBAL.</deprecated>
  412. <description>Gimbal ID for QX1.</description>
  413. </entry>
  414. <entry value="160" name="MAV_COMP_ID_FLARM">
  415. <description>FLARM collision alert component.</description>
  416. </entry>
  417. <entry value="190" name="MAV_COMP_ID_MISSIONPLANNER">
  418. <description>Component that can generate/supply a mission flight plan (e.g. GCS or developer API).</description>
  419. </entry>
  420. <entry value="195" name="MAV_COMP_ID_PATHPLANNER">
  421. <description>Component that finds an optimal path between points based on a certain constraint (e.g. minimum snap, shortest path, cost, etc.).</description>
  422. </entry>
  423. <entry value="196" name="MAV_COMP_ID_OBSTACLE_AVOIDANCE">
  424. <description>Component that plans a collision free path between two points.</description>
  425. </entry>
  426. <entry value="197" name="MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY">
  427. <description>Component that provides position estimates using VIO techniques.</description>
  428. </entry>
  429. <entry value="200" name="MAV_COMP_ID_IMU">
  430. <description>Inertial Measurement Unit (IMU) #1.</description>
  431. </entry>
  432. <entry value="201" name="MAV_COMP_ID_IMU_2">
  433. <description>Inertial Measurement Unit (IMU) #2.</description>
  434. </entry>
  435. <entry value="202" name="MAV_COMP_ID_IMU_3">
  436. <description>Inertial Measurement Unit (IMU) #3.</description>
  437. </entry>
  438. <entry value="220" name="MAV_COMP_ID_GPS">
  439. <description>GPS #1.</description>
  440. </entry>
  441. <entry value="221" name="MAV_COMP_ID_GPS2">
  442. <description>GPS #2.</description>
  443. </entry>
  444. <entry value="240" name="MAV_COMP_ID_UDP_BRIDGE">
  445. <description>Component to bridge MAVLink to UDP (i.e. from a UART).</description>
  446. </entry>
  447. <entry value="241" name="MAV_COMP_ID_UART_BRIDGE">
  448. <description>Component to bridge to UART (i.e. from UDP).</description>
  449. </entry>
  450. <entry value="250" name="MAV_COMP_ID_SYSTEM_CONTROL">
  451. <deprecated since="2018-11" replaced_by="MAV_COMP_ID_ALL">System control does not require a separate component ID.</deprecated>
  452. <description>Component for handling system messages (e.g. to ARM, takeoff, etc.).</description>
  453. </entry>
  454. </enum>
  455. <enum name="MAV_SYS_STATUS_SENSOR">
  456. <description>These encode the sensors whose status is sent as part of the SYS_STATUS message.</description>
  457. <entry value="1" name="MAV_SYS_STATUS_SENSOR_3D_GYRO">
  458. <description>0x01 3D gyro</description>
  459. </entry>
  460. <entry value="2" name="MAV_SYS_STATUS_SENSOR_3D_ACCEL">
  461. <description>0x02 3D accelerometer</description>
  462. </entry>
  463. <entry value="4" name="MAV_SYS_STATUS_SENSOR_3D_MAG">
  464. <description>0x04 3D magnetometer</description>
  465. </entry>
  466. <entry value="8" name="MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE">
  467. <description>0x08 absolute pressure</description>
  468. </entry>
  469. <entry value="16" name="MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE">
  470. <description>0x10 differential pressure</description>
  471. </entry>
  472. <entry value="32" name="MAV_SYS_STATUS_SENSOR_GPS">
  473. <description>0x20 GPS</description>
  474. </entry>
  475. <entry value="64" name="MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW">
  476. <description>0x40 optical flow</description>
  477. </entry>
  478. <entry value="128" name="MAV_SYS_STATUS_SENSOR_VISION_POSITION">
  479. <description>0x80 computer vision position</description>
  480. </entry>
  481. <entry value="256" name="MAV_SYS_STATUS_SENSOR_LASER_POSITION">
  482. <description>0x100 laser based position</description>
  483. </entry>
  484. <entry value="512" name="MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH">
  485. <description>0x200 external ground truth (Vicon or Leica)</description>
  486. </entry>
  487. <entry value="1024" name="MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL">
  488. <description>0x400 3D angular rate control</description>
  489. </entry>
  490. <entry value="2048" name="MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION">
  491. <description>0x800 attitude stabilization</description>
  492. </entry>
  493. <entry value="4096" name="MAV_SYS_STATUS_SENSOR_YAW_POSITION">
  494. <description>0x1000 yaw position</description>
  495. </entry>
  496. <entry value="8192" name="MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL">
  497. <description>0x2000 z/altitude control</description>
  498. </entry>
  499. <entry value="16384" name="MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL">
  500. <description>0x4000 x/y position control</description>
  501. </entry>
  502. <entry value="32768" name="MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS">
  503. <description>0x8000 motor outputs / control</description>
  504. </entry>
  505. <entry value="65536" name="MAV_SYS_STATUS_SENSOR_RC_RECEIVER">
  506. <description>0x10000 rc receiver</description>
  507. </entry>
  508. <entry value="131072" name="MAV_SYS_STATUS_SENSOR_3D_GYRO2">
  509. <description>0x20000 2nd 3D gyro</description>
  510. </entry>
  511. <entry value="262144" name="MAV_SYS_STATUS_SENSOR_3D_ACCEL2">
  512. <description>0x40000 2nd 3D accelerometer</description>
  513. </entry>
  514. <entry value="524288" name="MAV_SYS_STATUS_SENSOR_3D_MAG2">
  515. <description>0x80000 2nd 3D magnetometer</description>
  516. </entry>
  517. <entry value="1048576" name="MAV_SYS_STATUS_GEOFENCE">
  518. <description>0x100000 geofence</description>
  519. </entry>
  520. <entry value="2097152" name="MAV_SYS_STATUS_AHRS">
  521. <description>0x200000 AHRS subsystem health</description>
  522. </entry>
  523. <entry value="4194304" name="MAV_SYS_STATUS_TERRAIN">
  524. <description>0x400000 Terrain subsystem health</description>
  525. </entry>
  526. <entry value="8388608" name="MAV_SYS_STATUS_REVERSE_MOTOR">
  527. <description>0x800000 Motors are reversed</description>
  528. </entry>
  529. <entry value="16777216" name="MAV_SYS_STATUS_LOGGING">
  530. <description>0x1000000 Logging</description>
  531. </entry>
  532. <entry value="33554432" name="MAV_SYS_STATUS_SENSOR_BATTERY">
  533. <description>0x2000000 Battery</description>
  534. </entry>
  535. <entry value="67108864" name="MAV_SYS_STATUS_SENSOR_PROXIMITY">
  536. <description>0x4000000 Proximity</description>
  537. </entry>
  538. <entry value="134217728" name="MAV_SYS_STATUS_SENSOR_SATCOM">
  539. <description>0x8000000 Satellite Communication </description>
  540. </entry>
  541. </enum>
  542. <enum name="MAV_FRAME">
  543. <entry value="0" name="MAV_FRAME_GLOBAL">
  544. <description>Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL).</description>
  545. </entry>
  546. <entry value="1" name="MAV_FRAME_LOCAL_NED">
  547. <description>Local coordinate frame, Z-down (x: north, y: east, z: down).</description>
  548. </entry>
  549. <entry value="2" name="MAV_FRAME_MISSION">
  550. <description>NOT a coordinate frame, indicates a mission command.</description>
  551. </entry>
  552. <entry value="3" name="MAV_FRAME_GLOBAL_RELATIVE_ALT">
  553. <description>Global (WGS84) coordinate frame + altitude relative to the home position. First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home location.</description>
  554. </entry>
  555. <entry value="4" name="MAV_FRAME_LOCAL_ENU">
  556. <description>Local coordinate frame, Z-up (x: east, y: north, z: up).</description>
  557. </entry>
  558. <entry value="5" name="MAV_FRAME_GLOBAL_INT">
  559. <description>Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1.0e-7, second value / y: longitude in degrees*1.0e-7, third value / z: positive altitude over mean sea level (MSL).</description>
  560. </entry>
  561. <entry value="6" name="MAV_FRAME_GLOBAL_RELATIVE_ALT_INT">
  562. <description>Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. First value / x: latitude in degrees*10e-7, second value / y: longitude in degrees*10e-7, third value / z: positive altitude with 0 being at the altitude of the home location.</description>
  563. </entry>
  564. <entry value="7" name="MAV_FRAME_LOCAL_OFFSET_NED">
  565. <description>Offset to the current local frame. Anything expressed in this frame should be added to the current local frame position.</description>
  566. </entry>
  567. <entry value="8" name="MAV_FRAME_BODY_NED">
  568. <description>Setpoint in body NED frame. This makes sense if all position control is externalized - e.g. useful to command 2 m/s^2 acceleration to the right.</description>
  569. </entry>
  570. <entry value="9" name="MAV_FRAME_BODY_OFFSET_NED">
  571. <description>Offset in body NED frame. This makes sense if adding setpoints to the current flight path, to avoid an obstacle - e.g. useful to command 2 m/s^2 acceleration to the east.</description>
  572. </entry>
  573. <entry value="10" name="MAV_FRAME_GLOBAL_TERRAIN_ALT">
  574. <description>Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model.</description>
  575. </entry>
  576. <entry value="11" name="MAV_FRAME_GLOBAL_TERRAIN_ALT_INT">
  577. <description>Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*10e-7, second value / y: longitude in degrees*10e-7, third value / z: positive altitude in meters with 0 being at ground level in terrain model.</description>
  578. </entry>
  579. <entry value="12" name="MAV_FRAME_BODY_FRD">
  580. <description>Body fixed frame of reference, Z-down (x: forward, y: right, z: down).</description>
  581. </entry>
  582. <entry value="13" name="MAV_FRAME_BODY_FLU">
  583. <description>Body fixed frame of reference, Z-up (x: forward, y: left, z: up).</description>
  584. </entry>
  585. <entry value="14" name="MAV_FRAME_MOCAP_NED">
  586. <description>Odometry local coordinate frame of data given by a motion capture system, Z-down (x: north, y: east, z: down).</description>
  587. </entry>
  588. <entry value="15" name="MAV_FRAME_MOCAP_ENU">
  589. <description>Odometry local coordinate frame of data given by a motion capture system, Z-up (x: east, y: north, z: up).</description>
  590. </entry>
  591. <entry value="16" name="MAV_FRAME_VISION_NED">
  592. <description>Odometry local coordinate frame of data given by a vision estimation system, Z-down (x: north, y: east, z: down).</description>
  593. </entry>
  594. <entry value="17" name="MAV_FRAME_VISION_ENU">
  595. <description>Odometry local coordinate frame of data given by a vision estimation system, Z-up (x: east, y: north, z: up).</description>
  596. </entry>
  597. <entry value="18" name="MAV_FRAME_ESTIM_NED">
  598. <description>Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-down (x: north, y: east, z: down).</description>
  599. </entry>
  600. <entry value="19" name="MAV_FRAME_ESTIM_ENU">
  601. <description>Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-up (x: east, y: noth, z: up).</description>
  602. </entry>
  603. </enum>
  604. <enum name="MAVLINK_DATA_STREAM_TYPE">
  605. <entry name="MAVLINK_DATA_STREAM_IMG_JPEG">
  606. <description/>
  607. </entry>
  608. <entry name="MAVLINK_DATA_STREAM_IMG_BMP">
  609. <description/>
  610. </entry>
  611. <entry name="MAVLINK_DATA_STREAM_IMG_RAW8U">
  612. <description/>
  613. </entry>
  614. <entry name="MAVLINK_DATA_STREAM_IMG_RAW32U">
  615. <description/>
  616. </entry>
  617. <entry name="MAVLINK_DATA_STREAM_IMG_PGM">
  618. <description/>
  619. </entry>
  620. <entry name="MAVLINK_DATA_STREAM_IMG_PNG">
  621. <description/>
  622. </entry>
  623. </enum>
  624. <!-- fenced mode enums -->
  625. <enum name="FENCE_ACTION">
  626. <entry value="0" name="FENCE_ACTION_NONE">
  627. <description>Disable fenced mode</description>
  628. </entry>
  629. <entry value="1" name="FENCE_ACTION_GUIDED">
  630. <description>Switched to guided mode to return point (fence point 0)</description>
  631. </entry>
  632. <entry value="2" name="FENCE_ACTION_REPORT">
  633. <description>Report fence breach, but don't take action</description>
  634. </entry>
  635. <entry value="3" name="FENCE_ACTION_GUIDED_THR_PASS">
  636. <description>Switched to guided mode to return point (fence point 0) with manual throttle control</description>
  637. </entry>
  638. <entry value="4" name="FENCE_ACTION_RTL">
  639. <description>Switch to RTL (return to launch) mode and head for the return point.</description>
  640. </entry>
  641. </enum>
  642. <enum name="FENCE_BREACH">
  643. <entry value="0" name="FENCE_BREACH_NONE">
  644. <description>No last fence breach</description>
  645. </entry>
  646. <entry value="1" name="FENCE_BREACH_MINALT">
  647. <description>Breached minimum altitude</description>
  648. </entry>
  649. <entry value="2" name="FENCE_BREACH_MAXALT">
  650. <description>Breached maximum altitude</description>
  651. </entry>
  652. <entry value="3" name="FENCE_BREACH_BOUNDARY">
  653. <description>Breached fence boundary</description>
  654. </entry>
  655. </enum>
  656. <!-- Camera Mount mode Enumeration -->
  657. <enum name="MAV_MOUNT_MODE">
  658. <description>Enumeration of possible mount operation modes</description>
  659. <entry value="0" name="MAV_MOUNT_MODE_RETRACT">
  660. <description>Load and keep safe position (Roll,Pitch,Yaw) from permant memory and stop stabilization</description>
  661. </entry>
  662. <entry value="1" name="MAV_MOUNT_MODE_NEUTRAL">
  663. <description>Load and keep neutral position (Roll,Pitch,Yaw) from permanent memory.</description>
  664. </entry>
  665. <entry value="2" name="MAV_MOUNT_MODE_MAVLINK_TARGETING">
  666. <description>Load neutral position and start MAVLink Roll,Pitch,Yaw control with stabilization</description>
  667. </entry>
  668. <entry value="3" name="MAV_MOUNT_MODE_RC_TARGETING">
  669. <description>Load neutral position and start RC Roll,Pitch,Yaw control with stabilization</description>
  670. </entry>
  671. <entry value="4" name="MAV_MOUNT_MODE_GPS_POINT">
  672. <description>Load neutral position and start to point to Lat,Lon,Alt</description>
  673. </entry>
  674. </enum>
  675. <!-- UAVCAN node health enumeration -->
  676. <enum name="UAVCAN_NODE_HEALTH">
  677. <description>Generalized UAVCAN node health</description>
  678. <entry value="0" name="UAVCAN_NODE_HEALTH_OK">
  679. <description>The node is functioning properly.</description>
  680. </entry>
  681. <entry value="1" name="UAVCAN_NODE_HEALTH_WARNING">
  682. <description>A critical parameter went out of range or the node has encountered a minor failure.</description>
  683. </entry>
  684. <entry value="2" name="UAVCAN_NODE_HEALTH_ERROR">
  685. <description>The node has encountered a major failure.</description>
  686. </entry>
  687. <entry value="3" name="UAVCAN_NODE_HEALTH_CRITICAL">
  688. <description>The node has suffered a fatal malfunction.</description>
  689. </entry>
  690. </enum>
  691. <!-- UAVCAN node mode enumeration -->
  692. <enum name="UAVCAN_NODE_MODE">
  693. <description>Generalized UAVCAN node mode</description>
  694. <entry value="0" name="UAVCAN_NODE_MODE_OPERATIONAL">
  695. <description>The node is performing its primary functions.</description>
  696. </entry>
  697. <entry value="1" name="UAVCAN_NODE_MODE_INITIALIZATION">
  698. <description>The node is initializing; this mode is entered immediately after startup.</description>
  699. </entry>
  700. <entry value="2" name="UAVCAN_NODE_MODE_MAINTENANCE">
  701. <description>The node is under maintenance.</description>
  702. </entry>
  703. <entry value="3" name="UAVCAN_NODE_MODE_SOFTWARE_UPDATE">
  704. <description>The node is in the process of updating its software.</description>
  705. </entry>
  706. <entry value="7" name="UAVCAN_NODE_MODE_OFFLINE">
  707. <description>The node is no longer available online.</description>
  708. </entry>
  709. </enum>
  710. <enum name="STORAGE_STATUS">
  711. <description>Flags to indicate the status of camera storage.</description>
  712. <entry value="0" name="STORAGE_STATUS_EMPTY">
  713. <description>Storage is missing (no microSD card loaded for example.)</description>
  714. </entry>
  715. <entry value="1" name="STORAGE_STATUS_UNFORMATTED">
  716. <description>Storage present but unformatted.</description>
  717. </entry>
  718. <entry value="2" name="STORAGE_STATUS_READY">
  719. <description>Storage present and ready.</description>
  720. </entry>
  721. <entry value="3" name="STORAGE_STATUS_NOT_SUPPORTED">
  722. <description>Camera does not supply storage status information. Capacity information in STORAGE_INFORMATION fields will be ignored.</description>
  723. </entry>
  724. </enum>
  725. <!-- The MAV_CMD enum entries describe either: -->
  726. <!-- * the data payload of mission items (as used in the MISSION_ITEM and MISSION_ITEM_INT messages) -->
  727. <!-- * the data payload of mavlink commands (as used in the COMMAND_INT and COMMAND_LONG messages) -->
  728. <!-- ALL the entries in the MAV_CMD enum have a maximum of 7 parameters -->
  729. <enum name="MAV_CMD">
  730. <description>Commands to be executed by the MAV. They can be executed on user request, or as part of a mission script. If the action is used in a mission, the parameter mapping to the waypoint/mission message is as follows: Param 1, Param 2, Param 3, Param 4, X: Param 5, Y:Param 6, Z:Param 7. This command list is similar what ARINC 424 is for commercial aircraft: A data format how to interpret waypoint/mission data. See https://mavlink.io/en/guide/xml_schema.html#MAV_CMD for information about the structure of the MAV_CMD entries</description>
  731. <entry value="16" name="MAV_CMD_NAV_WAYPOINT" hasLocation="true" isDestination="true">
  732. <description>Navigate to waypoint.</description>
  733. <param index="1" label="Hold" units="s" minValue="0">Hold time. (ignored by fixed wing, time to stay at waypoint for rotary wing)</param>
  734. <param index="2" label="Accept Radius" units="m" minValue="0">Acceptance radius (if the sphere with this radius is hit, the waypoint counts as reached)</param>
  735. <param index="3" label="Pass Radius" units="m">0 to pass through the WP, if &gt; 0 radius to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.</param>
  736. <param index="4" label="Yaw" units="deg">Desired yaw angle at waypoint (rotary wing). NaN for unchanged.</param>
  737. <param index="5">Latitude</param>
  738. <param index="6">Longitude</param>
  739. <param index="7">Altitude</param>
  740. </entry>
  741. <entry value="17" name="MAV_CMD_NAV_LOITER_UNLIM" hasLocation="true" isDestination="true">
  742. <description>Loiter around this waypoint an unlimited amount of time</description>
  743. <param index="1">Empty</param>
  744. <param index="2">Empty</param>
  745. <param index="3" label="Radius" units="m">Radius around waypoint. If positive loiter clockwise, else counter-clockwise</param>
  746. <param index="4" label="Yaw">Desired yaw angle. NaN for unchanged.</param>
  747. <param index="5">Latitude</param>
  748. <param index="6">Longitude</param>
  749. <param index="7">Altitude</param>
  750. </entry>
  751. <entry value="18" name="MAV_CMD_NAV_LOITER_TURNS" hasLocation="true" isDestination="true">
  752. <description>Loiter around this waypoint for X turns</description>
  753. <param index="1" label="Turns" minValue="0">Number of turns.</param>
  754. <param index="2">Empty</param>
  755. <param index="3" label="Radius" units="m">Radius around waypoint. If positive loiter clockwise, else counter-clockwise</param>
  756. <param index="4">Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle. NaN for unchanged.</param>
  757. <param index="5">Latitude</param>
  758. <param index="6">Longitude</param>
  759. <param index="7">Altitude</param>
  760. </entry>
  761. <entry value="19" name="MAV_CMD_NAV_LOITER_TIME" hasLocation="true" isDestination="true">
  762. <description>Loiter around this waypoint for X seconds</description>
  763. <param index="1" label="Time" units="s" minValue="0">Loiter time.</param>
  764. <param index="2">Empty</param>
  765. <param index="3" label="Radius" units="m">Radius around waypoint. If positive loiter clockwise, else counter-clockwise.</param>
  766. <param index="4">Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle. NaN for unchanged.</param>
  767. <param index="5">Latitude</param>
  768. <param index="6">Longitude</param>
  769. <param index="7">Altitude</param>
  770. </entry>
  771. <entry value="20" name="MAV_CMD_NAV_RETURN_TO_LAUNCH" hasLocation="false" isDestination="false">
  772. <description>Return to launch location</description>
  773. <param index="1">Empty</param>
  774. <param index="2">Empty</param>
  775. <param index="3">Empty</param>
  776. <param index="4">Empty</param>
  777. <param index="5">Empty</param>
  778. <param index="6">Empty</param>
  779. <param index="7">Empty</param>
  780. </entry>
  781. <entry value="21" name="MAV_CMD_NAV_LAND" hasLocation="true" isDestination="true">
  782. <description>Land at location.</description>
  783. <param index="1" label="Abort Alt" units="m">Minimum target altitude if landing is aborted (0 = undefined/use system default).</param>
  784. <param index="2" label="Land Mode" enum="PRECISION_LAND_MODE">Precision land mode.</param>
  785. <param index="3">Empty.</param>
  786. <param index="4" label="Yaw Angle" units="deg">Desired yaw angle. NaN for unchanged.</param>
  787. <param index="5">Latitude.</param>
  788. <param index="6">Longitude.</param>
  789. <param index="7" units="m">Landing altitude (ground level in current frame).</param>
  790. </entry>
  791. <entry value="22" name="MAV_CMD_NAV_TAKEOFF" hasLocation="true" isDestination="true">
  792. <description>Takeoff from ground / hand</description>
  793. <param index="1" label="Pitch">Minimum pitch (if airspeed sensor present), desired pitch without sensor</param>
  794. <param index="2">Empty</param>
  795. <param index="3">Empty</param>
  796. <param index="4" label="Yaw">Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.</param>
  797. <param index="5">Latitude</param>
  798. <param index="6">Longitude</param>
  799. <param index="7">Altitude</param>
  800. </entry>
  801. <entry value="23" name="MAV_CMD_NAV_LAND_LOCAL" hasLocation="true" isDestination="true">
  802. <description>Land at local position (local frame only)</description>
  803. <param index="1" label="Target" minValue="0" increment="1">Landing target number (if available)</param>
  804. <param index="2" label="Offset" units="m" minValue="0">Maximum accepted offset from desired landing position - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land</param>
  805. <param index="3" label="Descend Rate" units="m/s">Landing descend rate</param>
  806. <param index="4" label="Yaw" units="rad">Desired yaw angle</param>
  807. <param index="5" label="Y Position" units="m">Y-axis position</param>
  808. <param index="6" label="X Position" units="m">X-axis position</param>
  809. <param index="7" label="Z Position" units="m">Z-axis / ground level position</param>
  810. </entry>
  811. <entry value="24" name="MAV_CMD_NAV_TAKEOFF_LOCAL" hasLocation="true" isDestination="true">
  812. <description>Takeoff from local position (local frame only)</description>
  813. <param index="1" label="Pitch" units="rad">Minimum pitch (if airspeed sensor present), desired pitch without sensor</param>
  814. <param index="2">Empty</param>
  815. <param index="3" label="Ascend Rate" units="m/s">Takeoff ascend rate</param>
  816. <param index="4" label="Yaw" units="rad">Yaw angle (if magnetometer or another yaw estimation source present), ignored without one of these</param>
  817. <param index="5" label="Y Position" units="m">Y-axis position</param>
  818. <param index="6" label="X Position" units="m">X-axis position</param>
  819. <param index="7" label="Z Position" units="m">Z-axis position</param>
  820. </entry>
  821. <entry value="25" name="MAV_CMD_NAV_FOLLOW" hasLocation="true" isDestination="false">
  822. <description>Vehicle following, i.e. this waypoint represents the position of a moving vehicle</description>
  823. <param index="1" label="Following" increment="1">Following logic to use (e.g. loitering or sinusoidal following) - depends on specific autopilot implementation</param>
  824. <param index="2" label="Ground Speed">Ground speed of vehicle to be followed</param>
  825. <param index="3" label="Radius" units="m">Radius around waypoint. If positive loiter clockwise, else counter-clockwise</param>
  826. <param index="4" label="Yaw">Desired yaw angle.</param>
  827. <param index="5">Latitude</param>
  828. <param index="6">Longitude</param>
  829. <param index="7">Altitude</param>
  830. </entry>
  831. <entry value="30" name="MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT" hasLocation="false" isDestination="true">
  832. <description>Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached.</description>
  833. <param index="1" label="Action" minValue="0" maxValue="2" increment="1">Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.</param>
  834. <param index="2">Empty</param>
  835. <param index="3">Empty</param>
  836. <param index="4">Empty</param>
  837. <param index="5">Empty</param>
  838. <param index="6">Empty</param>
  839. <param index="7" label="Altitude" units="m">Desired altitude</param>
  840. </entry>
  841. <entry value="31" name="MAV_CMD_NAV_LOITER_TO_ALT" hasLocation="true" isDestination="true">
  842. <description>Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint.</description>
  843. <param index="1" label="Heading Required" minValue="0" maxValue="1" increment="1">Heading Required (0 = False)</param>
  844. <param index="2" label="Radius" units="m">Radius. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.</param>
  845. <param index="3">Empty</param>
  846. <param index="4" label="Xtrack Location" minValue="0" maxValue="1" increment="1">Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location</param>
  847. <param index="5">Latitude</param>
  848. <param index="6">Longitude</param>
  849. <param index="7">Altitude</param>
  850. </entry>
  851. <entry value="32" name="MAV_CMD_DO_FOLLOW" hasLocation="false" isDestination="false">
  852. <description>Being following a target</description>
  853. <param index="1" label="System ID" minValue="0" maxValue="255" increment="1">System ID (of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode.</param>
  854. <param index="2">RESERVED</param>
  855. <param index="3">RESERVED</param>
  856. <param index="4" label="Altitude Mode" minValue="0" maxValue="2" increment="1">Altitude mode: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home.</param>
  857. <param index="5" label="Altitude">Altitude above home. (used if mode=2)</param>
  858. <param index="6">RESERVED</param>
  859. <param index="7" label="Time to Land" units="s" minValue="0">Time to land in which the MAV should go to the default position hold mode after a message RX timeout.</param>
  860. </entry>
  861. <entry value="33" name="MAV_CMD_DO_FOLLOW_REPOSITION" hasLocation="false" isDestination="false">
  862. <description>Reposition the MAV after a follow target command has been sent</description>
  863. <param index="1" label="Camera Q1">Camera q1 (where 0 is on the ray from the camera to the tracking device)</param>
  864. <param index="2" label="Camera Q2">Camera q2</param>
  865. <param index="3" label="Camera Q3">Camera q3</param>
  866. <param index="4" label="Camera Q4">Camera q4</param>
  867. <param index="5" label="Altitude Offset" units="m">altitude offset from target</param>
  868. <param index="6" label="X Offset" units="m">X offset from target</param>
  869. <param index="7" label="Y Offset" units="m">Y offset from target</param>
  870. </entry>
  871. <entry value="80" name="MAV_CMD_NAV_ROI" hasLocation="true" isDestination="false">
  872. <deprecated since="2018-01" replaced_by="MAV_CMD_DO_SET_ROI_*"/>
  873. <description>Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras.</description>
  874. <param index="1" label="ROI Mode" enum="MAV_ROI">Region of interest mode.</param>
  875. <param index="2" label="WP Index" minValue="0" increment="1">Waypoint index/ target ID. (see MAV_ROI enum)</param>
  876. <param index="3" label="ROI Index" minValue="0" increment="1">ROI index (allows a vehicle to manage multiple ROI's)</param>
  877. <param index="4">Empty</param>
  878. <param index="5" label="X">x the location of the fixed ROI (see MAV_FRAME)</param>
  879. <param index="6" label="Y">y</param>
  880. <param index="7" label="Z">z</param>
  881. </entry>
  882. <entry value="81" name="MAV_CMD_NAV_PATHPLANNING" hasLocation="true" isDestination="true">
  883. <description>Control autonomous path planning on the MAV.</description>
  884. <param index="1" label="Local Ctrl" minValue="0" maxValue="2" increment="1">0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning</param>
  885. <param index="2" label="Global Ctrl" minValue="0" maxValue="3" increment="1">0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid</param>
  886. <param index="3">Empty</param>
  887. <param index="4" label="Yaw" units="deg" minValue="0" maxValue="360">Yaw angle at goal</param>
  888. <param index="5">Latitude/X of goal</param>
  889. <param index="6">Longitude/Y of goal</param>
  890. <param index="7">Altitude/Z of goal</param>
  891. </entry>
  892. <entry value="82" name="MAV_CMD_NAV_SPLINE_WAYPOINT" hasLocation="true" isDestination="true">
  893. <description>Navigate to waypoint using a spline path.</description>
  894. <param index="1" label="Hold" units="s" minValue="0">Hold time. (ignored by fixed wing, time to stay at waypoint for rotary wing)</param>
  895. <param index="2">Empty</param>
  896. <param index="3">Empty</param>
  897. <param index="4">Empty</param>
  898. <param index="5">Latitude/X of goal</param>
  899. <param index="6">Longitude/Y of goal</param>
  900. <param index="7">Altitude/Z of goal</param>
  901. </entry>
  902. <entry value="84" name="MAV_CMD_NAV_VTOL_TAKEOFF" hasLocation="true" isDestination="true">
  903. <description>Takeoff from ground using VTOL mode, and transition to forward flight with specified heading.</description>
  904. <param index="1">Empty</param>
  905. <param index="2" label="Transition Heading" enum="VTOL_TRANSITION_HEADING">Front transition heading.</param>
  906. <param index="3">Empty</param>
  907. <param index="4" label="Yaw Angle" units="deg">Yaw angle. NaN for unchanged.</param>
  908. <param index="5">Latitude</param>
  909. <param index="6">Longitude</param>
  910. <param index="7">Altitude</param>
  911. </entry>
  912. <entry value="85" name="MAV_CMD_NAV_VTOL_LAND" hasLocation="true" isDestination="true">
  913. <description>Land using VTOL mode</description>
  914. <param index="1">Empty</param>
  915. <param index="2">Empty</param>
  916. <param index="3" label="Altitude">Approach altitude (with the same reference as the Altitude field). NaN if unspecified.</param>
  917. <param index="4" label="Yaw" units="deg">Yaw angle. NaN for unchanged.</param>
  918. <param index="5">Latitude</param>
  919. <param index="6">Longitude</param>
  920. <param index="7">Altitude (ground level)</param>
  921. </entry>
  922. <!-- IDs 90 and 91 are reserved until the end of 2014,
  923. as they were used in some conflicting proposals
  924. between PX4 and ArduPilot and need to be kept
  925. unused to prevent errors -->
  926. <entry value="92" name="MAV_CMD_NAV_GUIDED_ENABLE" hasLocation="false" isDestination="false">
  927. <description>hand control over to an external controller</description>
  928. <param index="1" label="Enable" minValue="0" maxValue="1" increment="1">On / Off (&gt; 0.5f on)</param>
  929. <param index="2">Empty</param>
  930. <param index="3">Empty</param>
  931. <param index="4">Empty</param>
  932. <param index="5">Empty</param>
  933. <param index="6">Empty</param>
  934. <param index="7">Empty</param>
  935. </entry>
  936. <entry value="93" name="MAV_CMD_NAV_DELAY" hasLocation="false" isDestination="false">
  937. <description>Delay the next navigation command a number of seconds or until a specified time</description>
  938. <param index="1" label="Delay" units="s" minValue="-1" increment="1">Delay (-1 to enable time-of-day fields)</param>
  939. <param index="2" label="Hour" minValue="-1" maxValue="23" increment="1">hour (24h format, UTC, -1 to ignore)</param>
  940. <param index="3" label="Minute" minValue="-1" maxValue="59" increment="1">minute (24h format, UTC, -1 to ignore)</param>
  941. <param index="4" label="Second" minValue="-1" maxValue="59" increment="1">second (24h format, UTC)</param>
  942. <param index="5">Empty</param>
  943. <param index="6">Empty</param>
  944. <param index="7">Empty</param>
  945. </entry>
  946. <entry value="94" name="MAV_CMD_NAV_PAYLOAD_PLACE" hasLocation="true" isDestination="true">
  947. <description>Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload.</description>
  948. <param index="1" label="Max Descent" units="m" minValue="0">Maximum distance to descend.</param>
  949. <param index="2">Empty</param>
  950. <param index="3">Empty</param>
  951. <param index="4">Empty</param>
  952. <param index="5">Latitude</param>
  953. <param index="6">Longitude</param>
  954. <param index="7">Altitude</param>
  955. </entry>
  956. <entry value="95" name="MAV_CMD_NAV_LAST" hasLocation="false" isDestination="false">
  957. <description>NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration</description>
  958. <param index="1">Empty</param>
  959. <param index="2">Empty</param>
  960. <param index="3">Empty</param>
  961. <param index="4">Empty</param>
  962. <param index="5">Empty</param>
  963. <param index="6">Empty</param>
  964. <param index="7">Empty</param>
  965. </entry>
  966. <entry value="112" name="MAV_CMD_CONDITION_DELAY" hasLocation="false" isDestination="false">
  967. <description>Delay mission state machine.</description>
  968. <param index="1" label="Delay" units="s" minValue="0">Delay</param>
  969. <param index="2">Empty</param>
  970. <param index="3">Empty</param>
  971. <param index="4">Empty</param>
  972. <param index="5">Empty</param>
  973. <param index="6">Empty</param>
  974. <param index="7">Empty</param>
  975. </entry>
  976. <entry value="113" name="MAV_CMD_CONDITION_CHANGE_ALT" hasLocation="false" isDestination="true">
  977. <description>Ascend/descend at rate. Delay mission state machine until desired altitude reached.</description>
  978. <param index="1" label="Rate" units="m/s">Descent / Ascend rate.</param>
  979. <param index="2">Empty</param>
  980. <param index="3">Empty</param>
  981. <param index="4">Empty</param>
  982. <param index="5">Empty</param>
  983. <param index="6">Empty</param>
  984. <param index="7">Finish Altitude</param>
  985. </entry>
  986. <entry value="114" name="MAV_CMD_CONDITION_DISTANCE" hasLocation="false" isDestination="false">
  987. <description>Delay mission state machine until within desired distance of next NAV point.</description>
  988. <param index="1" label="Distance" units="m" minValue="0">Distance.</param>
  989. <param index="2">Empty</param>
  990. <param index="3">Empty</param>
  991. <param index="4">Empty</param>
  992. <param index="5">Empty</param>
  993. <param index="6">Empty</param>
  994. <param index="7">Empty</param>
  995. </entry>
  996. <entry value="115" name="MAV_CMD_CONDITION_YAW" hasLocation="false" isDestination="false">
  997. <description>Reach a certain target angle.</description>
  998. <param index="1" label="Angle" units="deg" minValue="0" maxValue="360">target angle, 0 is north</param>
  999. <param index="2" label="Angular Speed" units="deg/s">angular speed</param>
  1000. <param index="3" label="Direction" minValue="-1" maxValue="1" increment="2">direction: -1: counter clockwise, 1: clockwise</param>
  1001. <param index="4" label="Relative" minValue="0" maxValue="1" increment="1">0: absolute angle, 1: relative offset</param>
  1002. <param index="5">Empty</param>
  1003. <param index="6">Empty</param>
  1004. <param index="7">Empty</param>
  1005. </entry>
  1006. <entry value="159" name="MAV_CMD_CONDITION_LAST" hasLocation="false" isDestination="false">
  1007. <description>NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration</description>
  1008. <param index="1">Empty</param>
  1009. <param index="2">Empty</param>
  1010. <param index="3">Empty</param>
  1011. <param index="4">Empty</param>
  1012. <param index="5">Empty</param>
  1013. <param index="6">Empty</param>
  1014. <param index="7">Empty</param>
  1015. </entry>
  1016. <entry value="176" name="MAV_CMD_DO_SET_MODE" hasLocation="false" isDestination="false">
  1017. <description>Set system mode.</description>
  1018. <param index="1" label="Mode" enum="MAV_MODE">Mode</param>
  1019. <param index="2" label="Custom Mode">Custom mode - this is system specific, please refer to the individual autopilot specifications for details.</param>
  1020. <param index="3" label="Custom Submode">Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.</param>
  1021. <param index="4">Empty</param>
  1022. <param index="5">Empty</param>
  1023. <param index="6">Empty</param>
  1024. <param index="7">Empty</param>
  1025. </entry>
  1026. <entry value="177" name="MAV_CMD_DO_JUMP" hasLocation="false" isDestination="false">
  1027. <description>Jump to the desired command in the mission list. Repeat this action only the specified number of times</description>
  1028. <param index="1" label="Number" minValue="0" increment="1">Sequence number</param>
  1029. <param index="2" label="Repeat" minValue="0" increment="1">Repeat count</param>
  1030. <param index="3">Empty</param>
  1031. <param index="4">Empty</param>
  1032. <param index="5">Empty</param>
  1033. <param index="6">Empty</param>
  1034. <param index="7">Empty</param>
  1035. </entry>
  1036. <entry value="178" name="MAV_CMD_DO_CHANGE_SPEED" hasLocation="false" isDestination="false">
  1037. <description>Change speed and/or throttle set points.</description>
  1038. <param index="1" label="Speed Type" minValue="0" maxValue="3" increment="1">Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)</param>
  1039. <param index="2" label="Speed" units="m/s" minValue="-1">Speed (-1 indicates no change)</param>
  1040. <param index="3" label="Throttle" units="%" minValue="-1">Throttle (-1 indicates no change)</param>
  1041. <param index="4" label="Relative" minValue="0" maxValue="1" increment="1">0: absolute, 1: relative</param>
  1042. <param index="5">Empty</param>
  1043. <param index="6">Empty</param>
  1044. <param index="7">Empty</param>
  1045. </entry>
  1046. <entry value="179" name="MAV_CMD_DO_SET_HOME" hasLocation="true" isDestination="false">
  1047. <description>Changes the home location either to the current location or a specified location.</description>
  1048. <param index="1" label="Use Current" minValue="0" maxValue="1" increment="1">Use current (1=use current location, 0=use specified location)</param>
  1049. <param index="2">Empty</param>
  1050. <param index="3">Empty</param>
  1051. <param index="4">Empty</param>
  1052. <param index="5">Latitude</param>
  1053. <param index="6">Longitude</param>
  1054. <param index="7">Altitude</param>
  1055. </entry>
  1056. <entry value="180" name="MAV_CMD_DO_SET_PARAMETER" hasLocation="false" isDestination="false">
  1057. <description>Set a system parameter. Caution! Use of this command requires knowledge of the numeric enumeration value of the parameter.</description>
  1058. <param index="1" label="Number" minValue="0" increment="1">Parameter number</param>
  1059. <param index="2" label="Value">Parameter value</param>
  1060. <param index="3">Empty</param>
  1061. <param index="4">Empty</param>
  1062. <param index="5">Empty</param>
  1063. <param index="6">Empty</param>
  1064. <param index="7">Empty</param>
  1065. </entry>
  1066. <entry value="181" name="MAV_CMD_DO_SET_RELAY" hasLocation="false" isDestination="false">
  1067. <description>Set a relay to a condition.</description>
  1068. <param index="1" label="Instance" minValue="0" increment="1">Relay instance number.</param>
  1069. <param index="2" label="Setting" minValue="0" increment="1">Setting. (1=on, 0=off, others possible depending on system hardware)</param>
  1070. <param index="3">Empty</param>
  1071. <param index="4">Empty</param>
  1072. <param index="5">Empty</param>
  1073. <param index="6">Empty</param>
  1074. <param index="7">Empty</param>
  1075. </entry>
  1076. <entry value="182" name="MAV_CMD_DO_REPEAT_RELAY" hasLocation="false" isDestination="false">
  1077. <description>Cycle a relay on and off for a desired number of cycles with a desired period.</description>
  1078. <param index="1" label="Instance" minValue="0" increment="1">Relay instance number.</param>
  1079. <param index="2" label="Count" minValue="1" increment="1">Cycle count.</param>
  1080. <param index="3" label="Time" units="s" minValue="0">Cycle time.</param>
  1081. <param index="4">Empty</param>
  1082. <param index="5">Empty</param>
  1083. <param index="6">Empty</param>
  1084. <param index="7">Empty</param>
  1085. </entry>
  1086. <entry value="183" name="MAV_CMD_DO_SET_SERVO" hasLocation="false" isDestination="false">
  1087. <description>Set a servo to a desired PWM value.</description>
  1088. <param index="1" label="Instance" minValue="0" increment="1">Servo instance number.</param>
  1089. <param index="2" label="PWM" units="us" minValue="0" increment="1">Pulse Width Modulation.</param>
  1090. <param index="3">Empty</param>
  1091. <param index="4">Empty</param>
  1092. <param index="5">Empty</param>
  1093. <param index="6">Empty</param>
  1094. <param index="7">Empty</param>
  1095. </entry>
  1096. <entry value="184" name="MAV_CMD_DO_REPEAT_SERVO" hasLocation="false" isDestination="false">
  1097. <description>Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period.</description>
  1098. <param index="1" label="Instance" minValue="0" increment="1">Servo instance number.</param>
  1099. <param index="2" label="PWM" units="us" minValue="0" increment="1">Pulse Width Modulation.</param>
  1100. <param index="3" label="Count" minValue="1" increment="1">Cycle count.</param>
  1101. <param index="4" label="Time" units="s" minValue="0">Cycle time.</param>
  1102. <param index="5">Empty</param>
  1103. <param index="6">Empty</param>
  1104. <param index="7">Empty</param>
  1105. </entry>
  1106. <entry value="185" name="MAV_CMD_DO_FLIGHTTERMINATION" hasLocation="false" isDestination="false">
  1107. <description>Terminate flight immediately</description>
  1108. <param index="1" label="Terminate" minValue="0" maxValue="1" increment="1">Flight termination activated if &gt; 0.5</param>
  1109. <param index="2">Empty</param>
  1110. <param index="3">Empty</param>
  1111. <param index="4">Empty</param>
  1112. <param index="5">Empty</param>
  1113. <param index="6">Empty</param>
  1114. <param index="7">Empty</param>
  1115. </entry>
  1116. <entry value="186" name="MAV_CMD_DO_CHANGE_ALTITUDE" hasLocation="false" isDestination="false">
  1117. <description>Change altitude set point.</description>
  1118. <param index="1" label="Altitude" units="m">Altitude.</param>
  1119. <param index="2" label="Frame" enum="MAV_FRAME">Frame of new altitude.</param>
  1120. <param index="3">Empty</param>
  1121. <param index="4">Empty</param>
  1122. <param index="5">Empty</param>
  1123. <param index="6">Empty</param>
  1124. <param index="7">Empty</param>
  1125. </entry>
  1126. <entry value="189" name="MAV_CMD_DO_LAND_START" hasLocation="true" isDestination="false">
  1127. <description>Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence.</description>
  1128. <param index="1">Empty</param>
  1129. <param index="2">Empty</param>
  1130. <param index="3">Empty</param>
  1131. <param index="4">Empty</param>
  1132. <param index="5">Latitude</param>
  1133. <param index="6">Longitude</param>
  1134. <param index="7">Empty</param>
  1135. </entry>
  1136. <entry value="190" name="MAV_CMD_DO_RALLY_LAND" hasLocation="false" isDestination="false">
  1137. <description>Mission command to perform a landing from a rally point.</description>
  1138. <param index="1" label="Altitude" units="m">Break altitude</param>
  1139. <param index="2" label="Speed" units="m/s">Landing speed</param>
  1140. <param index="3">Empty</param>
  1141. <param index="4">Empty</param>
  1142. <param index="5">Empty</param>
  1143. <param index="6">Empty</param>
  1144. <param index="7">Empty</param>
  1145. </entry>
  1146. <entry value="191" name="MAV_CMD_DO_GO_AROUND" hasLocation="false" isDestination="false">
  1147. <description>Mission command to safely abort an autonomous landing.</description>
  1148. <param index="1" label="Altitude" units="m">Altitude</param>
  1149. <param index="2">Empty</param>
  1150. <param index="3">Empty</param>
  1151. <param index="4">Empty</param>
  1152. <param index="5">Empty</param>
  1153. <param index="6">Empty</param>
  1154. <param index="7">Empty</param>
  1155. </entry>
  1156. <entry value="192" name="MAV_CMD_DO_REPOSITION" hasLocation="true" isDestination="true">
  1157. <description>Reposition the vehicle to a specific WGS84 global position.</description>
  1158. <param index="1" label="Speed" units="m/s" minValue="-1">Ground speed, less than 0 (-1) for default</param>
  1159. <param index="2" label="Bitmask" enum="MAV_DO_REPOSITION_FLAGS">Bitmask of option flags.</param>
  1160. <param index="3">Reserved</param>
  1161. <param index="4" label="Yaw">Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)</param>
  1162. <param index="5">Latitude (deg * 1E7)</param>
  1163. <param index="6">Longitude (deg * 1E7)</param>
  1164. <param index="7">Altitude (meters)</param>
  1165. </entry>
  1166. <entry value="193" name="MAV_CMD_DO_PAUSE_CONTINUE" hasLocation="false" isDestination="false">
  1167. <description>If in a GPS controlled position mode, hold the current position or continue.</description>
  1168. <param index="1" label="Continue" minValue="0" maxValue="1" increment="1">0: Pause current mission or reposition command, hold current position. 1: Continue mission. A VTOL capable vehicle should enter hover mode (multicopter and VTOL planes). A plane should loiter with the default loiter radius.</param>
  1169. <param index="2">Reserved</param>
  1170. <param index="3">Reserved</param>
  1171. <param index="4">Reserved</param>
  1172. <param index="5">Reserved</param>
  1173. <param index="6">Reserved</param>
  1174. <param index="7">Reserved</param>
  1175. </entry>
  1176. <entry value="194" name="MAV_CMD_DO_SET_REVERSE" hasLocation="false" isDestination="false">
  1177. <description>Set moving direction to forward or reverse.</description>
  1178. <param index="1" label="Reverse" minValue="0" maxValue="1" increment="1">Direction (0=Forward, 1=Reverse)</param>
  1179. <param index="2">Empty</param>
  1180. <param index="3">Empty</param>
  1181. <param index="4">Empty</param>
  1182. <param index="5">Empty</param>
  1183. <param index="6">Empty</param>
  1184. <param index="7">Empty</param>
  1185. </entry>
  1186. <entry value="195" name="MAV_CMD_DO_SET_ROI_LOCATION" hasLocation="true" isDestination="false">
  1187. <description>Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras.</description>
  1188. <param index="1">Empty</param>
  1189. <param index="2">Empty</param>
  1190. <param index="3">Empty</param>
  1191. <param index="4">Empty</param>
  1192. <param index="5">Latitude</param>
  1193. <param index="6">Longitude</param>
  1194. <param index="7">Altitude</param>
  1195. </entry>
  1196. <entry value="196" name="MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET" hasLocation="false" isDestination="false">
  1197. <description>Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras.</description>
  1198. <param index="1">Empty</param>
  1199. <param index="2">Empty</param>
  1200. <param index="3">Empty</param>
  1201. <param index="4">Empty</param>
  1202. <param index="5" label="Pitch Offset">pitch offset from next waypoint</param>
  1203. <param index="6" label="Roll Offset">roll offset from next waypoint</param>
  1204. <param index="7" label="Yaw Offset">yaw offset from next waypoint</param>
  1205. </entry>
  1206. <entry value="197" name="MAV_CMD_DO_SET_ROI_NONE" hasLocation="false" isDestination="false">
  1207. <description>Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras.</description>
  1208. <param index="1">Empty</param>
  1209. <param index="2">Empty</param>
  1210. <param index="3">Empty</param>
  1211. <param index="4">Empty</param>
  1212. <param index="5">Empty</param>
  1213. <param index="6">Empty</param>
  1214. <param index="7">Empty</param>
  1215. </entry>
  1216. <entry value="200" name="MAV_CMD_DO_CONTROL_VIDEO" hasLocation="false" isDestination="false">
  1217. <description>Control onboard camera system.</description>
  1218. <param index="1" label="ID" minValue="-1" increment="1">Camera ID (-1 for all)</param>
  1219. <param index="2" label="Transmission" minValue="0" maxValue="2" increment="1">Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw</param>
  1220. <param index="3" label="Interval" units="s" minValue="0">Transmission mode: 0: video stream, &gt;0: single images every n seconds</param>
  1221. <param index="4" label="Recording" minValue="0" maxValue="2" increment="1">Recording: 0: disabled, 1: enabled compressed, 2: enabled raw</param>
  1222. <param index="5">Empty</param>
  1223. <param index="6">Empty</param>
  1224. <param index="7">Empty</param>
  1225. </entry>
  1226. <entry value="201" name="MAV_CMD_DO_SET_ROI" hasLocation="true" isDestination="false">
  1227. <deprecated since="2018-01" replaced_by="MAV_CMD_DO_SET_ROI_*"/>
  1228. <description>Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras.</description>
  1229. <param index="1" label="ROI Mode" enum="MAV_ROI">Region of interest mode.</param>
  1230. <param index="2" label="WP Index" minValue="0" increment="1">Waypoint index/ target ID (depends on param 1).</param>
  1231. <param index="3" label="ROI Index" minValue="0" increment="1">Region of interest index. (allows a vehicle to manage multiple ROI's)</param>
  1232. <param index="4">Empty</param>
  1233. <param index="5">x the location of the fixed ROI (see MAV_FRAME)</param>
  1234. <param index="6">y</param>
  1235. <param index="7">z</param>
  1236. </entry>
  1237. <!-- Camera Controller Mission Commands Enumeration -->
  1238. <!-- MAV_CMD_DO_DIGICAM_CONFIGURE should be deprecated and replaced with CAMERA_SETTINGS -->
  1239. <entry value="202" name="MAV_CMD_DO_DIGICAM_CONFIGURE" hasLocation="false" isDestination="false">
  1240. <description>Configure digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ).</description>
  1241. <param index="1" label="Mode" minValue="0" increment="1">Modes: P, TV, AV, M, Etc.</param>
  1242. <param index="2" label="Shutter Speed" minValue="0" increment="1">Shutter speed: Divisor number for one second.</param>
  1243. <param index="3" label="Aperture" minValue="0">Aperture: F stop number.</param>
  1244. <param index="4" label="ISO" minValue="0" increment="1">ISO number e.g. 80, 100, 200, Etc.</param>
  1245. <param index="5" label="Exposure">Exposure type enumerator.</param>
  1246. <param index="6" label="Command Identity">Command Identity.</param>
  1247. <param index="7" label="Engine Cut-off" units="ds" minValue="0" increment="1">Main engine cut-off time before camera trigger. (0 means no cut-off)</param>
  1248. </entry>
  1249. <entry value="203" name="MAV_CMD_DO_DIGICAM_CONTROL" hasLocation="false" isDestination="false">
  1250. <description>Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ).</description>
  1251. <param index="1" label="Session Control">Session control e.g. show/hide lens</param>
  1252. <param index="2" label="Zoom Absolute">Zoom's absolute position</param>
  1253. <param index="3" label="Zoom Relative">Zooming step value to offset zoom from the current position</param>
  1254. <param index="4" label="Focus">Focus Locking, Unlocking or Re-locking</param>
  1255. <param index="5" label="Shoot Command">Shooting Command</param>
  1256. <param index="6" label="Command Identity">Command Identity</param>
  1257. <param index="7" label="Shot ID">Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.</param>
  1258. </entry>
  1259. <!-- Camera Mount Mission Commands Enumeration -->
  1260. <entry value="204" name="MAV_CMD_DO_MOUNT_CONFIGURE" hasLocation="false" isDestination="false">
  1261. <description>Mission command to configure a camera or antenna mount</description>
  1262. <param index="1" label="Mode" enum="MAV_MOUNT_MODE">Mount operation mode</param>
  1263. <param index="2" label="Stabilize Roll" minValue="0" maxValue="1" increment="1">stabilize roll? (1 = yes, 0 = no)</param>
  1264. <param index="3" label="Stabilize Pitch" minValue="0" maxValue="1" increment="1">stabilize pitch? (1 = yes, 0 = no)</param>
  1265. <param index="4" label="Stabilize Yaw" minValue="0" maxValue="1" increment="1">stabilize yaw? (1 = yes, 0 = no)</param>
  1266. <param index="5">Empty</param>
  1267. <param index="6">Empty</param>
  1268. <param index="7">Empty</param>
  1269. </entry>
  1270. <!-- this one is messed up! altitude should be param 7, not param4 -->
  1271. <entry value="205" name="MAV_CMD_DO_MOUNT_CONTROL" hasLocation="false" isDestination="false">
  1272. <description>Mission command to control a camera or antenna mount</description>
  1273. <param index="1">pitch (WIP: DEPRECATED: or lat in degrees) depending on mount mode.</param>
  1274. <param index="2">roll (WIP: DEPRECATED: or lon in degrees) depending on mount mode.</param>
  1275. <param index="3">yaw (WIP: DEPRECATED: or alt in meters) depending on mount mode.</param>
  1276. <param index="4">WIP: alt in meters depending on mount mode.</param>
  1277. <param index="5">WIP: latitude in degrees * 1E7, set if appropriate mount mode.</param>
  1278. <param index="6">WIP: longitude in degrees * 1E7, set if appropriate mount mode.</param>
  1279. <param index="7" label="Mode" enum="MAV_MOUNT_MODE">Mount mode.</param>
  1280. </entry>
  1281. <entry value="206" name="MAV_CMD_DO_SET_CAM_TRIGG_DIST" hasLocation="false" isDestination="false">
  1282. <description>Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera.</description>
  1283. <param index="1" label="Distance" units="m" minValue="0">Camera trigger distance. 0 to stop triggering.</param>
  1284. <param index="2" label="Shutter" units="ms" minValue="-1" increment="1">Camera shutter integration time. -1 or 0 to ignore</param>
  1285. <param index="3" label="Trigger" minValue="0" maxValue="1" increment="1">Trigger camera once immediately. (0 = no trigger, 1 = trigger)</param>
  1286. <param index="4">Empty</param>
  1287. <param index="5">Empty</param>
  1288. <param index="6">Empty</param>
  1289. <param index="7">Empty</param>
  1290. </entry>
  1291. <entry value="207" name="MAV_CMD_DO_FENCE_ENABLE" hasLocation="false" isDestination="false">
  1292. <description>Mission command to enable the geofence</description>
  1293. <param index="1" label="Enable" minValue="0" maxValue="2" increment="1">enable? (0=disable, 1=enable, 2=disable_floor_only)</param>
  1294. <param index="2">Empty</param>
  1295. <param index="3">Empty</param>
  1296. <param index="4">Empty</param>
  1297. <param index="5">Empty</param>
  1298. <param index="6">Empty</param>
  1299. <param index="7">Empty</param>
  1300. </entry>
  1301. <entry value="208" name="MAV_CMD_DO_PARACHUTE" hasLocation="false" isDestination="false">
  1302. <description>Mission command to trigger a parachute</description>
  1303. <param index="1" label="Action" enum="PARACHUTE_ACTION">action</param>
  1304. <param index="2">Empty</param>
  1305. <param index="3">Empty</param>
  1306. <param index="4">Empty</param>
  1307. <param index="5">Empty</param>
  1308. <param index="6">Empty</param>
  1309. <param index="7">Empty</param>
  1310. </entry>
  1311. <entry value="209" name="MAV_CMD_DO_MOTOR_TEST" hasLocation="false" isDestination="false">
  1312. <description>Mission command to perform motor test.</description>
  1313. <param index="1" label="Instance" minValue="1" increment="1">Motor instance number. (from 1 to max number of motors on the vehicle)</param>
  1314. <param index="2" label="Throttle Type" enum="MOTOR_TEST_THROTTLE_TYPE">Throttle type.</param>
  1315. <param index="3" label="Throttle">Throttle.</param>
  1316. <param index="4" label="Timeout" units="s" minValue="0">Timeout.</param>
  1317. <param index="5" label="Motor Count" minValue="0" increment="1">Motor count. (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)</param>
  1318. <param index="6" label="Test Order" enum="MOTOR_TEST_ORDER">Motor test order.</param>
  1319. <param index="7">Empty</param>
  1320. </entry>
  1321. <entry value="210" name="MAV_CMD_DO_INVERTED_FLIGHT" hasLocation="false" isDestination="false">
  1322. <description>Change to/from inverted flight.</description>
  1323. <param index="1" label="Inverted" minValue="0" maxValue="1" increment="1">Inverted flight. (0=normal, 1=inverted)</param>
  1324. <param index="2">Empty</param>
  1325. <param index="3">Empty</param>
  1326. <param index="4">Empty</param>
  1327. <param index="5">Empty</param>
  1328. <param index="6">Empty</param>
  1329. <param index="7">Empty</param>
  1330. </entry>
  1331. <!-- 211 and 212 used in dialects -->
  1332. <entry value="213" name="MAV_CMD_NAV_SET_YAW_SPEED" hasLocation="false" isDestination="false">
  1333. <description>Sets a desired vehicle turn angle and speed change.</description>
  1334. <param index="1" label="Yaw" units="deg">Yaw angle to adjust steering by.</param>
  1335. <param index="2" label="Speed" units="m/s">Speed.</param>
  1336. <param index="3" label="Angle" minValue="0" maxValue="1" increment="1">Final angle. (0=absolute, 1=relative)</param>
  1337. <param index="4">Empty</param>
  1338. <param index="5">Empty</param>
  1339. <param index="6">Empty</param>
  1340. <param index="7">Empty</param>
  1341. </entry>
  1342. <entry value="214" name="MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL" hasLocation="false" isDestination="false">
  1343. <description>Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera.</description>
  1344. <param index="1" label="Trigger Cycle" units="ms" minValue="-1" increment="1">Camera trigger cycle time. -1 or 0 to ignore.</param>
  1345. <param index="2" label="Shutter Integration" units="ms" minValue="-1" increment="1">Camera shutter integration time. Should be less than trigger cycle time. -1 or 0 to ignore.</param>
  1346. <param index="3">Empty</param>
  1347. <param index="4">Empty</param>
  1348. <param index="5">Empty</param>
  1349. <param index="6">Empty</param>
  1350. <param index="7">Empty</param>
  1351. </entry>
  1352. <entry value="220" name="MAV_CMD_DO_MOUNT_CONTROL_QUAT" hasLocation="false" isDestination="false">
  1353. <description>Mission command to control a camera or antenna mount, using a quaternion as reference.</description>
  1354. <param index="1" label="Q1">quaternion param q1, w (1 in null-rotation)</param>
  1355. <param index="2" label="Q2">quaternion param q2, x (0 in null-rotation)</param>
  1356. <param index="3" label="Q3">quaternion param q3, y (0 in null-rotation)</param>
  1357. <param index="4" label="Q4">quaternion param q4, z (0 in null-rotation)</param>
  1358. <param index="5">Empty</param>
  1359. <param index="6">Empty</param>
  1360. <param index="7">Empty</param>
  1361. </entry>
  1362. <entry value="221" name="MAV_CMD_DO_GUIDED_MASTER" hasLocation="false" isDestination="false">
  1363. <description>set id of master controller</description>
  1364. <param index="1" label="System ID" minValue="0" maxValue="255" increment="1">System ID</param>
  1365. <param index="2" label="Component ID" minValue="0" maxValue="255" increment="1">Component ID</param>
  1366. <param index="3">Empty</param>
  1367. <param index="4">Empty</param>
  1368. <param index="5">Empty</param>
  1369. <param index="6">Empty</param>
  1370. <param index="7">Empty</param>
  1371. </entry>
  1372. <entry value="222" name="MAV_CMD_DO_GUIDED_LIMITS" hasLocation="false" isDestination="false">
  1373. <description>Set limits for external control</description>
  1374. <param index="1" label="Timeout" units="s" minValue="0">Timeout - maximum time that external controller will be allowed to control vehicle. 0 means no timeout.</param>
  1375. <param index="2" label="Min Altitude" units="m">Altitude (MSL) min - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.</param>
  1376. <param index="3" label="Max Altitude" units="m">Altitude (MSL) max - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.</param>
  1377. <param index="4" label="Horiz. Move Limit" units="m" minValue="0">Horizontal move limit - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.</param>
  1378. <param index="5">Empty</param>
  1379. <param index="6">Empty</param>
  1380. <param index="7">Empty</param>
  1381. </entry>
  1382. <entry value="223" name="MAV_CMD_DO_ENGINE_CONTROL" hasLocation="false" isDestination="false">
  1383. <description>Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines</description>
  1384. <param index="1" label="Start Engine" minValue="0" maxValue="1" increment="1">0: Stop engine, 1:Start Engine</param>
  1385. <param index="2" label="Cold Start" minValue="0" maxValue="1" increment="1">0: Warm start, 1:Cold start. Controls use of choke where applicable</param>
  1386. <param index="3" label="Height Delay" units="m" minValue="0">Height delay. This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.</param>
  1387. <param index="4">Empty</param>
  1388. <param index="5">Empty</param>
  1389. <param index="5">Empty</param>
  1390. <param index="6">Empty</param>
  1391. <param index="7">Empty</param>
  1392. </entry>
  1393. <entry value="224" name="MAV_CMD_DO_SET_MISSION_CURRENT" hasLocation="false" isDestination="false">
  1394. <description>Set the mission item with sequence number seq as current item. This means that the MAV will continue to this mission item on the shortest path (not following the mission items in-between).</description>
  1395. <param index="1" label="Number" minValue="0" increment="1">Mission sequence value to set</param>
  1396. <param index="2">Empty</param>
  1397. <param index="3">Empty</param>
  1398. <param index="4">Empty</param>
  1399. <param index="5">Empty</param>
  1400. <param index="5">Empty</param>
  1401. <param index="6">Empty</param>
  1402. <param index="7">Empty</param>
  1403. </entry>
  1404. <entry value="240" name="MAV_CMD_DO_LAST" hasLocation="false" isDestination="false">
  1405. <description>NOP - This command is only used to mark the upper limit of the DO commands in the enumeration</description>
  1406. <param index="1">Empty</param>
  1407. <param index="2">Empty</param>
  1408. <param index="3">Empty</param>
  1409. <param index="4">Empty</param>
  1410. <param index="5">Empty</param>
  1411. <param index="6">Empty</param>
  1412. <param index="7">Empty</param>
  1413. </entry>
  1414. <entry value="241" name="MAV_CMD_PREFLIGHT_CALIBRATION" hasLocation="false" isDestination="false">
  1415. <description>Trigger calibration. This command will be only accepted if in pre-flight mode. Except for Temperature Calibration, only one sensor should be set in a single message and all others should be zero.</description>
  1416. <param index="1" label="Gyro Temperature" minValue="0" maxValue="3" increment="1">1: gyro calibration, 3: gyro temperature calibration</param>
  1417. <param index="2" label="Magnetometer" minValue="0" maxValue="1" increment="1">1: magnetometer calibration</param>
  1418. <param index="3" label="Ground Pressure" minValue="0" maxValue="1" increment="1">1: ground pressure calibration</param>
  1419. <param index="4" label="Remote Control" minValue="0" maxValue="1" increment="1">1: radio RC calibration, 2: RC trim calibration</param>
  1420. <param index="5" label="Accelerometer" minValue="0" maxValue="4" increment="1">1: accelerometer calibration, 2: board level calibration, 3: accelerometer temperature calibration, 4: simple accelerometer calibration</param>
  1421. <param index="6" label="Compmot or Airspeed" minValue="0" maxValue="2" increment="1">1: APM: compass/motor interference calibration (PX4: airspeed calibration, deprecated), 2: airspeed calibration</param>
  1422. <param index="7" label="ESC or Baro" minValue="0" maxValue="3" increment="1">1: ESC calibration, 3: barometer temperature calibration</param>
  1423. </entry>
  1424. <entry value="242" name="MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS" hasLocation="false" isDestination="false">
  1425. <description>Set sensor offsets. This command will be only accepted if in pre-flight mode.</description>
  1426. <param index="1" label="Sensor Type" minValue="0" maxValue="6" increment="1">Sensor to adjust the offsets for: 0: gyros, 1: accelerometer, 2: magnetometer, 3: barometer, 4: optical flow, 5: second magnetometer, 6: third magnetometer</param>
  1427. <param index="2" label="X Offset">X axis offset (or generic dimension 1), in the sensor's raw units</param>
  1428. <param index="3" label="Y Offset">Y axis offset (or generic dimension 2), in the sensor's raw units</param>
  1429. <param index="4" label="Z Offset">Z axis offset (or generic dimension 3), in the sensor's raw units</param>
  1430. <param index="5" label="4th Dimension">Generic dimension 4, in the sensor's raw units</param>
  1431. <param index="6" label="5th Dimension">Generic dimension 5, in the sensor's raw units</param>
  1432. <param index="7" label="6th Dimension">Generic dimension 6, in the sensor's raw units</param>
  1433. </entry>
  1434. <entry value="243" name="MAV_CMD_PREFLIGHT_UAVCAN" hasLocation="false" isDestination="false">
  1435. <description>Trigger UAVCAN config. This command will be only accepted if in pre-flight mode.</description>
  1436. <param index="1" label="Actuator ID">1: Trigger actuator ID assignment and direction mapping.</param>
  1437. <param index="2">Reserved</param>
  1438. <param index="3">Reserved</param>
  1439. <param index="4">Reserved</param>
  1440. <param index="5">Reserved</param>
  1441. <param index="6">Reserved</param>
  1442. <param index="7">Reserved</param>
  1443. </entry>
  1444. <entry value="245" name="MAV_CMD_PREFLIGHT_STORAGE" hasLocation="false" isDestination="false">
  1445. <description>Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode.</description>
  1446. <param index="1" label="Parameter Storage" minValue="0" maxValue="2" increment="1">Parameter storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM, 2: Reset to defaults</param>
  1447. <param index="2" label="Mission Storage" minValue="0" maxValue="2" increment="1">Mission storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM, 2: Reset to defaults</param>
  1448. <param index="3" label="Logging Rate" units="Hz" minValue="-1" increment="1">Onboard logging: 0: Ignore, 1: Start default rate logging, -1: Stop logging, &gt; 1: logging rate (e.g. set to 1000 for 1000 Hz logging)</param>
  1449. <param index="4">Reserved</param>
  1450. <param index="5">Empty</param>
  1451. <param index="6">Empty</param>
  1452. <param index="7">Empty</param>
  1453. </entry>
  1454. <entry value="246" name="MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN" hasLocation="false" isDestination="false">
  1455. <description>Request the reboot or shutdown of system components.</description>
  1456. <param index="1" label="Autopilot" minValue="0" maxValue="3" increment="1">0: Do nothing for autopilot, 1: Reboot autopilot, 2: Shutdown autopilot, 3: Reboot autopilot and keep it in the bootloader until upgraded.</param>
  1457. <param index="2" label="Companion" minValue="0" maxValue="3" increment="1">0: Do nothing for onboard computer, 1: Reboot onboard computer, 2: Shutdown onboard computer, 3: Reboot onboard computer and keep it in the bootloader until upgraded.</param>
  1458. <param index="3">WIP: 0: Do nothing for camera, 1: Reboot onboard camera, 2: Shutdown onboard camera, 3: Reboot onboard camera and keep it in the bootloader until upgraded</param>
  1459. <param index="4">WIP: 0: Do nothing for mount (e.g. gimbal), 1: Reboot mount, 2: Shutdown mount, 3: Reboot mount and keep it in the bootloader until upgraded</param>
  1460. <param index="5">Reserved, send 0</param>
  1461. <param index="6">Reserved, send 0</param>
  1462. <param index="7">WIP: ID (e.g. camera ID -1 for all IDs)</param>
  1463. </entry>
  1464. <entry value="252" name="MAV_CMD_OVERRIDE_GOTO" hasLocation="true" isDestination="true">
  1465. <description>Override current mission with command to pause mission, pause mission and move to position, continue/resume mission. When param 1 indicates that the mission is paused (MAV_GOTO_DO_HOLD), param 2 defines whether it holds in place or moves to another position.</description>
  1466. <param index="1" label="Continue" enum="MAV_GOTO">MAV_GOTO_DO_HOLD: pause mission and either hold or move to specified position (depending on param2), MAV_GOTO_DO_CONTINUE: resume mission.</param>
  1467. <param index="2" label="Position" enum="MAV_GOTO">MAV_GOTO_HOLD_AT_CURRENT_POSITION: hold at current position, MAV_GOTO_HOLD_AT_SPECIFIED_POSITION: hold at specified position.</param>
  1468. <param index="3" label="Frame" enum="MAV_FRAME">Coordinate frame of hold point.</param>
  1469. <param index="4" label="Yaw" units="deg">Desired yaw angle.</param>
  1470. <param index="5">Latitude / X position.</param>
  1471. <param index="6">Longitude / Y position.</param>
  1472. <param index="7">Altitude / Z position.</param>
  1473. </entry>
  1474. <entry value="300" name="MAV_CMD_MISSION_START" hasLocation="false" isDestination="false">
  1475. <description>start running a mission</description>
  1476. <param index="1" label="First Item" minValue="0" increment="1">first_item: the first mission item to run</param>
  1477. <param index="2" label="Last Item" minValue="0" increment="1">last_item: the last mission item to run (after this item is run, the mission ends)</param>
  1478. </entry>
  1479. <entry value="400" name="MAV_CMD_COMPONENT_ARM_DISARM" hasLocation="false" isDestination="false">
  1480. <description>Arms / Disarms a component</description>
  1481. <param index="1" label="Arm" minValue="0" maxValue="1" increment="1">0: disarm, 1: arm</param>
  1482. </entry>
  1483. <entry value="410" name="MAV_CMD_GET_HOME_POSITION" hasLocation="false" isDestination="false">
  1484. <description>Request the home position from the vehicle.</description>
  1485. <param index="1">Reserved</param>
  1486. <param index="2">Reserved</param>
  1487. <param index="3">Reserved</param>
  1488. <param index="4">Reserved</param>
  1489. <param index="5">Reserved</param>
  1490. <param index="6">Reserved</param>
  1491. <param index="7">Reserved</param>
  1492. </entry>
  1493. <entry value="500" name="MAV_CMD_START_RX_PAIR" hasLocation="false" isDestination="false">
  1494. <description>Starts receiver pairing.</description>
  1495. <param index="1" label="Spektrum">0:Spektrum.</param>
  1496. <param index="2" label="RC Type" enum="RC_TYPE">RC type.</param>
  1497. </entry>
  1498. <entry value="510" name="MAV_CMD_GET_MESSAGE_INTERVAL" hasLocation="false" isDestination="false">
  1499. <description>Request the interval between messages for a particular MAVLink message ID</description>
  1500. <param index="1" label="Message ID" minValue="0" maxValue="16777215" increment="1">The MAVLink message ID</param>
  1501. </entry>
  1502. <entry value="511" name="MAV_CMD_SET_MESSAGE_INTERVAL" hasLocation="false" isDestination="false">
  1503. <description>Set the interval between messages for a particular MAVLink message ID. This interface replaces REQUEST_DATA_STREAM</description>
  1504. <param index="1" label="Message ID" minValue="0" maxValue="16777215" increment="1">The MAVLink message ID</param>
  1505. <param index="2" label="Interval" units="us" minValue="-1" increment="1">The interval between two messages. Set to -1 to disable and 0 to request default rate.</param>
  1506. </entry>
  1507. <entry value="512" name="MAV_CMD_REQUEST_MESSAGE" hasLocation="false" isDestination="false">
  1508. <description>Request the target system(s) emit a single instance of a specified message (i.e. a "one-shot" version of MAV_CMD_SET_MESSAGE_INTERVAL).</description>
  1509. <param index="1" label="Message ID" minValue="0" maxValue="16777215" increment="1">The MAVLink message ID of the requested message.</param>
  1510. <param index="2" label="Index ID" minValue="0" increment="1">Index id (if appropriate). The use of this parameter (if any), must be defined in the requested message.</param>
  1511. </entry>
  1512. <entry value="520" name="MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES" hasLocation="false" isDestination="false">
  1513. <description>Request autopilot capabilities</description>
  1514. <param index="1" label="Version">1: Request autopilot version</param>
  1515. <param index="2">Reserved (all remaining params)</param>
  1516. </entry>
  1517. <entry value="521" name="MAV_CMD_REQUEST_CAMERA_INFORMATION" hasLocation="false" isDestination="false">
  1518. <description>Request camera information (CAMERA_INFORMATION).</description>
  1519. <param index="1" label="Capabilities" minValue="0" maxValue="1" increment="1">0: No action 1: Request camera capabilities</param>
  1520. <param index="2">Reserved (all remaining params)</param>
  1521. </entry>
  1522. <entry value="522" name="MAV_CMD_REQUEST_CAMERA_SETTINGS" hasLocation="false" isDestination="false">
  1523. <description>Request camera settings (CAMERA_SETTINGS).</description>
  1524. <param index="1" label="Settings" minValue="0" maxValue="1" increment="1">0: No Action 1: Request camera settings</param>
  1525. <param index="2">Reserved (all remaining params)</param>
  1526. </entry>
  1527. <entry value="525" name="MAV_CMD_REQUEST_STORAGE_INFORMATION" hasLocation="false" isDestination="false">
  1528. <description>Request storage information (STORAGE_INFORMATION). Use the command's target_component to target a specific component's storage.</description>
  1529. <param index="1" label="Storage ID" minValue="0" increment="1">Storage ID (0 for all, 1 for first, 2 for second, etc.)</param>
  1530. <param index="2" label="Information" minValue="0" maxValue="1" increment="1">0: No Action 1: Request storage information</param>
  1531. <param index="3">Reserved (all remaining params)</param>
  1532. </entry>
  1533. <entry value="526" name="MAV_CMD_STORAGE_FORMAT" hasLocation="false" isDestination="false">
  1534. <description>Format a storage medium. Once format is complete, a STORAGE_INFORMATION message is sent. Use the command's target_component to target a specific component's storage.</description>
  1535. <param index="1" label="Storage ID" minValue="0" increment="1">Storage ID (1 for first, 2 for second, etc.)</param>
  1536. <param index="2" label="Format" minValue="0" maxValue="1" increment="1">0: No action 1: Format storage</param>
  1537. <param index="3">Reserved (all remaining params)</param>
  1538. </entry>
  1539. <entry value="527" name="MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS" hasLocation="false" isDestination="false">
  1540. <description>Request camera capture status (CAMERA_CAPTURE_STATUS)</description>
  1541. <param index="1" label="Capture Status" minValue="0" maxValue="1" increment="1">0: No Action 1: Request camera capture status</param>
  1542. <param index="2">Reserved (all remaining params)</param>
  1543. </entry>
  1544. <entry value="528" name="MAV_CMD_REQUEST_FLIGHT_INFORMATION" hasLocation="false" isDestination="false">
  1545. <wip/>
  1546. <!-- This message is work-in-progress and it can therefore change. It should NOT be used in stable production environments. -->
  1547. <description>Request flight information (FLIGHT_INFORMATION)</description>
  1548. <param index="1" label="Flight Information" minValue="0" maxValue="1" increment="1">1: Request flight information</param>
  1549. <param index="2">Reserved (all remaining params)</param>
  1550. </entry>
  1551. <entry value="529" name="MAV_CMD_RESET_CAMERA_SETTINGS" hasLocation="false" isDestination="false">
  1552. <description>Reset all camera settings to Factory Default</description>
  1553. <param index="1" label="Reset" minValue="0" maxValue="1" increment="1">0: No Action 1: Reset all settings</param>
  1554. <param index="2">Reserved (all remaining params)</param>
  1555. </entry>
  1556. <entry value="530" name="MAV_CMD_SET_CAMERA_MODE" hasLocation="false" isDestination="false">
  1557. <description>Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming.</description>
  1558. <param index="1">Reserved (Set to 0)</param>
  1559. <param index="2" label="Camera Mode" enum="CAMERA_MODE">Camera mode</param>
  1560. <param index="3">Reserved (all remaining params)</param>
  1561. </entry>
  1562. <entry value="600" name="MAV_CMD_JUMP_TAG" hasLocation="false" isDestination="false">
  1563. <description>Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG.</description>
  1564. <param index="1" label="Tag" minValue="0" increment="1">Tag.</param>
  1565. </entry>
  1566. <entry value="601" name="MAV_CMD_DO_JUMP_TAG" hasLocation="false" isDestination="false">
  1567. <description>Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number.</description>
  1568. <param index="1" label="Tag" minValue="0" increment="1">Target tag to jump to.</param>
  1569. <param index="2" label="Repeat" minValue="0" increment="1">Repeat count.</param>
  1570. </entry>
  1571. <entry value="2000" name="MAV_CMD_IMAGE_START_CAPTURE" hasLocation="false" isDestination="false">
  1572. <description>Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values.</description>
  1573. <param index="1">Reserved (Set to 0)</param>
  1574. <param index="2" label="Interval" units="s" minValue="0">Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).</param>
  1575. <param index="3" label="Capture Count" minValue="0" increment="1">Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.</param>
  1576. <param index="4" label="Sequence Number" minValue="1" increment="1">Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.</param>
  1577. <param index="5">Reserved (all remaining params)</param>
  1578. </entry>
  1579. <entry value="2001" name="MAV_CMD_IMAGE_STOP_CAPTURE" hasLocation="false" isDestination="false">
  1580. <description>Stop image capture sequence Use NaN for reserved values.</description>
  1581. <param index="1">Reserved (Set to 0)</param>
  1582. <param index="2">Reserved (all remaining params)</param>
  1583. </entry>
  1584. <entry value="2003" name="MAV_CMD_DO_TRIGGER_CONTROL" hasLocation="false" isDestination="false">
  1585. <description>Enable or disable on-board camera triggering system.</description>
  1586. <param index="1" label="Enable" minValue="-1" maxValue="1" increment="1">Trigger enable/disable (0 for disable, 1 for start), -1 to ignore</param>
  1587. <param index="2" label="Reset" minValue="-1" maxValue="1" increment="1">1 to reset the trigger sequence, -1 or 0 to ignore</param>
  1588. <param index="3" label="Pause" minValue="-1" maxValue="1" increment="2">1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore</param>
  1589. </entry>
  1590. <entry value="2500" name="MAV_CMD_VIDEO_START_CAPTURE" hasLocation="false" isDestination="false">
  1591. <description>Starts video capture (recording). Use NaN for reserved values.</description>
  1592. <param index="1" label="Stream ID" minValue="0" increment="1">Video Stream ID (0 for all streams)</param>
  1593. <param index="2" label="Status Frequency" minValue="0" units="Hz">Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency)</param>
  1594. <param index="3">Reserved (all remaining params)</param>
  1595. </entry>
  1596. <entry value="2501" name="MAV_CMD_VIDEO_STOP_CAPTURE" hasLocation="false" isDestination="false">
  1597. <description>Stop the current video capture (recording). Use NaN for reserved values.</description>
  1598. <param index="1" label="Stream ID" minValue="0" increment="1">Video Stream ID (0 for all streams)</param>
  1599. <param index="2">Reserved (all remaining params)</param>
  1600. </entry>
  1601. <entry value="2510" name="MAV_CMD_LOGGING_START" hasLocation="false" isDestination="false">
  1602. <description>Request to start streaming logging data over MAVLink (see also LOGGING_DATA message)</description>
  1603. <param index="1" label="Format" minValue="0" increment="1">Format: 0: ULog</param>
  1604. <param index="2">Reserved (set to 0)</param>
  1605. <param index="3">Reserved (set to 0)</param>
  1606. <param index="4">Reserved (set to 0)</param>
  1607. <param index="5">Reserved (set to 0)</param>
  1608. <param index="6">Reserved (set to 0)</param>
  1609. <param index="7">Reserved (set to 0)</param>
  1610. </entry>
  1611. <entry value="2511" name="MAV_CMD_LOGGING_STOP" hasLocation="false" isDestination="false">
  1612. <description>Request to stop streaming log data over MAVLink</description>
  1613. <param index="1">Reserved (set to 0)</param>
  1614. <param index="2">Reserved (set to 0)</param>
  1615. <param index="3">Reserved (set to 0)</param>
  1616. <param index="4">Reserved (set to 0)</param>
  1617. <param index="5">Reserved (set to 0)</param>
  1618. <param index="6">Reserved (set to 0)</param>
  1619. <param index="7">Reserved (set to 0)</param>
  1620. </entry>
  1621. <entry value="2520" name="MAV_CMD_AIRFRAME_CONFIGURATION" hasLocation="false" isDestination="false">
  1622. <description/>
  1623. <param index="1" label="Landing Gear ID" minValue="-1" increment="1">Landing gear ID (default: 0, -1 for all)</param>
  1624. <param index="2" label="Landing Gear Position">Landing gear position (Down: 0, Up: 1, NaN for no change)</param>
  1625. <param index="3">Reserved, set to NaN</param>
  1626. <param index="4">Reserved, set to NaN</param>
  1627. <param index="5">Reserved, set to NaN</param>
  1628. <param index="6">Reserved, set to NaN</param>
  1629. <param index="7">Reserved, set to NaN</param>
  1630. </entry>
  1631. <entry value="2600" name="MAV_CMD_CONTROL_HIGH_LATENCY" hasLocation="false" isDestination="false">
  1632. <description>Request to start/stop transmitting over the high latency telemetry</description>
  1633. <param index="1" label="Enable" minValue="0" maxValue="1" increment="1">Control transmission over high latency telemetry (0: stop, 1: start)</param>
  1634. <param index="2">Empty</param>
  1635. <param index="3">Empty</param>
  1636. <param index="4">Empty</param>
  1637. <param index="5">Empty</param>
  1638. <param index="6">Empty</param>
  1639. <param index="7">Empty</param>
  1640. </entry>
  1641. <entry value="2800" name="MAV_CMD_PANORAMA_CREATE" hasLocation="false" isDestination="false">
  1642. <description>Create a panorama at the current position</description>
  1643. <param index="1" label="Horizontal Angle" units="deg">Viewing angle horizontal of the panorama (+- 0.5 the total angle)</param>
  1644. <param index="2" label="Vertical Angle" units="deg">Viewing angle vertical of panorama.</param>
  1645. <param index="3" label="Horizontal Speed" units="deg/s">Speed of the horizontal rotation.</param>
  1646. <param index="4" label="Vertical Speed" units="deg/s">Speed of the vertical rotation.</param>
  1647. </entry>
  1648. <entry value="3000" name="MAV_CMD_DO_VTOL_TRANSITION" hasLocation="false" isDestination="false">
  1649. <description>Request VTOL transition</description>
  1650. <param index="1" label="State" enum="MAV_VTOL_STATE">The target VTOL state. Only MAV_VTOL_STATE_MC and MAV_VTOL_STATE_FW can be used.</param>
  1651. </entry>
  1652. <entry value="3001" name="MAV_CMD_ARM_AUTHORIZATION_REQUEST" hasLocation="false" isDestination="false">
  1653. <description>Request authorization to arm the vehicle to a external entity, the arm authorizer is responsible to request all data that is needs from the vehicle before authorize or deny the request. If approved the progress of command_ack message should be set with period of time that this authorization is valid in seconds or in case it was denied it should be set with one of the reasons in ARM_AUTH_DENIED_REASON.
  1654. </description>
  1655. <param index="1" label="System ID" minValue="0" maxValue="255" increment="1">Vehicle system id, this way ground station can request arm authorization on behalf of any vehicle</param>
  1656. </entry>
  1657. <entry value="4000" name="MAV_CMD_SET_GUIDED_SUBMODE_STANDARD" hasLocation="false" isDestination="false">
  1658. <description>This command sets the submode to standard guided when vehicle is in guided mode. The vehicle holds position and altitude and the user can input the desired velocities along all three axes.
  1659. </description>
  1660. </entry>
  1661. <entry value="4001" name="MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE" hasLocation="true" isDestination="false">
  1662. <description>This command sets submode circle when vehicle is in guided mode. Vehicle flies along a circle facing the center of the circle. The user can input the velocity along the circle and change the radius. If no input is given the vehicle will hold position.
  1663. </description>
  1664. <param index="1" label="Radius">Radius of desired circle in CIRCLE_MODE</param>
  1665. <param index="2">User defined</param>
  1666. <param index="3">User defined</param>
  1667. <param index="4">User defined</param>
  1668. <param index="5">Unscaled target latitude of center of circle in CIRCLE_MODE</param>
  1669. <param index="6">Unscaled target longitude of center of circle in CIRCLE_MODE</param>
  1670. </entry>
  1671. <entry value="5000" name="MAV_CMD_NAV_FENCE_RETURN_POINT" hasLocation="true" isDestination="true">
  1672. <description>Fence return point. There can only be one fence return point.
  1673. </description>
  1674. <param index="1">Reserved</param>
  1675. <param index="2">Reserved</param>
  1676. <param index="3">Reserved</param>
  1677. <param index="4">Reserved</param>
  1678. <param index="5">Latitude</param>
  1679. <param index="6">Longitude</param>
  1680. <param index="7">Altitude</param>
  1681. </entry>
  1682. <entry value="5001" name="MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION" hasLocation="true" isDestination="false">
  1683. <description>Fence vertex for an inclusion polygon (the polygon must not be self-intersecting). The vehicle must stay within this area. Minimum of 3 vertices required.
  1684. </description>
  1685. <param index="1" label="Vertex Count" minValue="3" increment="1">Polygon vertex count</param>
  1686. <param index="2">Reserved</param>
  1687. <param index="3">Reserved</param>
  1688. <param index="4">Reserved</param>
  1689. <param index="5">Latitude</param>
  1690. <param index="6">Longitude</param>
  1691. <param index="7">Reserved</param>
  1692. </entry>
  1693. <entry value="5002" name="MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION" hasLocation="true" isDestination="false">
  1694. <description>Fence vertex for an exclusion polygon (the polygon must not be self-intersecting). The vehicle must stay outside this area. Minimum of 3 vertices required.
  1695. </description>
  1696. <param index="1" label="Vertex Count" minValue="3" increment="1">Polygon vertex count</param>
  1697. <param index="2">Reserved</param>
  1698. <param index="3">Reserved</param>
  1699. <param index="4">Reserved</param>
  1700. <param index="5">Latitude</param>
  1701. <param index="6">Longitude</param>
  1702. <param index="7">Reserved</param>
  1703. </entry>
  1704. <entry value="5003" name="MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION" hasLocation="true" isDestination="false">
  1705. <description>Circular fence area. The vehicle must stay inside this area.
  1706. </description>
  1707. <param index="1" label="Radius" units="m">Radius.</param>
  1708. <param index="2">Reserved</param>
  1709. <param index="3">Reserved</param>
  1710. <param index="4">Reserved</param>
  1711. <param index="5">Latitude</param>
  1712. <param index="6">Longitude</param>
  1713. <param index="7">Reserved</param>
  1714. </entry>
  1715. <entry value="5004" name="MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION" hasLocation="true" isDestination="false">
  1716. <description>Circular fence area. The vehicle must stay outside this area.
  1717. </description>
  1718. <param index="1" label="Radius" units="m">Radius.</param>
  1719. <param index="2">Reserved</param>
  1720. <param index="3">Reserved</param>
  1721. <param index="4">Reserved</param>
  1722. <param index="5">Latitude</param>
  1723. <param index="6">Longitude</param>
  1724. <param index="7">Reserved</param>
  1725. </entry>
  1726. <entry value="5100" name="MAV_CMD_NAV_RALLY_POINT" hasLocation="true" isDestination="false">
  1727. <description>Rally point. You can have multiple rally points defined.
  1728. </description>
  1729. <param index="1">Reserved</param>
  1730. <param index="2">Reserved</param>
  1731. <param index="3">Reserved</param>
  1732. <param index="4">Reserved</param>
  1733. <param index="5">Latitude</param>
  1734. <param index="6">Longitude</param>
  1735. <param index="7">Altitude</param>
  1736. </entry>
  1737. <!-- Values in the range [5200, 5210) should be reserved for UAVCAN. -->
  1738. <!-- BEGIN UAVCAN range -->
  1739. <entry value="5200" name="MAV_CMD_UAVCAN_GET_NODE_INFO" hasLocation="false" isDestination="false">
  1740. <description>Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages.</description>
  1741. <param index="1">Reserved (set to 0)</param>
  1742. <param index="2">Reserved (set to 0)</param>
  1743. <param index="3">Reserved (set to 0)</param>
  1744. <param index="4">Reserved (set to 0)</param>
  1745. <param index="5">Reserved (set to 0)</param>
  1746. <param index="6">Reserved (set to 0)</param>
  1747. <param index="7">Reserved (set to 0)</param>
  1748. </entry>
  1749. <!-- END of UAVCAN range -->
  1750. <!-- VALUES FROM 0-40000 are reserved for the common message set. Values from 40000 to UINT16_MAX are available for dialects -->
  1751. <!-- BEGIN of payload range (30000 to 30999) -->
  1752. <entry value="30001" name="MAV_CMD_PAYLOAD_PREPARE_DEPLOY" hasLocation="true" isDestination="true">
  1753. <description>Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity.</description>
  1754. <param index="1" label="Operation Mode" minValue="0" maxValue="2" increment="1">Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.</param>
  1755. <param index="2" label="Approach Vector" units="deg" minValue="-1" maxValue="360">Desired approach vector in compass heading. A negative value indicates the system can define the approach vector at will.</param>
  1756. <param index="3" label="Ground Speed" minValue="-1">Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.</param>
  1757. <param index="4" label="Altitude Clearance" units="m" minValue="-1">Minimum altitude clearance to the release position. A negative value indicates the system can define the clearance at will.</param>
  1758. <param index="5">Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT</param>
  1759. <param index="6">Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT</param>
  1760. <param index="7">Altitude (MSL), in meters</param>
  1761. </entry>
  1762. <entry value="30002" name="MAV_CMD_PAYLOAD_CONTROL_DEPLOY" hasLocation="false" isDestination="false">
  1763. <description>Control the payload deployment.</description>
  1764. <param index="1" label="Operation Mode" minValue="0" maxValue="101" increment="1">Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.</param>
  1765. <param index="2">Reserved</param>
  1766. <param index="3">Reserved</param>
  1767. <param index="4">Reserved</param>
  1768. <param index="5">Reserved</param>
  1769. <param index="6">Reserved</param>
  1770. <param index="7">Reserved</param>
  1771. </entry>
  1772. <!-- END of payload range (30000 to 30999) -->
  1773. <!-- BEGIN user defined range (31000 to 31999) -->
  1774. <entry value="31000" name="MAV_CMD_WAYPOINT_USER_1" hasLocation="true" isDestination="true">
  1775. <description>User defined waypoint item. Ground Station will show the Vehicle as flying through this item.</description>
  1776. <param index="1">User defined</param>
  1777. <param index="2">User defined</param>
  1778. <param index="3">User defined</param>
  1779. <param index="4">User defined</param>
  1780. <param index="5">Latitude unscaled</param>
  1781. <param index="6">Longitude unscaled</param>
  1782. <param index="7">Altitude (MSL), in meters</param>
  1783. </entry>
  1784. <entry value="31001" name="MAV_CMD_WAYPOINT_USER_2" hasLocation="true" isDestination="true">
  1785. <description>User defined waypoint item. Ground Station will show the Vehicle as flying through this item.</description>
  1786. <param index="1">User defined</param>
  1787. <param index="2">User defined</param>
  1788. <param index="3">User defined</param>
  1789. <param index="4">User defined</param>
  1790. <param index="5">Latitude unscaled</param>
  1791. <param index="6">Longitude unscaled</param>
  1792. <param index="7">Altitude (MSL), in meters</param>
  1793. </entry>
  1794. <entry value="31002" name="MAV_CMD_WAYPOINT_USER_3" hasLocation="true" isDestination="true">
  1795. <description>User defined waypoint item. Ground Station will show the Vehicle as flying through this item.</description>
  1796. <param index="1">User defined</param>
  1797. <param index="2">User defined</param>
  1798. <param index="3">User defined</param>
  1799. <param index="4">User defined</param>
  1800. <param index="5">Latitude unscaled</param>
  1801. <param index="6">Longitude unscaled</param>
  1802. <param index="7">Altitude (MSL), in meters</param>
  1803. </entry>
  1804. <entry value="31003" name="MAV_CMD_WAYPOINT_USER_4" hasLocation="true" isDestination="true">
  1805. <description>User defined waypoint item. Ground Station will show the Vehicle as flying through this item.</description>
  1806. <param index="1">User defined</param>
  1807. <param index="2">User defined</param>
  1808. <param index="3">User defined</param>
  1809. <param index="4">User defined</param>
  1810. <param index="5">Latitude unscaled</param>
  1811. <param index="6">Longitude unscaled</param>
  1812. <param index="7">Altitude (MSL), in meters</param>
  1813. </entry>
  1814. <entry value="31004" name="MAV_CMD_WAYPOINT_USER_5" hasLocation="true" isDestination="true">
  1815. <description>User defined waypoint item. Ground Station will show the Vehicle as flying through this item.</description>
  1816. <param index="1">User defined</param>
  1817. <param index="2">User defined</param>
  1818. <param index="3">User defined</param>
  1819. <param index="4">User defined</param>
  1820. <param index="5">Latitude unscaled</param>
  1821. <param index="6">Longitude unscaled</param>
  1822. <param index="7">Altitude (MSL), in meters</param>
  1823. </entry>
  1824. <entry value="31005" name="MAV_CMD_SPATIAL_USER_1" hasLocation="true" isDestination="false">
  1825. <description>User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.</description>
  1826. <param index="1">User defined</param>
  1827. <param index="2">User defined</param>
  1828. <param index="3">User defined</param>
  1829. <param index="4">User defined</param>
  1830. <param index="5">Latitude unscaled</param>
  1831. <param index="6">Longitude unscaled</param>
  1832. <param index="7">Altitude (MSL), in meters</param>
  1833. </entry>
  1834. <entry value="31006" name="MAV_CMD_SPATIAL_USER_2" hasLocation="true" isDestination="false">
  1835. <description>User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.</description>
  1836. <param index="1">User defined</param>
  1837. <param index="2">User defined</param>
  1838. <param index="3">User defined</param>
  1839. <param index="4">User defined</param>
  1840. <param index="5">Latitude unscaled</param>
  1841. <param index="6">Longitude unscaled</param>
  1842. <param index="7">Altitude (MSL), in meters</param>
  1843. </entry>
  1844. <entry value="31007" name="MAV_CMD_SPATIAL_USER_3" hasLocation="true" isDestination="false">
  1845. <description>User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.</description>
  1846. <param index="1">User defined</param>
  1847. <param index="2">User defined</param>
  1848. <param index="3">User defined</param>
  1849. <param index="4">User defined</param>
  1850. <param index="5">Latitude unscaled</param>
  1851. <param index="6">Longitude unscaled</param>
  1852. <param index="7">Altitude (MSL), in meters</param>
  1853. </entry>
  1854. <entry value="31008" name="MAV_CMD_SPATIAL_USER_4" hasLocation="true" isDestination="false">
  1855. <description>User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.</description>
  1856. <param index="1">User defined</param>
  1857. <param index="2">User defined</param>
  1858. <param index="3">User defined</param>
  1859. <param index="4">User defined</param>
  1860. <param index="5">Latitude unscaled</param>
  1861. <param index="6">Longitude unscaled</param>
  1862. <param index="7">Altitude (MSL), in meters</param>
  1863. </entry>
  1864. <entry value="31009" name="MAV_CMD_SPATIAL_USER_5" hasLocation="true" isDestination="false">
  1865. <description>User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.</description>
  1866. <param index="1">User defined</param>
  1867. <param index="2">User defined</param>
  1868. <param index="3">User defined</param>
  1869. <param index="4">User defined</param>
  1870. <param index="5">Latitude unscaled</param>
  1871. <param index="6">Longitude unscaled</param>
  1872. <param index="7">Altitude (MSL), in meters</param>
  1873. </entry>
  1874. <entry value="31010" name="MAV_CMD_USER_1" hasLocation="false" isDestination="false">
  1875. <description>User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.</description>
  1876. <param index="1">User defined</param>
  1877. <param index="2">User defined</param>
  1878. <param index="3">User defined</param>
  1879. <param index="4">User defined</param>
  1880. <param index="5">User defined</param>
  1881. <param index="6">User defined</param>
  1882. <param index="7">User defined</param>
  1883. </entry>
  1884. <entry value="31011" name="MAV_CMD_USER_2" hasLocation="false" isDestination="false">
  1885. <description>User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.</description>
  1886. <param index="1">User defined</param>
  1887. <param index="2">User defined</param>
  1888. <param index="3">User defined</param>
  1889. <param index="4">User defined</param>
  1890. <param index="5">User defined</param>
  1891. <param index="6">User defined</param>
  1892. <param index="7">User defined</param>
  1893. </entry>
  1894. <entry value="31012" name="MAV_CMD_USER_3" hasLocation="false" isDestination="false">
  1895. <description>User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.</description>
  1896. <param index="1">User defined</param>
  1897. <param index="2">User defined</param>
  1898. <param index="3">User defined</param>
  1899. <param index="4">User defined</param>
  1900. <param index="5">User defined</param>
  1901. <param index="6">User defined</param>
  1902. <param index="7">User defined</param>
  1903. </entry>
  1904. <entry value="31013" name="MAV_CMD_USER_4" hasLocation="false" isDestination="false">
  1905. <description>User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.</description>
  1906. <param index="1">User defined</param>
  1907. <param index="2">User defined</param>
  1908. <param index="3">User defined</param>
  1909. <param index="4">User defined</param>
  1910. <param index="5">User defined</param>
  1911. <param index="6">User defined</param>
  1912. <param index="7">User defined</param>
  1913. </entry>
  1914. <entry value="31014" name="MAV_CMD_USER_5" hasLocation="false" isDestination="false">
  1915. <description>User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.</description>
  1916. <param index="1">User defined</param>
  1917. <param index="2">User defined</param>
  1918. <param index="3">User defined</param>
  1919. <param index="4">User defined</param>
  1920. <param index="5">User defined</param>
  1921. <param index="6">User defined</param>
  1922. <param index="7">User defined</param>
  1923. </entry>
  1924. <!-- END of user range (31000 to 31999) -->
  1925. </enum>
  1926. <enum name="MAV_DATA_STREAM">
  1927. <description>A data stream is not a fixed set of messages, but rather a
  1928. recommendation to the autopilot software. Individual autopilots may or may not obey
  1929. the recommended messages.</description>
  1930. <entry value="0" name="MAV_DATA_STREAM_ALL">
  1931. <description>Enable all data streams</description>
  1932. </entry>
  1933. <entry value="1" name="MAV_DATA_STREAM_RAW_SENSORS">
  1934. <description>Enable IMU_RAW, GPS_RAW, GPS_STATUS packets.</description>
  1935. </entry>
  1936. <entry value="2" name="MAV_DATA_STREAM_EXTENDED_STATUS">
  1937. <description>Enable GPS_STATUS, CONTROL_STATUS, AUX_STATUS</description>
  1938. </entry>
  1939. <entry value="3" name="MAV_DATA_STREAM_RC_CHANNELS">
  1940. <description>Enable RC_CHANNELS_SCALED, RC_CHANNELS_RAW, SERVO_OUTPUT_RAW</description>
  1941. </entry>
  1942. <entry value="4" name="MAV_DATA_STREAM_RAW_CONTROLLER">
  1943. <description>Enable ATTITUDE_CONTROLLER_OUTPUT, POSITION_CONTROLLER_OUTPUT, NAV_CONTROLLER_OUTPUT.</description>
  1944. </entry>
  1945. <entry value="6" name="MAV_DATA_STREAM_POSITION">
  1946. <description>Enable LOCAL_POSITION, GLOBAL_POSITION/GLOBAL_POSITION_INT messages.</description>
  1947. </entry>
  1948. <entry value="10" name="MAV_DATA_STREAM_EXTRA1">
  1949. <description>Dependent on the autopilot</description>
  1950. </entry>
  1951. <entry value="11" name="MAV_DATA_STREAM_EXTRA2">
  1952. <description>Dependent on the autopilot</description>
  1953. </entry>
  1954. <entry value="12" name="MAV_DATA_STREAM_EXTRA3">
  1955. <description>Dependent on the autopilot</description>
  1956. </entry>
  1957. </enum>
  1958. <enum name="MAV_ROI">
  1959. <description>THIS INTERFACE IS DEPRECATED AS OF JANUARY 2018. Please use MAV_CMD_DO_SET_ROI_* messages instead. The ROI (region of interest) for the vehicle. This can be
  1960. be used by the vehicle for camera/vehicle attitude alignment (see
  1961. MAV_CMD_NAV_ROI).</description>
  1962. <entry value="0" name="MAV_ROI_NONE">
  1963. <description>No region of interest.</description>
  1964. </entry>
  1965. <entry value="1" name="MAV_ROI_WPNEXT">
  1966. <description>Point toward next waypoint, with optional pitch/roll/yaw offset.</description>
  1967. </entry>
  1968. <entry value="2" name="MAV_ROI_WPINDEX">
  1969. <description>Point toward given waypoint.</description>
  1970. </entry>
  1971. <entry value="3" name="MAV_ROI_LOCATION">
  1972. <description>Point toward fixed location.</description>
  1973. </entry>
  1974. <entry value="4" name="MAV_ROI_TARGET">
  1975. <description>Point toward of given id.</description>
  1976. </entry>
  1977. </enum>
  1978. <enum name="MAV_CMD_ACK">
  1979. <description>ACK / NACK / ERROR values as a result of MAV_CMDs and for mission item transmission.</description>
  1980. <entry name="MAV_CMD_ACK_OK">
  1981. <description>Command / mission item is ok.</description>
  1982. </entry>
  1983. <entry name="MAV_CMD_ACK_ERR_FAIL">
  1984. <description>Generic error message if none of the other reasons fails or if no detailed error reporting is implemented.</description>
  1985. </entry>
  1986. <entry name="MAV_CMD_ACK_ERR_ACCESS_DENIED">
  1987. <description>The system is refusing to accept this command from this source / communication partner.</description>
  1988. </entry>
  1989. <entry name="MAV_CMD_ACK_ERR_NOT_SUPPORTED">
  1990. <description>Command or mission item is not supported, other commands would be accepted.</description>
  1991. </entry>
  1992. <entry name="MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED">
  1993. <description>The coordinate frame of this command / mission item is not supported.</description>
  1994. </entry>
  1995. <entry name="MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE">
  1996. <description>The coordinate frame of this command is ok, but he coordinate values exceed the safety limits of this system. This is a generic error, please use the more specific error messages below if possible.</description>
  1997. </entry>
  1998. <entry name="MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE">
  1999. <description>The X or latitude value is out of range.</description>
  2000. </entry>
  2001. <entry name="MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE">
  2002. <description>The Y or longitude value is out of range.</description>
  2003. </entry>
  2004. <entry name="MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE">
  2005. <description>The Z or altitude value is out of range.</description>
  2006. </entry>
  2007. </enum>
  2008. <enum name="MAV_PARAM_TYPE">
  2009. <description>Specifies the datatype of a MAVLink parameter.</description>
  2010. <entry value="1" name="MAV_PARAM_TYPE_UINT8">
  2011. <description>8-bit unsigned integer</description>
  2012. </entry>
  2013. <entry value="2" name="MAV_PARAM_TYPE_INT8">
  2014. <description>8-bit signed integer</description>
  2015. </entry>
  2016. <entry value="3" name="MAV_PARAM_TYPE_UINT16">
  2017. <description>16-bit unsigned integer</description>
  2018. </entry>
  2019. <entry value="4" name="MAV_PARAM_TYPE_INT16">
  2020. <description>16-bit signed integer</description>
  2021. </entry>
  2022. <entry value="5" name="MAV_PARAM_TYPE_UINT32">
  2023. <description>32-bit unsigned integer</description>
  2024. </entry>
  2025. <entry value="6" name="MAV_PARAM_TYPE_INT32">
  2026. <description>32-bit signed integer</description>
  2027. </entry>
  2028. <entry value="7" name="MAV_PARAM_TYPE_UINT64">
  2029. <description>64-bit unsigned integer</description>
  2030. </entry>
  2031. <entry value="8" name="MAV_PARAM_TYPE_INT64">
  2032. <description>64-bit signed integer</description>
  2033. </entry>
  2034. <entry value="9" name="MAV_PARAM_TYPE_REAL32">
  2035. <description>32-bit floating-point</description>
  2036. </entry>
  2037. <entry value="10" name="MAV_PARAM_TYPE_REAL64">
  2038. <description>64-bit floating-point</description>
  2039. </entry>
  2040. </enum>
  2041. <enum name="MAV_RESULT">
  2042. <description>result from a mavlink command</description>
  2043. <entry value="0" name="MAV_RESULT_ACCEPTED">
  2044. <description>Command ACCEPTED and EXECUTED</description>
  2045. </entry>
  2046. <entry value="1" name="MAV_RESULT_TEMPORARILY_REJECTED">
  2047. <description>Command TEMPORARY REJECTED/DENIED</description>
  2048. </entry>
  2049. <entry value="2" name="MAV_RESULT_DENIED">
  2050. <description>Command PERMANENTLY DENIED</description>
  2051. </entry>
  2052. <entry value="3" name="MAV_RESULT_UNSUPPORTED">
  2053. <description>Command UNKNOWN/UNSUPPORTED</description>
  2054. </entry>
  2055. <entry value="4" name="MAV_RESULT_FAILED">
  2056. <description>Command executed, but failed</description>
  2057. </entry>
  2058. </enum>
  2059. <enum name="MAV_MISSION_RESULT">
  2060. <description>Result of mission operation (in a MISSION_ACK message).</description>
  2061. <entry value="0" name="MAV_MISSION_ACCEPTED">
  2062. <description>mission accepted OK</description>
  2063. </entry>
  2064. <entry value="1" name="MAV_MISSION_ERROR">
  2065. <description>Generic error / not accepting mission commands at all right now.</description>
  2066. </entry>
  2067. <entry value="2" name="MAV_MISSION_UNSUPPORTED_FRAME">
  2068. <description>Coordinate frame is not supported.</description>
  2069. </entry>
  2070. <entry value="3" name="MAV_MISSION_UNSUPPORTED">
  2071. <description>Command is not supported.</description>
  2072. </entry>
  2073. <entry value="4" name="MAV_MISSION_NO_SPACE">
  2074. <description>Mission item exceeds storage space.</description>
  2075. </entry>
  2076. <entry value="5" name="MAV_MISSION_INVALID">
  2077. <description>One of the parameters has an invalid value.</description>
  2078. </entry>
  2079. <entry value="6" name="MAV_MISSION_INVALID_PARAM1">
  2080. <description>param1 has an invalid value.</description>
  2081. </entry>
  2082. <entry value="7" name="MAV_MISSION_INVALID_PARAM2">
  2083. <description>param2 has an invalid value.</description>
  2084. </entry>
  2085. <entry value="8" name="MAV_MISSION_INVALID_PARAM3">
  2086. <description>param3 has an invalid value.</description>
  2087. </entry>
  2088. <entry value="9" name="MAV_MISSION_INVALID_PARAM4">
  2089. <description>param4 has an invalid value.</description>
  2090. </entry>
  2091. <entry value="10" name="MAV_MISSION_INVALID_PARAM5_X">
  2092. <description>x / param5 has an invalid value.</description>
  2093. </entry>
  2094. <entry value="11" name="MAV_MISSION_INVALID_PARAM6_Y">
  2095. <description>y / param6 has an invalid value.</description>
  2096. </entry>
  2097. <entry value="12" name="MAV_MISSION_INVALID_PARAM7">
  2098. <description>z / param7 has an invalid value.</description>
  2099. </entry>
  2100. <entry value="13" name="MAV_MISSION_INVALID_SEQUENCE">
  2101. <description>Mission item received out of sequence</description>
  2102. </entry>
  2103. <entry value="14" name="MAV_MISSION_DENIED">
  2104. <description>Not accepting any mission commands from this communication partner.</description>
  2105. </entry>
  2106. <entry value="15" name="MAV_MISSION_OPERATION_CANCELLED">
  2107. <description>Current mission operation cancelled (e.g. mission upload, mission download).</description>
  2108. </entry>
  2109. </enum>
  2110. <enum name="MAV_SEVERITY">
  2111. <description>Indicates the severity level, generally used for status messages to indicate their relative urgency. Based on RFC-5424 using expanded definitions at: http://www.kiwisyslog.com/kb/info:-syslog-message-levels/.</description>
  2112. <entry value="0" name="MAV_SEVERITY_EMERGENCY">
  2113. <description>System is unusable. This is a "panic" condition.</description>
  2114. </entry>
  2115. <entry value="1" name="MAV_SEVERITY_ALERT">
  2116. <description>Action should be taken immediately. Indicates error in non-critical systems.</description>
  2117. </entry>
  2118. <entry value="2" name="MAV_SEVERITY_CRITICAL">
  2119. <description>Action must be taken immediately. Indicates failure in a primary system.</description>
  2120. </entry>
  2121. <entry value="3" name="MAV_SEVERITY_ERROR">
  2122. <description>Indicates an error in secondary/redundant systems.</description>
  2123. </entry>
  2124. <entry value="4" name="MAV_SEVERITY_WARNING">
  2125. <description>Indicates about a possible future error if this is not resolved within a given timeframe. Example would be a low battery warning.</description>
  2126. </entry>
  2127. <entry value="5" name="MAV_SEVERITY_NOTICE">
  2128. <description>An unusual event has occurred, though not an error condition. This should be investigated for the root cause.</description>
  2129. </entry>
  2130. <entry value="6" name="MAV_SEVERITY_INFO">
  2131. <description>Normal operational messages. Useful for logging. No action is required for these messages.</description>
  2132. </entry>
  2133. <entry value="7" name="MAV_SEVERITY_DEBUG">
  2134. <description>Useful non-operational messages that can assist in debugging. These should not occur during normal operation.</description>
  2135. </entry>
  2136. </enum>
  2137. <enum name="MAV_POWER_STATUS">
  2138. <description>Power supply status flags (bitmask)</description>
  2139. <entry value="1" name="MAV_POWER_STATUS_BRICK_VALID">
  2140. <description>main brick power supply valid</description>
  2141. </entry>
  2142. <entry value="2" name="MAV_POWER_STATUS_SERVO_VALID">
  2143. <description>main servo power supply valid for FMU</description>
  2144. </entry>
  2145. <entry value="4" name="MAV_POWER_STATUS_USB_CONNECTED">
  2146. <description>USB power is connected</description>
  2147. </entry>
  2148. <entry value="8" name="MAV_POWER_STATUS_PERIPH_OVERCURRENT">
  2149. <description>peripheral supply is in over-current state</description>
  2150. </entry>
  2151. <entry value="16" name="MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT">
  2152. <description>hi-power peripheral supply is in over-current state</description>
  2153. </entry>
  2154. <entry value="32" name="MAV_POWER_STATUS_CHANGED">
  2155. <description>Power status has changed since boot</description>
  2156. </entry>
  2157. </enum>
  2158. <enum name="SERIAL_CONTROL_DEV">
  2159. <description>SERIAL_CONTROL device types</description>
  2160. <entry value="0" name="SERIAL_CONTROL_DEV_TELEM1">
  2161. <description>First telemetry port</description>
  2162. </entry>
  2163. <entry value="1" name="SERIAL_CONTROL_DEV_TELEM2">
  2164. <description>Second telemetry port</description>
  2165. </entry>
  2166. <entry value="2" name="SERIAL_CONTROL_DEV_GPS1">
  2167. <description>First GPS port</description>
  2168. </entry>
  2169. <entry value="3" name="SERIAL_CONTROL_DEV_GPS2">
  2170. <description>Second GPS port</description>
  2171. </entry>
  2172. <entry value="10" name="SERIAL_CONTROL_DEV_SHELL">
  2173. <description>system shell</description>
  2174. </entry>
  2175. </enum>
  2176. <enum name="SERIAL_CONTROL_FLAG">
  2177. <description>SERIAL_CONTROL flags (bitmask)</description>
  2178. <entry value="1" name="SERIAL_CONTROL_FLAG_REPLY">
  2179. <description>Set if this is a reply</description>
  2180. </entry>
  2181. <entry value="2" name="SERIAL_CONTROL_FLAG_RESPOND">
  2182. <description>Set if the sender wants the receiver to send a response as another SERIAL_CONTROL message</description>
  2183. </entry>
  2184. <entry value="4" name="SERIAL_CONTROL_FLAG_EXCLUSIVE">
  2185. <description>Set if access to the serial port should be removed from whatever driver is currently using it, giving exclusive access to the SERIAL_CONTROL protocol. The port can be handed back by sending a request without this flag set</description>
  2186. </entry>
  2187. <entry value="8" name="SERIAL_CONTROL_FLAG_BLOCKING">
  2188. <description>Block on writes to the serial port</description>
  2189. </entry>
  2190. <entry value="16" name="SERIAL_CONTROL_FLAG_MULTI">
  2191. <description>Send multiple replies until port is drained</description>
  2192. </entry>
  2193. </enum>
  2194. <enum name="MAV_DISTANCE_SENSOR">
  2195. <description>Enumeration of distance sensor types</description>
  2196. <entry value="0" name="MAV_DISTANCE_SENSOR_LASER">
  2197. <description>Laser rangefinder, e.g. LightWare SF02/F or PulsedLight units</description>
  2198. </entry>
  2199. <entry value="1" name="MAV_DISTANCE_SENSOR_ULTRASOUND">
  2200. <description>Ultrasound rangefinder, e.g. MaxBotix units</description>
  2201. </entry>
  2202. <entry value="2" name="MAV_DISTANCE_SENSOR_INFRARED">
  2203. <description>Infrared rangefinder, e.g. Sharp units</description>
  2204. </entry>
  2205. <entry value="3" name="MAV_DISTANCE_SENSOR_RADAR">
  2206. <description>Radar type, e.g. uLanding units</description>
  2207. </entry>
  2208. <entry value="4" name="MAV_DISTANCE_SENSOR_UNKNOWN">
  2209. <description>Broken or unknown type, e.g. analog units</description>
  2210. </entry>
  2211. </enum>
  2212. <enum name="MAV_SENSOR_ORIENTATION">
  2213. <description>Enumeration of sensor orientation, according to its rotations</description>
  2214. <entry value="0" name="MAV_SENSOR_ROTATION_NONE">
  2215. <description>Roll: 0, Pitch: 0, Yaw: 0</description>
  2216. </entry>
  2217. <entry value="1" name="MAV_SENSOR_ROTATION_YAW_45">
  2218. <description>Roll: 0, Pitch: 0, Yaw: 45</description>
  2219. </entry>
  2220. <entry value="2" name="MAV_SENSOR_ROTATION_YAW_90">
  2221. <description>Roll: 0, Pitch: 0, Yaw: 90</description>
  2222. </entry>
  2223. <entry value="3" name="MAV_SENSOR_ROTATION_YAW_135">
  2224. <description>Roll: 0, Pitch: 0, Yaw: 135</description>
  2225. </entry>
  2226. <entry value="4" name="MAV_SENSOR_ROTATION_YAW_180">
  2227. <description>Roll: 0, Pitch: 0, Yaw: 180</description>
  2228. </entry>
  2229. <entry value="5" name="MAV_SENSOR_ROTATION_YAW_225">
  2230. <description>Roll: 0, Pitch: 0, Yaw: 225</description>
  2231. </entry>
  2232. <entry value="6" name="MAV_SENSOR_ROTATION_YAW_270">
  2233. <description>Roll: 0, Pitch: 0, Yaw: 270</description>
  2234. </entry>
  2235. <entry value="7" name="MAV_SENSOR_ROTATION_YAW_315">
  2236. <description>Roll: 0, Pitch: 0, Yaw: 315</description>
  2237. </entry>
  2238. <entry value="8" name="MAV_SENSOR_ROTATION_ROLL_180">
  2239. <description>Roll: 180, Pitch: 0, Yaw: 0</description>
  2240. </entry>
  2241. <entry value="9" name="MAV_SENSOR_ROTATION_ROLL_180_YAW_45">
  2242. <description>Roll: 180, Pitch: 0, Yaw: 45</description>
  2243. </entry>
  2244. <entry value="10" name="MAV_SENSOR_ROTATION_ROLL_180_YAW_90">
  2245. <description>Roll: 180, Pitch: 0, Yaw: 90</description>
  2246. </entry>
  2247. <entry value="11" name="MAV_SENSOR_ROTATION_ROLL_180_YAW_135">
  2248. <description>Roll: 180, Pitch: 0, Yaw: 135</description>
  2249. </entry>
  2250. <entry value="12" name="MAV_SENSOR_ROTATION_PITCH_180">
  2251. <description>Roll: 0, Pitch: 180, Yaw: 0</description>
  2252. </entry>
  2253. <entry value="13" name="MAV_SENSOR_ROTATION_ROLL_180_YAW_225">
  2254. <description>Roll: 180, Pitch: 0, Yaw: 225</description>
  2255. </entry>
  2256. <entry value="14" name="MAV_SENSOR_ROTATION_ROLL_180_YAW_270">
  2257. <description>Roll: 180, Pitch: 0, Yaw: 270</description>
  2258. </entry>
  2259. <entry value="15" name="MAV_SENSOR_ROTATION_ROLL_180_YAW_315">
  2260. <description>Roll: 180, Pitch: 0, Yaw: 315</description>
  2261. </entry>
  2262. <entry value="16" name="MAV_SENSOR_ROTATION_ROLL_90">
  2263. <description>Roll: 90, Pitch: 0, Yaw: 0</description>
  2264. </entry>
  2265. <entry value="17" name="MAV_SENSOR_ROTATION_ROLL_90_YAW_45">
  2266. <description>Roll: 90, Pitch: 0, Yaw: 45</description>
  2267. </entry>
  2268. <entry value="18" name="MAV_SENSOR_ROTATION_ROLL_90_YAW_90">
  2269. <description>Roll: 90, Pitch: 0, Yaw: 90</description>
  2270. </entry>
  2271. <entry value="19" name="MAV_SENSOR_ROTATION_ROLL_90_YAW_135">
  2272. <description>Roll: 90, Pitch: 0, Yaw: 135</description>
  2273. </entry>
  2274. <entry value="20" name="MAV_SENSOR_ROTATION_ROLL_270">
  2275. <description>Roll: 270, Pitch: 0, Yaw: 0</description>
  2276. </entry>
  2277. <entry value="21" name="MAV_SENSOR_ROTATION_ROLL_270_YAW_45">
  2278. <description>Roll: 270, Pitch: 0, Yaw: 45</description>
  2279. </entry>
  2280. <entry value="22" name="MAV_SENSOR_ROTATION_ROLL_270_YAW_90">
  2281. <description>Roll: 270, Pitch: 0, Yaw: 90</description>
  2282. </entry>
  2283. <entry value="23" name="MAV_SENSOR_ROTATION_ROLL_270_YAW_135">
  2284. <description>Roll: 270, Pitch: 0, Yaw: 135</description>
  2285. </entry>
  2286. <entry value="24" name="MAV_SENSOR_ROTATION_PITCH_90">
  2287. <description>Roll: 0, Pitch: 90, Yaw: 0</description>
  2288. </entry>
  2289. <entry value="25" name="MAV_SENSOR_ROTATION_PITCH_270">
  2290. <description>Roll: 0, Pitch: 270, Yaw: 0</description>
  2291. </entry>
  2292. <entry value="26" name="MAV_SENSOR_ROTATION_PITCH_180_YAW_90">
  2293. <description>Roll: 0, Pitch: 180, Yaw: 90</description>
  2294. </entry>
  2295. <entry value="27" name="MAV_SENSOR_ROTATION_PITCH_180_YAW_270">
  2296. <description>Roll: 0, Pitch: 180, Yaw: 270</description>
  2297. </entry>
  2298. <entry value="28" name="MAV_SENSOR_ROTATION_ROLL_90_PITCH_90">
  2299. <description>Roll: 90, Pitch: 90, Yaw: 0</description>
  2300. </entry>
  2301. <entry value="29" name="MAV_SENSOR_ROTATION_ROLL_180_PITCH_90">
  2302. <description>Roll: 180, Pitch: 90, Yaw: 0</description>
  2303. </entry>
  2304. <entry value="30" name="MAV_SENSOR_ROTATION_ROLL_270_PITCH_90">
  2305. <description>Roll: 270, Pitch: 90, Yaw: 0</description>
  2306. </entry>
  2307. <entry value="31" name="MAV_SENSOR_ROTATION_ROLL_90_PITCH_180">
  2308. <description>Roll: 90, Pitch: 180, Yaw: 0</description>
  2309. </entry>
  2310. <entry value="32" name="MAV_SENSOR_ROTATION_ROLL_270_PITCH_180">
  2311. <description>Roll: 270, Pitch: 180, Yaw: 0</description>
  2312. </entry>
  2313. <entry value="33" name="MAV_SENSOR_ROTATION_ROLL_90_PITCH_270">
  2314. <description>Roll: 90, Pitch: 270, Yaw: 0</description>
  2315. </entry>
  2316. <entry value="34" name="MAV_SENSOR_ROTATION_ROLL_180_PITCH_270">
  2317. <description>Roll: 180, Pitch: 270, Yaw: 0</description>
  2318. </entry>
  2319. <entry value="35" name="MAV_SENSOR_ROTATION_ROLL_270_PITCH_270">
  2320. <description>Roll: 270, Pitch: 270, Yaw: 0</description>
  2321. </entry>
  2322. <entry value="36" name="MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90">
  2323. <description>Roll: 90, Pitch: 180, Yaw: 90</description>
  2324. </entry>
  2325. <entry value="37" name="MAV_SENSOR_ROTATION_ROLL_90_YAW_270">
  2326. <description>Roll: 90, Pitch: 0, Yaw: 270</description>
  2327. </entry>
  2328. <entry value="38" name="MAV_SENSOR_ROTATION_ROLL_90_PITCH_68_YAW_293">
  2329. <description>Roll: 90, Pitch: 68, Yaw: 293</description>
  2330. </entry>
  2331. <entry value="39" name="MAV_SENSOR_ROTATION_PITCH_315">
  2332. <description>Pitch: 315</description>
  2333. </entry>
  2334. <entry value="40" name="MAV_SENSOR_ROTATION_ROLL_90_PITCH_315">
  2335. <description>Roll: 90, Pitch: 315</description>
  2336. </entry>
  2337. <entry value="100" name="MAV_SENSOR_ROTATION_CUSTOM">
  2338. <description>Custom orientation</description>
  2339. </entry>
  2340. </enum>
  2341. <enum name="MAV_PROTOCOL_CAPABILITY">
  2342. <description>Bitmask of (optional) autopilot capabilities (64 bit). If a bit is set, the autopilot supports this capability.</description>
  2343. <entry value="1" name="MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT">
  2344. <description>Autopilot supports MISSION float message type.</description>
  2345. </entry>
  2346. <entry value="2" name="MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT">
  2347. <description>Autopilot supports the new param float message type.</description>
  2348. </entry>
  2349. <entry value="4" name="MAV_PROTOCOL_CAPABILITY_MISSION_INT">
  2350. <description>Autopilot supports MISSION_INT scaled integer message type.</description>
  2351. </entry>
  2352. <entry value="8" name="MAV_PROTOCOL_CAPABILITY_COMMAND_INT">
  2353. <description>Autopilot supports COMMAND_INT scaled integer message type.</description>
  2354. </entry>
  2355. <entry value="16" name="MAV_PROTOCOL_CAPABILITY_PARAM_UNION">
  2356. <description>Autopilot supports the new param union message type.</description>
  2357. </entry>
  2358. <entry value="32" name="MAV_PROTOCOL_CAPABILITY_FTP">
  2359. <description>Autopilot supports the new FILE_TRANSFER_PROTOCOL message type.</description>
  2360. </entry>
  2361. <entry value="64" name="MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET">
  2362. <description>Autopilot supports commanding attitude offboard.</description>
  2363. </entry>
  2364. <entry value="128" name="MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED">
  2365. <description>Autopilot supports commanding position and velocity targets in local NED frame.</description>
  2366. </entry>
  2367. <entry value="256" name="MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT">
  2368. <description>Autopilot supports commanding position and velocity targets in global scaled integers.</description>
  2369. </entry>
  2370. <entry value="512" name="MAV_PROTOCOL_CAPABILITY_TERRAIN">
  2371. <description>Autopilot supports terrain protocol / data handling.</description>
  2372. </entry>
  2373. <entry value="1024" name="MAV_PROTOCOL_CAPABILITY_SET_ACTUATOR_TARGET">
  2374. <description>Autopilot supports direct actuator control.</description>
  2375. </entry>
  2376. <entry value="2048" name="MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION">
  2377. <description>Autopilot supports the flight termination command.</description>
  2378. </entry>
  2379. <entry value="4096" name="MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION">
  2380. <description>Autopilot supports onboard compass calibration.</description>
  2381. </entry>
  2382. <entry value="8192" name="MAV_PROTOCOL_CAPABILITY_MAVLINK2">
  2383. <description>Autopilot supports MAVLink version 2.</description>
  2384. </entry>
  2385. <entry value="16384" name="MAV_PROTOCOL_CAPABILITY_MISSION_FENCE">
  2386. <description>Autopilot supports mission fence protocol.</description>
  2387. </entry>
  2388. <entry value="32768" name="MAV_PROTOCOL_CAPABILITY_MISSION_RALLY">
  2389. <description>Autopilot supports mission rally point protocol.</description>
  2390. </entry>
  2391. <entry value="65536" name="MAV_PROTOCOL_CAPABILITY_FLIGHT_INFORMATION">
  2392. <description>Autopilot supports the flight information protocol.</description>
  2393. </entry>
  2394. </enum>
  2395. <enum name="MAV_MISSION_TYPE">
  2396. <description>Type of mission items being requested/sent in mission protocol.</description>
  2397. <entry value="0" name="MAV_MISSION_TYPE_MISSION">
  2398. <description>Items are mission commands for main mission.</description>
  2399. </entry>
  2400. <entry value="1" name="MAV_MISSION_TYPE_FENCE">
  2401. <description>Specifies GeoFence area(s). Items are MAV_CMD_NAV_FENCE_ GeoFence items.</description>
  2402. </entry>
  2403. <entry value="2" name="MAV_MISSION_TYPE_RALLY">
  2404. <description>Specifies the rally points for the vehicle. Rally points are alternative RTL points. Items are MAV_CMD_NAV_RALLY_POINT rally point items.</description>
  2405. </entry>
  2406. <entry value="255" name="MAV_MISSION_TYPE_ALL">
  2407. <description>Only used in MISSION_CLEAR_ALL to clear all mission types.</description>
  2408. </entry>
  2409. </enum>
  2410. <enum name="MAV_ESTIMATOR_TYPE">
  2411. <description>Enumeration of estimator types</description>
  2412. <entry value="1" name="MAV_ESTIMATOR_TYPE_NAIVE">
  2413. <description>This is a naive estimator without any real covariance feedback.</description>
  2414. </entry>
  2415. <entry value="2" name="MAV_ESTIMATOR_TYPE_VISION">
  2416. <description>Computer vision based estimate. Might be up to scale.</description>
  2417. </entry>
  2418. <entry value="3" name="MAV_ESTIMATOR_TYPE_VIO">
  2419. <description>Visual-inertial estimate.</description>
  2420. </entry>
  2421. <entry value="4" name="MAV_ESTIMATOR_TYPE_GPS">
  2422. <description>Plain GPS estimate.</description>
  2423. </entry>
  2424. <entry value="5" name="MAV_ESTIMATOR_TYPE_GPS_INS">
  2425. <description>Estimator integrating GPS and inertial sensing.</description>
  2426. </entry>
  2427. </enum>
  2428. <enum name="MAV_BATTERY_TYPE">
  2429. <description>Enumeration of battery types</description>
  2430. <entry value="0" name="MAV_BATTERY_TYPE_UNKNOWN">
  2431. <description>Not specified.</description>
  2432. </entry>
  2433. <entry value="1" name="MAV_BATTERY_TYPE_LIPO">
  2434. <description>Lithium polymer battery</description>
  2435. </entry>
  2436. <entry value="2" name="MAV_BATTERY_TYPE_LIFE">
  2437. <description>Lithium-iron-phosphate battery</description>
  2438. </entry>
  2439. <entry value="3" name="MAV_BATTERY_TYPE_LION">
  2440. <description>Lithium-ION battery</description>
  2441. </entry>
  2442. <entry value="4" name="MAV_BATTERY_TYPE_NIMH">
  2443. <description>Nickel metal hydride battery</description>
  2444. </entry>
  2445. </enum>
  2446. <enum name="MAV_BATTERY_FUNCTION">
  2447. <description>Enumeration of battery functions</description>
  2448. <entry value="0" name="MAV_BATTERY_FUNCTION_UNKNOWN">
  2449. <description>Battery function is unknown</description>
  2450. </entry>
  2451. <entry value="1" name="MAV_BATTERY_FUNCTION_ALL">
  2452. <description>Battery supports all flight systems</description>
  2453. </entry>
  2454. <entry value="2" name="MAV_BATTERY_FUNCTION_PROPULSION">
  2455. <description>Battery for the propulsion system</description>
  2456. </entry>
  2457. <entry value="3" name="MAV_BATTERY_FUNCTION_AVIONICS">
  2458. <description>Avionics battery</description>
  2459. </entry>
  2460. <entry value="4" name="MAV_BATTERY_TYPE_PAYLOAD">
  2461. <description>Payload battery</description>
  2462. </entry>
  2463. </enum>
  2464. <enum name="MAV_BATTERY_CHARGE_STATE">
  2465. <description>Enumeration for battery charge states.</description>
  2466. <entry value="0" name="MAV_BATTERY_CHARGE_STATE_UNDEFINED">
  2467. <description>Low battery state is not provided</description>
  2468. </entry>
  2469. <entry value="1" name="MAV_BATTERY_CHARGE_STATE_OK">
  2470. <description>Battery is not in low state. Normal operation.</description>
  2471. </entry>
  2472. <entry value="2" name="MAV_BATTERY_CHARGE_STATE_LOW">
  2473. <description>Battery state is low, warn and monitor close.</description>
  2474. </entry>
  2475. <entry value="3" name="MAV_BATTERY_CHARGE_STATE_CRITICAL">
  2476. <description>Battery state is critical, return or abort immediately.</description>
  2477. </entry>
  2478. <entry value="4" name="MAV_BATTERY_CHARGE_STATE_EMERGENCY">
  2479. <description>Battery state is too low for ordinary abort sequence. Perform fastest possible emergency stop to prevent damage.</description>
  2480. </entry>
  2481. <entry value="5" name="MAV_BATTERY_CHARGE_STATE_FAILED">
  2482. <description>Battery failed, damage unavoidable.</description>
  2483. </entry>
  2484. <entry value="6" name="MAV_BATTERY_CHARGE_STATE_UNHEALTHY">
  2485. <description>Battery is diagnosed to be defective or an error occurred, usage is discouraged / prohibited.</description>
  2486. </entry>
  2487. <entry value="7" name="MAV_BATTERY_CHARGE_STATE_CHARGING">
  2488. <description>Battery is charging.</description>
  2489. </entry>
  2490. </enum>
  2491. <enum name="MAV_VTOL_STATE">
  2492. <description>Enumeration of VTOL states</description>
  2493. <entry value="0" name="MAV_VTOL_STATE_UNDEFINED">
  2494. <description>MAV is not configured as VTOL</description>
  2495. </entry>
  2496. <entry value="1" name="MAV_VTOL_STATE_TRANSITION_TO_FW">
  2497. <description>VTOL is in transition from multicopter to fixed-wing</description>
  2498. </entry>
  2499. <entry value="2" name="MAV_VTOL_STATE_TRANSITION_TO_MC">
  2500. <description>VTOL is in transition from fixed-wing to multicopter</description>
  2501. </entry>
  2502. <entry value="3" name="MAV_VTOL_STATE_MC">
  2503. <description>VTOL is in multicopter state</description>
  2504. </entry>
  2505. <entry value="4" name="MAV_VTOL_STATE_FW">
  2506. <description>VTOL is in fixed-wing state</description>
  2507. </entry>
  2508. </enum>
  2509. <enum name="MAV_LANDED_STATE">
  2510. <description>Enumeration of landed detector states</description>
  2511. <entry value="0" name="MAV_LANDED_STATE_UNDEFINED">
  2512. <description>MAV landed state is unknown</description>
  2513. </entry>
  2514. <entry value="1" name="MAV_LANDED_STATE_ON_GROUND">
  2515. <description>MAV is landed (on ground)</description>
  2516. </entry>
  2517. <entry value="2" name="MAV_LANDED_STATE_IN_AIR">
  2518. <description>MAV is in air</description>
  2519. </entry>
  2520. <entry value="3" name="MAV_LANDED_STATE_TAKEOFF">
  2521. <description>MAV currently taking off</description>
  2522. </entry>
  2523. <entry value="4" name="MAV_LANDED_STATE_LANDING">
  2524. <description>MAV currently landing</description>
  2525. </entry>
  2526. </enum>
  2527. <enum name="ADSB_ALTITUDE_TYPE">
  2528. <description>Enumeration of the ADSB altimeter types</description>
  2529. <entry value="0" name="ADSB_ALTITUDE_TYPE_PRESSURE_QNH">
  2530. <description>Altitude reported from a Baro source using QNH reference</description>
  2531. </entry>
  2532. <entry value="1" name="ADSB_ALTITUDE_TYPE_GEOMETRIC">
  2533. <description>Altitude reported from a GNSS source</description>
  2534. </entry>
  2535. </enum>
  2536. <enum name="ADSB_EMITTER_TYPE">
  2537. <description>ADSB classification for the type of vehicle emitting the transponder signal</description>
  2538. <entry value="0" name="ADSB_EMITTER_TYPE_NO_INFO"/>
  2539. <entry value="1" name="ADSB_EMITTER_TYPE_LIGHT"/>
  2540. <entry value="2" name="ADSB_EMITTER_TYPE_SMALL"/>
  2541. <entry value="3" name="ADSB_EMITTER_TYPE_LARGE"/>
  2542. <entry value="4" name="ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE"/>
  2543. <entry value="5" name="ADSB_EMITTER_TYPE_HEAVY"/>
  2544. <entry value="6" name="ADSB_EMITTER_TYPE_HIGHLY_MANUV"/>
  2545. <entry value="7" name="ADSB_EMITTER_TYPE_ROTOCRAFT"/>
  2546. <entry value="8" name="ADSB_EMITTER_TYPE_UNASSIGNED"/>
  2547. <entry value="9" name="ADSB_EMITTER_TYPE_GLIDER"/>
  2548. <entry value="10" name="ADSB_EMITTER_TYPE_LIGHTER_AIR"/>
  2549. <entry value="11" name="ADSB_EMITTER_TYPE_PARACHUTE"/>
  2550. <entry value="12" name="ADSB_EMITTER_TYPE_ULTRA_LIGHT"/>
  2551. <entry value="13" name="ADSB_EMITTER_TYPE_UNASSIGNED2"/>
  2552. <entry value="14" name="ADSB_EMITTER_TYPE_UAV"/>
  2553. <entry value="15" name="ADSB_EMITTER_TYPE_SPACE"/>
  2554. <entry value="16" name="ADSB_EMITTER_TYPE_UNASSGINED3"/>
  2555. <entry value="17" name="ADSB_EMITTER_TYPE_EMERGENCY_SURFACE"/>
  2556. <entry value="18" name="ADSB_EMITTER_TYPE_SERVICE_SURFACE"/>
  2557. <entry value="19" name="ADSB_EMITTER_TYPE_POINT_OBSTACLE"/>
  2558. </enum>
  2559. <enum name="ADSB_FLAGS">
  2560. <description>These flags indicate status such as data validity of each data source. Set = data valid</description>
  2561. <entry value="1" name="ADSB_FLAGS_VALID_COORDS"/>
  2562. <entry value="2" name="ADSB_FLAGS_VALID_ALTITUDE"/>
  2563. <entry value="4" name="ADSB_FLAGS_VALID_HEADING"/>
  2564. <entry value="8" name="ADSB_FLAGS_VALID_VELOCITY"/>
  2565. <entry value="16" name="ADSB_FLAGS_VALID_CALLSIGN"/>
  2566. <entry value="32" name="ADSB_FLAGS_VALID_SQUAWK"/>
  2567. <entry value="64" name="ADSB_FLAGS_SIMULATED"/>
  2568. </enum>
  2569. <enum name="MAV_DO_REPOSITION_FLAGS">
  2570. <description>Bitmap of options for the MAV_CMD_DO_REPOSITION</description>
  2571. <entry value="1" name="MAV_DO_REPOSITION_FLAGS_CHANGE_MODE">
  2572. <description>The aircraft should immediately transition into guided. This should not be set for follow me applications</description>
  2573. </entry>
  2574. </enum>
  2575. <!-- ESTIMATOR_STATUS_FLAGS - these values should be bit-and with the messages flags field to know if flag has been set -->
  2576. <enum name="ESTIMATOR_STATUS_FLAGS">
  2577. <description>Flags in EKF_STATUS message</description>
  2578. <entry value="1" name="ESTIMATOR_ATTITUDE">
  2579. <description>True if the attitude estimate is good</description>
  2580. </entry>
  2581. <entry value="2" name="ESTIMATOR_VELOCITY_HORIZ">
  2582. <description>True if the horizontal velocity estimate is good</description>
  2583. </entry>
  2584. <entry value="4" name="ESTIMATOR_VELOCITY_VERT">
  2585. <description>True if the vertical velocity estimate is good</description>
  2586. </entry>
  2587. <entry value="8" name="ESTIMATOR_POS_HORIZ_REL">
  2588. <description>True if the horizontal position (relative) estimate is good</description>
  2589. </entry>
  2590. <entry value="16" name="ESTIMATOR_POS_HORIZ_ABS">
  2591. <description>True if the horizontal position (absolute) estimate is good</description>
  2592. </entry>
  2593. <entry value="32" name="ESTIMATOR_POS_VERT_ABS">
  2594. <description>True if the vertical position (absolute) estimate is good</description>
  2595. </entry>
  2596. <entry value="64" name="ESTIMATOR_POS_VERT_AGL">
  2597. <description>True if the vertical position (above ground) estimate is good</description>
  2598. </entry>
  2599. <entry value="128" name="ESTIMATOR_CONST_POS_MODE">
  2600. <description>True if the EKF is in a constant position mode and is not using external measurements (eg GPS or optical flow)</description>
  2601. </entry>
  2602. <entry value="256" name="ESTIMATOR_PRED_POS_HORIZ_REL">
  2603. <description>True if the EKF has sufficient data to enter a mode that will provide a (relative) position estimate</description>
  2604. </entry>
  2605. <entry value="512" name="ESTIMATOR_PRED_POS_HORIZ_ABS">
  2606. <description>True if the EKF has sufficient data to enter a mode that will provide a (absolute) position estimate</description>
  2607. </entry>
  2608. <entry value="1024" name="ESTIMATOR_GPS_GLITCH">
  2609. <description>True if the EKF has detected a GPS glitch</description>
  2610. </entry>
  2611. <entry value="2048" name="ESTIMATOR_ACCEL_ERROR">
  2612. <description>True if the EKF has detected bad accelerometer data</description>
  2613. </entry>
  2614. </enum>
  2615. <!-- motor test type enum -->
  2616. <enum name="MOTOR_TEST_ORDER">
  2617. <entry name="MOTOR_TEST_ORDER_DEFAULT" value="0">
  2618. <description>default autopilot motor test method</description>
  2619. </entry>
  2620. <entry name="MOTOR_TEST_ORDER_SEQUENCE" value="1">
  2621. <description>motor numbers are specified as their index in a predefined vehicle-specific sequence</description>
  2622. </entry>
  2623. <entry name="MOTOR_TEST_ORDER_BOARD" value="2">
  2624. <description>motor numbers are specified as the output as labeled on the board</description>
  2625. </entry>
  2626. </enum>
  2627. <!-- motor test throttle type enum -->
  2628. <enum name="MOTOR_TEST_THROTTLE_TYPE">
  2629. <entry value="0" name="MOTOR_TEST_THROTTLE_PERCENT">
  2630. <description>throttle as a percentage from 0 ~ 100</description>
  2631. </entry>
  2632. <entry value="1" name="MOTOR_TEST_THROTTLE_PWM">
  2633. <description>throttle as an absolute PWM value (normally in range of 1000~2000)</description>
  2634. </entry>
  2635. <entry value="2" name="MOTOR_TEST_THROTTLE_PILOT">
  2636. <description>throttle pass-through from pilot's transmitter</description>
  2637. </entry>
  2638. <entry value="3" name="MOTOR_TEST_COMPASS_CAL">
  2639. <description>per-motor compass calibration test</description>
  2640. </entry>
  2641. </enum>
  2642. <!-- GPS_INPUT ignore flags enum -->
  2643. <enum name="GPS_INPUT_IGNORE_FLAGS">
  2644. <entry value="1" name="GPS_INPUT_IGNORE_FLAG_ALT">
  2645. <description>ignore altitude field</description>
  2646. </entry>
  2647. <entry value="2" name="GPS_INPUT_IGNORE_FLAG_HDOP">
  2648. <description>ignore hdop field</description>
  2649. </entry>
  2650. <entry value="4" name="GPS_INPUT_IGNORE_FLAG_VDOP">
  2651. <description>ignore vdop field</description>
  2652. </entry>
  2653. <entry value="8" name="GPS_INPUT_IGNORE_FLAG_VEL_HORIZ">
  2654. <description>ignore horizontal velocity field (vn and ve)</description>
  2655. </entry>
  2656. <entry value="16" name="GPS_INPUT_IGNORE_FLAG_VEL_VERT">
  2657. <description>ignore vertical velocity field (vd)</description>
  2658. </entry>
  2659. <entry value="32" name="GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY">
  2660. <description>ignore speed accuracy field</description>
  2661. </entry>
  2662. <entry value="64" name="GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY">
  2663. <description>ignore horizontal accuracy field</description>
  2664. </entry>
  2665. <entry value="128" name="GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY">
  2666. <description>ignore vertical accuracy field</description>
  2667. </entry>
  2668. </enum>
  2669. <enum name="MAV_COLLISION_ACTION">
  2670. <description>Possible actions an aircraft can take to avoid a collision.</description>
  2671. <entry value="0" name="MAV_COLLISION_ACTION_NONE">
  2672. <description>Ignore any potential collisions</description>
  2673. </entry>
  2674. <entry value="1" name="MAV_COLLISION_ACTION_REPORT">
  2675. <description>Report potential collision</description>
  2676. </entry>
  2677. <entry value="2" name="MAV_COLLISION_ACTION_ASCEND_OR_DESCEND">
  2678. <description>Ascend or Descend to avoid threat</description>
  2679. </entry>
  2680. <entry value="3" name="MAV_COLLISION_ACTION_MOVE_HORIZONTALLY">
  2681. <description>Move horizontally to avoid threat</description>
  2682. </entry>
  2683. <entry value="4" name="MAV_COLLISION_ACTION_MOVE_PERPENDICULAR">
  2684. <description>Aircraft to move perpendicular to the collision's velocity vector</description>
  2685. </entry>
  2686. <entry value="5" name="MAV_COLLISION_ACTION_RTL">
  2687. <description>Aircraft to fly directly back to its launch point</description>
  2688. </entry>
  2689. <entry value="6" name="MAV_COLLISION_ACTION_HOVER">
  2690. <description>Aircraft to stop in place</description>
  2691. </entry>
  2692. </enum>
  2693. <enum name="MAV_COLLISION_THREAT_LEVEL">
  2694. <description>Aircraft-rated danger from this threat.</description>
  2695. <entry value="0" name="MAV_COLLISION_THREAT_LEVEL_NONE">
  2696. <description>Not a threat</description>
  2697. </entry>
  2698. <entry value="1" name="MAV_COLLISION_THREAT_LEVEL_LOW">
  2699. <description>Craft is mildly concerned about this threat</description>
  2700. </entry>
  2701. <entry value="2" name="MAV_COLLISION_THREAT_LEVEL_HIGH">
  2702. <description>Craft is panicking, and may take actions to avoid threat</description>
  2703. </entry>
  2704. </enum>
  2705. <enum name="MAV_COLLISION_SRC">
  2706. <description>Source of information about this collision.</description>
  2707. <entry value="0" name="MAV_COLLISION_SRC_ADSB">
  2708. <description>ID field references ADSB_VEHICLE packets</description>
  2709. </entry>
  2710. <entry value="1" name="MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT">
  2711. <description>ID field references MAVLink SRC ID</description>
  2712. </entry>
  2713. </enum>
  2714. <enum name="GPS_FIX_TYPE">
  2715. <description>Type of GPS fix</description>
  2716. <entry value="0" name="GPS_FIX_TYPE_NO_GPS">
  2717. <description>No GPS connected</description>
  2718. </entry>
  2719. <entry value="1" name="GPS_FIX_TYPE_NO_FIX">
  2720. <description>No position information, GPS is connected</description>
  2721. </entry>
  2722. <entry value="2" name="GPS_FIX_TYPE_2D_FIX">
  2723. <description>2D position</description>
  2724. </entry>
  2725. <entry value="3" name="GPS_FIX_TYPE_3D_FIX">
  2726. <description>3D position</description>
  2727. </entry>
  2728. <entry value="4" name="GPS_FIX_TYPE_DGPS">
  2729. <description>DGPS/SBAS aided 3D position</description>
  2730. </entry>
  2731. <entry value="5" name="GPS_FIX_TYPE_RTK_FLOAT">
  2732. <description>RTK float, 3D position</description>
  2733. </entry>
  2734. <entry value="6" name="GPS_FIX_TYPE_RTK_FIXED">
  2735. <description>RTK Fixed, 3D position</description>
  2736. </entry>
  2737. <entry value="7" name="GPS_FIX_TYPE_STATIC">
  2738. <description>Static fixed, typically used for base stations</description>
  2739. </entry>
  2740. <entry value="8" name="GPS_FIX_TYPE_PPP">
  2741. <description>PPP, 3D position.</description>
  2742. </entry>
  2743. </enum>
  2744. <enum name="RTK_BASELINE_COORDINATE_SYSTEM">
  2745. <description>RTK GPS baseline coordinate system, used for RTK corrections</description>
  2746. <entry value="0" name="RTK_BASELINE_COORDINATE_SYSTEM_ECEF">
  2747. <description>Earth-centered, Earth-fixed</description>
  2748. </entry>
  2749. <entry value="1" name="RTK_BASELINE_COORDINATE_SYSTEM_NED">
  2750. <description>North, East, Down</description>
  2751. </entry>
  2752. </enum>
  2753. <enum name="LANDING_TARGET_TYPE">
  2754. <description>Type of landing target</description>
  2755. <entry value="0" name="LANDING_TARGET_TYPE_LIGHT_BEACON">
  2756. <description>Landing target signaled by light beacon (ex: IR-LOCK)</description>
  2757. </entry>
  2758. <entry value="1" name="LANDING_TARGET_TYPE_RADIO_BEACON">
  2759. <description>Landing target signaled by radio beacon (ex: ILS, NDB)</description>
  2760. </entry>
  2761. <entry value="2" name="LANDING_TARGET_TYPE_VISION_FIDUCIAL">
  2762. <description>Landing target represented by a fiducial marker (ex: ARTag)</description>
  2763. </entry>
  2764. <entry value="3" name="LANDING_TARGET_TYPE_VISION_OTHER">
  2765. <description>Landing target represented by a pre-defined visual shape/feature (ex: X-marker, H-marker, square)</description>
  2766. </entry>
  2767. </enum>
  2768. <enum name="VTOL_TRANSITION_HEADING">
  2769. <description>Direction of VTOL transition</description>
  2770. <entry value="0" name="VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT">
  2771. <description>Respect the heading configuration of the vehicle.</description>
  2772. </entry>
  2773. <entry value="1" name="VTOL_TRANSITION_HEADING_NEXT_WAYPOINT">
  2774. <description>Use the heading pointing towards the next waypoint.</description>
  2775. </entry>
  2776. <entry value="2" name="VTOL_TRANSITION_HEADING_TAKEOFF">
  2777. <description>Use the heading on takeoff (while sitting on the ground).</description>
  2778. </entry>
  2779. <entry value="3" name="VTOL_TRANSITION_HEADING_SPECIFIED">
  2780. <description>Use the specified heading in parameter 4.</description>
  2781. </entry>
  2782. <entry value="4" name="VTOL_TRANSITION_HEADING_ANY">
  2783. <description>Use the current heading when reaching takeoff altitude (potentially facing the wind when weather-vaning is active).</description>
  2784. </entry>
  2785. </enum>
  2786. <enum name="CAMERA_CAP_FLAGS">
  2787. <description>Camera capability flags (Bitmap)</description>
  2788. <entry value="1" name="CAMERA_CAP_FLAGS_CAPTURE_VIDEO">
  2789. <description>Camera is able to record video</description>
  2790. </entry>
  2791. <entry value="2" name="CAMERA_CAP_FLAGS_CAPTURE_IMAGE">
  2792. <description>Camera is able to capture images</description>
  2793. </entry>
  2794. <entry value="4" name="CAMERA_CAP_FLAGS_HAS_MODES">
  2795. <description>Camera has separate Video and Image/Photo modes (MAV_CMD_SET_CAMERA_MODE)</description>
  2796. </entry>
  2797. <entry value="8" name="CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE">
  2798. <description>Camera can capture images while in video mode</description>
  2799. </entry>
  2800. <entry value="16" name="CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE">
  2801. <description>Camera can capture videos while in Photo/Image mode</description>
  2802. </entry>
  2803. <entry value="32" name="CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE">
  2804. <description>Camera has image survey mode (MAV_CMD_SET_CAMERA_MODE)</description>
  2805. </entry>
  2806. <entry value="64" name="CAMERA_CAP_FLAGS_HAS_BASIC_ZOOM">
  2807. <description>Camera has basic zoom control (MAV_CMD_SET_CAMERA_ZOOM)</description>
  2808. </entry>
  2809. <entry value="128" name="CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS">
  2810. <description>Camera has basic focus control (MAV_CMD_SET_CAMERA_FOCUS)</description>
  2811. </entry>
  2812. <entry value="256" name="CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM">
  2813. <description>Camera has video streaming capabilities (use MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION for video streaming info)</description>
  2814. </entry>
  2815. </enum>
  2816. <enum name="CAMERA_MODE">
  2817. <description>Camera Modes.</description>
  2818. <entry value="0" name="CAMERA_MODE_IMAGE">
  2819. <description>Camera is in image/photo capture mode.</description>
  2820. </entry>
  2821. <entry value="1" name="CAMERA_MODE_VIDEO">
  2822. <description>Camera is in video capture mode.</description>
  2823. </entry>
  2824. <entry value="2" name="CAMERA_MODE_IMAGE_SURVEY">
  2825. <description>Camera is in image survey capture mode. It allows for camera controller to do specific settings for surveys.</description>
  2826. </entry>
  2827. </enum>
  2828. <enum name="MAV_ARM_AUTH_DENIED_REASON">
  2829. <entry value="0" name="MAV_ARM_AUTH_DENIED_REASON_GENERIC">
  2830. <description>Not a specific reason</description>
  2831. </entry>
  2832. <entry value="1" name="MAV_ARM_AUTH_DENIED_REASON_NONE">
  2833. <description>Authorizer will send the error as string to GCS</description>
  2834. </entry>
  2835. <entry value="2" name="MAV_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT">
  2836. <description>At least one waypoint have a invalid value</description>
  2837. </entry>
  2838. <entry value="3" name="MAV_ARM_AUTH_DENIED_REASON_TIMEOUT">
  2839. <description>Timeout in the authorizer process(in case it depends on network)</description>
  2840. </entry>
  2841. <entry value="4" name="MAV_ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE">
  2842. <description>Airspace of the mission in use by another vehicle, second result parameter can have the waypoint id that caused it to be denied.</description>
  2843. </entry>
  2844. <entry value="5" name="MAV_ARM_AUTH_DENIED_REASON_BAD_WEATHER">
  2845. <description>Weather is not good to fly</description>
  2846. </entry>
  2847. </enum>
  2848. <enum name="RC_TYPE">
  2849. <description>RC type</description>
  2850. <entry value="0" name="RC_TYPE_SPEKTRUM_DSM2">
  2851. <description>Spektrum DSM2</description>
  2852. </entry>
  2853. <entry value="1" name="RC_TYPE_SPEKTRUM_DSMX">
  2854. <description>Spektrum DSMX</description>
  2855. </entry>
  2856. </enum>
  2857. <enum name="POSITION_TARGET_TYPEMASK">
  2858. <description>Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 9 is set the floats afx afy afz should be interpreted as force instead of acceleration.</description>
  2859. <entry value="1" name="POSITION_TARGET_TYPEMASK_X_IGNORE">
  2860. <description>Ignore position x</description>
  2861. </entry>
  2862. <entry value="2" name="POSITION_TARGET_TYPEMASK_Y_IGNORE">
  2863. <description>Ignore position y</description>
  2864. </entry>
  2865. <entry value="4" name="POSITION_TARGET_TYPEMASK_Z_IGNORE">
  2866. <description>Ignore position z</description>
  2867. </entry>
  2868. <entry value="8" name="POSITION_TARGET_TYPEMASK_VX_IGNORE">
  2869. <description>Ignore velocity x</description>
  2870. </entry>
  2871. <entry value="16" name="POSITION_TARGET_TYPEMASK_VY_IGNORE">
  2872. <description>Ignore velocity y</description>
  2873. </entry>
  2874. <entry value="32" name="POSITION_TARGET_TYPEMASK_VZ_IGNORE">
  2875. <description>Ignore velocity z</description>
  2876. </entry>
  2877. <entry value="64" name="POSITION_TARGET_TYPEMASK_AX_IGNORE">
  2878. <description>Ignore acceleration x</description>
  2879. </entry>
  2880. <entry value="128" name="POSITION_TARGET_TYPEMASK_AY_IGNORE">
  2881. <description>Ignore acceleration y</description>
  2882. </entry>
  2883. <entry value="256" name="POSITION_TARGET_TYPEMASK_AZ_IGNORE">
  2884. <description>Ignore acceleration z</description>
  2885. </entry>
  2886. <entry value="512" name="POSITION_TARGET_TYPEMASK_FORCE_SET">
  2887. <description>Use force instead of acceleration</description>
  2888. </entry>
  2889. <entry value="1024" name="POSITION_TARGET_TYPEMASK_YAW_IGNORE">
  2890. <description>Ignore yaw</description>
  2891. </entry>
  2892. <entry value="2048" name="POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE">
  2893. <description>Ignore yaw rate</description>
  2894. </entry>
  2895. </enum>
  2896. <enum name="PRECISION_LAND_MODE">
  2897. <description>Precision land modes (used in MAV_CMD_NAV_LAND).</description>
  2898. <entry value="0" name="PRECISION_LAND_MODE_DISABLED">
  2899. <description>Normal (non-precision) landing.</description>
  2900. </entry>
  2901. <entry value="1" name="PRECISION_LAND_MODE_OPPORTUNISTIC">
  2902. <description>Use precision landing if beacon detected when land command accepted, otherwise land normally.</description>
  2903. </entry>
  2904. <entry value="2" name="PRECISION_LAND_MODE_REQUIRED">
  2905. <description>Use precision landing, searching for beacon if not found when land command accepted (land normally if beacon cannot be found).</description>
  2906. </entry>
  2907. </enum>
  2908. <!-- parachute action enum -->
  2909. <enum name="PARACHUTE_ACTION">
  2910. <entry value="0" name="PARACHUTE_DISABLE">
  2911. <description>Disable parachute release.</description>
  2912. </entry>
  2913. <entry value="1" name="PARACHUTE_ENABLE">
  2914. <description>Enable parachute release.</description>
  2915. </entry>
  2916. <entry value="2" name="PARACHUTE_RELEASE">
  2917. <description>Release parachute.</description>
  2918. </entry>
  2919. </enum>
  2920. </enums>
  2921. <messages>
  2922. <message id="0" name="HEARTBEAT">
  2923. <description>The heartbeat message shows that a system or component is present and responding. The type and autopilot fields (along with the message component id), allow the receiving system to treat further messages from this system appropriately (e.g. by laying out the user interface based on the autopilot). This microservice is documented at https://mavlink.io/en/services/heartbeat.html</description>
  2924. <field type="uint8_t" name="type" enum="MAV_TYPE">Type of the system (quadrotor, helicopter, etc.). Components use the same type as their associated system.</field>
  2925. <field type="uint8_t" name="autopilot" enum="MAV_AUTOPILOT">Autopilot type / class.</field>
  2926. <field type="uint8_t" name="base_mode" enum="MAV_MODE_FLAG" display="bitmask">System mode bitmap.</field>
  2927. <field type="uint32_t" name="custom_mode">A bitfield for use for autopilot-specific flags</field>
  2928. <field type="uint8_t" name="system_status" enum="MAV_STATE">System status flag.</field>
  2929. <field type="uint8_t_mavlink_version" name="mavlink_version">MAVLink version, not writable by user, gets added by protocol because of magic data type: uint8_t_mavlink_version</field>
  2930. </message>
  2931. <message id="1" name="SYS_STATUS">
  2932. <description>The general system state. If the system is following the MAVLink standard, the system state is mainly defined by three orthogonal states/modes: The system mode, which is either LOCKED (motors shut down and locked), MANUAL (system under RC control), GUIDED (system with autonomous position control, position setpoint controlled manually) or AUTO (system guided by path/waypoint planner). The NAV_MODE defined the current flight state: LIFTOFF (often an open-loop maneuver), LANDING, WAYPOINTS or VECTOR. This represents the internal navigation state machine. The system status shows whether the system is currently active or not and if an emergency occurred. During the CRITICAL and EMERGENCY states the MAV is still considered to be active, but should start emergency procedures autonomously. After a failure occurred it should first move from active to critical to allow manual intervention and then move to emergency after a certain timeout.</description>
  2933. <field type="uint32_t" name="onboard_control_sensors_present" enum="MAV_SYS_STATUS_SENSOR" display="bitmask" print_format="0x%04x">Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present.</field>
  2934. <field type="uint32_t" name="onboard_control_sensors_enabled" enum="MAV_SYS_STATUS_SENSOR" display="bitmask" print_format="0x%04x">Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled.</field>
  2935. <field type="uint32_t" name="onboard_control_sensors_health" enum="MAV_SYS_STATUS_SENSOR" display="bitmask" print_format="0x%04x">Bitmap showing which onboard controllers and sensors have an error (or are operational). Value of 0: error. Value of 1: healthy.</field>
  2936. <field type="uint16_t" name="load" units="d%">Maximum usage in percent of the mainloop time. Values: [0-1000] - should always be below 1000</field>
  2937. <field type="uint16_t" name="voltage_battery" units="mV">Battery voltage</field>
  2938. <field type="int16_t" name="current_battery" units="cA">Battery current, -1: autopilot does not measure the current</field>
  2939. <field type="int8_t" name="battery_remaining" units="%">Remaining battery energy, -1: autopilot estimate the remaining battery</field>
  2940. <field type="uint16_t" name="drop_rate_comm" units="c%">Communication drop rate, (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV)</field>
  2941. <field type="uint16_t" name="errors_comm">Communication errors (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV)</field>
  2942. <field type="uint16_t" name="errors_count1">Autopilot-specific errors</field>
  2943. <field type="uint16_t" name="errors_count2">Autopilot-specific errors</field>
  2944. <field type="uint16_t" name="errors_count3">Autopilot-specific errors</field>
  2945. <field type="uint16_t" name="errors_count4">Autopilot-specific errors</field>
  2946. </message>
  2947. <message id="2" name="SYSTEM_TIME">
  2948. <description>The system time is the time of the master clock, typically the computer clock of the main onboard computer.</description>
  2949. <field type="uint64_t" name="time_unix_usec" units="us">Timestamp (UNIX epoch time).</field>
  2950. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  2951. </message>
  2952. <!-- FIXME to be removed / merged with SYSTEM_TIME -->
  2953. <message id="4" name="PING">
  2954. <description>A ping message either requesting or responding to a ping. This allows to measure the system latencies, including serial port, radio modem and UDP connections. The ping microservice is documented at https://mavlink.io/en/services/ping.html</description>
  2955. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  2956. <field type="uint32_t" name="seq">PING sequence</field>
  2957. <field type="uint8_t" name="target_system">0: request ping from all receiving systems. If greater than 0: message is a ping response and number is the system id of the requesting system</field>
  2958. <field type="uint8_t" name="target_component">0: request ping from all receiving components. If greater than 0: message is a ping response and number is the component id of the requesting component.</field>
  2959. </message>
  2960. <message id="5" name="CHANGE_OPERATOR_CONTROL">
  2961. <description>Request to control this MAV</description>
  2962. <field type="uint8_t" name="target_system">System the GCS requests control for</field>
  2963. <field type="uint8_t" name="control_request">0: request control of this MAV, 1: Release control of this MAV</field>
  2964. <field type="uint8_t" name="version" units="rad">0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.</field>
  2965. <field type="char[25]" name="passkey">Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"</field>
  2966. </message>
  2967. <message id="6" name="CHANGE_OPERATOR_CONTROL_ACK">
  2968. <description>Accept / deny control of this MAV</description>
  2969. <field type="uint8_t" name="gcs_system_id">ID of the GCS this message </field>
  2970. <field type="uint8_t" name="control_request">0: request control of this MAV, 1: Release control of this MAV</field>
  2971. <field type="uint8_t" name="ack">0: ACK, 1: NACK: Wrong passkey, 2: NACK: Unsupported passkey encryption method, 3: NACK: Already under control</field>
  2972. </message>
  2973. <message id="7" name="AUTH_KEY">
  2974. <description>Emit an encrypted signature / key identifying this system. PLEASE NOTE: This protocol has been kept simple, so transmitting the key requires an encrypted channel for true safety.</description>
  2975. <field type="char[32]" name="key">key</field>
  2976. </message>
  2977. <message id="11" name="SET_MODE">
  2978. <deprecated since="2015-12" replaced_by="MAV_CMD_DO_SET_MODE">Use COMMAND_LONG with MAV_CMD_DO_SET_MODE instead</deprecated>
  2979. <description>Set the system mode, as defined by enum MAV_MODE. There is no target component id as the mode is by definition for the overall aircraft, not only for one component.</description>
  2980. <field type="uint8_t" name="target_system">The system setting the mode</field>
  2981. <field type="uint8_t" name="base_mode" enum="MAV_MODE">The new base mode.</field>
  2982. <field type="uint32_t" name="custom_mode">The new autopilot-specific mode. This field can be ignored by an autopilot.</field>
  2983. </message>
  2984. <!-- reserved for PARAM_VALUE_UNION -->
  2985. <message id="20" name="PARAM_REQUEST_READ">
  2986. <description>Request to read the onboard parameter with the param_id string id. Onboard parameters are stored as key[const char*] -&gt; value[float]. This allows to send a parameter to any other component (such as the GCS) without the need of previous knowledge of possible parameter names. Thus the same GCS can store different parameters for different autopilots. See also https://mavlink.io/en/services/parameter.html for a full documentation of QGroundControl and IMU code.</description>
  2987. <field type="uint8_t" name="target_system">System ID</field>
  2988. <field type="uint8_t" name="target_component">Component ID</field>
  2989. <field type="char[16]" name="param_id">Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string</field>
  2990. <field type="int16_t" name="param_index">Parameter index. Send -1 to use the param ID field as identifier (else the param id will be ignored)</field>
  2991. </message>
  2992. <message id="21" name="PARAM_REQUEST_LIST">
  2993. <description>Request all parameters of this component. After this request, all parameters are emitted. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html</description>
  2994. <field type="uint8_t" name="target_system">System ID</field>
  2995. <field type="uint8_t" name="target_component">Component ID</field>
  2996. </message>
  2997. <message id="22" name="PARAM_VALUE">
  2998. <description>Emit the value of a onboard parameter. The inclusion of param_count and param_index in the message allows the recipient to keep track of received parameters and allows him to re-request missing parameters after a loss or timeout. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html</description>
  2999. <field type="char[16]" name="param_id">Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string</field>
  3000. <field type="float" name="param_value">Onboard parameter value</field>
  3001. <field type="uint8_t" name="param_type" enum="MAV_PARAM_TYPE">Onboard parameter type.</field>
  3002. <field type="uint16_t" name="param_count">Total number of onboard parameters</field>
  3003. <field type="uint16_t" name="param_index">Index of this onboard parameter</field>
  3004. </message>
  3005. <message id="23" name="PARAM_SET">
  3006. <description>Set a parameter value (write new value to permanent storage). IMPORTANT: The receiving component should acknowledge the new parameter value by sending a PARAM_VALUE message to all communication partners. This will also ensure that multiple GCS all have an up-to-date list of all parameters. If the sending GCS did not receive a PARAM_VALUE message within its timeout time, it should re-send the PARAM_SET message. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html</description>
  3007. <field type="uint8_t" name="target_system">System ID</field>
  3008. <field type="uint8_t" name="target_component">Component ID</field>
  3009. <field type="char[16]" name="param_id">Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string</field>
  3010. <field type="float" name="param_value">Onboard parameter value</field>
  3011. <field type="uint8_t" name="param_type" enum="MAV_PARAM_TYPE">Onboard parameter type.</field>
  3012. </message>
  3013. <message id="24" name="GPS_RAW_INT">
  3014. <description>The global position, as returned by the Global Positioning System (GPS). This is
  3015. NOT the global position estimate of the system, but rather a RAW sensor value. See message GLOBAL_POSITION for the global position estimate.</description>
  3016. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3017. <field type="uint8_t" name="fix_type" enum="GPS_FIX_TYPE">GPS fix type.</field>
  3018. <field type="int32_t" name="lat" units="degE7">Latitude (WGS84, EGM96 ellipsoid)</field>
  3019. <field type="int32_t" name="lon" units="degE7">Longitude (WGS84, EGM96 ellipsoid)</field>
  3020. <field type="int32_t" name="alt" units="mm">Altitude (MSL). Positive for up. Note that virtually all GPS modules provide the MSL altitude in addition to the WGS84 altitude.</field>
  3021. <field type="uint16_t" name="eph">GPS HDOP horizontal dilution of position (unitless). If unknown, set to: UINT16_MAX</field>
  3022. <field type="uint16_t" name="epv">GPS VDOP vertical dilution of position (unitless). If unknown, set to: UINT16_MAX</field>
  3023. <field type="uint16_t" name="vel" units="cm/s">GPS ground speed. If unknown, set to: UINT16_MAX</field>
  3024. <field type="uint16_t" name="cog" units="cdeg">Course over ground (NOT heading, but direction of movement) in degrees * 100, 0.0..359.99 degrees. If unknown, set to: UINT16_MAX</field>
  3025. <field type="uint8_t" name="satellites_visible">Number of satellites visible. If unknown, set to 255</field>
  3026. <extensions/>
  3027. <field type="int32_t" name="alt_ellipsoid" units="mm">Altitude (above WGS84, EGM96 ellipsoid). Positive for up.</field>
  3028. <field type="uint32_t" name="h_acc" units="mm">Position uncertainty. Positive for up.</field>
  3029. <field type="uint32_t" name="v_acc" units="mm">Altitude uncertainty. Positive for up.</field>
  3030. <field type="uint32_t" name="vel_acc" units="mm">Speed uncertainty. Positive for up.</field>
  3031. <field type="uint32_t" name="hdg_acc" units="degE5">Heading / track uncertainty</field>
  3032. </message>
  3033. <message id="25" name="GPS_STATUS">
  3034. <description>The positioning status, as reported by GPS. This message is intended to display status information about each satellite visible to the receiver. See message GLOBAL_POSITION for the global position estimate. This message can contain information for up to 20 satellites.</description>
  3035. <field type="uint8_t" name="satellites_visible">Number of satellites visible</field>
  3036. <field type="uint8_t[20]" name="satellite_prn">Global satellite ID</field>
  3037. <field type="uint8_t[20]" name="satellite_used">0: Satellite not used, 1: used for localization</field>
  3038. <field type="uint8_t[20]" name="satellite_elevation" units="deg">Elevation (0: right on top of receiver, 90: on the horizon) of satellite</field>
  3039. <field type="uint8_t[20]" name="satellite_azimuth" units="deg">Direction of satellite, 0: 0 deg, 255: 360 deg.</field>
  3040. <field type="uint8_t[20]" name="satellite_snr" units="dB">Signal to noise ratio of satellite</field>
  3041. </message>
  3042. <message id="26" name="SCALED_IMU">
  3043. <description>The RAW IMU readings for the usual 9DOF sensor setup. This message should contain the scaled values to the described units</description>
  3044. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3045. <field type="int16_t" name="xacc" units="mG">X acceleration</field>
  3046. <field type="int16_t" name="yacc" units="mG">Y acceleration</field>
  3047. <field type="int16_t" name="zacc" units="mG">Z acceleration</field>
  3048. <field type="int16_t" name="xgyro" units="mrad/s">Angular speed around X axis</field>
  3049. <field type="int16_t" name="ygyro" units="mrad/s">Angular speed around Y axis</field>
  3050. <field type="int16_t" name="zgyro" units="mrad/s">Angular speed around Z axis</field>
  3051. <field type="int16_t" name="xmag" units="mT">X Magnetic field</field>
  3052. <field type="int16_t" name="ymag" units="mT">Y Magnetic field</field>
  3053. <field type="int16_t" name="zmag" units="mT">Z Magnetic field</field>
  3054. </message>
  3055. <message id="27" name="RAW_IMU">
  3056. <description>The RAW IMU readings for the usual 9DOF sensor setup. This message should always contain the true raw values without any scaling to allow data capture and system debugging.</description>
  3057. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3058. <field type="int16_t" name="xacc">X acceleration (raw)</field>
  3059. <field type="int16_t" name="yacc">Y acceleration (raw)</field>
  3060. <field type="int16_t" name="zacc">Z acceleration (raw)</field>
  3061. <field type="int16_t" name="xgyro">Angular speed around X axis (raw)</field>
  3062. <field type="int16_t" name="ygyro">Angular speed around Y axis (raw)</field>
  3063. <field type="int16_t" name="zgyro">Angular speed around Z axis (raw)</field>
  3064. <field type="int16_t" name="xmag">X Magnetic field (raw)</field>
  3065. <field type="int16_t" name="ymag">Y Magnetic field (raw)</field>
  3066. <field type="int16_t" name="zmag">Z Magnetic field (raw)</field>
  3067. </message>
  3068. <message id="28" name="RAW_PRESSURE">
  3069. <description>The RAW pressure readings for the typical setup of one absolute pressure and one differential pressure sensor. The sensor values should be the raw, UNSCALED ADC values.</description>
  3070. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3071. <field type="int16_t" name="press_abs">Absolute pressure (raw)</field>
  3072. <field type="int16_t" name="press_diff1">Differential pressure 1 (raw, 0 if nonexistent)</field>
  3073. <field type="int16_t" name="press_diff2">Differential pressure 2 (raw, 0 if nonexistent)</field>
  3074. <field type="int16_t" name="temperature">Raw Temperature measurement (raw)</field>
  3075. </message>
  3076. <message id="29" name="SCALED_PRESSURE">
  3077. <description>The pressure readings for the typical setup of one absolute and differential pressure sensor. The units are as specified in each field.</description>
  3078. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3079. <field type="float" name="press_abs" units="hPa">Absolute pressure</field>
  3080. <field type="float" name="press_diff" units="hPa">Differential pressure 1</field>
  3081. <field type="int16_t" name="temperature" units="cdegC">Temperature</field>
  3082. </message>
  3083. <message id="30" name="ATTITUDE">
  3084. <description>The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right).</description>
  3085. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3086. <field type="float" name="roll" units="rad">Roll angle (-pi..+pi)</field>
  3087. <field type="float" name="pitch" units="rad">Pitch angle (-pi..+pi)</field>
  3088. <field type="float" name="yaw" units="rad">Yaw angle (-pi..+pi)</field>
  3089. <field type="float" name="rollspeed" units="rad/s">Roll angular speed</field>
  3090. <field type="float" name="pitchspeed" units="rad/s">Pitch angular speed</field>
  3091. <field type="float" name="yawspeed" units="rad/s">Yaw angular speed</field>
  3092. </message>
  3093. <message id="31" name="ATTITUDE_QUATERNION">
  3094. <description>The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right), expressed as quaternion. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0).</description>
  3095. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3096. <field type="float" name="q1">Quaternion component 1, w (1 in null-rotation)</field>
  3097. <field type="float" name="q2">Quaternion component 2, x (0 in null-rotation)</field>
  3098. <field type="float" name="q3">Quaternion component 3, y (0 in null-rotation)</field>
  3099. <field type="float" name="q4">Quaternion component 4, z (0 in null-rotation)</field>
  3100. <field type="float" name="rollspeed" units="rad/s">Roll angular speed</field>
  3101. <field type="float" name="pitchspeed" units="rad/s">Pitch angular speed</field>
  3102. <field type="float" name="yawspeed" units="rad/s">Yaw angular speed</field>
  3103. </message>
  3104. <message id="32" name="LOCAL_POSITION_NED">
  3105. <description>The filtered local position (e.g. fused computer vision and accelerometers). Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention)</description>
  3106. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3107. <field type="float" name="x" units="m">X Position</field>
  3108. <field type="float" name="y" units="m">Y Position</field>
  3109. <field type="float" name="z" units="m">Z Position</field>
  3110. <field type="float" name="vx" units="m/s">X Speed</field>
  3111. <field type="float" name="vy" units="m/s">Y Speed</field>
  3112. <field type="float" name="vz" units="m/s">Z Speed</field>
  3113. </message>
  3114. <message id="33" name="GLOBAL_POSITION_INT">
  3115. <description>The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up). It
  3116. is designed as scaled integer message since the resolution of float is not sufficient.</description>
  3117. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3118. <field type="int32_t" name="lat" units="degE7">Latitude, expressed</field>
  3119. <field type="int32_t" name="lon" units="degE7">Longitude, expressed</field>
  3120. <field type="int32_t" name="alt" units="mm">Altitude (MSL). Note that virtually all GPS modules provide both WGS84 and MSL.</field>
  3121. <field type="int32_t" name="relative_alt" units="mm">Altitude above ground</field>
  3122. <field type="int16_t" name="vx" units="cm/s">Ground X Speed (Latitude, positive north)</field>
  3123. <field type="int16_t" name="vy" units="cm/s">Ground Y Speed (Longitude, positive east)</field>
  3124. <field type="int16_t" name="vz" units="cm/s">Ground Z Speed (Altitude, positive down)</field>
  3125. <field type="uint16_t" name="hdg" units="cdeg">Vehicle heading (yaw angle), 0.0..359.99 degrees. If unknown, set to: UINT16_MAX</field>
  3126. </message>
  3127. <message id="34" name="RC_CHANNELS_SCALED">
  3128. <description>The scaled values of the RC channels received: (-100%) -10000, (0%) 0, (100%) 10000. Channels that are inactive should be set to UINT16_MAX.</description>
  3129. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3130. <field type="uint8_t" name="port">Servo output port (set of 8 outputs = 1 port). Flight stacks running on Pixhawk should use: 0 = MAIN, 1 = AUX.</field>
  3131. <field type="int16_t" name="chan1_scaled">RC channel 1 value scaled.</field>
  3132. <field type="int16_t" name="chan2_scaled">RC channel 2 value scaled.</field>
  3133. <field type="int16_t" name="chan3_scaled">RC channel 3 value scaled.</field>
  3134. <field type="int16_t" name="chan4_scaled">RC channel 4 value scaled.</field>
  3135. <field type="int16_t" name="chan5_scaled">RC channel 5 value scaled.</field>
  3136. <field type="int16_t" name="chan6_scaled">RC channel 6 value scaled.</field>
  3137. <field type="int16_t" name="chan7_scaled">RC channel 7 value scaled.</field>
  3138. <field type="int16_t" name="chan8_scaled">RC channel 8 value scaled.</field>
  3139. <field type="uint8_t" name="rssi">Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown.</field>
  3140. </message>
  3141. <message id="35" name="RC_CHANNELS_RAW">
  3142. <description>The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. A value of UINT16_MAX implies the channel is unused. Individual receivers/transmitters might violate this specification.</description>
  3143. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3144. <field type="uint8_t" name="port">Servo output port (set of 8 outputs = 1 port). Flight stacks running on Pixhawk should use: 0 = MAIN, 1 = AUX.</field>
  3145. <field type="uint16_t" name="chan1_raw" units="us">RC channel 1 value.</field>
  3146. <field type="uint16_t" name="chan2_raw" units="us">RC channel 2 value.</field>
  3147. <field type="uint16_t" name="chan3_raw" units="us">RC channel 3 value.</field>
  3148. <field type="uint16_t" name="chan4_raw" units="us">RC channel 4 value.</field>
  3149. <field type="uint16_t" name="chan5_raw" units="us">RC channel 5 value.</field>
  3150. <field type="uint16_t" name="chan6_raw" units="us">RC channel 6 value.</field>
  3151. <field type="uint16_t" name="chan7_raw" units="us">RC channel 7 value.</field>
  3152. <field type="uint16_t" name="chan8_raw" units="us">RC channel 8 value.</field>
  3153. <field type="uint8_t" name="rssi">Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown.</field>
  3154. </message>
  3155. <message id="36" name="SERVO_OUTPUT_RAW">
  3156. <description>The RAW values of the servo outputs (for RC input from the remote, use the RC_CHANNELS messages). The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%.</description>
  3157. <field type="uint32_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3158. <field type="uint8_t" name="port">Servo output port (set of 8 outputs = 1 port). Flight stacks running on Pixhawk should use: 0 = MAIN, 1 = AUX.</field>
  3159. <field type="uint16_t" name="servo1_raw" units="us">Servo output 1 value</field>
  3160. <field type="uint16_t" name="servo2_raw" units="us">Servo output 2 value</field>
  3161. <field type="uint16_t" name="servo3_raw" units="us">Servo output 3 value</field>
  3162. <field type="uint16_t" name="servo4_raw" units="us">Servo output 4 value</field>
  3163. <field type="uint16_t" name="servo5_raw" units="us">Servo output 5 value</field>
  3164. <field type="uint16_t" name="servo6_raw" units="us">Servo output 6 value</field>
  3165. <field type="uint16_t" name="servo7_raw" units="us">Servo output 7 value</field>
  3166. <field type="uint16_t" name="servo8_raw" units="us">Servo output 8 value</field>
  3167. <extensions/>
  3168. <field type="uint16_t" name="servo9_raw" units="us">Servo output 9 value</field>
  3169. <field type="uint16_t" name="servo10_raw" units="us">Servo output 10 value</field>
  3170. <field type="uint16_t" name="servo11_raw" units="us">Servo output 11 value</field>
  3171. <field type="uint16_t" name="servo12_raw" units="us">Servo output 12 value</field>
  3172. <field type="uint16_t" name="servo13_raw" units="us">Servo output 13 value</field>
  3173. <field type="uint16_t" name="servo14_raw" units="us">Servo output 14 value</field>
  3174. <field type="uint16_t" name="servo15_raw" units="us">Servo output 15 value</field>
  3175. <field type="uint16_t" name="servo16_raw" units="us">Servo output 16 value</field>
  3176. </message>
  3177. <message id="37" name="MISSION_REQUEST_PARTIAL_LIST">
  3178. <description>Request a partial list of mission items from the system/component. https://mavlink.io/en/services/mission.html. If start and end index are the same, just send one waypoint.</description>
  3179. <field type="uint8_t" name="target_system">System ID</field>
  3180. <field type="uint8_t" name="target_component">Component ID</field>
  3181. <field type="int16_t" name="start_index">Start index</field>
  3182. <field type="int16_t" name="end_index">End index, -1 by default (-1: send list to end). Else a valid index of the list</field>
  3183. <extensions/>
  3184. <field type="uint8_t" name="mission_type" enum="MAV_MISSION_TYPE">Mission type.</field>
  3185. </message>
  3186. <message id="38" name="MISSION_WRITE_PARTIAL_LIST">
  3187. <description>This message is sent to the MAV to write a partial list. If start index == end index, only one item will be transmitted / updated. If the start index is NOT 0 and above the current list size, this request should be REJECTED!</description>
  3188. <field type="uint8_t" name="target_system">System ID</field>
  3189. <field type="uint8_t" name="target_component">Component ID</field>
  3190. <field type="int16_t" name="start_index">Start index. Must be smaller / equal to the largest index of the current onboard list.</field>
  3191. <field type="int16_t" name="end_index">End index, equal or greater than start index.</field>
  3192. <extensions/>
  3193. <field type="uint8_t" name="mission_type" enum="MAV_MISSION_TYPE">Mission type.</field>
  3194. </message>
  3195. <message id="39" name="MISSION_ITEM">
  3196. <description>Message encoding a mission item. This message is emitted to announce
  3197. the presence of a mission item and to set a mission item on the system. The mission item can be either in x, y, z meters (type: LOCAL) or x:lat, y:lon, z:altitude. Local frame is Z-down, right handed (NED), global frame is Z-up, right handed (ENU). See also https://mavlink.io/en/services/mission.html.</description>
  3198. <field type="uint8_t" name="target_system">System ID</field>
  3199. <field type="uint8_t" name="target_component">Component ID</field>
  3200. <field type="uint16_t" name="seq">Sequence</field>
  3201. <field type="uint8_t" name="frame" enum="MAV_FRAME">The coordinate system of the waypoint.</field>
  3202. <field type="uint16_t" name="command" enum="MAV_CMD">The scheduled action for the waypoint.</field>
  3203. <field type="uint8_t" name="current">false:0, true:1</field>
  3204. <field type="uint8_t" name="autocontinue">Autocontinue to next waypoint</field>
  3205. <field type="float" name="param1">PARAM1, see MAV_CMD enum</field>
  3206. <field type="float" name="param2">PARAM2, see MAV_CMD enum</field>
  3207. <field type="float" name="param3">PARAM3, see MAV_CMD enum</field>
  3208. <field type="float" name="param4">PARAM4, see MAV_CMD enum</field>
  3209. <field type="float" name="x">PARAM5 / local: X coordinate, global: latitude</field>
  3210. <field type="float" name="y">PARAM6 / local: Y coordinate, global: longitude</field>
  3211. <field type="float" name="z">PARAM7 / local: Z coordinate, global: altitude (relative or absolute, depending on frame).</field>
  3212. <extensions/>
  3213. <field type="uint8_t" name="mission_type" enum="MAV_MISSION_TYPE">Mission type.</field>
  3214. </message>
  3215. <message id="40" name="MISSION_REQUEST">
  3216. <description>Request the information of the mission item with the sequence number seq. The response of the system to this message should be a MISSION_ITEM message. https://mavlink.io/en/services/mission.html</description>
  3217. <field type="uint8_t" name="target_system">System ID</field>
  3218. <field type="uint8_t" name="target_component">Component ID</field>
  3219. <field type="uint16_t" name="seq">Sequence</field>
  3220. <extensions/>
  3221. <field type="uint8_t" name="mission_type" enum="MAV_MISSION_TYPE">Mission type.</field>
  3222. </message>
  3223. <message id="41" name="MISSION_SET_CURRENT">
  3224. <description>Set the mission item with sequence number seq as current item. This means that the MAV will continue to this mission item on the shortest path (not following the mission items in-between).</description>
  3225. <field type="uint8_t" name="target_system">System ID</field>
  3226. <field type="uint8_t" name="target_component">Component ID</field>
  3227. <field type="uint16_t" name="seq">Sequence</field>
  3228. </message>
  3229. <message id="42" name="MISSION_CURRENT">
  3230. <description>Message that announces the sequence number of the current active mission item. The MAV will fly towards this mission item.</description>
  3231. <field type="uint16_t" name="seq">Sequence</field>
  3232. </message>
  3233. <message id="43" name="MISSION_REQUEST_LIST">
  3234. <description>Request the overall list of mission items from the system/component.</description>
  3235. <field type="uint8_t" name="target_system">System ID</field>
  3236. <field type="uint8_t" name="target_component">Component ID</field>
  3237. <extensions/>
  3238. <field type="uint8_t" name="mission_type" enum="MAV_MISSION_TYPE">Mission type.</field>
  3239. </message>
  3240. <message id="44" name="MISSION_COUNT">
  3241. <description>This message is emitted as response to MISSION_REQUEST_LIST by the MAV and to initiate a write transaction. The GCS can then request the individual mission item based on the knowledge of the total number of waypoints.</description>
  3242. <field type="uint8_t" name="target_system">System ID</field>
  3243. <field type="uint8_t" name="target_component">Component ID</field>
  3244. <field type="uint16_t" name="count">Number of mission items in the sequence</field>
  3245. <extensions/>
  3246. <field type="uint8_t" name="mission_type" enum="MAV_MISSION_TYPE">Mission type.</field>
  3247. </message>
  3248. <message id="45" name="MISSION_CLEAR_ALL">
  3249. <description>Delete all mission items at once.</description>
  3250. <field type="uint8_t" name="target_system">System ID</field>
  3251. <field type="uint8_t" name="target_component">Component ID</field>
  3252. <extensions/>
  3253. <field type="uint8_t" name="mission_type" enum="MAV_MISSION_TYPE">Mission type.</field>
  3254. </message>
  3255. <message id="46" name="MISSION_ITEM_REACHED">
  3256. <description>A certain mission item has been reached. The system will either hold this position (or circle on the orbit) or (if the autocontinue on the WP was set) continue to the next waypoint.</description>
  3257. <field type="uint16_t" name="seq">Sequence</field>
  3258. </message>
  3259. <message id="47" name="MISSION_ACK">
  3260. <description>Acknowledgment message during waypoint handling. The type field states if this message is a positive ack (type=0) or if an error happened (type=non-zero).</description>
  3261. <field type="uint8_t" name="target_system">System ID</field>
  3262. <field type="uint8_t" name="target_component">Component ID</field>
  3263. <field type="uint8_t" name="type" enum="MAV_MISSION_RESULT">Mission result.</field>
  3264. <extensions/>
  3265. <field type="uint8_t" name="mission_type" enum="MAV_MISSION_TYPE">Mission type.</field>
  3266. </message>
  3267. <message id="48" name="SET_GPS_GLOBAL_ORIGIN">
  3268. <description>As local waypoints exist, the global waypoint reference allows to transform between the local coordinate frame and the global (GPS) coordinate frame. This can be necessary when e.g. in- and outdoor settings are connected and the MAV should move from in- to outdoor.</description>
  3269. <field type="uint8_t" name="target_system">System ID</field>
  3270. <field type="int32_t" name="latitude" units="degE7">Latitude (WGS84)</field>
  3271. <field type="int32_t" name="longitude" units="degE7">Longitude (WGS84)</field>
  3272. <field type="int32_t" name="altitude" units="mm">Altitude (MSL). Positive for up.</field>
  3273. <extensions/>
  3274. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3275. </message>
  3276. <message id="49" name="GPS_GLOBAL_ORIGIN">
  3277. <description>Once the MAV sets a new GPS-Local correspondence, this message announces the origin (0,0,0) position</description>
  3278. <field type="int32_t" name="latitude" units="degE7">Latitude (WGS84)</field>
  3279. <field type="int32_t" name="longitude" units="degE7">Longitude (WGS84)</field>
  3280. <field type="int32_t" name="altitude" units="mm">Altitude (MSL). Positive for up.</field>
  3281. <extensions/>
  3282. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3283. </message>
  3284. <message id="50" name="PARAM_MAP_RC">
  3285. <description>Bind a RC channel to a parameter. The parameter should change according to the RC channel value.</description>
  3286. <field type="uint8_t" name="target_system">System ID</field>
  3287. <field type="uint8_t" name="target_component">Component ID</field>
  3288. <field type="char[16]" name="param_id">Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string</field>
  3289. <field type="int16_t" name="param_index">Parameter index. Send -1 to use the param ID field as identifier (else the param id will be ignored), send -2 to disable any existing map for this rc_channel_index.</field>
  3290. <field type="uint8_t" name="parameter_rc_channel_index">Index of parameter RC channel. Not equal to the RC channel id. Typically corresponds to a potentiometer-knob on the RC.</field>
  3291. <field type="float" name="param_value0">Initial parameter value</field>
  3292. <field type="float" name="scale">Scale, maps the RC range [-1, 1] to a parameter value</field>
  3293. <field type="float" name="param_value_min">Minimum param value. The protocol does not define if this overwrites an onboard minimum value. (Depends on implementation)</field>
  3294. <field type="float" name="param_value_max">Maximum param value. The protocol does not define if this overwrites an onboard maximum value. (Depends on implementation)</field>
  3295. </message>
  3296. <message id="51" name="MISSION_REQUEST_INT">
  3297. <description>Request the information of the mission item with the sequence number seq. The response of the system to this message should be a MISSION_ITEM_INT message. https://mavlink.io/en/services/mission.html</description>
  3298. <field type="uint8_t" name="target_system">System ID</field>
  3299. <field type="uint8_t" name="target_component">Component ID</field>
  3300. <field type="uint16_t" name="seq">Sequence</field>
  3301. <extensions/>
  3302. <field type="uint8_t" name="mission_type" enum="MAV_MISSION_TYPE">Mission type.</field>
  3303. </message>
  3304. <message id="54" name="SAFETY_SET_ALLOWED_AREA">
  3305. <description>Set a safety zone (volume), which is defined by two corners of a cube. This message can be used to tell the MAV which setpoints/waypoints to accept and which to reject. Safety areas are often enforced by national or competition regulations.</description>
  3306. <field type="uint8_t" name="target_system">System ID</field>
  3307. <field type="uint8_t" name="target_component">Component ID</field>
  3308. <field type="uint8_t" name="frame" enum="MAV_FRAME">Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.</field>
  3309. <field type="float" name="p1x" units="m">x position 1 / Latitude 1</field>
  3310. <field type="float" name="p1y" units="m">y position 1 / Longitude 1</field>
  3311. <field type="float" name="p1z" units="m">z position 1 / Altitude 1</field>
  3312. <field type="float" name="p2x" units="m">x position 2 / Latitude 2</field>
  3313. <field type="float" name="p2y" units="m">y position 2 / Longitude 2</field>
  3314. <field type="float" name="p2z" units="m">z position 2 / Altitude 2</field>
  3315. </message>
  3316. <message id="55" name="SAFETY_ALLOWED_AREA">
  3317. <description>Read out the safety zone the MAV currently assumes.</description>
  3318. <field type="uint8_t" name="frame" enum="MAV_FRAME">Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.</field>
  3319. <field type="float" name="p1x" units="m">x position 1 / Latitude 1</field>
  3320. <field type="float" name="p1y" units="m">y position 1 / Longitude 1</field>
  3321. <field type="float" name="p1z" units="m">z position 1 / Altitude 1</field>
  3322. <field type="float" name="p2x" units="m">x position 2 / Latitude 2</field>
  3323. <field type="float" name="p2y" units="m">y position 2 / Longitude 2</field>
  3324. <field type="float" name="p2z" units="m">z position 2 / Altitude 2</field>
  3325. </message>
  3326. <message id="61" name="ATTITUDE_QUATERNION_COV">
  3327. <description>The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right), expressed as quaternion. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0).</description>
  3328. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3329. <field type="float[4]" name="q">Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation)</field>
  3330. <field type="float" name="rollspeed" units="rad/s">Roll angular speed</field>
  3331. <field type="float" name="pitchspeed" units="rad/s">Pitch angular speed</field>
  3332. <field type="float" name="yawspeed" units="rad/s">Yaw angular speed</field>
  3333. <field type="float[9]" name="covariance">Row-major representation of a 3x3 attitude covariance matrix (states: roll, pitch, yaw; first three entries are the first ROW, next three entries are the second row, etc.). If unknown, assign NaN value to first element in the array.</field>
  3334. </message>
  3335. <message id="62" name="NAV_CONTROLLER_OUTPUT">
  3336. <description>The state of the fixed wing navigation and position controller.</description>
  3337. <field type="float" name="nav_roll" units="deg">Current desired roll</field>
  3338. <field type="float" name="nav_pitch" units="deg">Current desired pitch</field>
  3339. <field type="int16_t" name="nav_bearing" units="deg">Current desired heading</field>
  3340. <field type="int16_t" name="target_bearing" units="deg">Bearing to current waypoint/target</field>
  3341. <field type="uint16_t" name="wp_dist" units="m">Distance to active waypoint</field>
  3342. <field type="float" name="alt_error" units="m">Current altitude error</field>
  3343. <field type="float" name="aspd_error" units="m/s">Current airspeed error</field>
  3344. <field type="float" name="xtrack_error" units="m">Current crosstrack error on x-y plane</field>
  3345. </message>
  3346. <message id="63" name="GLOBAL_POSITION_INT_COV">
  3347. <description>The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up). It is designed as scaled integer message since the resolution of float is not sufficient. NOTE: This message is intended for onboard networks / companion computers and higher-bandwidth links and optimized for accuracy and completeness. Please use the GLOBAL_POSITION_INT message for a minimal subset.</description>
  3348. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3349. <field type="uint8_t" name="estimator_type" enum="MAV_ESTIMATOR_TYPE">Class id of the estimator this estimate originated from.</field>
  3350. <field type="int32_t" name="lat" units="degE7">Latitude</field>
  3351. <field type="int32_t" name="lon" units="degE7">Longitude</field>
  3352. <field type="int32_t" name="alt" units="mm">Altitude in meters above MSL</field>
  3353. <field type="int32_t" name="relative_alt" units="mm">Altitude above ground</field>
  3354. <field type="float" name="vx" units="m/s">Ground X Speed (Latitude)</field>
  3355. <field type="float" name="vy" units="m/s">Ground Y Speed (Longitude)</field>
  3356. <field type="float" name="vz" units="m/s">Ground Z Speed (Altitude)</field>
  3357. <field type="float[36]" name="covariance">Row-major representation of a 6x6 position and velocity 6x6 cross-covariance matrix (states: lat, lon, alt, vx, vy, vz; first six entries are the first ROW, next six entries are the second row, etc.). If unknown, assign NaN value to first element in the array.</field>
  3358. </message>
  3359. <message id="64" name="LOCAL_POSITION_NED_COV">
  3360. <description>The filtered local position (e.g. fused computer vision and accelerometers). Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention)</description>
  3361. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3362. <field type="uint8_t" name="estimator_type" enum="MAV_ESTIMATOR_TYPE">Class id of the estimator this estimate originated from.</field>
  3363. <field type="float" name="x" units="m">X Position</field>
  3364. <field type="float" name="y" units="m">Y Position</field>
  3365. <field type="float" name="z" units="m">Z Position</field>
  3366. <field type="float" name="vx" units="m/s">X Speed</field>
  3367. <field type="float" name="vy" units="m/s">Y Speed</field>
  3368. <field type="float" name="vz" units="m/s">Z Speed</field>
  3369. <field type="float" name="ax" units="m/s/s">X Acceleration</field>
  3370. <field type="float" name="ay" units="m/s/s">Y Acceleration</field>
  3371. <field type="float" name="az" units="m/s/s">Z Acceleration</field>
  3372. <field type="float[45]" name="covariance">Row-major representation of position, velocity and acceleration 9x9 cross-covariance matrix upper right triangle (states: x, y, z, vx, vy, vz, ax, ay, az; first nine entries are the first ROW, next eight entries are the second row, etc.). If unknown, assign NaN value to first element in the array.</field>
  3373. </message>
  3374. <message id="65" name="RC_CHANNELS">
  3375. <description>The PPM values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. A value of UINT16_MAX implies the channel is unused. Individual receivers/transmitters might violate this specification.</description>
  3376. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3377. <field type="uint8_t" name="chancount">Total number of RC channels being received. This can be larger than 18, indicating that more channels are available but not given in this message. This value should be 0 when no RC channels are available.</field>
  3378. <field type="uint16_t" name="chan1_raw" units="us">RC channel 1 value.</field>
  3379. <field type="uint16_t" name="chan2_raw" units="us">RC channel 2 value.</field>
  3380. <field type="uint16_t" name="chan3_raw" units="us">RC channel 3 value.</field>
  3381. <field type="uint16_t" name="chan4_raw" units="us">RC channel 4 value.</field>
  3382. <field type="uint16_t" name="chan5_raw" units="us">RC channel 5 value.</field>
  3383. <field type="uint16_t" name="chan6_raw" units="us">RC channel 6 value.</field>
  3384. <field type="uint16_t" name="chan7_raw" units="us">RC channel 7 value.</field>
  3385. <field type="uint16_t" name="chan8_raw" units="us">RC channel 8 value.</field>
  3386. <field type="uint16_t" name="chan9_raw" units="us">RC channel 9 value.</field>
  3387. <field type="uint16_t" name="chan10_raw" units="us">RC channel 10 value.</field>
  3388. <field type="uint16_t" name="chan11_raw" units="us">RC channel 11 value.</field>
  3389. <field type="uint16_t" name="chan12_raw" units="us">RC channel 12 value.</field>
  3390. <field type="uint16_t" name="chan13_raw" units="us">RC channel 13 value.</field>
  3391. <field type="uint16_t" name="chan14_raw" units="us">RC channel 14 value.</field>
  3392. <field type="uint16_t" name="chan15_raw" units="us">RC channel 15 value.</field>
  3393. <field type="uint16_t" name="chan16_raw" units="us">RC channel 16 value.</field>
  3394. <field type="uint16_t" name="chan17_raw" units="us">RC channel 17 value.</field>
  3395. <field type="uint16_t" name="chan18_raw" units="us">RC channel 18 value.</field>
  3396. <field type="uint8_t" name="rssi">Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown.</field>
  3397. </message>
  3398. <message id="66" name="REQUEST_DATA_STREAM">
  3399. <description>Request a data stream.</description>
  3400. <field type="uint8_t" name="target_system">The target requested to send the message stream.</field>
  3401. <field type="uint8_t" name="target_component">The target requested to send the message stream.</field>
  3402. <field type="uint8_t" name="req_stream_id">The ID of the requested data stream</field>
  3403. <field type="uint16_t" name="req_message_rate" units="Hz">The requested message rate</field>
  3404. <field type="uint8_t" name="start_stop">1 to start sending, 0 to stop sending.</field>
  3405. </message>
  3406. <message id="67" name="DATA_STREAM">
  3407. <description>Data stream status information.</description>
  3408. <field type="uint8_t" name="stream_id">The ID of the requested data stream</field>
  3409. <field type="uint16_t" name="message_rate" units="Hz">The message rate</field>
  3410. <field type="uint8_t" name="on_off">1 stream is enabled, 0 stream is stopped.</field>
  3411. </message>
  3412. <message id="69" name="MANUAL_CONTROL">
  3413. <description>This message provides an API for manually controlling the vehicle using standard joystick axes nomenclature, along with a joystick-like input device. Unused axes can be disabled an buttons are also transmit as boolean values of their </description>
  3414. <field type="uint8_t" name="target">The system to be controlled.</field>
  3415. <field type="int16_t" name="x">X-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to forward(1000)-backward(-1000) movement on a joystick and the pitch of a vehicle.</field>
  3416. <field type="int16_t" name="y">Y-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to left(-1000)-right(1000) movement on a joystick and the roll of a vehicle.</field>
  3417. <field type="int16_t" name="z">Z-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to a separate slider movement with maximum being 1000 and minimum being -1000 on a joystick and the thrust of a vehicle. Positive values are positive thrust, negative values are negative thrust.</field>
  3418. <field type="int16_t" name="r">R-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to a twisting of the joystick, with counter-clockwise being 1000 and clockwise being -1000, and the yaw of a vehicle.</field>
  3419. <field type="uint16_t" name="buttons">A bitfield corresponding to the joystick buttons' current state, 1 for pressed, 0 for released. The lowest bit corresponds to Button 1.</field>
  3420. </message>
  3421. <message id="70" name="RC_CHANNELS_OVERRIDE">
  3422. <description>The RAW values of the RC channels sent to the MAV to override info received from the RC radio. A value of UINT16_MAX means no change to that channel. A value of 0 means control of that channel should be released back to the RC radio. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification.</description>
  3423. <field type="uint8_t" name="target_system">System ID</field>
  3424. <field type="uint8_t" name="target_component">Component ID</field>
  3425. <field type="uint16_t" name="chan1_raw" units="us">RC channel 1 value. A value of UINT16_MAX means to ignore this field.</field>
  3426. <field type="uint16_t" name="chan2_raw" units="us">RC channel 2 value. A value of UINT16_MAX means to ignore this field.</field>
  3427. <field type="uint16_t" name="chan3_raw" units="us">RC channel 3 value. A value of UINT16_MAX means to ignore this field.</field>
  3428. <field type="uint16_t" name="chan4_raw" units="us">RC channel 4 value. A value of UINT16_MAX means to ignore this field.</field>
  3429. <field type="uint16_t" name="chan5_raw" units="us">RC channel 5 value. A value of UINT16_MAX means to ignore this field.</field>
  3430. <field type="uint16_t" name="chan6_raw" units="us">RC channel 6 value. A value of UINT16_MAX means to ignore this field.</field>
  3431. <field type="uint16_t" name="chan7_raw" units="us">RC channel 7 value. A value of UINT16_MAX means to ignore this field.</field>
  3432. <field type="uint16_t" name="chan8_raw" units="us">RC channel 8 value. A value of UINT16_MAX means to ignore this field.</field>
  3433. <extensions/>
  3434. <field type="uint16_t" name="chan9_raw" units="us">RC channel 9 value. A value of 0 or UINT16_MAX means to ignore this field.</field>
  3435. <field type="uint16_t" name="chan10_raw" units="us">RC channel 10 value. A value of 0 or UINT16_MAX means to ignore this field.</field>
  3436. <field type="uint16_t" name="chan11_raw" units="us">RC channel 11 value. A value of 0 or UINT16_MAX means to ignore this field.</field>
  3437. <field type="uint16_t" name="chan12_raw" units="us">RC channel 12 value. A value of 0 or UINT16_MAX means to ignore this field.</field>
  3438. <field type="uint16_t" name="chan13_raw" units="us">RC channel 13 value. A value of 0 or UINT16_MAX means to ignore this field.</field>
  3439. <field type="uint16_t" name="chan14_raw" units="us">RC channel 14 value. A value of 0 or UINT16_MAX means to ignore this field.</field>
  3440. <field type="uint16_t" name="chan15_raw" units="us">RC channel 15 value. A value of 0 or UINT16_MAX means to ignore this field.</field>
  3441. <field type="uint16_t" name="chan16_raw" units="us">RC channel 16 value. A value of 0 or UINT16_MAX means to ignore this field.</field>
  3442. <field type="uint16_t" name="chan17_raw" units="us">RC channel 17 value. A value of 0 or UINT16_MAX means to ignore this field.</field>
  3443. <field type="uint16_t" name="chan18_raw" units="us">RC channel 18 value. A value of 0 or UINT16_MAX means to ignore this field.</field>
  3444. </message>
  3445. <message id="73" name="MISSION_ITEM_INT">
  3446. <description>Message encoding a mission item. This message is emitted to announce
  3447. the presence of a mission item and to set a mission item on the system. The mission item can be either in x, y, z meters (type: LOCAL) or x:lat, y:lon, z:altitude. Local frame is Z-down, right handed (NED), global frame is Z-up, right handed (ENU). See also https://mavlink.io/en/services/mission.html.</description>
  3448. <field type="uint8_t" name="target_system">System ID</field>
  3449. <field type="uint8_t" name="target_component">Component ID</field>
  3450. <field type="uint16_t" name="seq">Waypoint ID (sequence number). Starts at zero. Increases monotonically for each waypoint, no gaps in the sequence (0,1,2,3,4).</field>
  3451. <field type="uint8_t" name="frame" enum="MAV_FRAME">The coordinate system of the waypoint.</field>
  3452. <field type="uint16_t" name="command" enum="MAV_CMD">The scheduled action for the waypoint.</field>
  3453. <field type="uint8_t" name="current">false:0, true:1</field>
  3454. <field type="uint8_t" name="autocontinue">Autocontinue to next waypoint</field>
  3455. <field type="float" name="param1">PARAM1, see MAV_CMD enum</field>
  3456. <field type="float" name="param2">PARAM2, see MAV_CMD enum</field>
  3457. <field type="float" name="param3">PARAM3, see MAV_CMD enum</field>
  3458. <field type="float" name="param4">PARAM4, see MAV_CMD enum</field>
  3459. <field type="int32_t" name="x">PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7</field>
  3460. <field type="int32_t" name="y">PARAM6 / y position: local: x position in meters * 1e4, global: longitude in degrees *10^7</field>
  3461. <field type="float" name="z">PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame.</field>
  3462. <extensions/>
  3463. <field type="uint8_t" name="mission_type" enum="MAV_MISSION_TYPE">Mission type.</field>
  3464. </message>
  3465. <message id="74" name="VFR_HUD">
  3466. <description>Metrics typically displayed on a HUD for fixed wing aircraft.</description>
  3467. <field type="float" name="airspeed" units="m/s">Current indicated airspeed (IAS).</field>
  3468. <field type="float" name="groundspeed" units="m/s">Current ground speed.</field>
  3469. <field type="int16_t" name="heading" units="deg">Current heading in compass units (0-360, 0=north).</field>
  3470. <field type="uint16_t" name="throttle" units="%">Current throttle setting (0 to 100).</field>
  3471. <field type="float" name="alt" units="m">Current altitude (MSL).</field>
  3472. <field type="float" name="climb" units="m/s">Current climb rate.</field>
  3473. </message>
  3474. <message id="75" name="COMMAND_INT">
  3475. <description>Message encoding a command with parameters as scaled integers. Scaling depends on the actual command value. The command microservice is documented at https://mavlink.io/en/services/command.html</description>
  3476. <field type="uint8_t" name="target_system">System ID</field>
  3477. <field type="uint8_t" name="target_component">Component ID</field>
  3478. <field type="uint8_t" name="frame" enum="MAV_FRAME">The coordinate system of the COMMAND.</field>
  3479. <field type="uint16_t" name="command" enum="MAV_CMD">The scheduled action for the mission item.</field>
  3480. <field type="uint8_t" name="current">false:0, true:1</field>
  3481. <field type="uint8_t" name="autocontinue">autocontinue to next wp</field>
  3482. <field type="float" name="param1">PARAM1, see MAV_CMD enum</field>
  3483. <field type="float" name="param2">PARAM2, see MAV_CMD enum</field>
  3484. <field type="float" name="param3">PARAM3, see MAV_CMD enum</field>
  3485. <field type="float" name="param4">PARAM4, see MAV_CMD enum</field>
  3486. <field type="int32_t" name="x">PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7</field>
  3487. <field type="int32_t" name="y">PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7</field>
  3488. <field type="float" name="z">PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame).</field>
  3489. </message>
  3490. <message id="76" name="COMMAND_LONG">
  3491. <description>Send a command with up to seven parameters to the MAV. The command microservice is documented at https://mavlink.io/en/services/command.html</description>
  3492. <field type="uint8_t" name="target_system">System which should execute the command</field>
  3493. <field type="uint8_t" name="target_component">Component which should execute the command, 0 for all components</field>
  3494. <field type="uint16_t" name="command" enum="MAV_CMD">Command ID (of command to send).</field>
  3495. <field type="uint8_t" name="confirmation">0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command)</field>
  3496. <field type="float" name="param1">Parameter 1 (for the specific command).</field>
  3497. <field type="float" name="param2">Parameter 2 (for the specific command).</field>
  3498. <field type="float" name="param3">Parameter 3 (for the specific command).</field>
  3499. <field type="float" name="param4">Parameter 4 (for the specific command).</field>
  3500. <field type="float" name="param5">Parameter 5 (for the specific command).</field>
  3501. <field type="float" name="param6">Parameter 6 (for the specific command).</field>
  3502. <field type="float" name="param7">Parameter 7 (for the specific command).</field>
  3503. </message>
  3504. <message id="77" name="COMMAND_ACK">
  3505. <description>Report status of a command. Includes feedback whether the command was executed. The command microservice is documented at https://mavlink.io/en/services/command.html</description>
  3506. <field type="uint16_t" name="command" enum="MAV_CMD">Command ID (of acknowledged command).</field>
  3507. <field type="uint8_t" name="result" enum="MAV_RESULT">Result of command.</field>
  3508. </message>
  3509. <message id="81" name="MANUAL_SETPOINT">
  3510. <description>Setpoint in roll, pitch, yaw and thrust from the operator</description>
  3511. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3512. <field type="float" name="roll" units="rad/s">Desired roll rate</field>
  3513. <field type="float" name="pitch" units="rad/s">Desired pitch rate</field>
  3514. <field type="float" name="yaw" units="rad/s">Desired yaw rate</field>
  3515. <field type="float" name="thrust">Collective thrust, normalized to 0 .. 1</field>
  3516. <field type="uint8_t" name="mode_switch">Flight mode switch position, 0.. 255</field>
  3517. <field type="uint8_t" name="manual_override_switch">Override mode switch position, 0.. 255</field>
  3518. </message>
  3519. <message id="82" name="SET_ATTITUDE_TARGET">
  3520. <description>Sets a desired vehicle attitude. Used by an external controller to command the vehicle (manual controller or other system).</description>
  3521. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3522. <field type="uint8_t" name="target_system">System ID</field>
  3523. <field type="uint8_t" name="target_component">Component ID</field>
  3524. <field type="uint8_t" name="type_mask">Mappings: If any of these bits are set, the corresponding input should be ignored: bit 1: body roll rate, bit 2: body pitch rate, bit 3: body yaw rate. bit 4-bit 6: reserved, bit 7: throttle, bit 8: attitude</field>
  3525. <field type="float[4]" name="q">Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0)</field>
  3526. <field type="float" name="body_roll_rate" units="rad/s">Body roll rate</field>
  3527. <field type="float" name="body_pitch_rate" units="rad/s">Body pitch rate</field>
  3528. <field type="float" name="body_yaw_rate" units="rad/s">Body yaw rate</field>
  3529. <field type="float" name="thrust">Collective thrust, normalized to 0 .. 1 (-1 .. 1 for vehicles capable of reverse trust)</field>
  3530. </message>
  3531. <message id="83" name="ATTITUDE_TARGET">
  3532. <description>Reports the current commanded attitude of the vehicle as specified by the autopilot. This should match the commands sent in a SET_ATTITUDE_TARGET message if the vehicle is being controlled this way.</description>
  3533. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3534. <field type="uint8_t" name="type_mask" display="bitmask">Mappings: If any of these bits are set, the corresponding input should be ignored: bit 1: body roll rate, bit 2: body pitch rate, bit 3: body yaw rate. bit 4-bit 7: reserved, bit 8: attitude</field>
  3535. <field type="float[4]" name="q">Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0)</field>
  3536. <field type="float" name="body_roll_rate" units="rad/s">Body roll rate</field>
  3537. <field type="float" name="body_pitch_rate" units="rad/s">Body pitch rate</field>
  3538. <field type="float" name="body_yaw_rate" units="rad/s">Body yaw rate</field>
  3539. <field type="float" name="thrust">Collective thrust, normalized to 0 .. 1 (-1 .. 1 for vehicles capable of reverse trust)</field>
  3540. </message>
  3541. <message id="84" name="SET_POSITION_TARGET_LOCAL_NED">
  3542. <description>Sets a desired vehicle position in a local north-east-down coordinate frame. Used by an external controller to command the vehicle (manual controller or other system).</description>
  3543. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3544. <field type="uint8_t" name="target_system">System ID</field>
  3545. <field type="uint8_t" name="target_component">Component ID</field>
  3546. <field type="uint8_t" name="coordinate_frame" enum="MAV_FRAME">Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9</field>
  3547. <field type="uint16_t" name="type_mask" enum="POSITION_TARGET_TYPEMASK" display="bitmask">Bitmap to indicate which dimensions should be ignored by the vehicle.</field>
  3548. <field type="float" name="x" units="m">X Position in NED frame</field>
  3549. <field type="float" name="y" units="m">Y Position in NED frame</field>
  3550. <field type="float" name="z" units="m">Z Position in NED frame (note, altitude is negative in NED)</field>
  3551. <field type="float" name="vx" units="m/s">X velocity in NED frame</field>
  3552. <field type="float" name="vy" units="m/s">Y velocity in NED frame</field>
  3553. <field type="float" name="vz" units="m/s">Z velocity in NED frame</field>
  3554. <field type="float" name="afx" units="m/s/s">X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N</field>
  3555. <field type="float" name="afy" units="m/s/s">Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N</field>
  3556. <field type="float" name="afz" units="m/s/s">Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N</field>
  3557. <field type="float" name="yaw" units="rad">yaw setpoint</field>
  3558. <field type="float" name="yaw_rate" units="rad/s">yaw rate setpoint</field>
  3559. </message>
  3560. <message id="85" name="POSITION_TARGET_LOCAL_NED">
  3561. <description>Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_LOCAL_NED if the vehicle is being controlled this way.</description>
  3562. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3563. <field type="uint8_t" name="coordinate_frame" enum="MAV_FRAME">Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9</field>
  3564. <field type="uint16_t" name="type_mask" enum="POSITION_TARGET_TYPEMASK" display="bitmask">Bitmap to indicate which dimensions should be ignored by the vehicle.</field>
  3565. <field type="float" name="x" units="m">X Position in NED frame</field>
  3566. <field type="float" name="y" units="m">Y Position in NED frame</field>
  3567. <field type="float" name="z" units="m">Z Position in NED frame (note, altitude is negative in NED)</field>
  3568. <field type="float" name="vx" units="m/s">X velocity in NED frame</field>
  3569. <field type="float" name="vy" units="m/s">Y velocity in NED frame</field>
  3570. <field type="float" name="vz" units="m/s">Z velocity in NED frame</field>
  3571. <field type="float" name="afx" units="m/s/s">X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N</field>
  3572. <field type="float" name="afy" units="m/s/s">Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N</field>
  3573. <field type="float" name="afz" units="m/s/s">Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N</field>
  3574. <field type="float" name="yaw" units="rad">yaw setpoint</field>
  3575. <field type="float" name="yaw_rate" units="rad/s">yaw rate setpoint</field>
  3576. </message>
  3577. <message id="86" name="SET_POSITION_TARGET_GLOBAL_INT">
  3578. <description>Sets a desired vehicle position, velocity, and/or acceleration in a global coordinate system (WGS84). Used by an external controller to command the vehicle (manual controller or other system).</description>
  3579. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency.</field>
  3580. <field type="uint8_t" name="target_system">System ID</field>
  3581. <field type="uint8_t" name="target_component">Component ID</field>
  3582. <field type="uint8_t" name="coordinate_frame" enum="MAV_FRAME">Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11</field>
  3583. <field type="uint16_t" name="type_mask" enum="POSITION_TARGET_TYPEMASK" display="bitmask">Bitmap to indicate which dimensions should be ignored by the vehicle.</field>
  3584. <field type="int32_t" name="lat_int" units="degE7">X Position in WGS84 frame</field>
  3585. <field type="int32_t" name="lon_int" units="degE7">Y Position in WGS84 frame</field>
  3586. <field type="float" name="alt" units="m">Altitude (MSL, Relative to home, or AGL - depending on frame)</field>
  3587. <field type="float" name="vx" units="m/s">X velocity in NED frame</field>
  3588. <field type="float" name="vy" units="m/s">Y velocity in NED frame</field>
  3589. <field type="float" name="vz" units="m/s">Z velocity in NED frame</field>
  3590. <field type="float" name="afx" units="m/s/s">X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N</field>
  3591. <field type="float" name="afy" units="m/s/s">Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N</field>
  3592. <field type="float" name="afz" units="m/s/s">Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N</field>
  3593. <field type="float" name="yaw" units="rad">yaw setpoint</field>
  3594. <field type="float" name="yaw_rate" units="rad/s">yaw rate setpoint</field>
  3595. </message>
  3596. <message id="87" name="POSITION_TARGET_GLOBAL_INT">
  3597. <description>Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_GLOBAL_INT if the vehicle is being controlled this way.</description>
  3598. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency.</field>
  3599. <field type="uint8_t" name="coordinate_frame" enum="MAV_FRAME">Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11</field>
  3600. <field type="uint16_t" name="type_mask" enum="POSITION_TARGET_TYPEMASK" display="bitmask">Bitmap to indicate which dimensions should be ignored by the vehicle.</field>
  3601. <field type="int32_t" name="lat_int" units="degE7">X Position in WGS84 frame</field>
  3602. <field type="int32_t" name="lon_int" units="degE7">Y Position in WGS84 frame</field>
  3603. <field type="float" name="alt" units="m">Altitude (MSL, AGL or relative to home altitude, depending on frame)</field>
  3604. <field type="float" name="vx" units="m/s">X velocity in NED frame</field>
  3605. <field type="float" name="vy" units="m/s">Y velocity in NED frame</field>
  3606. <field type="float" name="vz" units="m/s">Z velocity in NED frame</field>
  3607. <field type="float" name="afx" units="m/s/s">X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N</field>
  3608. <field type="float" name="afy" units="m/s/s">Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N</field>
  3609. <field type="float" name="afz" units="m/s/s">Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N</field>
  3610. <field type="float" name="yaw" units="rad">yaw setpoint</field>
  3611. <field type="float" name="yaw_rate" units="rad/s">yaw rate setpoint</field>
  3612. </message>
  3613. <message id="89" name="LOCAL_POSITION_NED_SYSTEM_GLOBAL_OFFSET">
  3614. <description>The offset in X, Y, Z and yaw between the LOCAL_POSITION_NED messages of MAV X and the global coordinate frame in NED coordinates. Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention)</description>
  3615. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3616. <field type="float" name="x" units="m">X Position</field>
  3617. <field type="float" name="y" units="m">Y Position</field>
  3618. <field type="float" name="z" units="m">Z Position</field>
  3619. <field type="float" name="roll" units="rad">Roll</field>
  3620. <field type="float" name="pitch" units="rad">Pitch</field>
  3621. <field type="float" name="yaw" units="rad">Yaw</field>
  3622. </message>
  3623. <message id="90" name="HIL_STATE">
  3624. <deprecated since="2013-07" replaced_by="HIL_STATE_QUATERNION">Suffers from missing airspeed fields and singularities due to Euler angles</deprecated>
  3625. <description>Sent from simulation to autopilot. This packet is useful for high throughput applications such as hardware in the loop simulations.</description>
  3626. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3627. <field type="float" name="roll" units="rad">Roll angle</field>
  3628. <field type="float" name="pitch" units="rad">Pitch angle</field>
  3629. <field type="float" name="yaw" units="rad">Yaw angle</field>
  3630. <field type="float" name="rollspeed" units="rad/s">Body frame roll / phi angular speed</field>
  3631. <field type="float" name="pitchspeed" units="rad/s">Body frame pitch / theta angular speed</field>
  3632. <field type="float" name="yawspeed" units="rad/s">Body frame yaw / psi angular speed</field>
  3633. <field type="int32_t" name="lat" units="degE7">Latitude</field>
  3634. <field type="int32_t" name="lon" units="degE7">Longitude</field>
  3635. <field type="int32_t" name="alt" units="mm">Altitude</field>
  3636. <field type="int16_t" name="vx" units="cm/s">Ground X Speed (Latitude)</field>
  3637. <field type="int16_t" name="vy" units="cm/s">Ground Y Speed (Longitude)</field>
  3638. <field type="int16_t" name="vz" units="cm/s">Ground Z Speed (Altitude)</field>
  3639. <field type="int16_t" name="xacc" units="mG">X acceleration</field>
  3640. <field type="int16_t" name="yacc" units="mG">Y acceleration</field>
  3641. <field type="int16_t" name="zacc" units="mG">Z acceleration</field>
  3642. </message>
  3643. <message id="91" name="HIL_CONTROLS">
  3644. <description>Sent from autopilot to simulation. Hardware in the loop control outputs</description>
  3645. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3646. <field type="float" name="roll_ailerons">Control output -1 .. 1</field>
  3647. <field type="float" name="pitch_elevator">Control output -1 .. 1</field>
  3648. <field type="float" name="yaw_rudder">Control output -1 .. 1</field>
  3649. <field type="float" name="throttle">Throttle 0 .. 1</field>
  3650. <field type="float" name="aux1">Aux 1, -1 .. 1</field>
  3651. <field type="float" name="aux2">Aux 2, -1 .. 1</field>
  3652. <field type="float" name="aux3">Aux 3, -1 .. 1</field>
  3653. <field type="float" name="aux4">Aux 4, -1 .. 1</field>
  3654. <field type="uint8_t" name="mode" enum="MAV_MODE">System mode.</field>
  3655. <field type="uint8_t" name="nav_mode">Navigation mode (MAV_NAV_MODE)</field>
  3656. </message>
  3657. <message id="92" name="HIL_RC_INPUTS_RAW">
  3658. <description>Sent from simulation to autopilot. The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification.</description>
  3659. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3660. <field type="uint16_t" name="chan1_raw" units="us">RC channel 1 value</field>
  3661. <field type="uint16_t" name="chan2_raw" units="us">RC channel 2 value</field>
  3662. <field type="uint16_t" name="chan3_raw" units="us">RC channel 3 value</field>
  3663. <field type="uint16_t" name="chan4_raw" units="us">RC channel 4 value</field>
  3664. <field type="uint16_t" name="chan5_raw" units="us">RC channel 5 value</field>
  3665. <field type="uint16_t" name="chan6_raw" units="us">RC channel 6 value</field>
  3666. <field type="uint16_t" name="chan7_raw" units="us">RC channel 7 value</field>
  3667. <field type="uint16_t" name="chan8_raw" units="us">RC channel 8 value</field>
  3668. <field type="uint16_t" name="chan9_raw" units="us">RC channel 9 value</field>
  3669. <field type="uint16_t" name="chan10_raw" units="us">RC channel 10 value</field>
  3670. <field type="uint16_t" name="chan11_raw" units="us">RC channel 11 value</field>
  3671. <field type="uint16_t" name="chan12_raw" units="us">RC channel 12 value</field>
  3672. <field type="uint8_t" name="rssi">Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown.</field>
  3673. </message>
  3674. <message id="93" name="HIL_ACTUATOR_CONTROLS">
  3675. <description>Sent from autopilot to simulation. Hardware in the loop control outputs (replacement for HIL_CONTROLS)</description>
  3676. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3677. <field type="float[16]" name="controls">Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.</field>
  3678. <field type="uint8_t" name="mode" enum="MAV_MODE_FLAG" display="bitmask">System mode. Includes arming state.</field>
  3679. <field type="uint64_t" name="flags" display="bitmask">Flags as bitfield, reserved for future use.</field>
  3680. </message>
  3681. <message id="100" name="OPTICAL_FLOW">
  3682. <description>Optical flow from a flow sensor (e.g. optical mouse sensor)</description>
  3683. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3684. <field type="uint8_t" name="sensor_id">Sensor ID</field>
  3685. <field type="int16_t" name="flow_x" units="dpix">Flow in x-sensor direction</field>
  3686. <field type="int16_t" name="flow_y" units="dpix">Flow in y-sensor direction</field>
  3687. <field type="float" name="flow_comp_m_x" units="m">Flow in x-sensor direction, angular-speed compensated</field>
  3688. <field type="float" name="flow_comp_m_y" units="m">Flow in y-sensor direction, angular-speed compensated</field>
  3689. <field type="uint8_t" name="quality">Optical flow quality / confidence. 0: bad, 255: maximum quality</field>
  3690. <field type="float" name="ground_distance" units="m">Ground distance. Positive value: distance known. Negative value: Unknown distance</field>
  3691. <extensions/>
  3692. <field type="float" name="flow_rate_x" units="rad/s">Flow rate about X axis</field>
  3693. <field type="float" name="flow_rate_y" units="rad/s">Flow rate about Y axis</field>
  3694. </message>
  3695. <message id="101" name="GLOBAL_VISION_POSITION_ESTIMATE">
  3696. <description>Global position/attitude estimate from a vision source.</description>
  3697. <field type="uint64_t" name="usec" units="us">Timestamp (UNIX time or since system boot)</field>
  3698. <field type="float" name="x" units="m">Global X position</field>
  3699. <field type="float" name="y" units="m">Global Y position</field>
  3700. <field type="float" name="z" units="m">Global Z position</field>
  3701. <field type="float" name="roll" units="rad">Roll angle</field>
  3702. <field type="float" name="pitch" units="rad">Pitch angle</field>
  3703. <field type="float" name="yaw" units="rad">Yaw angle</field>
  3704. <extensions/>
  3705. <field type="float[21]" name="covariance">Row-major representation of pose 6x6 cross-covariance matrix upper right triangle (states: x_global, y_global, z_global, roll, pitch, yaw; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array.</field>
  3706. <field type="uint8_t" name="reset_counter">Estimate reset counter. This should be incremented when the estimate resets in any of the dimensions (position, velocity, attitude, angular speed). This is designed to be used when e.g an external SLAM system detects a loop-closure and the estimate jumps.</field>
  3707. </message>
  3708. <message id="102" name="VISION_POSITION_ESTIMATE">
  3709. <description>Global position/attitude estimate from a vision source.</description>
  3710. <field type="uint64_t" name="usec" units="us">Timestamp (UNIX time or time since system boot)</field>
  3711. <field type="float" name="x" units="m">Global X position</field>
  3712. <field type="float" name="y" units="m">Global Y position</field>
  3713. <field type="float" name="z" units="m">Global Z position</field>
  3714. <field type="float" name="roll" units="rad">Roll angle</field>
  3715. <field type="float" name="pitch" units="rad">Pitch angle</field>
  3716. <field type="float" name="yaw" units="rad">Yaw angle</field>
  3717. <extensions/>
  3718. <field type="float[21]" name="covariance">Row-major representation of pose 6x6 cross-covariance matrix upper right triangle (states: x, y, z, roll, pitch, yaw; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array.</field>
  3719. <field type="uint8_t" name="reset_counter">Estimate reset counter. This should be incremented when the estimate resets in any of the dimensions (position, velocity, attitude, angular speed). This is designed to be used when e.g an external SLAM system detects a loop-closure and the estimate jumps.</field>
  3720. </message>
  3721. <message id="103" name="VISION_SPEED_ESTIMATE">
  3722. <description>Speed estimate from a vision source.</description>
  3723. <field type="uint64_t" name="usec" units="us">Timestamp (UNIX time or time since system boot)</field>
  3724. <field type="float" name="x" units="m/s">Global X speed</field>
  3725. <field type="float" name="y" units="m/s">Global Y speed</field>
  3726. <field type="float" name="z" units="m/s">Global Z speed</field>
  3727. <extensions/>
  3728. <field type="float[9]" name="covariance">Row-major representation of 3x3 linear velocity covariance matrix (states: vx, vy, vz; 1st three entries - 1st row, etc.). If unknown, assign NaN value to first element in the array.</field>
  3729. <field type="uint8_t" name="reset_counter">Estimate reset counter. This should be incremented when the estimate resets in any of the dimensions (position, velocity, attitude, angular speed). This is designed to be used when e.g an external SLAM system detects a loop-closure and the estimate jumps.</field>
  3730. </message>
  3731. <message id="104" name="VICON_POSITION_ESTIMATE">
  3732. <description>Global position estimate from a Vicon motion system source.</description>
  3733. <field type="uint64_t" name="usec" units="us">Timestamp (UNIX time or time since system boot)</field>
  3734. <field type="float" name="x" units="m">Global X position</field>
  3735. <field type="float" name="y" units="m">Global Y position</field>
  3736. <field type="float" name="z" units="m">Global Z position</field>
  3737. <field type="float" name="roll" units="rad">Roll angle</field>
  3738. <field type="float" name="pitch" units="rad">Pitch angle</field>
  3739. <field type="float" name="yaw" units="rad">Yaw angle</field>
  3740. <extensions/>
  3741. <field type="float[21]" name="covariance">Row-major representation of 6x6 pose cross-covariance matrix upper right triangle (states: x, y, z, roll, pitch, yaw; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array.</field>
  3742. </message>
  3743. <message id="105" name="HIGHRES_IMU">
  3744. <description>The IMU readings in SI units in NED body frame</description>
  3745. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3746. <field type="float" name="xacc" units="m/s/s">X acceleration</field>
  3747. <field type="float" name="yacc" units="m/s/s">Y acceleration</field>
  3748. <field type="float" name="zacc" units="m/s/s">Z acceleration</field>
  3749. <field type="float" name="xgyro" units="rad/s">Angular speed around X axis</field>
  3750. <field type="float" name="ygyro" units="rad/s">Angular speed around Y axis</field>
  3751. <field type="float" name="zgyro" units="rad/s">Angular speed around Z axis</field>
  3752. <field type="float" name="xmag" units="gauss">X Magnetic field</field>
  3753. <field type="float" name="ymag" units="gauss">Y Magnetic field</field>
  3754. <field type="float" name="zmag" units="gauss">Z Magnetic field</field>
  3755. <field type="float" name="abs_pressure" units="mbar">Absolute pressure</field>
  3756. <field type="float" name="diff_pressure" units="mbar">Differential pressure</field>
  3757. <field type="float" name="pressure_alt">Altitude calculated from pressure</field>
  3758. <field type="float" name="temperature" units="degC">Temperature</field>
  3759. <field type="uint16_t" name="fields_updated" display="bitmask">Bitmap for fields that have updated since last message, bit 0 = xacc, bit 12: temperature</field>
  3760. </message>
  3761. <message id="106" name="OPTICAL_FLOW_RAD">
  3762. <description>Optical flow from an angular rate flow sensor (e.g. PX4FLOW or mouse sensor)</description>
  3763. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3764. <field type="uint8_t" name="sensor_id">Sensor ID</field>
  3765. <field type="uint32_t" name="integration_time_us" units="us">Integration time. Divide integrated_x and integrated_y by the integration time to obtain average flow. The integration time also indicates the.</field>
  3766. <field type="float" name="integrated_x" units="rad">Flow around X axis (Sensor RH rotation about the X axis induces a positive flow. Sensor linear motion along the positive Y axis induces a negative flow.)</field>
  3767. <field type="float" name="integrated_y" units="rad">Flow around Y axis (Sensor RH rotation about the Y axis induces a positive flow. Sensor linear motion along the positive X axis induces a positive flow.)</field>
  3768. <field type="float" name="integrated_xgyro" units="rad">RH rotation around X axis</field>
  3769. <field type="float" name="integrated_ygyro" units="rad">RH rotation around Y axis</field>
  3770. <field type="float" name="integrated_zgyro" units="rad">RH rotation around Z axis</field>
  3771. <field type="int16_t" name="temperature" units="cdegC">Temperature</field>
  3772. <field type="uint8_t" name="quality">Optical flow quality / confidence. 0: no valid flow, 255: maximum quality</field>
  3773. <field type="uint32_t" name="time_delta_distance_us" units="us">Time since the distance was sampled.</field>
  3774. <field type="float" name="distance" units="m">Distance to the center of the flow field. Positive value (including zero): distance known. Negative value: Unknown distance.</field>
  3775. </message>
  3776. <message id="107" name="HIL_SENSOR">
  3777. <description>The IMU readings in SI units in NED body frame</description>
  3778. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3779. <field type="float" name="xacc" units="m/s/s">X acceleration</field>
  3780. <field type="float" name="yacc" units="m/s/s">Y acceleration</field>
  3781. <field type="float" name="zacc" units="m/s/s">Z acceleration</field>
  3782. <field type="float" name="xgyro" units="rad/s">Angular speed around X axis in body frame</field>
  3783. <field type="float" name="ygyro" units="rad/s">Angular speed around Y axis in body frame</field>
  3784. <field type="float" name="zgyro" units="rad/s">Angular speed around Z axis in body frame</field>
  3785. <field type="float" name="xmag" units="gauss">X Magnetic field</field>
  3786. <field type="float" name="ymag" units="gauss">Y Magnetic field</field>
  3787. <field type="float" name="zmag" units="gauss">Z Magnetic field</field>
  3788. <field type="float" name="abs_pressure" units="mbar">Absolute pressure</field>
  3789. <field type="float" name="diff_pressure" units="mbar">Differential pressure (airspeed)</field>
  3790. <field type="float" name="pressure_alt">Altitude calculated from pressure</field>
  3791. <field type="float" name="temperature" units="degC">Temperature</field>
  3792. <field type="uint32_t" name="fields_updated" display="bitmask">Bitmap for fields that have updated since last message, bit 0 = xacc, bit 12: temperature, bit 31: full reset of attitude/position/velocities/etc was performed in sim.</field>
  3793. </message>
  3794. <message id="108" name="SIM_STATE">
  3795. <description>Status of simulation environment, if used</description>
  3796. <field type="float" name="q1">True attitude quaternion component 1, w (1 in null-rotation)</field>
  3797. <field type="float" name="q2">True attitude quaternion component 2, x (0 in null-rotation)</field>
  3798. <field type="float" name="q3">True attitude quaternion component 3, y (0 in null-rotation)</field>
  3799. <field type="float" name="q4">True attitude quaternion component 4, z (0 in null-rotation)</field>
  3800. <field type="float" name="roll">Attitude roll expressed as Euler angles, not recommended except for human-readable outputs</field>
  3801. <field type="float" name="pitch">Attitude pitch expressed as Euler angles, not recommended except for human-readable outputs</field>
  3802. <field type="float" name="yaw">Attitude yaw expressed as Euler angles, not recommended except for human-readable outputs</field>
  3803. <field type="float" name="xacc" units="m/s/s">X acceleration</field>
  3804. <field type="float" name="yacc" units="m/s/s">Y acceleration</field>
  3805. <field type="float" name="zacc" units="m/s/s">Z acceleration</field>
  3806. <field type="float" name="xgyro" units="rad/s">Angular speed around X axis</field>
  3807. <field type="float" name="ygyro" units="rad/s">Angular speed around Y axis</field>
  3808. <field type="float" name="zgyro" units="rad/s">Angular speed around Z axis</field>
  3809. <field type="float" name="lat" units="deg">Latitude</field>
  3810. <field type="float" name="lon" units="deg">Longitude</field>
  3811. <field type="float" name="alt" units="m">Altitude</field>
  3812. <field type="float" name="std_dev_horz">Horizontal position standard deviation</field>
  3813. <field type="float" name="std_dev_vert">Vertical position standard deviation</field>
  3814. <field type="float" name="vn" units="m/s">True velocity in NORTH direction in earth-fixed NED frame</field>
  3815. <field type="float" name="ve" units="m/s">True velocity in EAST direction in earth-fixed NED frame</field>
  3816. <field type="float" name="vd" units="m/s">True velocity in DOWN direction in earth-fixed NED frame</field>
  3817. </message>
  3818. <message id="109" name="RADIO_STATUS">
  3819. <description>Status generated by radio and injected into MAVLink stream.</description>
  3820. <field type="uint8_t" name="rssi">Local (message sender) recieved signal strength indication in device-dependent units/scale. Values: [0-254], 255: invalid/unknown.</field>
  3821. <field type="uint8_t" name="remrssi">Remote (message receiver) signal strength indication in device-dependent units/scale. Values: [0-254], 255: invalid/unknown.</field>
  3822. <field type="uint8_t" name="txbuf" units="%">Remaining free transmitter buffer space.</field>
  3823. <field type="uint8_t" name="noise">Local background noise level. These are device dependent RSSI values (scale as approx 2x dB on SiK radios). Values: [0-254], 255: invalid/unknown.</field>
  3824. <field type="uint8_t" name="remnoise">Remote background noise level. These are device dependent RSSI values (scale as approx 2x dB on SiK radios). Values: [0-254], 255: invalid/unknown.</field>
  3825. <field type="uint16_t" name="rxerrors">Count of radio packet receive errors (since boot).</field>
  3826. <field type="uint16_t" name="fixed">Count of error corrected radio packets (since boot).</field>
  3827. </message>
  3828. <message id="110" name="FILE_TRANSFER_PROTOCOL">
  3829. <description>File transfer message</description>
  3830. <field type="uint8_t" name="target_network">Network ID (0 for broadcast)</field>
  3831. <field type="uint8_t" name="target_system">System ID (0 for broadcast)</field>
  3832. <field type="uint8_t" name="target_component">Component ID (0 for broadcast)</field>
  3833. <field type="uint8_t[251]" name="payload">Variable length payload. The length is defined by the remaining message length when subtracting the header and other fields. The entire content of this block is opaque unless you understand any the encoding message_type. The particular encoding used can be extension specific and might not always be documented as part of the mavlink specification.</field>
  3834. </message>
  3835. <message id="111" name="TIMESYNC">
  3836. <description>Time synchronization message.</description>
  3837. <field type="int64_t" name="tc1">Time sync timestamp 1</field>
  3838. <field type="int64_t" name="ts1">Time sync timestamp 2</field>
  3839. </message>
  3840. <message id="112" name="CAMERA_TRIGGER">
  3841. <description>Camera-IMU triggering and synchronisation message.</description>
  3842. <field type="uint64_t" name="time_usec" units="us">Timestamp for image frame (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3843. <field type="uint32_t" name="seq">Image frame sequence</field>
  3844. </message>
  3845. <message id="113" name="HIL_GPS">
  3846. <description>The global position, as returned by the Global Positioning System (GPS). This is
  3847. NOT the global position estimate of the sytem, but rather a RAW sensor value. See message GLOBAL_POSITION for the global position estimate.</description>
  3848. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3849. <field type="uint8_t" name="fix_type">0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix.</field>
  3850. <field type="int32_t" name="lat" units="degE7">Latitude (WGS84)</field>
  3851. <field type="int32_t" name="lon" units="degE7">Longitude (WGS84)</field>
  3852. <field type="int32_t" name="alt" units="mm">Altitude (MSL). Positive for up.</field>
  3853. <field type="uint16_t" name="eph" units="cm">GPS HDOP horizontal dilution of position. If unknown, set to: 65535</field>
  3854. <field type="uint16_t" name="epv" units="cm">GPS VDOP vertical dilution of position. If unknown, set to: 65535</field>
  3855. <field type="uint16_t" name="vel" units="cm/s">GPS ground speed. If unknown, set to: 65535</field>
  3856. <field type="int16_t" name="vn" units="cm/s">GPS velocity in NORTH direction in earth-fixed NED frame</field>
  3857. <field type="int16_t" name="ve" units="cm/s">GPS velocity in EAST direction in earth-fixed NED frame</field>
  3858. <field type="int16_t" name="vd" units="cm/s">GPS velocity in DOWN direction in earth-fixed NED frame</field>
  3859. <field type="uint16_t" name="cog" units="cdeg">Course over ground (NOT heading, but direction of movement), 0.0..359.99 degrees. If unknown, set to: 65535</field>
  3860. <field type="uint8_t" name="satellites_visible">Number of satellites visible. If unknown, set to 255</field>
  3861. </message>
  3862. <message id="114" name="HIL_OPTICAL_FLOW">
  3863. <description>Simulated optical flow from a flow sensor (e.g. PX4FLOW or optical mouse sensor)</description>
  3864. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3865. <field type="uint8_t" name="sensor_id">Sensor ID</field>
  3866. <field type="uint32_t" name="integration_time_us" units="us">Integration time. Divide integrated_x and integrated_y by the integration time to obtain average flow. The integration time also indicates the.</field>
  3867. <field type="float" name="integrated_x" units="rad">Flow in radians around X axis (Sensor RH rotation about the X axis induces a positive flow. Sensor linear motion along the positive Y axis induces a negative flow.)</field>
  3868. <field type="float" name="integrated_y" units="rad">Flow in radians around Y axis (Sensor RH rotation about the Y axis induces a positive flow. Sensor linear motion along the positive X axis induces a positive flow.)</field>
  3869. <field type="float" name="integrated_xgyro" units="rad">RH rotation around X axis</field>
  3870. <field type="float" name="integrated_ygyro" units="rad">RH rotation around Y axis</field>
  3871. <field type="float" name="integrated_zgyro" units="rad">RH rotation around Z axis</field>
  3872. <field type="int16_t" name="temperature" units="cdegC">Temperature</field>
  3873. <field type="uint8_t" name="quality">Optical flow quality / confidence. 0: no valid flow, 255: maximum quality</field>
  3874. <field type="uint32_t" name="time_delta_distance_us" units="us">Time since the distance was sampled.</field>
  3875. <field type="float" name="distance" units="m">Distance to the center of the flow field. Positive value (including zero): distance known. Negative value: Unknown distance.</field>
  3876. </message>
  3877. <message id="115" name="HIL_STATE_QUATERNION">
  3878. <description>Sent from simulation to autopilot, avoids in contrast to HIL_STATE singularities. This packet is useful for high throughput applications such as hardware in the loop simulations.</description>
  3879. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3880. <field type="float[4]" name="attitude_quaternion">Vehicle attitude expressed as normalized quaternion in w, x, y, z order (with 1 0 0 0 being the null-rotation)</field>
  3881. <field type="float" name="rollspeed" units="rad/s">Body frame roll / phi angular speed</field>
  3882. <field type="float" name="pitchspeed" units="rad/s">Body frame pitch / theta angular speed</field>
  3883. <field type="float" name="yawspeed" units="rad/s">Body frame yaw / psi angular speed</field>
  3884. <field type="int32_t" name="lat" units="degE7">Latitude</field>
  3885. <field type="int32_t" name="lon" units="degE7">Longitude</field>
  3886. <field type="int32_t" name="alt" units="mm">Altitude</field>
  3887. <field type="int16_t" name="vx" units="cm/s">Ground X Speed (Latitude)</field>
  3888. <field type="int16_t" name="vy" units="cm/s">Ground Y Speed (Longitude)</field>
  3889. <field type="int16_t" name="vz" units="cm/s">Ground Z Speed (Altitude)</field>
  3890. <field type="uint16_t" name="ind_airspeed" units="cm/s">Indicated airspeed</field>
  3891. <field type="uint16_t" name="true_airspeed" units="cm/s">True airspeed</field>
  3892. <field type="int16_t" name="xacc" units="mG">X acceleration</field>
  3893. <field type="int16_t" name="yacc" units="mG">Y acceleration</field>
  3894. <field type="int16_t" name="zacc" units="mG">Z acceleration</field>
  3895. </message>
  3896. <message id="116" name="SCALED_IMU2">
  3897. <description>The RAW IMU readings for secondary 9DOF sensor setup. This message should contain the scaled values to the described units</description>
  3898. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  3899. <field type="int16_t" name="xacc" units="mG">X acceleration</field>
  3900. <field type="int16_t" name="yacc" units="mG">Y acceleration</field>
  3901. <field type="int16_t" name="zacc" units="mG">Z acceleration</field>
  3902. <field type="int16_t" name="xgyro" units="mrad/s">Angular speed around X axis</field>
  3903. <field type="int16_t" name="ygyro" units="mrad/s">Angular speed around Y axis</field>
  3904. <field type="int16_t" name="zgyro" units="mrad/s">Angular speed around Z axis</field>
  3905. <field type="int16_t" name="xmag" units="mT">X Magnetic field</field>
  3906. <field type="int16_t" name="ymag" units="mT">Y Magnetic field</field>
  3907. <field type="int16_t" name="zmag" units="mT">Z Magnetic field</field>
  3908. </message>
  3909. <message id="117" name="LOG_REQUEST_LIST">
  3910. <description>Request a list of available logs. On some systems calling this may stop on-board logging until LOG_REQUEST_END is called.</description>
  3911. <field type="uint8_t" name="target_system">System ID</field>
  3912. <field type="uint8_t" name="target_component">Component ID</field>
  3913. <field type="uint16_t" name="start">First log id (0 for first available)</field>
  3914. <field type="uint16_t" name="end">Last log id (0xffff for last available)</field>
  3915. </message>
  3916. <message id="118" name="LOG_ENTRY">
  3917. <description>Reply to LOG_REQUEST_LIST</description>
  3918. <field type="uint16_t" name="id">Log id</field>
  3919. <field type="uint16_t" name="num_logs">Total number of logs</field>
  3920. <field type="uint16_t" name="last_log_num">High log number</field>
  3921. <field type="uint32_t" name="time_utc" units="s">UTC timestamp of log since 1970, or 0 if not available</field>
  3922. <field type="uint32_t" name="size" units="bytes">Size of the log (may be approximate)</field>
  3923. </message>
  3924. <message id="119" name="LOG_REQUEST_DATA">
  3925. <description>Request a chunk of a log</description>
  3926. <field type="uint8_t" name="target_system">System ID</field>
  3927. <field type="uint8_t" name="target_component">Component ID</field>
  3928. <field type="uint16_t" name="id">Log id (from LOG_ENTRY reply)</field>
  3929. <field type="uint32_t" name="ofs">Offset into the log</field>
  3930. <field type="uint32_t" name="count" units="bytes">Number of bytes</field>
  3931. </message>
  3932. <message id="120" name="LOG_DATA">
  3933. <description>Reply to LOG_REQUEST_DATA</description>
  3934. <field type="uint16_t" name="id">Log id (from LOG_ENTRY reply)</field>
  3935. <field type="uint32_t" name="ofs">Offset into the log</field>
  3936. <field type="uint8_t" name="count" units="bytes">Number of bytes (zero for end of log)</field>
  3937. <field type="uint8_t[90]" name="data">log data</field>
  3938. </message>
  3939. <message id="121" name="LOG_ERASE">
  3940. <description>Erase all logs</description>
  3941. <field type="uint8_t" name="target_system">System ID</field>
  3942. <field type="uint8_t" name="target_component">Component ID</field>
  3943. </message>
  3944. <message id="122" name="LOG_REQUEST_END">
  3945. <description>Stop log transfer and resume normal logging</description>
  3946. <field type="uint8_t" name="target_system">System ID</field>
  3947. <field type="uint8_t" name="target_component">Component ID</field>
  3948. </message>
  3949. <message id="123" name="GPS_INJECT_DATA">
  3950. <description>Data for injecting into the onboard GPS (used for DGPS)</description>
  3951. <field type="uint8_t" name="target_system">System ID</field>
  3952. <field type="uint8_t" name="target_component">Component ID</field>
  3953. <field type="uint8_t" name="len" units="bytes">Data length</field>
  3954. <field type="uint8_t[110]" name="data">Raw data (110 is enough for 12 satellites of RTCMv2)</field>
  3955. </message>
  3956. <message id="124" name="GPS2_RAW">
  3957. <description>Second GPS data.</description>
  3958. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  3959. <field type="uint8_t" name="fix_type" enum="GPS_FIX_TYPE">GPS fix type.</field>
  3960. <field type="int32_t" name="lat" units="degE7">Latitude (WGS84)</field>
  3961. <field type="int32_t" name="lon" units="degE7">Longitude (WGS84)</field>
  3962. <field type="int32_t" name="alt" units="mm">Altitude (MSL). Positive for up.</field>
  3963. <field type="uint16_t" name="eph" units="cm">GPS HDOP horizontal dilution of position. If unknown, set to: UINT16_MAX</field>
  3964. <field type="uint16_t" name="epv" units="cm">GPS VDOP vertical dilution of position. If unknown, set to: UINT16_MAX</field>
  3965. <field type="uint16_t" name="vel" units="cm/s">GPS ground speed. If unknown, set to: UINT16_MAX</field>
  3966. <field type="uint16_t" name="cog" units="cdeg">Course over ground (NOT heading, but direction of movement): 0.0..359.99 degrees. If unknown, set to: UINT16_MAX</field>
  3967. <field type="uint8_t" name="satellites_visible">Number of satellites visible. If unknown, set to 255</field>
  3968. <field type="uint8_t" name="dgps_numch">Number of DGPS satellites</field>
  3969. <field type="uint32_t" name="dgps_age" units="ms">Age of DGPS info</field>
  3970. </message>
  3971. <message id="125" name="POWER_STATUS">
  3972. <description>Power supply status</description>
  3973. <field type="uint16_t" name="Vcc" units="mV">5V rail voltage.</field>
  3974. <field type="uint16_t" name="Vservo" units="mV">Servo rail voltage.</field>
  3975. <field type="uint16_t" name="flags" enum="MAV_POWER_STATUS" display="bitmask">Bitmap of power supply status flags.</field>
  3976. </message>
  3977. <message id="126" name="SERIAL_CONTROL">
  3978. <description>Control a serial port. This can be used for raw access to an onboard serial peripheral such as a GPS or telemetry radio. It is designed to make it possible to update the devices firmware via MAVLink messages or change the devices settings. A message with zero bytes can be used to change just the baudrate.</description>
  3979. <field type="uint8_t" name="device" enum="SERIAL_CONTROL_DEV">Serial control device type.</field>
  3980. <field type="uint8_t" name="flags" enum="SERIAL_CONTROL_FLAG" display="bitmask">Bitmap of serial control flags.</field>
  3981. <field type="uint16_t" name="timeout" units="ms">Timeout for reply data</field>
  3982. <field type="uint32_t" name="baudrate" units="bits/s">Baudrate of transfer. Zero means no change.</field>
  3983. <field type="uint8_t" name="count" units="bytes">how many bytes in this transfer</field>
  3984. <field type="uint8_t[70]" name="data">serial data</field>
  3985. </message>
  3986. <message id="127" name="GPS_RTK">
  3987. <description>RTK GPS data. Gives information on the relative baseline calculation the GPS is reporting</description>
  3988. <field type="uint32_t" name="time_last_baseline_ms" units="ms">Time since boot of last baseline message received.</field>
  3989. <field type="uint8_t" name="rtk_receiver_id">Identification of connected RTK receiver.</field>
  3990. <field type="uint16_t" name="wn">GPS Week Number of last baseline</field>
  3991. <field type="uint32_t" name="tow" units="ms">GPS Time of Week of last baseline</field>
  3992. <field type="uint8_t" name="rtk_health">GPS-specific health report for RTK data.</field>
  3993. <field type="uint8_t" name="rtk_rate" units="Hz">Rate of baseline messages being received by GPS</field>
  3994. <field type="uint8_t" name="nsats">Current number of sats used for RTK calculation.</field>
  3995. <field type="uint8_t" name="baseline_coords_type" enum="RTK_BASELINE_COORDINATE_SYSTEM">Coordinate system of baseline</field>
  3996. <field type="int32_t" name="baseline_a_mm" units="mm">Current baseline in ECEF x or NED north component.</field>
  3997. <field type="int32_t" name="baseline_b_mm" units="mm">Current baseline in ECEF y or NED east component.</field>
  3998. <field type="int32_t" name="baseline_c_mm" units="mm">Current baseline in ECEF z or NED down component.</field>
  3999. <field type="uint32_t" name="accuracy">Current estimate of baseline accuracy.</field>
  4000. <field type="int32_t" name="iar_num_hypotheses">Current number of integer ambiguity hypotheses.</field>
  4001. </message>
  4002. <message id="128" name="GPS2_RTK">
  4003. <description>RTK GPS data. Gives information on the relative baseline calculation the GPS is reporting</description>
  4004. <field type="uint32_t" name="time_last_baseline_ms" units="ms">Time since boot of last baseline message received.</field>
  4005. <field type="uint8_t" name="rtk_receiver_id">Identification of connected RTK receiver.</field>
  4006. <field type="uint16_t" name="wn">GPS Week Number of last baseline</field>
  4007. <field type="uint32_t" name="tow" units="ms">GPS Time of Week of last baseline</field>
  4008. <field type="uint8_t" name="rtk_health">GPS-specific health report for RTK data.</field>
  4009. <field type="uint8_t" name="rtk_rate" units="Hz">Rate of baseline messages being received by GPS</field>
  4010. <field type="uint8_t" name="nsats">Current number of sats used for RTK calculation.</field>
  4011. <field type="uint8_t" name="baseline_coords_type" enum="RTK_BASELINE_COORDINATE_SYSTEM">Coordinate system of baseline</field>
  4012. <field type="int32_t" name="baseline_a_mm" units="mm">Current baseline in ECEF x or NED north component.</field>
  4013. <field type="int32_t" name="baseline_b_mm" units="mm">Current baseline in ECEF y or NED east component.</field>
  4014. <field type="int32_t" name="baseline_c_mm" units="mm">Current baseline in ECEF z or NED down component.</field>
  4015. <field type="uint32_t" name="accuracy">Current estimate of baseline accuracy.</field>
  4016. <field type="int32_t" name="iar_num_hypotheses">Current number of integer ambiguity hypotheses.</field>
  4017. </message>
  4018. <message id="129" name="SCALED_IMU3">
  4019. <description>The RAW IMU readings for 3rd 9DOF sensor setup. This message should contain the scaled values to the described units</description>
  4020. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4021. <field type="int16_t" name="xacc" units="mG">X acceleration</field>
  4022. <field type="int16_t" name="yacc" units="mG">Y acceleration</field>
  4023. <field type="int16_t" name="zacc" units="mG">Z acceleration</field>
  4024. <field type="int16_t" name="xgyro" units="mrad/s">Angular speed around X axis</field>
  4025. <field type="int16_t" name="ygyro" units="mrad/s">Angular speed around Y axis</field>
  4026. <field type="int16_t" name="zgyro" units="mrad/s">Angular speed around Z axis</field>
  4027. <field type="int16_t" name="xmag" units="mT">X Magnetic field</field>
  4028. <field type="int16_t" name="ymag" units="mT">Y Magnetic field</field>
  4029. <field type="int16_t" name="zmag" units="mT">Z Magnetic field</field>
  4030. </message>
  4031. <message id="130" name="DATA_TRANSMISSION_HANDSHAKE">
  4032. <description>Handshake message to initiate, control and stop image streaming when using the Image Transmission Protocol: https://mavlink.io/en/services/image_transmission.html.</description>
  4033. <field type="uint8_t" name="type" enum="MAVLINK_DATA_STREAM_TYPE">Type of requested/acknowledged data.</field>
  4034. <field type="uint32_t" name="size" units="bytes">total data size (set on ACK only).</field>
  4035. <field type="uint16_t" name="width">Width of a matrix or image.</field>
  4036. <field type="uint16_t" name="height">Height of a matrix or image.</field>
  4037. <field type="uint16_t" name="packets">Number of packets being sent (set on ACK only).</field>
  4038. <field type="uint8_t" name="payload" units="bytes">Payload size per packet (normally 253 byte, see DATA field size in message ENCAPSULATED_DATA) (set on ACK only).</field>
  4039. <field type="uint8_t" name="jpg_quality" units="%">JPEG quality. Values: [1-100].</field>
  4040. </message>
  4041. <message id="131" name="ENCAPSULATED_DATA">
  4042. <description>Data packet for images sent using the Image Transmission Protocol: https://mavlink.io/en/services/image_transmission.html.</description>
  4043. <field type="uint16_t" name="seqnr">sequence number (starting with 0 on every transmission)</field>
  4044. <field type="uint8_t[253]" name="data">image data bytes</field>
  4045. </message>
  4046. <message id="132" name="DISTANCE_SENSOR">
  4047. <description>Distance sensor information for an onboard rangefinder.</description>
  4048. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4049. <field type="uint16_t" name="min_distance" units="cm">Minimum distance the sensor can measure</field>
  4050. <field type="uint16_t" name="max_distance" units="cm">Maximum distance the sensor can measure</field>
  4051. <field type="uint16_t" name="current_distance" units="cm">Current distance reading</field>
  4052. <field type="uint8_t" name="type" enum="MAV_DISTANCE_SENSOR">Type of distance sensor.</field>
  4053. <field type="uint8_t" name="id">Onboard ID of the sensor</field>
  4054. <field type="uint8_t" name="orientation" enum="MAV_SENSOR_ORIENTATION">Direction the sensor faces. downward-facing: ROTATION_PITCH_270, upward-facing: ROTATION_PITCH_90, backward-facing: ROTATION_PITCH_180, forward-facing: ROTATION_NONE, left-facing: ROTATION_YAW_90, right-facing: ROTATION_YAW_270</field>
  4055. <field type="uint8_t" name="covariance" units="cm^2">Measurement variance. Max standard deviation is 6cm. 255 if unknown.</field>
  4056. <extensions/>
  4057. <field type="float" name="horizontal_fov" units="rad">Horizontal Field of View (angle) where the distance measurement is valid and the field of view is known. Otherwise this is set to 0.</field>
  4058. <field type="float" name="vertical_fov" units="rad">Vertical Field of View (angle) where the distance measurement is valid and the field of view is known. Otherwise this is set to 0.</field>
  4059. <field type="float[4]" name="quaternion">Quaternion of the sensor orientation in vehicle body frame (w, x, y, z order, zero-rotation is 1, 0, 0, 0). Zero-rotation is along the vehicle body x-axis. This field is required if the orientation is set to MAV_SENSOR_ROTATION_CUSTOM. Set it to 0 if invalid."</field>
  4060. </message>
  4061. <message id="133" name="TERRAIN_REQUEST">
  4062. <description>Request for terrain data and terrain status</description>
  4063. <field type="int32_t" name="lat" units="degE7">Latitude of SW corner of first grid</field>
  4064. <field type="int32_t" name="lon" units="degE7">Longitude of SW corner of first grid</field>
  4065. <field type="uint16_t" name="grid_spacing" units="m">Grid spacing</field>
  4066. <field type="uint64_t" name="mask" display="bitmask" print_format="0x%07x">Bitmask of requested 4x4 grids (row major 8x7 array of grids, 56 bits)</field>
  4067. </message>
  4068. <message id="134" name="TERRAIN_DATA">
  4069. <description>Terrain data sent from GCS. The lat/lon and grid_spacing must be the same as a lat/lon from a TERRAIN_REQUEST</description>
  4070. <field type="int32_t" name="lat" units="degE7">Latitude of SW corner of first grid</field>
  4071. <field type="int32_t" name="lon" units="degE7">Longitude of SW corner of first grid</field>
  4072. <field type="uint16_t" name="grid_spacing" units="m">Grid spacing</field>
  4073. <field type="uint8_t" name="gridbit">bit within the terrain request mask</field>
  4074. <field type="int16_t[16]" name="data" units="m">Terrain data MSL</field>
  4075. </message>
  4076. <message id="135" name="TERRAIN_CHECK">
  4077. <description>Request that the vehicle report terrain height at the given location. Used by GCS to check if vehicle has all terrain data needed for a mission.</description>
  4078. <field type="int32_t" name="lat" units="degE7">Latitude</field>
  4079. <field type="int32_t" name="lon" units="degE7">Longitude</field>
  4080. </message>
  4081. <message id="136" name="TERRAIN_REPORT">
  4082. <description>Response from a TERRAIN_CHECK request</description>
  4083. <field type="int32_t" name="lat" units="degE7">Latitude</field>
  4084. <field type="int32_t" name="lon" units="degE7">Longitude</field>
  4085. <field type="uint16_t" name="spacing">grid spacing (zero if terrain at this location unavailable)</field>
  4086. <field type="float" name="terrain_height" units="m">Terrain height MSL</field>
  4087. <field type="float" name="current_height" units="m">Current vehicle height above lat/lon terrain height</field>
  4088. <field type="uint16_t" name="pending">Number of 4x4 terrain blocks waiting to be received or read from disk</field>
  4089. <field type="uint16_t" name="loaded">Number of 4x4 terrain blocks in memory</field>
  4090. </message>
  4091. <message id="137" name="SCALED_PRESSURE2">
  4092. <description>Barometer readings for 2nd barometer</description>
  4093. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4094. <field type="float" name="press_abs" units="hPa">Absolute pressure</field>
  4095. <field type="float" name="press_diff" units="hPa">Differential pressure</field>
  4096. <field type="int16_t" name="temperature" units="cdegC">Temperature measurement</field>
  4097. </message>
  4098. <message id="138" name="ATT_POS_MOCAP">
  4099. <description>Motion capture attitude and position</description>
  4100. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4101. <field type="float[4]" name="q">Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0)</field>
  4102. <field type="float" name="x" units="m">X position (NED)</field>
  4103. <field type="float" name="y" units="m">Y position (NED)</field>
  4104. <field type="float" name="z" units="m">Z position (NED)</field>
  4105. <extensions/>
  4106. <field type="float[21]" name="covariance">Row-major representation of a pose 6x6 cross-covariance matrix upper right triangle (states: x, y, z, roll, pitch, yaw; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array.</field>
  4107. </message>
  4108. <message id="139" name="SET_ACTUATOR_CONTROL_TARGET">
  4109. <description>Set the vehicle attitude and body angular rates.</description>
  4110. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4111. <field type="uint8_t" name="group_mlx">Actuator group. The "_mlx" indicates this is a multi-instance message and a MAVLink parser should use this field to difference between instances.</field>
  4112. <field type="uint8_t" name="target_system">System ID</field>
  4113. <field type="uint8_t" name="target_component">Component ID</field>
  4114. <field type="float[8]" name="controls">Actuator controls. Normed to -1..+1 where 0 is neutral position. Throttle for single rotation direction motors is 0..1, negative range for reverse direction. Standard mapping for attitude controls (group 0): (index 0-7): roll, pitch, yaw, throttle, flaps, spoilers, airbrakes, landing gear. Load a pass-through mixer to repurpose them as generic outputs.</field>
  4115. </message>
  4116. <message id="140" name="ACTUATOR_CONTROL_TARGET">
  4117. <description>Set the vehicle attitude and body angular rates.</description>
  4118. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4119. <field type="uint8_t" name="group_mlx">Actuator group. The "_mlx" indicates this is a multi-instance message and a MAVLink parser should use this field to difference between instances.</field>
  4120. <field type="float[8]" name="controls">Actuator controls. Normed to -1..+1 where 0 is neutral position. Throttle for single rotation direction motors is 0..1, negative range for reverse direction. Standard mapping for attitude controls (group 0): (index 0-7): roll, pitch, yaw, throttle, flaps, spoilers, airbrakes, landing gear. Load a pass-through mixer to repurpose them as generic outputs.</field>
  4121. </message>
  4122. <message id="141" name="ALTITUDE">
  4123. <description>The current system altitude.</description>
  4124. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4125. <field type="float" name="altitude_monotonic" units="m">This altitude measure is initialized on system boot and monotonic (it is never reset, but represents the local altitude change). The only guarantee on this field is that it will never be reset and is consistent within a flight. The recommended value for this field is the uncorrected barometric altitude at boot time. This altitude will also drift and vary between flights.</field>
  4126. <field type="float" name="altitude_amsl" units="m">This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output MSL by default and not the WGS84 altitude.</field>
  4127. <field type="float" name="altitude_local" units="m">This is the local altitude in the local coordinate frame. It is not the altitude above home, but in reference to the coordinate origin (0, 0, 0). It is up-positive.</field>
  4128. <field type="float" name="altitude_relative" units="m">This is the altitude above the home position. It resets on each change of the current home position.</field>
  4129. <field type="float" name="altitude_terrain" units="m">This is the altitude above terrain. It might be fed by a terrain database or an altimeter. Values smaller than -1000 should be interpreted as unknown.</field>
  4130. <field type="float" name="bottom_clearance" units="m">This is not the altitude, but the clear space below the system according to the fused clearance estimate. It generally should max out at the maximum range of e.g. the laser altimeter. It is generally a moving target. A negative value indicates no measurement available.</field>
  4131. </message>
  4132. <message id="142" name="RESOURCE_REQUEST">
  4133. <description>The autopilot is requesting a resource (file, binary, other type of data)</description>
  4134. <field type="uint8_t" name="request_id">Request ID. This ID should be re-used when sending back URI contents</field>
  4135. <field type="uint8_t" name="uri_type">The type of requested URI. 0 = a file via URL. 1 = a UAVCAN binary</field>
  4136. <field type="uint8_t[120]" name="uri">The requested unique resource identifier (URI). It is not necessarily a straight domain name (depends on the URI type enum)</field>
  4137. <field type="uint8_t" name="transfer_type">The way the autopilot wants to receive the URI. 0 = MAVLink FTP. 1 = binary stream.</field>
  4138. <field type="uint8_t[120]" name="storage">The storage path the autopilot wants the URI to be stored in. Will only be valid if the transfer_type has a storage associated (e.g. MAVLink FTP).</field>
  4139. </message>
  4140. <message id="143" name="SCALED_PRESSURE3">
  4141. <description>Barometer readings for 3rd barometer</description>
  4142. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4143. <field type="float" name="press_abs" units="hPa">Absolute pressure</field>
  4144. <field type="float" name="press_diff" units="hPa">Differential pressure</field>
  4145. <field type="int16_t" name="temperature" units="cdegC">Temperature measurement</field>
  4146. </message>
  4147. <message id="144" name="FOLLOW_TARGET">
  4148. <description>Current motion information from a designated system</description>
  4149. <field type="uint64_t" name="timestamp" units="ms">Timestamp (time since system boot).</field>
  4150. <field type="uint8_t" name="est_capabilities">bit positions for tracker reporting capabilities (POS = 0, VEL = 1, ACCEL = 2, ATT + RATES = 3)</field>
  4151. <field type="int32_t" name="lat" units="degE7">Latitude (WGS84)</field>
  4152. <field type="int32_t" name="lon" units="degE7">Longitude (WGS84)</field>
  4153. <field type="float" name="alt" units="m">Altitude (MSL)</field>
  4154. <field type="float[3]" name="vel" units="m/s">target velocity (0,0,0) for unknown</field>
  4155. <field type="float[3]" name="acc" units="m/s/s">linear target acceleration (0,0,0) for unknown</field>
  4156. <field type="float[4]" name="attitude_q">(1 0 0 0 for unknown)</field>
  4157. <field type="float[3]" name="rates">(0 0 0 for unknown)</field>
  4158. <field type="float[3]" name="position_cov">eph epv</field>
  4159. <field type="uint64_t" name="custom_state">button states or switches of a tracker device</field>
  4160. </message>
  4161. <message id="146" name="CONTROL_SYSTEM_STATE">
  4162. <description>The smoothed, monotonic system state used to feed the control loops of the system.</description>
  4163. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4164. <field type="float" name="x_acc" units="m/s/s">X acceleration in body frame</field>
  4165. <field type="float" name="y_acc" units="m/s/s">Y acceleration in body frame</field>
  4166. <field type="float" name="z_acc" units="m/s/s">Z acceleration in body frame</field>
  4167. <field type="float" name="x_vel" units="m/s">X velocity in body frame</field>
  4168. <field type="float" name="y_vel" units="m/s">Y velocity in body frame</field>
  4169. <field type="float" name="z_vel" units="m/s">Z velocity in body frame</field>
  4170. <field type="float" name="x_pos" units="m">X position in local frame</field>
  4171. <field type="float" name="y_pos" units="m">Y position in local frame</field>
  4172. <field type="float" name="z_pos" units="m">Z position in local frame</field>
  4173. <field type="float" name="airspeed" units="m/s">Airspeed, set to -1 if unknown</field>
  4174. <field type="float[3]" name="vel_variance">Variance of body velocity estimate</field>
  4175. <field type="float[3]" name="pos_variance">Variance in local position</field>
  4176. <field type="float[4]" name="q">The attitude, represented as Quaternion</field>
  4177. <field type="float" name="roll_rate" units="rad/s">Angular rate in roll axis</field>
  4178. <field type="float" name="pitch_rate" units="rad/s">Angular rate in pitch axis</field>
  4179. <field type="float" name="yaw_rate" units="rad/s">Angular rate in yaw axis</field>
  4180. </message>
  4181. <message id="147" name="BATTERY_STATUS">
  4182. <description>Battery information</description>
  4183. <field type="uint8_t" name="id">Battery ID</field>
  4184. <field type="uint8_t" name="battery_function" enum="MAV_BATTERY_FUNCTION">Function of the battery</field>
  4185. <field type="uint8_t" name="type" enum="MAV_BATTERY_TYPE">Type (chemistry) of the battery</field>
  4186. <field type="int16_t" name="temperature" units="cdegC">Temperature of the battery. INT16_MAX for unknown temperature.</field>
  4187. <field type="uint16_t[10]" name="voltages" units="mV">Battery voltage of cells. Cells above the valid cell count for this battery should have the UINT16_MAX value.</field>
  4188. <field type="int16_t" name="current_battery" units="cA">Battery current, -1: autopilot does not measure the current</field>
  4189. <field type="int32_t" name="current_consumed" units="mAh">Consumed charge, -1: autopilot does not provide consumption estimate</field>
  4190. <field type="int32_t" name="energy_consumed" units="hJ">Consumed energy, -1: autopilot does not provide energy consumption estimate</field>
  4191. <field type="int8_t" name="battery_remaining" units="%">Remaining battery energy. Values: [0-100], -1: autopilot does not estimate the remaining battery.</field>
  4192. <extensions/>
  4193. <field type="int32_t" name="time_remaining" units="s">Remaining battery time, 0: autopilot does not provide remaining battery time estimate</field>
  4194. <field type="uint8_t" name="charge_state" enum="MAV_BATTERY_CHARGE_STATE">State for extent of discharge, provided by autopilot for warning or external reactions</field>
  4195. </message>
  4196. <message id="148" name="AUTOPILOT_VERSION">
  4197. <description>Version and capability of autopilot software</description>
  4198. <field type="uint64_t" name="capabilities" enum="MAV_PROTOCOL_CAPABILITY" display="bitmask">Bitmap of capabilities</field>
  4199. <field type="uint32_t" name="flight_sw_version">Firmware version number</field>
  4200. <field type="uint32_t" name="middleware_sw_version">Middleware version number</field>
  4201. <field type="uint32_t" name="os_sw_version">Operating system version number</field>
  4202. <field type="uint32_t" name="board_version">HW / board version (last 8 bytes should be silicon ID, if any)</field>
  4203. <field type="uint8_t[8]" name="flight_custom_version">Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases.</field>
  4204. <field type="uint8_t[8]" name="middleware_custom_version">Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases.</field>
  4205. <field type="uint8_t[8]" name="os_custom_version">Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases.</field>
  4206. <field type="uint16_t" name="vendor_id">ID of the board vendor</field>
  4207. <field type="uint16_t" name="product_id">ID of the product</field>
  4208. <field type="uint64_t" name="uid">UID if provided by hardware (see uid2)</field>
  4209. <extensions/>
  4210. <field type="uint8_t[18]" name="uid2">UID if provided by hardware (supersedes the uid field. If this is non-zero, use this field, otherwise use uid)</field>
  4211. </message>
  4212. <message id="149" name="LANDING_TARGET">
  4213. <description>The location of a landing target. See: https://mavlink.io/en/services/landing_target.html</description>
  4214. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4215. <field type="uint8_t" name="target_num">The ID of the target if multiple targets are present</field>
  4216. <field type="uint8_t" name="frame" enum="MAV_FRAME">Coordinate frame used for following fields.</field>
  4217. <field type="float" name="angle_x" units="rad">X-axis angular offset of the target from the center of the image</field>
  4218. <field type="float" name="angle_y" units="rad">Y-axis angular offset of the target from the center of the image</field>
  4219. <field type="float" name="distance" units="m">Distance to the target from the vehicle</field>
  4220. <field type="float" name="size_x" units="rad">Size of target along x-axis</field>
  4221. <field type="float" name="size_y" units="rad">Size of target along y-axis</field>
  4222. <extensions/>
  4223. <field type="float" name="x" units="m">X Position of the landing target in MAV_FRAME</field>
  4224. <field type="float" name="y" units="m">Y Position of the landing target in MAV_FRAME</field>
  4225. <field type="float" name="z" units="m">Z Position of the landing target in MAV_FRAME</field>
  4226. <field type="float[4]" name="q">Quaternion of landing target orientation (w, x, y, z order, zero-rotation is 1, 0, 0, 0)</field>
  4227. <field type="uint8_t" name="type" enum="LANDING_TARGET_TYPE">Type of landing target</field>
  4228. <field type="uint8_t" name="position_valid">Boolean indicating whether the position fields (x, y, z, q, type) contain valid target position information (valid: 1, invalid: 0). Default is 0 (invalid).</field>
  4229. </message>
  4230. <!-- MESSAGE IDs 180 - 229: Space for custom messages in individual projectname_messages.xml files -->
  4231. <message id="230" name="ESTIMATOR_STATUS">
  4232. <description>Estimator status message including flags, innovation test ratios and estimated accuracies. The flags message is an integer bitmask containing information on which EKF outputs are valid. See the ESTIMATOR_STATUS_FLAGS enum definition for further information. The innovation test ratios show the magnitude of the sensor innovation divided by the innovation check threshold. Under normal operation the innovation test ratios should be below 0.5 with occasional values up to 1.0. Values greater than 1.0 should be rare under normal operation and indicate that a measurement has been rejected by the filter. The user should be notified if an innovation test ratio greater than 1.0 is recorded. Notifications for values in the range between 0.5 and 1.0 should be optional and controllable by the user.</description>
  4233. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4234. <field type="uint16_t" name="flags" enum="ESTIMATOR_STATUS_FLAGS" display="bitmask">Bitmap indicating which EKF outputs are valid.</field>
  4235. <field type="float" name="vel_ratio">Velocity innovation test ratio</field>
  4236. <field type="float" name="pos_horiz_ratio">Horizontal position innovation test ratio</field>
  4237. <field type="float" name="pos_vert_ratio">Vertical position innovation test ratio</field>
  4238. <field type="float" name="mag_ratio">Magnetometer innovation test ratio</field>
  4239. <field type="float" name="hagl_ratio">Height above terrain innovation test ratio</field>
  4240. <field type="float" name="tas_ratio">True airspeed innovation test ratio</field>
  4241. <field type="float" name="pos_horiz_accuracy" units="m">Horizontal position 1-STD accuracy relative to the EKF local origin</field>
  4242. <field type="float" name="pos_vert_accuracy" units="m">Vertical position 1-STD accuracy relative to the EKF local origin</field>
  4243. </message>
  4244. <message id="231" name="WIND_COV">
  4245. <description>Wind covariance estimate from vehicle.</description>
  4246. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4247. <field type="float" name="wind_x" units="m/s">Wind in X (NED) direction</field>
  4248. <field type="float" name="wind_y" units="m/s">Wind in Y (NED) direction</field>
  4249. <field type="float" name="wind_z" units="m/s">Wind in Z (NED) direction</field>
  4250. <field type="float" name="var_horiz" units="m/s">Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate.</field>
  4251. <field type="float" name="var_vert" units="m/s">Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate.</field>
  4252. <field type="float" name="wind_alt" units="m">Altitude (MSL) that this measurement was taken at</field>
  4253. <field type="float" name="horiz_accuracy" units="m">Horizontal speed 1-STD accuracy</field>
  4254. <field type="float" name="vert_accuracy" units="m">Vertical speed 1-STD accuracy</field>
  4255. </message>
  4256. <message id="232" name="GPS_INPUT">
  4257. <description>GPS sensor input message. This is a raw sensor value sent by the GPS. This is NOT the global position estimate of the system.</description>
  4258. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4259. <field type="uint8_t" name="gps_id">ID of the GPS for multiple GPS inputs</field>
  4260. <field type="uint16_t" name="ignore_flags" enum="GPS_INPUT_IGNORE_FLAGS" display="bitmask">Bitmap indicating which GPS input flags fields to ignore. All other fields must be provided.</field>
  4261. <field type="uint32_t" name="time_week_ms" units="ms">GPS time (from start of GPS week)</field>
  4262. <field type="uint16_t" name="time_week">GPS week number</field>
  4263. <field type="uint8_t" name="fix_type">0-1: no fix, 2: 2D fix, 3: 3D fix. 4: 3D with DGPS. 5: 3D with RTK</field>
  4264. <field type="int32_t" name="lat" units="degE7">Latitude (WGS84)</field>
  4265. <field type="int32_t" name="lon" units="degE7">Longitude (WGS84)</field>
  4266. <field type="float" name="alt" units="m">Altitude (MSL). Positive for up.</field>
  4267. <field type="float" name="hdop" units="m">GPS HDOP horizontal dilution of position</field>
  4268. <field type="float" name="vdop" units="m">GPS VDOP vertical dilution of position</field>
  4269. <field type="float" name="vn" units="m/s">GPS velocity in NORTH direction in earth-fixed NED frame</field>
  4270. <field type="float" name="ve" units="m/s">GPS velocity in EAST direction in earth-fixed NED frame</field>
  4271. <field type="float" name="vd" units="m/s">GPS velocity in DOWN direction in earth-fixed NED frame</field>
  4272. <field type="float" name="speed_accuracy" units="m/s">GPS speed accuracy</field>
  4273. <field type="float" name="horiz_accuracy" units="m">GPS horizontal accuracy</field>
  4274. <field type="float" name="vert_accuracy" units="m">GPS vertical accuracy</field>
  4275. <field type="uint8_t" name="satellites_visible">Number of satellites visible.</field>
  4276. <extensions/>
  4277. <field type="uint16_t" name="yaw" units="cdeg">Yaw of vehicle, zero means not available, use 36000 for north</field>
  4278. </message>
  4279. <message id="233" name="GPS_RTCM_DATA">
  4280. <description>RTCM message for injecting into the onboard GPS (used for DGPS)</description>
  4281. <field type="uint8_t" name="flags">LSB: 1 means message is fragmented, next 2 bits are the fragment ID, the remaining 5 bits are used for the sequence ID. Messages are only to be flushed to the GPS when the entire message has been reconstructed on the autopilot. The fragment ID specifies which order the fragments should be assembled into a buffer, while the sequence ID is used to detect a mismatch between different buffers. The buffer is considered fully reconstructed when either all 4 fragments are present, or all the fragments before the first fragment with a non full payload is received. This management is used to ensure that normal GPS operation doesn't corrupt RTCM data, and to recover from a unreliable transport delivery order.</field>
  4282. <field type="uint8_t" name="len" units="bytes">data length</field>
  4283. <field type="uint8_t[180]" name="data">RTCM message (may be fragmented)</field>
  4284. </message>
  4285. <message id="234" name="HIGH_LATENCY">
  4286. <description>Message appropriate for high latency connections like Iridium</description>
  4287. <field type="uint8_t" name="base_mode" enum="MAV_MODE_FLAG" display="bitmask">Bitmap of enabled system modes.</field>
  4288. <field type="uint32_t" name="custom_mode" display="bitmask">A bitfield for use for autopilot-specific flags.</field>
  4289. <field type="uint8_t" name="landed_state" enum="MAV_LANDED_STATE">The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown.</field>
  4290. <field type="int16_t" name="roll" units="cdeg">roll</field>
  4291. <field type="int16_t" name="pitch" units="cdeg">pitch</field>
  4292. <field type="uint16_t" name="heading" units="cdeg">heading</field>
  4293. <field type="int8_t" name="throttle" units="%">throttle (percentage)</field>
  4294. <field type="int16_t" name="heading_sp" units="cdeg">heading setpoint</field>
  4295. <field type="int32_t" name="latitude" units="degE7">Latitude</field>
  4296. <field type="int32_t" name="longitude" units="degE7">Longitude</field>
  4297. <field type="int16_t" name="altitude_amsl" units="m">Altitude above mean sea level</field>
  4298. <field type="int16_t" name="altitude_sp" units="m">Altitude setpoint relative to the home position</field>
  4299. <field type="uint8_t" name="airspeed" units="m/s">airspeed</field>
  4300. <field type="uint8_t" name="airspeed_sp" units="m/s">airspeed setpoint</field>
  4301. <field type="uint8_t" name="groundspeed" units="m/s">groundspeed</field>
  4302. <field type="int8_t" name="climb_rate" units="m/s">climb rate</field>
  4303. <field type="uint8_t" name="gps_nsat">Number of satellites visible. If unknown, set to 255</field>
  4304. <field type="uint8_t" name="gps_fix_type" enum="GPS_FIX_TYPE">GPS Fix type.</field>
  4305. <field type="uint8_t" name="battery_remaining" units="%">Remaining battery (percentage)</field>
  4306. <field type="int8_t" name="temperature" units="degC">Autopilot temperature (degrees C)</field>
  4307. <field type="int8_t" name="temperature_air" units="degC">Air temperature (degrees C) from airspeed sensor</field>
  4308. <field type="uint8_t" name="failsafe">failsafe (each bit represents a failsafe where 0=ok, 1=failsafe active (bit0:RC, bit1:batt, bit2:GPS, bit3:GCS, bit4:fence)</field>
  4309. <field type="uint8_t" name="wp_num">current waypoint number</field>
  4310. <field type="uint16_t" name="wp_distance" units="m">distance to target</field>
  4311. </message>
  4312. <message id="241" name="VIBRATION">
  4313. <description>Vibration levels and accelerometer clipping</description>
  4314. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4315. <field type="float" name="vibration_x">Vibration levels on X-axis</field>
  4316. <field type="float" name="vibration_y">Vibration levels on Y-axis</field>
  4317. <field type="float" name="vibration_z">Vibration levels on Z-axis</field>
  4318. <field type="uint32_t" name="clipping_0">first accelerometer clipping count</field>
  4319. <field type="uint32_t" name="clipping_1">second accelerometer clipping count</field>
  4320. <field type="uint32_t" name="clipping_2">third accelerometer clipping count</field>
  4321. </message>
  4322. <message id="242" name="HOME_POSITION">
  4323. <description>This message can be requested by sending the MAV_CMD_GET_HOME_POSITION command. The position the system will return to and land on. The position is set automatically by the system during the takeoff in case it was not explicitly set by the operator before or after. The position the system will return to and land on. The global and local positions encode the position in the respective coordinate frames, while the q parameter encodes the orientation of the surface. Under normal conditions it describes the heading and terrain slope, which can be used by the aircraft to adjust the approach. The approach 3D vector describes the point to which the system should fly in normal flight mode and then perform a landing sequence along the vector.</description>
  4324. <field type="int32_t" name="latitude" units="degE7">Latitude (WGS84)</field>
  4325. <field type="int32_t" name="longitude" units="degE7">Longitude (WGS84)</field>
  4326. <field type="int32_t" name="altitude" units="mm">Altitude (MSL). Positive for up.</field>
  4327. <field type="float" name="x" units="m">Local X position of this position in the local coordinate frame</field>
  4328. <field type="float" name="y" units="m">Local Y position of this position in the local coordinate frame</field>
  4329. <field type="float" name="z" units="m">Local Z position of this position in the local coordinate frame</field>
  4330. <field type="float[4]" name="q">World to surface normal and heading transformation of the takeoff position. Used to indicate the heading and slope of the ground</field>
  4331. <field type="float" name="approach_x" units="m">Local X position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone.</field>
  4332. <field type="float" name="approach_y" units="m">Local Y position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone.</field>
  4333. <field type="float" name="approach_z" units="m">Local Z position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone.</field>
  4334. <extensions/>
  4335. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4336. </message>
  4337. <message id="243" name="SET_HOME_POSITION">
  4338. <description>The position the system will return to and land on. The position is set automatically by the system during the takeoff in case it was not explicitly set by the operator before or after. The global and local positions encode the position in the respective coordinate frames, while the q parameter encodes the orientation of the surface. Under normal conditions it describes the heading and terrain slope, which can be used by the aircraft to adjust the approach. The approach 3D vector describes the point to which the system should fly in normal flight mode and then perform a landing sequence along the vector.</description>
  4339. <field type="uint8_t" name="target_system">System ID.</field>
  4340. <field type="int32_t" name="latitude" units="degE7">Latitude (WGS84)</field>
  4341. <field type="int32_t" name="longitude" units="degE7">Longitude (WGS84)</field>
  4342. <field type="int32_t" name="altitude" units="mm">Altitude (MSL). Positive for up.</field>
  4343. <field type="float" name="x" units="m">Local X position of this position in the local coordinate frame</field>
  4344. <field type="float" name="y" units="m">Local Y position of this position in the local coordinate frame</field>
  4345. <field type="float" name="z" units="m">Local Z position of this position in the local coordinate frame</field>
  4346. <field type="float[4]" name="q">World to surface normal and heading transformation of the takeoff position. Used to indicate the heading and slope of the ground</field>
  4347. <field type="float" name="approach_x" units="m">Local X position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone.</field>
  4348. <field type="float" name="approach_y" units="m">Local Y position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone.</field>
  4349. <field type="float" name="approach_z" units="m">Local Z position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone.</field>
  4350. <extensions/>
  4351. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4352. </message>
  4353. <message id="244" name="MESSAGE_INTERVAL">
  4354. <description>The interval between messages for a particular MAVLink message ID. This interface replaces DATA_STREAM</description>
  4355. <field type="uint16_t" name="message_id">The ID of the requested MAVLink message. v1.0 is limited to 254 messages.</field>
  4356. <field type="int32_t" name="interval_us" units="us">The interval between two messages. A value of -1 indicates this stream is disabled, 0 indicates it is not available, &gt; 0 indicates the interval at which it is sent.</field>
  4357. </message>
  4358. <message id="245" name="EXTENDED_SYS_STATE">
  4359. <description>Provides state for additional features</description>
  4360. <field type="uint8_t" name="vtol_state" enum="MAV_VTOL_STATE">The VTOL state if applicable. Is set to MAV_VTOL_STATE_UNDEFINED if UAV is not in VTOL configuration.</field>
  4361. <field type="uint8_t" name="landed_state" enum="MAV_LANDED_STATE">The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown.</field>
  4362. </message>
  4363. <message id="246" name="ADSB_VEHICLE">
  4364. <description>The location and information of an ADSB vehicle</description>
  4365. <field type="uint32_t" name="ICAO_address">ICAO address</field>
  4366. <field type="int32_t" name="lat" units="degE7">Latitude</field>
  4367. <field type="int32_t" name="lon" units="degE7">Longitude</field>
  4368. <field type="uint8_t" name="altitude_type" enum="ADSB_ALTITUDE_TYPE">ADSB altitude type.</field>
  4369. <field type="int32_t" name="altitude" units="mm">Altitude(ASL)</field>
  4370. <field type="uint16_t" name="heading" units="cdeg">Course over ground</field>
  4371. <field type="uint16_t" name="hor_velocity" units="cm/s">The horizontal velocity</field>
  4372. <field type="int16_t" name="ver_velocity" units="cm/s">The vertical velocity. Positive is up</field>
  4373. <field type="char[9]" name="callsign">The callsign, 8+null</field>
  4374. <field type="uint8_t" name="emitter_type" enum="ADSB_EMITTER_TYPE">ADSB emitter type.</field>
  4375. <field type="uint8_t" name="tslc" units="s">Time since last communication in seconds</field>
  4376. <field type="uint16_t" name="flags" enum="ADSB_FLAGS" display="bitmask">Bitmap to indicate various statuses including valid data fields</field>
  4377. <field type="uint16_t" name="squawk">Squawk code</field>
  4378. </message>
  4379. <message id="247" name="COLLISION">
  4380. <description>Information about a potential collision</description>
  4381. <field type="uint8_t" name="src" enum="MAV_COLLISION_SRC">Collision data source</field>
  4382. <field type="uint32_t" name="id">Unique identifier, domain based on src field</field>
  4383. <field type="uint8_t" name="action" enum="MAV_COLLISION_ACTION">Action that is being taken to avoid this collision</field>
  4384. <field type="uint8_t" name="threat_level" enum="MAV_COLLISION_THREAT_LEVEL">How concerned the aircraft is about this collision</field>
  4385. <field type="float" name="time_to_minimum_delta" units="s">Estimated time until collision occurs</field>
  4386. <field type="float" name="altitude_minimum_delta" units="m">Closest vertical distance between vehicle and object</field>
  4387. <field type="float" name="horizontal_minimum_delta" units="m">Closest horizontal distance between vehicle and object</field>
  4388. </message>
  4389. <message id="248" name="V2_EXTENSION">
  4390. <description>Message implementing parts of the V2 payload specs in V1 frames for transitional support.</description>
  4391. <field type="uint8_t" name="target_network">Network ID (0 for broadcast)</field>
  4392. <field type="uint8_t" name="target_system">System ID (0 for broadcast)</field>
  4393. <field type="uint8_t" name="target_component">Component ID (0 for broadcast)</field>
  4394. <field type="uint16_t" name="message_type">A code that identifies the software component that understands this message (analogous to USB device classes or mime type strings). If this code is less than 32768, it is considered a 'registered' protocol extension and the corresponding entry should be added to https://github.com/mavlink/mavlink/extension-message-ids.xml. Software creators can register blocks of message IDs as needed (useful for GCS specific metadata, etc...). Message_types greater than 32767 are considered local experiments and should not be checked in to any widely distributed codebase.</field>
  4395. <field type="uint8_t[249]" name="payload">Variable length payload. The length is defined by the remaining message length when subtracting the header and other fields. The entire content of this block is opaque unless you understand any the encoding message_type. The particular encoding used can be extension specific and might not always be documented as part of the mavlink specification.</field>
  4396. </message>
  4397. <message id="249" name="MEMORY_VECT">
  4398. <description>Send raw controller memory. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.</description>
  4399. <field type="uint16_t" name="address">Starting address of the debug variables</field>
  4400. <field type="uint8_t" name="ver">Version code of the type variable. 0=unknown, type ignored and assumed int16_t. 1=as below</field>
  4401. <field type="uint8_t" name="type">Type code of the memory variables. for ver = 1: 0=16 x int16_t, 1=16 x uint16_t, 2=16 x Q15, 3=16 x 1Q14</field>
  4402. <field type="int8_t[32]" name="value">Memory contents at specified address</field>
  4403. </message>
  4404. <message id="250" name="DEBUG_VECT">
  4405. <description>To debug something using a named 3D vector.</description>
  4406. <field type="char[10]" name="name">Name</field>
  4407. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4408. <field type="float" name="x">x</field>
  4409. <field type="float" name="y">y</field>
  4410. <field type="float" name="z">z</field>
  4411. </message>
  4412. <message id="251" name="NAMED_VALUE_FLOAT">
  4413. <description>Send a key-value pair as float. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.</description>
  4414. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4415. <field type="char[10]" name="name">Name of the debug variable</field>
  4416. <field type="float" name="value">Floating point value</field>
  4417. </message>
  4418. <message id="252" name="NAMED_VALUE_INT">
  4419. <description>Send a key-value pair as integer. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.</description>
  4420. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4421. <field type="char[10]" name="name">Name of the debug variable</field>
  4422. <field type="int32_t" name="value">Signed integer value</field>
  4423. </message>
  4424. <message id="253" name="STATUSTEXT">
  4425. <description>Status text message. These messages are printed in yellow in the COMM console of QGroundControl. WARNING: They consume quite some bandwidth, so use only for important status and error messages. If implemented wisely, these messages are buffered on the MCU and sent only at a limited rate (e.g. 10 Hz).</description>
  4426. <field type="uint8_t" name="severity" enum="MAV_SEVERITY">Severity of status. Relies on the definitions within RFC-5424.</field>
  4427. <field type="char[50]" name="text">Status text message, without null termination character</field>
  4428. </message>
  4429. <message id="254" name="DEBUG">
  4430. <description>Send a debug value. The index is used to discriminate between values. These values show up in the plot of QGroundControl as DEBUG N.</description>
  4431. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4432. <field type="uint8_t" name="ind">index of debug variable</field>
  4433. <field type="float" name="value">DEBUG value</field>
  4434. </message>
  4435. <!-- messages with ID 256 and above are only available in MAVLink2 -->
  4436. <message id="256" name="SETUP_SIGNING">
  4437. <description>Setup a MAVLink2 signing key. If called with secret_key of all zero and zero initial_timestamp will disable signing</description>
  4438. <field type="uint8_t" name="target_system">system id of the target</field>
  4439. <field type="uint8_t" name="target_component">component ID of the target</field>
  4440. <field type="uint8_t[32]" name="secret_key">signing key</field>
  4441. <field type="uint64_t" name="initial_timestamp">initial timestamp</field>
  4442. </message>
  4443. <message id="257" name="BUTTON_CHANGE">
  4444. <description>Report button state change.</description>
  4445. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4446. <field type="uint32_t" name="last_change_ms" units="ms">Time of last change of button state.</field>
  4447. <field type="uint8_t" name="state" display="bitmask">Bitmap for state of buttons.</field>
  4448. </message>
  4449. <message id="258" name="PLAY_TUNE">
  4450. <description>Control vehicle tone generation (buzzer)</description>
  4451. <field type="uint8_t" name="target_system">System ID</field>
  4452. <field type="uint8_t" name="target_component">Component ID</field>
  4453. <field type="char[30]" name="tune">tune in board specific format</field>
  4454. <extensions/>
  4455. <field type="char[200]" name="tune2">tune extension (appended to tune)</field>
  4456. </message>
  4457. <message id="259" name="CAMERA_INFORMATION">
  4458. <description>Information about a camera</description>
  4459. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4460. <field type="uint8_t[32]" name="vendor_name">Name of the camera vendor</field>
  4461. <field type="uint8_t[32]" name="model_name">Name of the camera model</field>
  4462. <field type="uint32_t" name="firmware_version">Version of the camera firmware (v &lt;&lt; 24 &amp; 0xff = Dev, v &lt;&lt; 16 &amp; 0xff = Patch, v &lt;&lt; 8 &amp; 0xff = Minor, v &amp; 0xff = Major)</field>
  4463. <field type="float" name="focal_length" units="mm">Focal length</field>
  4464. <field type="float" name="sensor_size_h" units="mm">Image sensor size horizontal</field>
  4465. <field type="float" name="sensor_size_v" units="mm">Image sensor size vertical</field>
  4466. <field type="uint16_t" name="resolution_h" units="pix">Horizontal image resolution</field>
  4467. <field type="uint16_t" name="resolution_v" units="pix">Vertical image resolution</field>
  4468. <field type="uint8_t" name="lens_id">Reserved for a lens ID</field>
  4469. <field type="uint32_t" name="flags" enum="CAMERA_CAP_FLAGS">Bitmap of camera capability flags.</field>
  4470. <field type="uint16_t" name="cam_definition_version">Camera definition version (iteration)</field>
  4471. <field type="char[140]" name="cam_definition_uri">Camera definition URI (if any, otherwise only basic functions will be available).</field>
  4472. </message>
  4473. <message id="260" name="CAMERA_SETTINGS">
  4474. <description>Settings of a camera, can be requested using MAV_CMD_REQUEST_CAMERA_SETTINGS.</description>
  4475. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4476. <field type="uint8_t" name="mode_id" enum="CAMERA_MODE">Camera mode</field>
  4477. <extensions/>
  4478. <field type="float" name="zoomLevel">Current zoom level (0.0 to 100.0, NaN if not known)</field>
  4479. <field type="float" name="focusLevel">Current focus level (0.0 to 100.0, NaN if not known)</field>
  4480. </message>
  4481. <message id="261" name="STORAGE_INFORMATION">
  4482. <description>Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS).</description>
  4483. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4484. <field type="uint8_t" name="storage_id">Storage ID (1 for first, 2 for second, etc.)</field>
  4485. <field type="uint8_t" name="storage_count">Number of storage devices</field>
  4486. <field type="uint8_t" name="status" enum="STORAGE_STATUS">Status of storage</field>
  4487. <field type="float" name="total_capacity" units="MiB">Total capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.</field>
  4488. <field type="float" name="used_capacity" units="MiB">Used capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.</field>
  4489. <field type="float" name="available_capacity" units="MiB">Available storage capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.</field>
  4490. <field type="float" name="read_speed" units="MiB/s">Read speed.</field>
  4491. <field type="float" name="write_speed" units="MiB/s">Write speed.</field>
  4492. </message>
  4493. <message id="262" name="CAMERA_CAPTURE_STATUS">
  4494. <description>Information about the status of a capture.</description>
  4495. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4496. <field type="uint8_t" name="image_status">Current status of image capturing (0: idle, 1: capture in progress, 2: interval set but idle, 3: interval set and capture in progress)</field>
  4497. <field type="uint8_t" name="video_status">Current status of video capturing (0: idle, 1: capture in progress)</field>
  4498. <field type="float" name="image_interval" units="s">Image capture interval</field>
  4499. <field type="uint32_t" name="recording_time_ms" units="ms">Time since recording started</field>
  4500. <field type="float" name="available_capacity" units="MiB">Available storage capacity.</field>
  4501. </message>
  4502. <message id="263" name="CAMERA_IMAGE_CAPTURED">
  4503. <description>Information about a captured image</description>
  4504. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4505. <field type="uint64_t" name="time_utc" units="us">Timestamp (time since UNIX epoch) in UTC. 0 for unknown.</field>
  4506. <field type="uint8_t" name="camera_id">Camera ID (1 for first, 2 for second, etc.)</field>
  4507. <field type="int32_t" name="lat" units="degE7">Latitude where image was taken</field>
  4508. <field type="int32_t" name="lon" units="degE7">Longitude where capture was taken</field>
  4509. <field type="int32_t" name="alt" units="mm">Altitude (MSL) where image was taken</field>
  4510. <field type="int32_t" name="relative_alt" units="mm">Altitude above ground</field>
  4511. <field type="float[4]" name="q">Quaternion of camera orientation (w, x, y, z order, zero-rotation is 0, 0, 0, 0)</field>
  4512. <field type="int32_t" name="image_index">Zero based index of this image (image count since armed -1)</field>
  4513. <field type="int8_t" name="capture_result">Boolean indicating success (1) or failure (0) while capturing this image.</field>
  4514. <field type="char[205]" name="file_url">URL of image taken. Either local storage or http://foo.jpg if camera provides an HTTP interface.</field>
  4515. </message>
  4516. <message id="264" name="FLIGHT_INFORMATION">
  4517. <wip/>
  4518. <!-- This message is work-in-progress and it can therefore change. It should NOT be used in stable production environments. -->
  4519. <description>Information about flight since last arming.</description>
  4520. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4521. <field type="uint64_t" name="arming_time_utc" units="us">Timestamp at arming (time since UNIX epoch) in UTC, 0 for unknown</field>
  4522. <field type="uint64_t" name="takeoff_time_utc" units="us">Timestamp at takeoff (time since UNIX epoch) in UTC, 0 for unknown</field>
  4523. <field type="uint64_t" name="flight_uuid">Universally unique identifier (UUID) of flight, should correspond to name of log files</field>
  4524. </message>
  4525. <message id="265" name="MOUNT_ORIENTATION">
  4526. <description>Orientation of a mount</description>
  4527. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
  4528. <field type="float" name="roll" units="deg">Roll in global frame (set to NaN for invalid).</field>
  4529. <field type="float" name="pitch" units="deg">Pitch in global frame (set to NaN for invalid).</field>
  4530. <field type="float" name="yaw" units="deg">Yaw relative to vehicle(set to NaN for invalid).</field>
  4531. <extensions/>
  4532. <field type="float" name="yaw_absolute" units="deg">Yaw in absolute frame, North is 0 (set to NaN for invalid).</field>
  4533. </message>
  4534. <message id="266" name="LOGGING_DATA">
  4535. <description>A message containing logged data (see also MAV_CMD_LOGGING_START)</description>
  4536. <field type="uint8_t" name="target_system">system ID of the target</field>
  4537. <field type="uint8_t" name="target_component">component ID of the target</field>
  4538. <field type="uint16_t" name="sequence">sequence number (can wrap)</field>
  4539. <field type="uint8_t" name="length" units="bytes">data length</field>
  4540. <field type="uint8_t" name="first_message_offset" units="bytes">offset into data where first message starts. This can be used for recovery, when a previous message got lost (set to 255 if no start exists).</field>
  4541. <field type="uint8_t[249]" name="data">logged data</field>
  4542. </message>
  4543. <message id="267" name="LOGGING_DATA_ACKED">
  4544. <description>A message containing logged data which requires a LOGGING_ACK to be sent back</description>
  4545. <field type="uint8_t" name="target_system">system ID of the target</field>
  4546. <field type="uint8_t" name="target_component">component ID of the target</field>
  4547. <field type="uint16_t" name="sequence">sequence number (can wrap)</field>
  4548. <field type="uint8_t" name="length" units="bytes">data length</field>
  4549. <field type="uint8_t" name="first_message_offset" units="bytes">offset into data where first message starts. This can be used for recovery, when a previous message got lost (set to 255 if no start exists).</field>
  4550. <field type="uint8_t[249]" name="data">logged data</field>
  4551. </message>
  4552. <message id="268" name="LOGGING_ACK">
  4553. <description>An ack for a LOGGING_DATA_ACKED message</description>
  4554. <field type="uint8_t" name="target_system">system ID of the target</field>
  4555. <field type="uint8_t" name="target_component">component ID of the target</field>
  4556. <field type="uint16_t" name="sequence">sequence number (must match the one in LOGGING_DATA_ACKED)</field>
  4557. </message>
  4558. <message id="299" name="WIFI_CONFIG_AP">
  4559. <description>Configure AP SSID and Password.</description>
  4560. <field type="char[32]" name="ssid">Name of Wi-Fi network (SSID). Leave it blank to leave it unchanged.</field>
  4561. <field type="char[64]" name="password">Password. Leave it blank for an open AP.</field>
  4562. </message>
  4563. <!-- UAVCAN related messages. Please keep the range [310, 320) reserved for UAVCAN. -->
  4564. <message id="310" name="UAVCAN_NODE_STATUS">
  4565. <description>General status information of an UAVCAN node. Please refer to the definition of the UAVCAN message "uavcan.protocol.NodeStatus" for the background information. The UAVCAN specification is available at http://uavcan.org.</description>
  4566. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4567. <field type="uint32_t" name="uptime_sec" units="s">Time since the start-up of the node.</field>
  4568. <field type="uint8_t" name="health" enum="UAVCAN_NODE_HEALTH">Generalized node health status.</field>
  4569. <field type="uint8_t" name="mode" enum="UAVCAN_NODE_MODE">Generalized operating mode.</field>
  4570. <field type="uint8_t" name="sub_mode">Not used currently.</field>
  4571. <field type="uint16_t" name="vendor_specific_status_code">Vendor-specific status information.</field>
  4572. </message>
  4573. <message id="311" name="UAVCAN_NODE_INFO">
  4574. <description>General information describing a particular UAVCAN node. Please refer to the definition of the UAVCAN service "uavcan.protocol.GetNodeInfo" for the background information. This message should be emitted by the system whenever a new node appears online, or an existing node reboots. Additionally, it can be emitted upon request from the other end of the MAVLink channel (see MAV_CMD_UAVCAN_GET_NODE_INFO). It is also not prohibited to emit this message unconditionally at a low frequency. The UAVCAN specification is available at http://uavcan.org.</description>
  4575. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4576. <field type="uint32_t" name="uptime_sec" units="s">Time since the start-up of the node.</field>
  4577. <field type="char[80]" name="name">Node name string. For example, "sapog.px4.io".</field>
  4578. <field type="uint8_t" name="hw_version_major">Hardware major version number.</field>
  4579. <field type="uint8_t" name="hw_version_minor">Hardware minor version number.</field>
  4580. <field type="uint8_t[16]" name="hw_unique_id">Hardware unique 128-bit ID.</field>
  4581. <field type="uint8_t" name="sw_version_major">Software major version number.</field>
  4582. <field type="uint8_t" name="sw_version_minor">Software minor version number.</field>
  4583. <field type="uint32_t" name="sw_vcs_commit">Version control system (VCS) revision identifier (e.g. git short commit hash). Zero if unknown.</field>
  4584. </message>
  4585. <message id="330" name="OBSTACLE_DISTANCE">
  4586. <description>Obstacle distances in front of the sensor, starting from the left in increment degrees to the right</description>
  4587. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4588. <field type="uint8_t" name="sensor_type" enum="MAV_DISTANCE_SENSOR">Class id of the distance sensor type.</field>
  4589. <field type="uint16_t[72]" name="distances" units="cm">Distance of obstacles around the UAV with index 0 corresponding to local forward + angle_offset. A value of 0 means that the obstacle is right in front of the sensor. A value of max_distance +1 means no obstacle is present. A value of UINT16_MAX for unknown/not used. In a array element, one unit corresponds to 1cm.</field>
  4590. <field type="uint8_t" name="increment" units="deg">Angular width in degrees of each array element. (Ignored if increment_f greater than 0).</field>
  4591. <field type="uint16_t" name="min_distance" units="cm">Minimum distance the sensor can measure.</field>
  4592. <field type="uint16_t" name="max_distance" units="cm">Maximum distance the sensor can measure.</field>
  4593. <extensions/>
  4594. <field type="float" name="increment_f" units="deg">Angular width in degrees of each array element as a float. If greater than 0 then this value is used instead of the uint8_t increment field.</field>
  4595. <field type="float" name="angle_offset" units="deg">Relative angle offset of the 0-index element in the distances array. Value of 0 corresponds to forward. Positive values are offsets to the right.</field>
  4596. </message>
  4597. <message id="331" name="ODOMETRY">
  4598. <description>Odometry message to communicate odometry information with an external interface. Fits ROS REP 147 standard for aerial vehicles (http://www.ros.org/reps/rep-0147.html).</description>
  4599. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4600. <field type="uint8_t" name="frame_id" enum="MAV_FRAME">Coordinate frame of reference for the pose data.</field>
  4601. <field type="uint8_t" name="child_frame_id" enum="MAV_FRAME">Coordinate frame of reference for the velocity in free space (twist) data.</field>
  4602. <field type="float" name="x" units="m">X Position</field>
  4603. <field type="float" name="y" units="m">Y Position</field>
  4604. <field type="float" name="z" units="m">Z Position</field>
  4605. <field type="float[4]" name="q">Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation)</field>
  4606. <field type="float" name="vx" units="m/s">X linear speed</field>
  4607. <field type="float" name="vy" units="m/s">Y linear speed</field>
  4608. <field type="float" name="vz" units="m/s">Z linear speed</field>
  4609. <field type="float" name="rollspeed" units="rad/s">Roll angular speed</field>
  4610. <field type="float" name="pitchspeed" units="rad/s">Pitch angular speed</field>
  4611. <field type="float" name="yawspeed" units="rad/s">Yaw angular speed</field>
  4612. <field type="float[21]" name="pose_covariance">Row-major representation of a 6x6 pose cross-covariance matrix upper right triangle (states: x, y, z, roll, pitch, yaw; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array.</field>
  4613. <field type="float[21]" name="velocity_covariance">Row-major representation of a 6x6 velocity cross-covariance matrix upper right triangle (states: vx, vy, vz, rollspeed, pitchspeed, yawspeed; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array.</field>
  4614. <extensions/>
  4615. <field type="uint8_t" name="reset_counter">Estimate reset counter. This should be incremented when the estimate resets in any of the dimensions (position, velocity, attitude, angular speed). This is designed to be used when e.g an external SLAM system detects a loop-closure and the estimate jumps.</field>
  4616. </message>
  4617. <message id="350" name="DEBUG_FLOAT_ARRAY">
  4618. <description>Large debug/prototyping array. The message uses the maximum available payload for data. The array_id and name fields are used to discriminate between messages in code and in user interfaces (respectively). Do not use in production code.</description>
  4619. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
  4620. <field type="char[10]" name="name">Name, for human-friendly display in a Ground Control Station</field>
  4621. <field type="uint16_t" name="array_id">Unique ID used to discriminate between arrays</field>
  4622. <extensions/>
  4623. <field type="float[58]" name="data">data</field>
  4624. </message>
  4625. <message id="365" name="STATUSTEXT_LONG">
  4626. <description>Status text message (use only for important status and error messages). The full message payload can be used for status text, but we recommend that updates be kept concise. Note: The message is intended as a less restrictive replacement for STATUSTEXT.</description>
  4627. <field type="uint8_t" name="severity" enum="MAV_SEVERITY">Severity of status. Relies on the definitions within RFC-5424.</field>
  4628. <field type="char[254]" name="text">Status text message, without null termination character.</field>
  4629. </message>
  4630. <!-- Rover specific messages -->
  4631. <message id="9000" name="WHEEL_DISTANCE">
  4632. <description>Cumulative distance traveled for each reported wheel.</description>
  4633. <field type="uint64_t" name="time_usec" units="us">Timestamp (synced to UNIX time or since system boot).</field>
  4634. <field type="uint8_t" name="count">Number of wheels reported.</field>
  4635. <field type="double[16]" name="distance" units="m">Distance reported by individual wheel encoders. Forward rotations increase values, reverse rotations decrease them. Not all wheels will necessarily have wheel encoders; the mapping of encoders to wheel positions must be agreed/understood by the endpoints.</field>
  4636. </message>
  4637. </messages>
  4638. </mavlink>