diff --git a/docs/en/msg_docs/VteAidSource1d.md b/docs/en/msg_docs/VteAidSource1d.md index f6e9fc2f813..f78e1796e11 100644 --- a/docs/en/msg_docs/VteAidSource1d.md +++ b/docs/en/msg_docs/VteAidSource1d.md @@ -13,19 +13,21 @@ Subscribed by: logger only. Inspect observation, innovation, test_ratio, and fus ## Fields -| Name | Type | Unit [Frame] | Range/Enum | Description | -| --------------------------------------------------------- | --------- | ------------ | --------------------------------------- | --------------------------------------------------------- | -| timestamp | `uint64` | us | | Time since system start | -| timestamp_sample | `uint64` | us | | Timestamp of the raw observation | -| time_last_predict | `uint64` | us | | Timestamp of last filter prediction | -| observation | `float32` | | | Observation attempted to be fused | -| observation_variance | `float32` | | | Variance of observation attempted to be fused | -| innovation | `float32` | | | Kalman Filter innovation (y = z - Hx) | -| innovation_variance | `float32` | | | Kalman Filter variance of the innovation | -| test_ratio | `float32` | | | Normalized innovation squared (NIS) | -| fusion_status | `uint8` | | [VTE_FUSION_STATUS](#VTE_FUSION_STATUS) | Fusion status code | -| time_since_meas_ms | `float32` | ms | | (now - timestamp_sample) | -| history_steps | `uint8` | | | Number of steps replayed in OOSM (0 if current or failed) | +| Name | Type | Unit [Frame] | Range/Enum | Description | +| ----------------------------------------------------------- | --------- | ------------ | --------------------------------------- | ----------------------------------------------------------------- | +| timestamp | `uint64` | us | | Time since system start | +| timestamp_sample | `uint64` | us | | Timestamp of the raw observation | +| time_last_predict | `uint64` | us | | Timestamp of last filter prediction | +| observation | `float32` | | | Observation attempted to be fused | +| observation_variance | `float32` | | | Variance of observation attempted to be fused | +| innovation | `float32` | | | Kalman Filter innovation (y = z - Hx) | +| innovation_variance | `float32` | | | Kalman Filter variance of the innovation | +| test_ratio | `float32` | | | NIS divided by the gate threshold, so above 1 means rejected | +| fusion_status | `uint8` | | [VTE_FUSION_STATUS](#VTE_FUSION_STATUS) | Fusion status code | +| time_since_meas_ms | `float32` | ms | | (now - timestamp_sample) | +| history_steps | `uint8` | | | Number of steps replayed in OOSM (0 if current or failed) | +| replayed_count | `uint8` | | | Stored observations replayed after this one (0 if none) | +| replay_test_ratio_max | `float32` | | | Highest test_ratio among those replayed observations (-1 if none) | ## Enums @@ -74,7 +76,7 @@ float32 observation_variance # [-] Variance of observation attempted to be fused float32 innovation # [-] Kalman Filter innovation (y = z - Hx) float32 innovation_variance # [-] Kalman Filter variance of the innovation -float32 test_ratio # [-] Normalized innovation squared (NIS) +float32 test_ratio # [-] NIS divided by the gate threshold, so above 1 means rejected uint8 fusion_status # [@enum VTE_FUSION_STATUS] Fusion status code uint8 STATUS_IDLE = 0 # No fusion attempted yet @@ -91,6 +93,8 @@ uint8 STATUS_INITIALIZED = 9 # Accepted as initial state; no prior innovation or # OOSM Diagnostics float32 time_since_meas_ms # [ms] (now - timestamp_sample) uint8 history_steps # [-] Number of steps replayed in OOSM (0 if current or failed) +uint8 replayed_count # [-] Stored observations replayed after this one (0 if none) +float32 replay_test_ratio_max # [-] Highest test_ratio among those replayed observations (-1 if none) # TOPICS vte_aid_ev_yaw ``` diff --git a/docs/en/msg_docs/VteAidSource3d.md b/docs/en/msg_docs/VteAidSource3d.md index d9e9aa17de9..bd093e0479f 100644 --- a/docs/en/msg_docs/VteAidSource3d.md +++ b/docs/en/msg_docs/VteAidSource3d.md @@ -13,19 +13,21 @@ Subscribed by: logger only. Inspect observation, innovation, test_ratio, and per ## Fields -| Name | Type | Unit [Frame] | Range/Enum | Description | -| --------------------------------------------------------- | ------------ | ------------ | --------------------------------------- | --------------------------------------------------------- | -| timestamp | `uint64` | us | | Time since system start | -| timestamp_sample | `uint64` | us | | Timestamp of the raw observation | -| time_last_predict | `uint64` | us | | Timestamp of last filter prediction | -| observation | `float32[3]` | [NED] | | Sensor observation attempted to be fused | -| observation_variance | `float32[3]` | [NED] | | Variance of the observation attempted to be fused | -| innovation | `float32[3]` | [NED] | | Kalman Filter innovation (y = z - Hx) | -| innovation_variance | `float32[3]` | [NED] | | Kalman Filter variance of the innovation | -| test_ratio | `float32[3]` | | | Normalized innovation squared (NIS) | -| fusion_status | `uint8[3]` | | [VTE_FUSION_STATUS](#VTE_FUSION_STATUS) | Fusion status code per axis | -| time_since_meas_ms | `float32` | ms | | (now - timestamp_sample) | -| history_steps | `uint8` | | | Number of steps replayed in OOSM (0 if current or failed) | +| Name | Type | Unit [Frame] | Range/Enum | Description | +| ----------------------------------------------------------- | ------------ | ------------ | --------------------------------------- | ------------------------------------------------------------------------- | +| timestamp | `uint64` | us | | Time since system start | +| timestamp_sample | `uint64` | us | | Timestamp of the raw observation | +| time_last_predict | `uint64` | us | | Timestamp of last filter prediction | +| observation | `float32[3]` | [NED] | | Sensor observation attempted to be fused | +| observation_variance | `float32[3]` | [NED] | | Variance of the observation attempted to be fused | +| innovation | `float32[3]` | [NED] | | Kalman Filter innovation (y = z - Hx) | +| innovation_variance | `float32[3]` | [NED] | | Kalman Filter variance of the innovation | +| test_ratio | `float32[3]` | | | NIS divided by the gate threshold, so above 1 means rejected | +| fusion_status | `uint8[3]` | | [VTE_FUSION_STATUS](#VTE_FUSION_STATUS) | Fusion status code per axis | +| time_since_meas_ms | `float32` | ms | | (now - timestamp_sample) | +| history_steps | `uint8` | | | Number of steps replayed in OOSM (0 if current or failed) | +| replayed_count | `uint8` | | | Stored observations replayed after this one, most on any axis (0 if none) | +| replay_test_ratio_max | `float32[3]` | | | Highest test_ratio among those replayed observations (-1 if none) | ## Enums @@ -74,7 +76,7 @@ float32[3] observation_variance # [-] [@frame NED] Variance of the observation a float32[3] innovation # [-] [@frame NED] Kalman Filter innovation (y = z - Hx) float32[3] innovation_variance # [-] [@frame NED] Kalman Filter variance of the innovation -float32[3] test_ratio # [-] Normalized innovation squared (NIS) +float32[3] test_ratio # [-] NIS divided by the gate threshold, so above 1 means rejected uint8[3] fusion_status # [@enum VTE_FUSION_STATUS] Fusion status code per axis uint8 STATUS_IDLE = 0 # No fusion attempted yet @@ -88,9 +90,11 @@ uint8 STATUS_REJECT_STALE = 7 # Rejected: history was reset due to staleness/dis uint8 STATUS_REJECT_EMPTY = 8 # Rejected: history buffer not yet populated uint8 STATUS_INITIALIZED = 9 # Accepted as initial state; no prior innovation or repeated fusion -# OOSM Diagnostics (Shared across axes) +# OOSM Diagnostics (scalars are shared across axes) float32 time_since_meas_ms # [ms] (now - timestamp_sample) uint8 history_steps # [-] Number of steps replayed in OOSM (0 if current or failed) +uint8 replayed_count # [-] Stored observations replayed after this one, most on any axis (0 if none) +float32[3] replay_test_ratio_max # [-] Highest test_ratio among those replayed observations (-1 if none) # TOPICS vte_aid_gps_pos_target vte_aid_gps_pos_mission vte_aid_gps_vel_target vte_aid_gps_vel_uav # TOPICS vte_aid_fiducial_marker