docs(vision_target_estimator): shorten long param description to save flash (#29308)

Co-authored-by: jonas <jonas.perolini@rigi.tech>
This commit is contained in:
Jonas Peroliniandjonas authored and GitHub committed 2026-10-19 10:40:12 -06:00
1 parent 5c13e7adbe
commit 383e3b26b9
1 file changed
+44 -113
@@ -24,9 +24,8 @@ parameters:
description:
short: Integer bitmask controlling data fusion and aiding methods
long: |-
Selects which measurements the vision target estimator fuses.
Bits 0, 3 and 5 give an absolute pad position. It is converted to a relative observation with the vehicle GNSS position, and its offset to the vision-based pad position is estimated as the GNSS bias.
Only one absolute pad position is fused at a time: bit 0 takes precedence over bits 3 and 5, which are also ignored in moving-target builds.
Absolute target references (bits 0, 3, 5) require vehicle GNSS; their offset from vision is estimated as a bias.
Bit 0 overrides bits 3 and 5, which are ignored in moving-target builds.
type: bitmask
bit:
0: Target GNSS position (receiver on the target)
@@ -39,11 +38,6 @@ parameters:
VTE_TASK_MASK:
description:
short: Integer bitmask controlling the tasks of the target estimator
long: |-
Set bits in the following positions to enable:
0 : Set to true to use the vision target estimator for precision landing. (+1)
1 : DEBUG, always active. (+2)
2 : Set to true to use the vision target estimator for precision takeoff. (+4)
type: bitmask
bit:
0: precision landing
@@ -53,7 +47,9 @@ parameters:
VTE_BTOUT:
description:
short: Vision target timeout
long: Time after which the target is considered lost without any new fused measurements. When this timeout expires, the estimator is reset and can restart immediately once an enabled fusion source is available.
long: |-
Reset after this long without accepted position or yaw updates, tracked separately.
Velocity updates do not prevent position resets.
type: float
default: 3.0
unit: s
@@ -64,7 +60,9 @@ parameters:
VTE_TGT_TOUT:
description:
short: Target validity timeout
long: Maximum time without any fused measurements before the published relative pose/yaw is flagged invalid.
long: |-
Maximum time without accepted position or yaw updates before that estimate becomes invalid.
Keep below VTE_BTOUT.
type: float
default: 2.0
unit: s
@@ -75,7 +73,7 @@ parameters:
VTE_M_REC_TOUT:
description:
short: Measurement recent timeout
long: Time window for considering a raw measurement as recent and eligible for fusion.
long: Maximum raw measurement age allowed for fusion.
type: float
default: 1.0
unit: s
@@ -86,7 +84,7 @@ parameters:
VTE_M_UPD_TOUT:
description:
short: Measurement updated timeout
long: Maximum allowed age of a retained measurement before it is discarded from the estimator's cache.
long: Maximum age of local position, velocity and antenna-offset corrections; also limits velocity-to-measurement time mismatch.
type: float
default: 0.1
unit: s
@@ -98,14 +96,8 @@ parameters:
description:
short: UAV acceleration white-noise power spectral density
long: |-
White-noise PSD on the UAV acceleration input. The
1-sigma vel_uav change allowed over a time t is sqrt(VTE_ACC_D_UNC * t).
This is a variance rate, not a per-step variance; the value is independent
of the filter update rate. Higher values let the filter follow new
measurements more tightly and reject fewer outliers.
Unit: m^2/s^3.
UAV velocity variance growth rate from acceleration noise (m^2/s^3), independent of update rate.
Higher values follow measurements faster and reject fewer outliers.
type: float
default: 0.02
min: 0.0001
@@ -114,16 +106,8 @@ parameters:
description:
short: Target acceleration random-walk process noise
long: |-
Process-noise spectral density of the target acceleration random walk
(moving-target builds only). The 1-sigma target-acceleration change over a
time t is sqrt(VTE_ACC_T_UNC * t) (e.g. for the 0.1 default, ~0.32 m/s^2
after 1 s, ~1.0 m/s^2 after 10 s).
This is a variance rate, not a linear rate of change; the value is
independent of the filter update rate. Higher values let the filter follow
target manoeuvres more aggressively and accept more outliers.
Unit: ((m/s^2)^2)/s.
Target acceleration variance growth rate (m^2/s^5), independent of update rate. Moving-target builds only.
Higher values track manoeuvres faster and reject fewer outliers.
type: float
default: 0.1
min: 0.01
@@ -132,18 +116,8 @@ parameters:
description:
short: Bias random-walk process noise
long: |-
Process-noise spectral density of the GPS/vision bias random walk. The
1-sigma expected bias change over a time t is sqrt(VTE_BIAS_UNC * t) (e.g.
for the 0.001 default, ~3 cm after 1 s, ~10 cm after 10 s, ~32 cm after
100 s).
This is a variance rate, not a linear drift rate; the value is independent
of the filter update rate. Higher values let the bias follow new
observations more aggressively; lower values keep it stiff. Tune to match
the realistic physical drift of the absolute reference (typically a few
centimetres over tens of seconds for consumer GNSS, less for RTK).
Unit: m^2/s.
GNSS/vision position-bias variance growth rate (m^2/s), independent of update rate.
Higher values track reference drift faster; lower values keep the bias steadier.
type: float
default: 0.001
min: 0.0001
@@ -154,8 +128,7 @@ parameters:
long: |-
Minimum initial variance of the relative target position in x, y, and z direction.
The variance reported by the initializing observation is used if it is larger.
Changes while the estimator is running are picked up immediately by the module but only take effect
the next time the estimator initializes or resets.
Applied at initialization/reset and GNSS/vision bias activation.
type: float
default: 0.5
unit: m^2
@@ -165,9 +138,8 @@ parameters:
description:
short: Initial target and drone relative velocity uncertainty
long: |-
Initial variance of the relative target velocity in x, y, and z directions.
Changes while the estimator is running are picked up immediately by the module but only take effect
the next time the estimator initializes or resets.
Initial velocity variance per axis, applied separately to the UAV and moving target.
Changes apply at initialization/reset.
type: float
default: 0.5
unit: (m/s)^2
@@ -177,12 +149,8 @@ parameters:
description:
short: Initial GPS bias uncertainty
long: |-
Initial variance of the bias between the GPS on the target and the GPS on the drone.
Changes while the estimator is running are picked up immediately by the module but only take effect
the next time the estimator initializes or resets.
Once the filter is running, the steady-state bias variance is governed by VTE_BIAS_UNC
and the measurement updates, so this parameter does not influence runtime behaviour.
Keep it large so initialization can absorb initial misalignments.
Initial GNSS/vision position-bias variance per axis. Higher values allow larger initial bias corrections.
Applied at initialization/reset and bias activation. Use VTE_BIAS_UNC for ongoing drift.
type: float
default: 1.0
unit: m^2
@@ -192,10 +160,9 @@ parameters:
description:
short: Initial GNSS/vision bias averaging threshold
long: |-
When the GNSS/vision bias first becomes observable while the estimator is still referenced to GNSS,
VTE low-pass filters the first GNSS/vision bias samples before activating the bias estimate.
The LPF exit requires consecutive raw bias samples to stay within this threshold and for the LPF
to have run for at least 2 * tau, or until VTE_BIA_AVG_TOUT elapses.
Maximum 3D difference between raw and filtered bias to finish averaging after GNSS-first startup.
Lower values require steadier samples. Requires 5 consecutive matches and at least 0.6 s, or VTE_BIA_AVG_TOUT.
Set to 0 to disable averaging.
type: float
default: 0.3
unit: m
@@ -205,14 +172,8 @@ parameters:
description:
short: Initial GNSS/vision bias averaging timeout
long: |-
Maximum time spent averaging the initial GNSS bias before activating it once GNSS and vision
are jointly observable while the estimator is still referenced to GNSS. During that phase, valid
vision samples keep updating the LPF. While the current GNSS-relative measurement stays valid,
it can be propagated with the UAV velocity estimate to match the vision timestamp. If that GNSS
sample is no longer valid, averaging stops, the current vision position is used, and the current
LPF bias is activated.
Set to 0 to disable averaging and activate the bias immediately.
Maximum time to average the GNSS/vision bias when starting from GNSS position. Vision fusion waits meanwhile.
If GNSS expires, switch to vision with the filtered bias. Set to 0 to disable averaging.
type: float
default: 1.0
unit: s
@@ -222,9 +183,8 @@ parameters:
description:
short: Initial orientation uncertainty
long: |-
Initial variance of the target orientation yaw in rad^2.
Changes while the estimator is running are picked up immediately by the module but only take effect
the next time the estimator initializes or resets.
Initial yaw variance (rad^2); also used for yaw-rate variance ((rad/s)^2).
Changes apply at initialization/reset.
type: float
default: 1.0
min: 0.001
@@ -233,16 +193,8 @@ parameters:
description:
short: Yaw acceleration white-noise power spectral density
long: |-
White-noise PSD on the yaw acceleration driving the
yaw-rate state. The 1-sigma yaw-rate change allowed over a time t is
sqrt(VTE_YAW_ACC_UNC * t) (e.g. for the 0.004 default, ~3.6 deg/s after 1 s,
~11.5 deg/s after 10 s).
This is a variance rate, not a per-step variance; the value is independent
of the filter update rate. Higher values let the filter follow rapid
heading changes; lower values smooth the yaw estimate aggressively.
Unit: rad^2/s^3.
Yaw-rate variance growth rate from acceleration noise (rad^2/s^3), independent of update rate.
Higher values track heading changes faster; lower values smooth yaw more.
type: float
default: 0.004
min: 0.0
@@ -251,13 +203,8 @@ parameters:
description:
short: Initial target absolute acceleration uncertainty
long: |-
Initial variance of the relative target acceleration in x, y, and z directions
(moving-target builds only).
Changes while the estimator is running are picked up immediately by the module but only take effect
the next time the estimator initializes or resets.
Once the filter is running, the steady-state target-acceleration variance is
governed by VTE_ACC_T_UNC and the measurement updates, so this parameter does
not influence runtime behaviour.
Initial absolute target-acceleration variance per axis (moving-target builds only).
Changes apply at initialization/reset. Use VTE_ACC_T_UNC for ongoing manoeuvre tracking.
type: float
default: 0.1
unit: (m/s^2)^2
@@ -267,11 +214,8 @@ parameters:
description:
short: Minimum standard deviation for GPS velocity observations
long: |-
Lower bound on the standard deviation used when fusing GPS velocity. The
estimator squares this value and clamps the per-sample observation variance
to max(reported_variance, VTE_GPS_V_NOISE^2). The floor only takes effect when
the sensor under-reports its own noise; if the reported variance is already
above the floor, this parameter has no effect.
Minimum GNSS velocity noise; used only when reported noise is lower.
Increase to reduce trust in velocity measurements.
type: float
default: 0.3
unit: m/s
@@ -282,10 +226,8 @@ parameters:
description:
short: Minimum standard deviation for GPS position observations
long: |-
Lower bound on the standard deviation used when fusing GPS position (target or
mission landing waypoint). The estimator squares this value and clamps the
per-sample observation variance to max(reported_variance, VTE_GPS_P_NOISE^2).
The floor only takes effect when the sensor under-reports its own noise.
Minimum GNSS position noise for target, mission or home aiding; used only when reported noise is lower.
Increase to reduce trust in position measurements.
type: float
default: 0.5
unit: m
@@ -296,13 +238,8 @@ parameters:
description:
short: Minimum standard deviation for vision yaw observations
long: |-
Lower bound on the standard deviation used when fusing the vision yaw
observation. The estimator squares this value and clamps the per-sample
observation variance to max(reported_variance, VTE_EVA_NOISE^2). The floor only
takes effect when the sensor under-reports its own noise.
The default of ~0.07 rad (4 deg) is a reasonable starting point for marker-based
yaw detection. Lowering it makes the filter trust each yaw sample more, which
can cause the controller to chase the resulting setpoint changes and oscillate.
Minimum vision yaw noise; used only when reported noise is lower. Default: about 4 deg.
Lower values increase trust in yaw measurements and can cause control oscillations.
type: float
default: 0.07
min: 0.05
@@ -312,10 +249,8 @@ parameters:
description:
short: Minimum standard deviation for vision relative-position observations
long: |-
Lower bound on the standard deviation used when fusing the vision relative
position. The estimator squares this value and clamps the per-sample
observation variance to max(reported_variance, VTE_EVP_NOISE^2). The floor only
takes effect when the sensor under-reports its own noise.
Minimum vision position noise; used only when reported noise is lower.
Increase to reduce trust in position measurements.
type: float
default: 0.1
min: 0.01
@@ -325,10 +260,8 @@ parameters:
description:
short: Normalized innovation squared threshold for the position estimator
long: |-
Lower values mean that more measurements will be rejected. Null hypothesis H0: the innovation is
consistent with the innovation covariance matrix. Values of 0.46, 1.64, 2.71, 3.84, 6.63, and 10.83
correspond to 50%, 20%, 10%, 5%, 1%, and 0.1% probability respectively that H0 is incorrectly rejected.
The confidence interval is computed from the chi-squared distribution.
Per-axis outlier gate for position and velocity measurements. Lower values reject more samples.
For Gaussian innovations, 3.84 rejects about 5% of valid samples; 6.63 rejects 1%.
type: float
default: 3.84
min: 0.46
@@ -338,10 +271,8 @@ parameters:
description:
short: Normalized innovation squared threshold for the orientation estimator
long: |-
Lower values mean that more measurements will be rejected. Null hypothesis H0: the innovation is
consistent with the innovation covariance matrix. Values of 0.46, 1.64, 2.71, 3.84, 6.63, and 10.83
correspond to 50%, 20%, 10%, 5%, 1%, and 0.1% probability respectively that H0 is incorrectly rejected.
The confidence interval is computed from the chi-squared distribution.
Yaw outlier gate. Lower values reject more samples.
For Gaussian innovations, 3.84 rejects about 5% of valid samples; 6.63 rejects 1%.
type: float
default: 3.84
min: 0.46