mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 04:33:33 +08:00
remove lidar filter value from qgc params
This commit is contained in:
committed by
Lorenz Meier
parent
23f428d639
commit
f32021f856
@@ -219,17 +219,6 @@ PARAM_DEFINE_FLOAT(INAV_FLOW_K, 0.15f);
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(INAV_FLOW_Q_MIN, 0.3f);
|
||||
|
||||
/**
|
||||
* Weight for lidar filter
|
||||
*
|
||||
* Lidar filter detects spikes on lidar measurements and used to detect new surface level.
|
||||
*
|
||||
* @min 0.0
|
||||
* @max 1.0
|
||||
* @group Position Estimator INAV
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(INAV_LIDAR_FILT, 0.3f);
|
||||
|
||||
/**
|
||||
* Sonar maximal error for new surface
|
||||
*
|
||||
@@ -377,7 +366,6 @@ int inav_parameters_init(struct position_estimator_inav_param_handles *h)
|
||||
h->w_acc_bias = param_find("INAV_W_ACC_BIAS");
|
||||
h->flow_k = param_find("INAV_FLOW_K");
|
||||
h->flow_q_min = param_find("INAV_FLOW_Q_MIN");
|
||||
h->lidar_filt = param_find("INAV_LIDAR_FILT");
|
||||
h->lidar_err = param_find("INAV_LIDAR_ERR");
|
||||
h->land_t = param_find("INAV_LAND_T");
|
||||
h->land_disp = param_find("INAV_LAND_DISP");
|
||||
@@ -410,7 +398,6 @@ int inav_parameters_update(const struct position_estimator_inav_param_handles *h
|
||||
param_get(h->w_acc_bias, &(p->w_acc_bias));
|
||||
param_get(h->flow_k, &(p->flow_k));
|
||||
param_get(h->flow_q_min, &(p->flow_q_min));
|
||||
param_get(h->lidar_filt, &(p->lidar_filt));
|
||||
param_get(h->lidar_err, &(p->lidar_err));
|
||||
param_get(h->land_t, &(p->land_t));
|
||||
param_get(h->land_disp, &(p->land_disp));
|
||||
|
||||
@@ -58,7 +58,6 @@ struct position_estimator_inav_params {
|
||||
float w_acc_bias;
|
||||
float flow_k;
|
||||
float flow_q_min;
|
||||
float lidar_filt;
|
||||
float lidar_err;
|
||||
float land_t;
|
||||
float land_disp;
|
||||
@@ -88,7 +87,6 @@ struct position_estimator_inav_param_handles {
|
||||
param_t w_acc_bias;
|
||||
param_t flow_k;
|
||||
param_t flow_q_min;
|
||||
param_t lidar_filt;
|
||||
param_t lidar_err;
|
||||
param_t land_t;
|
||||
param_t land_disp;
|
||||
|
||||
Reference in New Issue
Block a user