(window.webpackJsonp=window.webpackJsonp||[]).push([[1330],{2486:function(t,e,n){"use strict";n.r(e);var s=n(19),a=Object(s.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("h1",{attrs:{id:"home-position-uorb-message"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#home-position-uorb-message"}},[t._v("#")]),t._v(" home_position (UORB message)")]),t._v(" "),n("p",[t._v("GPS home position in WGS84 coordinates.")]),t._v(" "),n("p",[n("a",{attrs:{href:"https://github.com/PX4/PX4-Autopilot/blob/master/msg/home_position.msg",target:"_blank",rel:"noopener noreferrer"}},[t._v("source file"),n("OutboundLink")],1)]),t._v(" "),n("div",{staticClass:"language-c extra-class"},[n("pre",{pre:!0,attrs:{class:"language-c"}},[n("code",[n("span",{pre:!0,attrs:{class:"token macro property"}},[n("span",{pre:!0,attrs:{class:"token directive-hash"}},[t._v("#")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token expression"}},[t._v("GPS home position in WGS84 coordinates"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")])])]),t._v("\n\nuint64 timestamp            # time since system "),n("span",{pre:!0,attrs:{class:"token function"}},[t._v("start")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("microseconds"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\nfloat64 lat             # Latitude in degrees\nfloat64 lon             # Longitude in degrees\nfloat32 alt             # Altitude in "),n("span",{pre:!0,attrs:{class:"token function"}},[t._v("meters")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("AMSL"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\nfloat32 x               # X coordinate in meters\nfloat32 y               # Y coordinate in meters\nfloat32 z               # Z coordinate in meters\n\nfloat32 yaw             # Yaw angle in radians\n\nbool valid_alt      # true when the altitude has been set\nbool valid_hpos     # true when the latitude and longitude have been set\nbool valid_lpos     # true when the local "),n("span",{pre:!0,attrs:{class:"token function"}},[t._v("position")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("xyz"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" has been set\n\nbool manual_home    # true when home position was set manually\n\n")])])])])}),[],!1,null,null,null);e.default=a.exports}}]);