3 #define MAVLINK_MSG_ID_HIL_RC_INPUTS_RAW 92 23 #define MAVLINK_MSG_ID_HIL_RC_INPUTS_RAW_LEN 33 24 #define MAVLINK_MSG_ID_92_LEN 33 26 #define MAVLINK_MSG_ID_HIL_RC_INPUTS_RAW_CRC 54 27 #define MAVLINK_MSG_ID_92_CRC 54 31 #define MAVLINK_MESSAGE_INFO_HIL_RC_INPUTS_RAW { \ 32 "HIL_RC_INPUTS_RAW", \ 34 { { "time_usec", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_hil_rc_inputs_raw_t, time_usec) }, \ 35 { "chan1_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 8, offsetof(mavlink_hil_rc_inputs_raw_t, chan1_raw) }, \ 36 { "chan2_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 10, offsetof(mavlink_hil_rc_inputs_raw_t, chan2_raw) }, \ 37 { "chan3_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 12, offsetof(mavlink_hil_rc_inputs_raw_t, chan3_raw) }, \ 38 { "chan4_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 14, offsetof(mavlink_hil_rc_inputs_raw_t, chan4_raw) }, \ 39 { "chan5_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 16, offsetof(mavlink_hil_rc_inputs_raw_t, chan5_raw) }, \ 40 { "chan6_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 18, offsetof(mavlink_hil_rc_inputs_raw_t, chan6_raw) }, \ 41 { "chan7_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 20, offsetof(mavlink_hil_rc_inputs_raw_t, chan7_raw) }, \ 42 { "chan8_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 22, offsetof(mavlink_hil_rc_inputs_raw_t, chan8_raw) }, \ 43 { "chan9_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 24, offsetof(mavlink_hil_rc_inputs_raw_t, chan9_raw) }, \ 44 { "chan10_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 26, offsetof(mavlink_hil_rc_inputs_raw_t, chan10_raw) }, \ 45 { "chan11_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 28, offsetof(mavlink_hil_rc_inputs_raw_t, chan11_raw) }, \ 46 { "chan12_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 30, offsetof(mavlink_hil_rc_inputs_raw_t, chan12_raw) }, \ 47 { "rssi", NULL, MAVLINK_TYPE_UINT8_T, 0, 32, offsetof(mavlink_hil_rc_inputs_raw_t, rssi) }, \ 75 uint64_t
time_usec, uint16_t
chan1_raw, uint16_t
chan2_raw, uint16_t
chan3_raw, uint16_t
chan4_raw, uint16_t
chan5_raw, uint16_t
chan6_raw, uint16_t
chan7_raw, uint16_t
chan8_raw, uint16_t
chan9_raw, uint16_t
chan10_raw, uint16_t
chan11_raw, uint16_t
chan12_raw, uint8_t
rssi)
77 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 116 #if MAVLINK_CRC_EXTRA 146 mavlink_message_t* msg,
147 uint64_t
time_usec,uint16_t
chan1_raw,uint16_t
chan2_raw,uint16_t
chan3_raw,uint16_t
chan4_raw,uint16_t
chan5_raw,uint16_t
chan6_raw,uint16_t
chan7_raw,uint16_t
chan8_raw,uint16_t
chan9_raw,uint16_t
chan10_raw,uint16_t
chan11_raw,uint16_t
chan12_raw,uint8_t
rssi)
149 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 188 #if MAVLINK_CRC_EXTRA 205 return mavlink_msg_hil_rc_inputs_raw_pack(system_id, component_id, msg, hil_rc_inputs_raw->
time_usec, hil_rc_inputs_raw->
chan1_raw, hil_rc_inputs_raw->
chan2_raw, hil_rc_inputs_raw->
chan3_raw, hil_rc_inputs_raw->
chan4_raw, hil_rc_inputs_raw->
chan5_raw, hil_rc_inputs_raw->
chan6_raw, hil_rc_inputs_raw->
chan7_raw, hil_rc_inputs_raw->
chan8_raw, hil_rc_inputs_raw->
chan9_raw, hil_rc_inputs_raw->
chan10_raw, hil_rc_inputs_raw->
chan11_raw, hil_rc_inputs_raw->
chan12_raw, hil_rc_inputs_raw->
rssi);
219 return mavlink_msg_hil_rc_inputs_raw_pack_chan(system_id, component_id, chan, msg, hil_rc_inputs_raw->
time_usec, hil_rc_inputs_raw->
chan1_raw, hil_rc_inputs_raw->
chan2_raw, hil_rc_inputs_raw->
chan3_raw, hil_rc_inputs_raw->
chan4_raw, hil_rc_inputs_raw->
chan5_raw, hil_rc_inputs_raw->
chan6_raw, hil_rc_inputs_raw->
chan7_raw, hil_rc_inputs_raw->
chan8_raw, hil_rc_inputs_raw->
chan9_raw, hil_rc_inputs_raw->
chan10_raw, hil_rc_inputs_raw->
chan11_raw, hil_rc_inputs_raw->
chan12_raw, hil_rc_inputs_raw->
rssi);
241 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS 243 static inline void mavlink_msg_hil_rc_inputs_raw_send(
mavlink_channel_t chan, uint64_t
time_usec, uint16_t
chan1_raw, uint16_t
chan2_raw, uint16_t
chan3_raw, uint16_t
chan4_raw, uint16_t
chan5_raw, uint16_t
chan6_raw, uint16_t
chan7_raw, uint16_t
chan8_raw, uint16_t
chan9_raw, uint16_t
chan10_raw, uint16_t
chan11_raw, uint16_t
chan12_raw, uint8_t
rssi)
245 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 262 #if MAVLINK_CRC_EXTRA 284 #if MAVLINK_CRC_EXTRA 292 #if MAVLINK_MSG_ID_HIL_RC_INPUTS_RAW_LEN <= MAVLINK_MAX_PAYLOAD_LEN 300 static inline void mavlink_msg_hil_rc_inputs_raw_send_buf(mavlink_message_t *msgbuf,
mavlink_channel_t chan, uint64_t
time_usec, uint16_t
chan1_raw, uint16_t
chan2_raw, uint16_t
chan3_raw, uint16_t
chan4_raw, uint16_t
chan5_raw, uint16_t
chan6_raw, uint16_t
chan7_raw, uint16_t
chan8_raw, uint16_t
chan9_raw, uint16_t
chan10_raw, uint16_t
chan11_raw, uint16_t
chan12_raw, uint8_t
rssi)
302 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 303 char *buf = (
char *)msgbuf;
319 #if MAVLINK_CRC_EXTRA 341 #if MAVLINK_CRC_EXTRA 362 return _MAV_RETURN_uint64_t(msg, 0);
372 return _MAV_RETURN_uint16_t(msg, 8);
382 return _MAV_RETURN_uint16_t(msg, 10);
392 return _MAV_RETURN_uint16_t(msg, 12);
402 return _MAV_RETURN_uint16_t(msg, 14);
412 return _MAV_RETURN_uint16_t(msg, 16);
422 return _MAV_RETURN_uint16_t(msg, 18);
432 return _MAV_RETURN_uint16_t(msg, 20);
442 return _MAV_RETURN_uint16_t(msg, 22);
452 return _MAV_RETURN_uint16_t(msg, 24);
462 return _MAV_RETURN_uint16_t(msg, 26);
472 return _MAV_RETURN_uint16_t(msg, 28);
482 return _MAV_RETURN_uint16_t(msg, 30);
503 #if MAVLINK_NEED_BYTE_SWAP
#define _MAV_RETURN_uint8_t(msg, wire_offset)
MAVLINK_HELPER uint16_t mavlink_finalize_message(mavlink_message_t *msg, uint8_t system_id, uint8_t component_id, uint8_t length)
Finalize a MAVLink message with MAVLINK_COMM_0 as default channel.
#define _mav_put_uint8_t(buf, wire_offset, b)
#define _mav_put_uint64_t(buf, wire_offset, b)
#define _MAV_PAYLOAD_NON_CONST(msg)
#define _MAV_PAYLOAD(msg)
#define _mav_put_uint16_t(buf, wire_offset, b)
MAVLINK_HELPER uint16_t mavlink_finalize_message_chan(mavlink_message_t *msg, uint8_t system_id, uint8_t component_id, uint8_t chan, uint8_t length)
Finalize a MAVLink message with channel assignment.