mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 15:43:33 +08:00
commander: don't impose additional timeouts in sensor checks
- the sensors hub is responsible for sensor timeouts
This commit is contained in:
@@ -47,7 +47,7 @@ bool PreFlightCheck::manualControlCheck(orb_advert_t *mavlink_log_pub, const boo
|
||||
manual_control_setpoint_sub.update();
|
||||
const manual_control_setpoint_s &manual_control_setpoint = manual_control_setpoint_sub.get();
|
||||
|
||||
if (hrt_elapsed_time(&manual_control_setpoint.timestamp) < 1_s) {
|
||||
if (manual_control_setpoint.timestamp != 0) {
|
||||
|
||||
//check action switches
|
||||
if (manual_control_setpoint.return_switch == manual_control_setpoint_s::SWITCH_POS_ON) {
|
||||
|
||||
Reference in New Issue
Block a user