mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 07:33:34 +08:00
land_detector: relax data timeouts uniformly
* if we're hitting these timeouts there are much larger problems in the system
This commit is contained in:
@@ -66,7 +66,7 @@ bool FixedwingLandDetector::_get_landed_state()
|
||||
|
||||
bool landDetected = false;
|
||||
|
||||
if (hrt_elapsed_time(&_vehicle_local_position.timestamp) < 500_ms) {
|
||||
if (hrt_elapsed_time(&_vehicle_local_position.timestamp) < 1_s) {
|
||||
|
||||
// Horizontal velocity complimentary filter.
|
||||
float val = 0.97f * _velocity_xy_filtered + 0.03f * sqrtf(_vehicle_local_position.vx * _vehicle_local_position.vx +
|
||||
|
||||
Reference in New Issue
Block a user