mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-25 16:50:35 +08:00
drivers/rc/crsf_rc: update standalone driver for CRSF and direct support for lq/rssi (#20084)
Co-authored-by: Chris Seto <chris1seto@gmail.com>
This commit is contained in:
@@ -913,6 +913,9 @@ void SimulatorMavlink::handle_message_rc_channels(const mavlink_message_t *msg)
|
||||
rc_input.values[16] = rc_channels.chan17_raw;
|
||||
rc_input.values[17] = rc_channels.chan18_raw;
|
||||
|
||||
rc_input.link_quality = -1;
|
||||
rc_input.rssi_dbm = NAN;
|
||||
|
||||
rc_input.timestamp = hrt_absolute_time();
|
||||
|
||||
// publish message
|
||||
|
||||
Reference in New Issue
Block a user