mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-12 01:53:34 +08:00
ManualControlSelector: don't invalidate existing setpoint with other invalid input
This commit is contained in:
@@ -51,8 +51,6 @@ void ManualControlSelector::update_manual_control_input(uint64_t now, const manu
|
||||
// where the timestamp_sample of some source is already outdated.
|
||||
|
||||
if (now >= input.timestamp_sample && now - input.timestamp_sample > _timeout) {
|
||||
_setpoint.valid = false;
|
||||
_instance = -1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user