(window.webpackJsonp=window.webpackJsonp||[]).push([[224],{546:function(_,t,v){"use strict";v.r(t);var d=v(10),a=Object(d.a)({},(function(){var _=this,t=_._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":_.$parent.slotKey}},[t("h1",{attrs:{id:"msg-install-align"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#msg-install-align"}},[_._v("#")]),_._v(" MSG_INSTALL_ALIGN")]),_._v(" "),t("p",[_._v("该数据包用于描述:惯导安装偏移,包含安装角度偏移,GNSS杆臂,里程计杆臂、DVL杆臂以及用户自定义杆臂,该数据包里的所有杆臂变量均存在于导航系统的参数表里,"),t("strong",[t("a",{attrs:{href:""}},[_._v("可以通过串口指令进行配置")])]),_._v(",也可以在上位机软件FDIGroundStation的Onboard Parameter参数表里直接修改,具体定义可以参考产品使用手册;")]),_._v(" "),t("table",{staticClass:"fdilink-packet-table"},[t("thead",[t("tr",{staticClass:"packet-id-row"},[t("th",[_._v("Packet ID")]),_._v(" "),t("th",[_._v("0x80")]),_._v(" "),t("th"),_._v(" "),t("th"),_._v(" "),t("th"),_._v(" "),t("th")]),_._v(" "),t("tr",{staticClass:"packet-id-row"},[t("th",[_._v("Length")]),_._v(" "),t("th",[_._v("45")]),_._v(" "),t("th"),_._v(" "),t("th"),_._v(" "),t("th"),_._v(" "),t("th")]),_._v(" "),t("tr",{staticClass:"packet-id-row"},[t("th",[_._v("Read / Write")]),_._v(" "),t("th",[_._v("Read")]),_._v(" "),t("th"),_._v(" "),t("th"),_._v(" "),t("th"),_._v(" "),t("th")]),_._v(" "),t("tr",[t("th",[_._v("Offset")]),_._v(" "),t("th",[_._v("Size")]),_._v(" "),t("th",[_._v("Format")]),_._v(" "),t("th",[_._v("Field")]),_._v(" "),t("th",[_._v("Unit")]),_._v(" "),t("th",[_._v("Description")])])]),_._v(" "),t("tbody",[t("tr",[t("td",[_._v("0")]),_._v(" "),t("td",[_._v("1")]),_._v(" "),t("td",[_._v("Uint8_t")]),_._v(" "),t("td",[_._v("Permanent")]),_._v(" "),t("td"),_._v(" "),t("td")]),_._v(" "),t("tr",[t("td",[_._v("1")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("Body_To_Vehicle_Algn_Roll")]),_._v(" "),t("td",[_._v("rad")]),_._v(" "),t("td",[_._v("IMU坐标系到载体坐标系的横滚偏移")])]),_._v(" "),t("tr",[t("td",[_._v("5")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("Body_To_Vehicle_Algn_Pitch")]),_._v(" "),t("td",[_._v("rad")]),_._v(" "),t("td",[_._v("IMU坐标系到载体坐标系的俯仰偏移")])]),_._v(" "),t("tr",[t("td",[_._v("9")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("Body_To_Vehicle_Algn_Yaw")]),_._v(" "),t("td",[_._v("rad")]),_._v(" "),t("td",[_._v("IMU坐标系到载体坐标系的航向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("13")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("GNSS_Ants_Heading_Bias")]),_._v(" "),t("td",[_._v("rad")]),_._v(" "),t("td",[_._v("双天线到载体坐标系的航向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("17")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("GNSS_antenna_offset_X")]),_._v(" "),t("td",[_._v("m")]),_._v(" "),t("td",[_._v("GNSS天线相位中心在惯导X方向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("21")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("GNSS_antenna_offset_Y")]),_._v(" "),t("td",[_._v("m")]),_._v(" "),t("td",[_._v("GNSS天线相位中心在惯导Y方向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("25")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("GNSS_antenna_offset_Z")]),_._v(" "),t("td",[_._v("m")]),_._v(" "),t("td",[_._v("GNSS天线相位中心在惯导Z方向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("29")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("Odometer_offset_X")]),_._v(" "),t("td",[_._v("m")]),_._v(" "),t("td",[_._v("后轮轴中心在惯导X方向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("33")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("Odometer_offset_Y")]),_._v(" "),t("td",[_._v("m")]),_._v(" "),t("td",[_._v("后轮轴中心在惯导Y方向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("37")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("Odometer_offset_Z")]),_._v(" "),t("td",[_._v("m")]),_._v(" "),t("td",[_._v("后轮轴中心在惯导Z方向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("41")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("User_data_offset_X")]),_._v(" "),t("td",[_._v("m")]),_._v(" "),t("td",[_._v("自定义位置在惯导X方向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("45")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("User_data_offset_Y")]),_._v(" "),t("td",[_._v("m")]),_._v(" "),t("td",[_._v("自定义位置在惯导Y方向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("49")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("User_data_offset_Z")]),_._v(" "),t("td",[_._v("m")]),_._v(" "),t("td",[_._v("自定义位置在惯导Z方向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("53")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("DVL_offset_X")]),_._v(" "),t("td",[_._v("m")]),_._v(" "),t("td",[_._v("DVL 在惯导X方向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("57")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("DVL_offset_Y")]),_._v(" "),t("td",[_._v("m")]),_._v(" "),t("td",[_._v("DVL 在惯导Y方向偏移")])]),_._v(" "),t("tr",[t("td",[_._v("61")]),_._v(" "),t("td",[_._v("4")]),_._v(" "),t("td",[_._v("float32_t")]),_._v(" "),t("td",[_._v("DVL_offset_Z")]),_._v(" "),t("td",[_._v("m")]),_._v(" "),t("td",[_._v("DVL 在惯导Z方向偏移")])])])]),_._v(" "),t("p",[_._v("Alignment DCM")]),_._v(" "),t("p",[_._v("The alignment DCM (direction cosine matrix) is used to represent an alignment offset of Spatial Dual from it's standard alignment. A DCM is used rather than euler angles for accuracy reasons. To convert euler angles to DCM please use the formula below with angles in radians.")]),_._v(" "),t("p",[_._v("DCM[0][0] = cos(heading) * cos(pitch)")]),_._v(" "),t("p",[_._v("DCM[0][1] = sin(heading) * cos(pitch)")]),_._v(" "),t("p",[_._v("DCM[0][2] = -sin(pitch)")]),_._v(" "),t("p",[_._v("DCM[1][0] = -sin(heading) * cos(roll) + cos(heading) * sin(pitch) * sin(roll)")]),_._v(" "),t("p",[_._v("DCM[1][1] = cos(heading) * cos(roll) + sin(heading) * sin(pitch) * sin(roll)")]),_._v(" "),t("p",[_._v("DCM[1][2] = cos(pitch) * sin(roll) DCM[2][0] = sin(heading) * sin(roll) + cos(heading) * sin(pitch) * cos(roll) DCM[2][1] = -cos(heading) * sin(roll) + sin(heading) * sin(pitch) * cos(roll)")]),_._v(" "),t("p",[_._v("DCM[2][2] = cos(pitch) * cos(roll)")])])}),[],!1,null,null,null);t.default=a.exports}}]);