Files
sil/SIL/otherFiles/bmu_state_enc_wrapper.c
T

48 lines
1.0 KiB
C
Raw Normal View History

2020-09-30 11:44:05 +08:00
/*
* Include Files
*
*/
#if defined(MATLAB_MEX_FILE)
#include "tmwtypes.h"
#include "simstruc_types.h"
#else
#include "rtwtypes.h"
#endif
#include "mav_stat_def.h"
/* %%%-SFUNWIZ_wrapper_includes_Changes_BEGIN --- EDIT HERE TO _END */
/* %%%-SFUNWIZ_wrapper_includes_Changes_END --- EDIT HERE TO _BEGIN */
#define u_width 1
#define y_width 1
/*
* Create external references here.
*
*/
/* %%%-SFUNWIZ_wrapper_externs_Changes_BEGIN --- EDIT HERE TO _END */
2020-10-07 02:01:42 +08:00
/* extern double func(double a); */
2020-09-30 11:44:05 +08:00
/* %%%-SFUNWIZ_wrapper_externs_Changes_END --- EDIT HERE TO _BEGIN */
/*
* Output function
*
*/
2020-10-07 02:01:42 +08:00
void bmu_state_enc_Outputs_wrapper(const mavlink_bmustate_t *u0,
2020-09-30 11:44:05 +08:00
const uint8_T *sys_id,
const uint8_T *comp_id,
2020-10-07 02:01:42 +08:00
const uint8_T *chan,
mavlink_message_t *y0)
2020-09-30 11:44:05 +08:00
{
/* %%%-SFUNWIZ_wrapper_Outputs_Changes_BEGIN --- EDIT HERE TO _END */
2020-10-07 02:01:42 +08:00
mavlink_msg_bmustate_encode_chan(sys_id[0], comp_id[0], chan[0],
y0,
u0);
2020-09-30 11:44:05 +08:00
/* %%%-SFUNWIZ_wrapper_Outputs_Changes_END --- EDIT HERE TO _BEGIN */
}