mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 23:03:33 +08:00
MC LandDetector: add constant (0.3) for vz threshold for in_descend flag
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -87,6 +87,9 @@ private:
|
||||
/** Distance above ground below which entering ground contact state is possible when distance to ground is available. */
|
||||
static constexpr float DIST_FROM_GROUND_THRESHOLD = 1.0f;
|
||||
|
||||
/** Down velocity threshold for setting "in_descend" flag */
|
||||
static constexpr float DESCENT_TRAJECTORY_VZ_THRESHOLD = 0.3f;
|
||||
|
||||
/** Handles for interesting parameters. **/
|
||||
struct {
|
||||
param_t minThrottle;
|
||||
|
||||
Reference in New Issue
Block a user