mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 14:28:54 +08:00
sensors: Carry frame drop counter from RAW input to normalized RC
This commit is contained in:
@@ -1908,6 +1908,7 @@ Sensors::rc_poll()
|
||||
_rc.rssi = rc_input.rssi;
|
||||
_rc.signal_lost = signal_lost;
|
||||
_rc.timestamp = rc_input.timestamp_last_signal;
|
||||
_rc.frame_drop_count = rc_input.rc_lost_frame_count;
|
||||
|
||||
/* publish rc_channels topic even if signal is invalid, for debug */
|
||||
if (_rc_pub != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user