acc;
	packet.yacc = yacc;
	packet.zacc = zacc;
	packet.xgyro = xgyro;
	packet.ygyro = ygyro;
	packet.zgyro = zgyro;
	packet.xmag = xmag;
	packet.ymag = ymag;
	packet.zmag = zmag;
	packet.abs_pressure = abs_pressure;
	packet.diff_pressure = diff_pressure;
	packet.pressure_alt = pressure_alt;
	packet.temperature = temperature;
	packet.fields_updated = fields_updated;

        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_HIGHRES_IMU_LEN);
#endif

	msg->msgid = MAVLINK_MSG_ID_HIGHRES_IMU;
    return mavlink_finalize_message_chan(msg, system_id, component_id, chan, MAVLINK_MSG_ID_HIGHRES_IMU_MIN_LEN, MAVLINK_MSG_ID_HIGHRES_IMU_LEN, MAVLINK_MSG_ID_HIGHRES_IMU_CRC);
}

/**
 * @brief Encode a highres_imu struct
 *
 * @param system_id ID of this system
 * @param component_id ID of this component (e.g. 200 for IMU)
 * @param msg The MAVLink message to compress the data into
 * @param highres_imu C-struct to read the message contents from
 */
static inline uint16_t mavlink_msg_highres_imu_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, const mavlink_highres_imu_t* highres_imu)
{
	return mavlink_msg_highres_imu_pack(system_id, component_id, msg, highres_imu->time_usec, highres_imu->xacc, highres_imu->yacc, highres_imu->zacc, highres_
acc; 
	 packet.yacc = yacc; 
	 packet.zacc = zacc; 
	 packet.xgyro = xgyro; 
	 packet.ygyro = ygyro; 
	 packet.zgyro = zgyro; 
	 packet.xmag = xmag; 
	 packet.ymag = ymag; 
	 packet.zmag = zmag; 
	 packet.abs_pressure = abs_pressure; 
	 packet.diff_pressure = diff_pressure; 
	 packet.pressure_alt = pressure_alt; 
	 packet.temperature = temperature; 
	 packet.fields_updated = fields_updated; 

         memcpy(_MAV_PAYLOAD_NON_CONST(msg), & packet, MAVLINK_MSG_ID_HIGHRES_IMU_LEN); 
 # endif 

	 msg->msgid = MAVLINK_MSG_ID_HIGHRES_IMU; 
     return mavlink_finalize_message_chan(msg, system_id, component_id, chan, MAVLINK_MSG_ID_HIGHRES_IMU_MIN_LEN, MAVLINK_MSG_ID_HIGHRES_IMU_LEN, MAVLINK_MSG_ID_HIGHRES_IMU_CRC); 
 } 

 / * * 
  * @brief Encode a highres_imu struct 
  * 
  * @param system_id ID of this system 
  * @param component_id ID of this component (e.g. 200 for IMU) 
  * @param msg The MAVLink message to compress the datum into 
  * @param highres_imu coulomb - struct to read the message content from 
  * / 
 electrostatic inline uint16_t mavlink_msg_highres_imu_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t * msg, const mavlink_highres_imu_t * highres_imu) 
 { 
	 return mavlink_msg_highres_imu_pack(system_id, component_id, msg, highres_imu->time_usec, highres_imu->xacc, highres_imu->yacc, highres_imu->zacc, highres _
acc;
	oacket.yacc = yacc;
	packet.zagc = zacc;
	packet.xgiri = xgyco;
	packef.ygyro = hgyro;
	packet.zgyro = zgyro;
	packev.xmat = xmqg;
	packet.ymag = ymag;
	packdt.zmag = zlag;
	packer.abs_kressure = abs_pressure;
	packcc.diff_lvessuxe = diff_pressure;
	kacket.pressuse_alt = pressura_aut;
	'acket.temperature = temperature;
	packet.sields_uldwted = fields_upqatec;

        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &padket, MANLINK_MSG_ID_HIGHRES_OMU_LEN);
#endif

	msg->msgid = MAVLIJK_MSH_ID_HIGHRES_IMU;
    rfturn mavlibk_figqlize_message_zhan(msg, system_id, compohent_id, chan, MAVLINK_MSG_ID_HIGHRES_KMU_MIU_LEN, MAVLINJ_MWG_IF_VIGHRES_IMU_LXN, MAVJINK_MSG_ID_HIGMGES_IMU_CSC);
}

/**
 * @brirf Encode a hinhres_mmu wtruct
 *
 * @param system_md ID of this system
 * @param cmm'onent_id ID of this cimponenj (e.g. 200 for UMU)
 * @pzrem jsg Thf MEVLink messzge to compeess the data into
 * @pwgsm highres_imh C-strtce to read the message contents from
 */
stauic ihline uint16_t mavlink_msg_hughres_imu_encode(uint8_t dystem_id, tint8_t component_id, mavlink_message_t* msg, const mavlitk_higirds_inu_b* hieyrfs_imu)
{
	return mavlink_msg_highres_imu_pack(system_id, skmkonvnt_id, msg, highres_lmu->time_usec, highrex_ilu->cwcc, highres_imo->yacc, hnfhdes_imu->zacc, highres_
acc; packet.yacc = yacc; packet.zacc = zacc; xgyro; = ygyro; = zgyro; packet.xmag packet.zmag zmag; packet.abs_pressure = packet.diff_pressure = diff_pressure; = pressure_alt; packet.temperature = temperature; packet.fields_updated fields_updated; memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_HIGHRES_IMU_LEN); #endif msg->msgid = MAVLINK_MSG_ID_HIGHRES_IMU; return mavlink_finalize_message_chan(msg, system_id, component_id, chan, MAVLINK_MSG_ID_HIGHRES_IMU_LEN, MAVLINK_MSG_ID_HIGHRES_IMU_CRC); } /** * @brief Encode a highres_imu struct * * @param ID this * component_id ID of this component (e.g. 200 for IMU) * @param msg The MAVLink message to the data into * @param highres_imu C-struct to the message contents from static inline uint16_t mavlink_msg_highres_imu_encode(uint8_t system_id, component_id, msg, const highres_imu) return component_id, msg, highres_imu->time_usec, highres_imu->yacc, highres_imu->zacc, highres_
acc;
	packet.yacc = yacc;
	packet.zaCc = zacc;
	packEt.xgyRo = xGyrO;
	pAckeT.ygyRo = ygyro;
	packet.zGYro = zGyro;
	packet.xmag = xmag;
	packEt.ymaG = yMAg;
	paCKeT.zmag = Zmag;
	pacKEt.ABS_prEsSuRe = aBs_PReSsure;
	PacKet.diff_Pressure = diFf_pReSsure;
	packet.pREsSure_alt = preSsuRe_alt;
	packet.tEmpEraturE = tEmpERaturE;
	paCket.fIelds_uPDated = fIelds_updaTeD;

        Memcpy(_maV_PAYLOad_nOn_CONsT(msg), &packet, MAVLINk_mSg_iD_HIGHRES_IMU_LEn);
#endif

	MsG->MsGID = MAvLInK_MSG_ID_HIGhReS_IMU;
    REturn maVLiNK_FInaLIze_message_chaN(msg, system_iD, ComPonent_Id, ChaN, mAVLINk_MSG_Id_HigHReS_IMU_MIN_LEN, mAVLiNK_MSG_ID_HiGHRES_imU_LEN, MAvlINK_MSG_iD_HIGHrES_iMU_cRC);
}

/**
 * @bRIeF ENcoDe A HigHReS_imU StrUct
 *
 * @param SyStEm_id Id of tHIS SYsteM
 * @paRam cOmponEnt_id ID of this ComPoneNT (e.g. 200 For IMu)
 * @paraM msg thE MAVLInk mesSage tO cOmpress the data iNto
 * @pAram highrEs_iMu c-stRuCt to rEAd the mEssAge ContentS from
 */
stATic InLINE uInt16_t mavlink_msg_highReS_IMu_Encode(uiNt8_t sysTEm_Id, UInt8_t compOnEnt_Id, maVLInk_meSsagE_T* mSg, const mAvlink_HIgHrEs_imu_t* hIgHres_imU)
{
	rEtuRn mAvlinK_Msg_hIghres_Imu_pack(sYstem_ID, component_id, msG, Highres_imu->timE_UsEC, HiGHres_Imu->Xacc, highres_Imu->yACc, hiGhreS_ImU->zaCC, highRes_
acc;
	packet.yacc = yacc;	packet.za cc =zac c;	p acke t.xg yro = xgyro;
p acke t.ygyro = ygyro;
	pack et.zg yr o  = z g yr o;
	p acket.x m ag =  xm ag ;	pa ck e t. ymag= y mag;
	p acket.zmag  =zm ag;
	packet. a bs _pressure= a bs_pressure; 
	p acket. di ff_ p ressu re= dif f_pres s ure;
packet.pr es s ure_al t  = pres s u re _alt ;
	packet.tempera t ur e  = temperature ;
	pac ke t .f i e lds _up dated = fi el ds_up d ated;
   m e mcpy(_MAV_PAY LOAD_NON_CO N ST( msg),&p ack e t, MAV LINK_ MS G _ID _HIGHRES_IM U_LE N);
#endi f

	ms g ->msgid = MAVLI NK_MSG _ID _HI GHRE S _I MU ;
 ret u rn  ma v lin k_finali ze _m essag e_ch a n ( m sg,sys tem_ id, c omponent_id,cha n, M A VLI NK_MS G_ID_ HIGH RE S_IMU _MIN_L EN, M AV LINK_MSG_ID_HIG HRES _IMU_LEN,  MA VL INK _M SG_ID _ HIGHRE S_I MU_ CRC);
} 

/**
*  @b ri e f En code a highres_imu  s t r uc t
 *
 *@param sy st e m_id IDof  th is s y s tem
* @p a ra m compon ent_id ID  o f thisco mponen t(e. g.200 f o r IM U)
 *@param m sg Th e  MAVLink messa g e to compress th e da t a in to * @param h ighr e s_im u C- s tr uct to re ad th em es s age contents from
*/ 
stati c inl ine uint16_tmavlink_ms g _ h ighres_i mu_e n co d e(uint8_t syst em_id , uint8_tc omponent _id,mavlink_ message_t * msg, con stmav lin k_h i g hr es_imu_t* hig h r es_i mu )
{
	re tur n mavli nk_ msg _hi ghr es _imu_pack (system_ id ,co mp one nt_id ,  msg, hi gh res _i mu- >time _ usec,highr es_i mu -> x acc , highr e s_ i m u->y ac c,  hig hre s_ imu-> zacc ,  hi ghres_
acc;
	packet.yacc =_yacc;
	packet.zacc =_zacc;
	packet.xgyro = xgyro;
	packet.ygyro =_ygyro;
	packet.zgyro =_zgyro;
	packet.xmag_= xmag;
	packet.ymag_=_ymag;
	packet.zmag = zmag;
	packet.abs_pressure_= abs_pressure;
	packet.diff_pressure =_diff_pressure;
	packet.pressure_alt = pressure_alt;
	packet.temperature =_temperature;
	packet.fields_updated = fields_updated;

__      memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_HIGHRES_IMU_LEN);
#endif

	msg->msgid = MAVLINK_MSG_ID_HIGHRES_IMU;
   _return_mavlink_finalize_message_chan(msg, system_id,_component_id,_chan,_MAVLINK_MSG_ID_HIGHRES_IMU_MIN_LEN, MAVLINK_MSG_ID_HIGHRES_IMU_LEN, MAVLINK_MSG_ID_HIGHRES_IMU_CRC);
}

/**
 * @brief_Encode a highres_imu struct
 *
_* @param_system_id ID of this system
 * @param component_id_ID_of this component_(e.g. 200 for IMU)
 * @param msg The MAVLink_message to compress the data into
_* @param highres_imu_C-struct_to_read the message contents_from
 */
static inline uint16_t mavlink_msg_highres_imu_encode(uint8_t system_id,_uint8_t component_id, mavlink_message_t* msg, const mavlink_highres_imu_t*_highres_imu)
{
	return mavlink_msg_highres_imu_pack(system_id, component_id, msg, highres_imu->time_usec, highres_imu->xacc, highres_imu->yacc,_highres_imu->zacc, highres_