Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / flight / libraries / mavlink / v1.0 / common / mavlink_msg_hil_rc_inputs_raw.h
blob107dc944116cadab4cbb2e92b08602a86a5e3773
1 // MESSAGE HIL_RC_INPUTS_RAW PACKING
3 #define MAVLINK_MSG_ID_HIL_RC_INPUTS_RAW 92
5 typedef struct __mavlink_hil_rc_inputs_raw_t {
6 uint64_t time_usec; ///< Timestamp (microseconds since UNIX epoch or microseconds since system boot)
7 uint16_t chan1_raw; ///< RC channel 1 value, in microseconds
8 uint16_t chan2_raw; ///< RC channel 2 value, in microseconds
9 uint16_t chan3_raw; ///< RC channel 3 value, in microseconds
10 uint16_t chan4_raw; ///< RC channel 4 value, in microseconds
11 uint16_t chan5_raw; ///< RC channel 5 value, in microseconds
12 uint16_t chan6_raw; ///< RC channel 6 value, in microseconds
13 uint16_t chan7_raw; ///< RC channel 7 value, in microseconds
14 uint16_t chan8_raw; ///< RC channel 8 value, in microseconds
15 uint16_t chan9_raw; ///< RC channel 9 value, in microseconds
16 uint16_t chan10_raw; ///< RC channel 10 value, in microseconds
17 uint16_t chan11_raw; ///< RC channel 11 value, in microseconds
18 uint16_t chan12_raw; ///< RC channel 12 value, in microseconds
19 uint8_t rssi; ///< Receive signal strength indicator, 0: 0%, 255: 100%
20 } mavlink_hil_rc_inputs_raw_t;
22 #define MAVLINK_MSG_ID_HIL_RC_INPUTS_RAW_LEN 33
23 #define MAVLINK_MSG_ID_92_LEN 33
26 #define MAVLINK_MESSAGE_INFO_HIL_RC_INPUTS_RAW \
27 { \
28 "HIL_RC_INPUTS_RAW", \
29 14, \
30 { \
31 { "time_usec", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_hil_rc_inputs_raw_t, time_usec) }, \
32 { "chan1_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 8, offsetof(mavlink_hil_rc_inputs_raw_t, chan1_raw) }, \
33 { "chan2_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 10, offsetof(mavlink_hil_rc_inputs_raw_t, chan2_raw) }, \
34 { "chan3_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 12, offsetof(mavlink_hil_rc_inputs_raw_t, chan3_raw) }, \
35 { "chan4_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 14, offsetof(mavlink_hil_rc_inputs_raw_t, chan4_raw) }, \
36 { "chan5_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 16, offsetof(mavlink_hil_rc_inputs_raw_t, chan5_raw) }, \
37 { "chan6_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 18, offsetof(mavlink_hil_rc_inputs_raw_t, chan6_raw) }, \
38 { "chan7_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 20, offsetof(mavlink_hil_rc_inputs_raw_t, chan7_raw) }, \
39 { "chan8_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 22, offsetof(mavlink_hil_rc_inputs_raw_t, chan8_raw) }, \
40 { "chan9_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 24, offsetof(mavlink_hil_rc_inputs_raw_t, chan9_raw) }, \
41 { "chan10_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 26, offsetof(mavlink_hil_rc_inputs_raw_t, chan10_raw) }, \
42 { "chan11_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 28, offsetof(mavlink_hil_rc_inputs_raw_t, chan11_raw) }, \
43 { "chan12_raw", NULL, MAVLINK_TYPE_UINT16_T, 0, 30, offsetof(mavlink_hil_rc_inputs_raw_t, chan12_raw) }, \
44 { "rssi", NULL, MAVLINK_TYPE_UINT8_T, 0, 32, offsetof(mavlink_hil_rc_inputs_raw_t, rssi) }, \
45 } \
49 /**
50 * @brief Pack a hil_rc_inputs_raw message
51 * @param system_id ID of this system
52 * @param component_id ID of this component (e.g. 200 for IMU)
53 * @param msg The MAVLink message to compress the data into
55 * @param time_usec Timestamp (microseconds since UNIX epoch or microseconds since system boot)
56 * @param chan1_raw RC channel 1 value, in microseconds
57 * @param chan2_raw RC channel 2 value, in microseconds
58 * @param chan3_raw RC channel 3 value, in microseconds
59 * @param chan4_raw RC channel 4 value, in microseconds
60 * @param chan5_raw RC channel 5 value, in microseconds
61 * @param chan6_raw RC channel 6 value, in microseconds
62 * @param chan7_raw RC channel 7 value, in microseconds
63 * @param chan8_raw RC channel 8 value, in microseconds
64 * @param chan9_raw RC channel 9 value, in microseconds
65 * @param chan10_raw RC channel 10 value, in microseconds
66 * @param chan11_raw RC channel 11 value, in microseconds
67 * @param chan12_raw RC channel 12 value, in microseconds
68 * @param rssi Receive signal strength indicator, 0: 0%, 255: 100%
69 * @return length of the message in bytes (excluding serial stream start sign)
71 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg,
72 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)
74 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
75 char buf[33];
76 _mav_put_uint64_t(buf, 0, time_usec);
77 _mav_put_uint16_t(buf, 8, chan1_raw);
78 _mav_put_uint16_t(buf, 10, chan2_raw);
79 _mav_put_uint16_t(buf, 12, chan3_raw);
80 _mav_put_uint16_t(buf, 14, chan4_raw);
81 _mav_put_uint16_t(buf, 16, chan5_raw);
82 _mav_put_uint16_t(buf, 18, chan6_raw);
83 _mav_put_uint16_t(buf, 20, chan7_raw);
84 _mav_put_uint16_t(buf, 22, chan8_raw);
85 _mav_put_uint16_t(buf, 24, chan9_raw);
86 _mav_put_uint16_t(buf, 26, chan10_raw);
87 _mav_put_uint16_t(buf, 28, chan11_raw);
88 _mav_put_uint16_t(buf, 30, chan12_raw);
89 _mav_put_uint8_t(buf, 32, rssi);
91 memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, 33);
92 #else
93 mavlink_hil_rc_inputs_raw_t packet;
94 packet.time_usec = time_usec;
95 packet.chan1_raw = chan1_raw;
96 packet.chan2_raw = chan2_raw;
97 packet.chan3_raw = chan3_raw;
98 packet.chan4_raw = chan4_raw;
99 packet.chan5_raw = chan5_raw;
100 packet.chan6_raw = chan6_raw;
101 packet.chan7_raw = chan7_raw;
102 packet.chan8_raw = chan8_raw;
103 packet.chan9_raw = chan9_raw;
104 packet.chan10_raw = chan10_raw;
105 packet.chan11_raw = chan11_raw;
106 packet.chan12_raw = chan12_raw;
107 packet.rssi = rssi;
109 memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, 33);
110 #endif // if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
112 msg->msgid = MAVLINK_MSG_ID_HIL_RC_INPUTS_RAW;
113 return mavlink_finalize_message(msg, system_id, component_id, 33, 54);
117 * @brief Pack a hil_rc_inputs_raw message on a channel
118 * @param system_id ID of this system
119 * @param component_id ID of this component (e.g. 200 for IMU)
120 * @param chan The MAVLink channel this message was sent over
121 * @param msg The MAVLink message to compress the data into
122 * @param time_usec Timestamp (microseconds since UNIX epoch or microseconds since system boot)
123 * @param chan1_raw RC channel 1 value, in microseconds
124 * @param chan2_raw RC channel 2 value, in microseconds
125 * @param chan3_raw RC channel 3 value, in microseconds
126 * @param chan4_raw RC channel 4 value, in microseconds
127 * @param chan5_raw RC channel 5 value, in microseconds
128 * @param chan6_raw RC channel 6 value, in microseconds
129 * @param chan7_raw RC channel 7 value, in microseconds
130 * @param chan8_raw RC channel 8 value, in microseconds
131 * @param chan9_raw RC channel 9 value, in microseconds
132 * @param chan10_raw RC channel 10 value, in microseconds
133 * @param chan11_raw RC channel 11 value, in microseconds
134 * @param chan12_raw RC channel 12 value, in microseconds
135 * @param rssi Receive signal strength indicator, 0: 0%, 255: 100%
136 * @return length of the message in bytes (excluding serial stream start sign)
138 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
139 mavlink_message_t *msg,
140 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)
142 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
143 char buf[33];
144 _mav_put_uint64_t(buf, 0, time_usec);
145 _mav_put_uint16_t(buf, 8, chan1_raw);
146 _mav_put_uint16_t(buf, 10, chan2_raw);
147 _mav_put_uint16_t(buf, 12, chan3_raw);
148 _mav_put_uint16_t(buf, 14, chan4_raw);
149 _mav_put_uint16_t(buf, 16, chan5_raw);
150 _mav_put_uint16_t(buf, 18, chan6_raw);
151 _mav_put_uint16_t(buf, 20, chan7_raw);
152 _mav_put_uint16_t(buf, 22, chan8_raw);
153 _mav_put_uint16_t(buf, 24, chan9_raw);
154 _mav_put_uint16_t(buf, 26, chan10_raw);
155 _mav_put_uint16_t(buf, 28, chan11_raw);
156 _mav_put_uint16_t(buf, 30, chan12_raw);
157 _mav_put_uint8_t(buf, 32, rssi);
159 memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, 33);
160 #else
161 mavlink_hil_rc_inputs_raw_t packet;
162 packet.time_usec = time_usec;
163 packet.chan1_raw = chan1_raw;
164 packet.chan2_raw = chan2_raw;
165 packet.chan3_raw = chan3_raw;
166 packet.chan4_raw = chan4_raw;
167 packet.chan5_raw = chan5_raw;
168 packet.chan6_raw = chan6_raw;
169 packet.chan7_raw = chan7_raw;
170 packet.chan8_raw = chan8_raw;
171 packet.chan9_raw = chan9_raw;
172 packet.chan10_raw = chan10_raw;
173 packet.chan11_raw = chan11_raw;
174 packet.chan12_raw = chan12_raw;
175 packet.rssi = rssi;
177 memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, 33);
178 #endif // if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
180 msg->msgid = MAVLINK_MSG_ID_HIL_RC_INPUTS_RAW;
181 return mavlink_finalize_message_chan(msg, system_id, component_id, chan, 33, 54);
185 * @brief Encode a hil_rc_inputs_raw struct into a message
187 * @param system_id ID of this system
188 * @param component_id ID of this component (e.g. 200 for IMU)
189 * @param msg The MAVLink message to compress the data into
190 * @param hil_rc_inputs_raw C-struct to read the message contents from
192 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_hil_rc_inputs_raw_t *hil_rc_inputs_raw)
194 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);
198 * @brief Send a hil_rc_inputs_raw message
199 * @param chan MAVLink channel to send the message
201 * @param time_usec Timestamp (microseconds since UNIX epoch or microseconds since system boot)
202 * @param chan1_raw RC channel 1 value, in microseconds
203 * @param chan2_raw RC channel 2 value, in microseconds
204 * @param chan3_raw RC channel 3 value, in microseconds
205 * @param chan4_raw RC channel 4 value, in microseconds
206 * @param chan5_raw RC channel 5 value, in microseconds
207 * @param chan6_raw RC channel 6 value, in microseconds
208 * @param chan7_raw RC channel 7 value, in microseconds
209 * @param chan8_raw RC channel 8 value, in microseconds
210 * @param chan9_raw RC channel 9 value, in microseconds
211 * @param chan10_raw RC channel 10 value, in microseconds
212 * @param chan11_raw RC channel 11 value, in microseconds
213 * @param chan12_raw RC channel 12 value, in microseconds
214 * @param rssi Receive signal strength indicator, 0: 0%, 255: 100%
216 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
218 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)
220 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
221 char buf[33];
222 _mav_put_uint64_t(buf, 0, time_usec);
223 _mav_put_uint16_t(buf, 8, chan1_raw);
224 _mav_put_uint16_t(buf, 10, chan2_raw);
225 _mav_put_uint16_t(buf, 12, chan3_raw);
226 _mav_put_uint16_t(buf, 14, chan4_raw);
227 _mav_put_uint16_t(buf, 16, chan5_raw);
228 _mav_put_uint16_t(buf, 18, chan6_raw);
229 _mav_put_uint16_t(buf, 20, chan7_raw);
230 _mav_put_uint16_t(buf, 22, chan8_raw);
231 _mav_put_uint16_t(buf, 24, chan9_raw);
232 _mav_put_uint16_t(buf, 26, chan10_raw);
233 _mav_put_uint16_t(buf, 28, chan11_raw);
234 _mav_put_uint16_t(buf, 30, chan12_raw);
235 _mav_put_uint8_t(buf, 32, rssi);
237 _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_HIL_RC_INPUTS_RAW, buf, 33, 54);
238 #else
239 mavlink_hil_rc_inputs_raw_t packet;
240 packet.time_usec = time_usec;
241 packet.chan1_raw = chan1_raw;
242 packet.chan2_raw = chan2_raw;
243 packet.chan3_raw = chan3_raw;
244 packet.chan4_raw = chan4_raw;
245 packet.chan5_raw = chan5_raw;
246 packet.chan6_raw = chan6_raw;
247 packet.chan7_raw = chan7_raw;
248 packet.chan8_raw = chan8_raw;
249 packet.chan9_raw = chan9_raw;
250 packet.chan10_raw = chan10_raw;
251 packet.chan11_raw = chan11_raw;
252 packet.chan12_raw = chan12_raw;
253 packet.rssi = rssi;
255 _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_HIL_RC_INPUTS_RAW, (const char *)&packet, 33, 54);
256 #endif // if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
259 #endif // ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
261 // MESSAGE HIL_RC_INPUTS_RAW UNPACKING
265 * @brief Get field time_usec from hil_rc_inputs_raw message
267 * @return Timestamp (microseconds since UNIX epoch or microseconds since system boot)
269 static inline uint64_t mavlink_msg_hil_rc_inputs_raw_get_time_usec(const mavlink_message_t *msg)
271 return _MAV_RETURN_uint64_t(msg, 0);
275 * @brief Get field chan1_raw from hil_rc_inputs_raw message
277 * @return RC channel 1 value, in microseconds
279 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan1_raw(const mavlink_message_t *msg)
281 return _MAV_RETURN_uint16_t(msg, 8);
285 * @brief Get field chan2_raw from hil_rc_inputs_raw message
287 * @return RC channel 2 value, in microseconds
289 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan2_raw(const mavlink_message_t *msg)
291 return _MAV_RETURN_uint16_t(msg, 10);
295 * @brief Get field chan3_raw from hil_rc_inputs_raw message
297 * @return RC channel 3 value, in microseconds
299 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan3_raw(const mavlink_message_t *msg)
301 return _MAV_RETURN_uint16_t(msg, 12);
305 * @brief Get field chan4_raw from hil_rc_inputs_raw message
307 * @return RC channel 4 value, in microseconds
309 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan4_raw(const mavlink_message_t *msg)
311 return _MAV_RETURN_uint16_t(msg, 14);
315 * @brief Get field chan5_raw from hil_rc_inputs_raw message
317 * @return RC channel 5 value, in microseconds
319 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan5_raw(const mavlink_message_t *msg)
321 return _MAV_RETURN_uint16_t(msg, 16);
325 * @brief Get field chan6_raw from hil_rc_inputs_raw message
327 * @return RC channel 6 value, in microseconds
329 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan6_raw(const mavlink_message_t *msg)
331 return _MAV_RETURN_uint16_t(msg, 18);
335 * @brief Get field chan7_raw from hil_rc_inputs_raw message
337 * @return RC channel 7 value, in microseconds
339 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan7_raw(const mavlink_message_t *msg)
341 return _MAV_RETURN_uint16_t(msg, 20);
345 * @brief Get field chan8_raw from hil_rc_inputs_raw message
347 * @return RC channel 8 value, in microseconds
349 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan8_raw(const mavlink_message_t *msg)
351 return _MAV_RETURN_uint16_t(msg, 22);
355 * @brief Get field chan9_raw from hil_rc_inputs_raw message
357 * @return RC channel 9 value, in microseconds
359 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan9_raw(const mavlink_message_t *msg)
361 return _MAV_RETURN_uint16_t(msg, 24);
365 * @brief Get field chan10_raw from hil_rc_inputs_raw message
367 * @return RC channel 10 value, in microseconds
369 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan10_raw(const mavlink_message_t *msg)
371 return _MAV_RETURN_uint16_t(msg, 26);
375 * @brief Get field chan11_raw from hil_rc_inputs_raw message
377 * @return RC channel 11 value, in microseconds
379 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan11_raw(const mavlink_message_t *msg)
381 return _MAV_RETURN_uint16_t(msg, 28);
385 * @brief Get field chan12_raw from hil_rc_inputs_raw message
387 * @return RC channel 12 value, in microseconds
389 static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan12_raw(const mavlink_message_t *msg)
391 return _MAV_RETURN_uint16_t(msg, 30);
395 * @brief Get field rssi from hil_rc_inputs_raw message
397 * @return Receive signal strength indicator, 0: 0%, 255: 100%
399 static inline uint8_t mavlink_msg_hil_rc_inputs_raw_get_rssi(const mavlink_message_t *msg)
401 return _MAV_RETURN_uint8_t(msg, 32);
405 * @brief Decode a hil_rc_inputs_raw message into a struct
407 * @param msg The message to decode
408 * @param hil_rc_inputs_raw C-struct to decode the message contents into
410 static inline void mavlink_msg_hil_rc_inputs_raw_decode(const mavlink_message_t *msg, mavlink_hil_rc_inputs_raw_t *hil_rc_inputs_raw)
412 #if MAVLINK_NEED_BYTE_SWAP
413 hil_rc_inputs_raw->time_usec = mavlink_msg_hil_rc_inputs_raw_get_time_usec(msg);
414 hil_rc_inputs_raw->chan1_raw = mavlink_msg_hil_rc_inputs_raw_get_chan1_raw(msg);
415 hil_rc_inputs_raw->chan2_raw = mavlink_msg_hil_rc_inputs_raw_get_chan2_raw(msg);
416 hil_rc_inputs_raw->chan3_raw = mavlink_msg_hil_rc_inputs_raw_get_chan3_raw(msg);
417 hil_rc_inputs_raw->chan4_raw = mavlink_msg_hil_rc_inputs_raw_get_chan4_raw(msg);
418 hil_rc_inputs_raw->chan5_raw = mavlink_msg_hil_rc_inputs_raw_get_chan5_raw(msg);
419 hil_rc_inputs_raw->chan6_raw = mavlink_msg_hil_rc_inputs_raw_get_chan6_raw(msg);
420 hil_rc_inputs_raw->chan7_raw = mavlink_msg_hil_rc_inputs_raw_get_chan7_raw(msg);
421 hil_rc_inputs_raw->chan8_raw = mavlink_msg_hil_rc_inputs_raw_get_chan8_raw(msg);
422 hil_rc_inputs_raw->chan9_raw = mavlink_msg_hil_rc_inputs_raw_get_chan9_raw(msg);
423 hil_rc_inputs_raw->chan10_raw = mavlink_msg_hil_rc_inputs_raw_get_chan10_raw(msg);
424 hil_rc_inputs_raw->chan11_raw = mavlink_msg_hil_rc_inputs_raw_get_chan11_raw(msg);
425 hil_rc_inputs_raw->chan12_raw = mavlink_msg_hil_rc_inputs_raw_get_chan12_raw(msg);
426 hil_rc_inputs_raw->rssi = mavlink_msg_hil_rc_inputs_raw_get_rssi(msg);
427 #else
428 memcpy(hil_rc_inputs_raw, _MAV_PAYLOAD(msg), 33);
429 #endif