|
|
|
@ -219,17 +219,6 @@ PARAM_DEFINE_FLOAT(INAV_FLOW_K, 0.15f);
@@ -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)
@@ -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
@@ -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)); |
|
|
|
|