Implement Localization Accuracy and Real-Time Metrics

Aperta
#759 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

The issue names no files, tests or entry points, so start by finding the existing localization pipeline and its task scheduling code in the repository. Decide the measurement boundaries and clock mappings before adding any instrumentation, since the issue requires each metric to have a documented definition, unit and clock domain. Done means synthetic traces with known delays and deadline misses produce the expected metric values, and the summaries can be reproduced from machine-readable output. This is design-heavy work, so discuss the approach with maintainers before writing code.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Implement consistent instrumentation and reporting for localization accuracy, scheduling delay, deadline misses, end-to-end latency, and input data age in the integrated Awkernel localization pipeline. Provide reusable metrics for concurrent replay evaluation and subsequent robustness experiments.

Scope:

  • Define measurement boundaries and clock mappings for all metrics
  • Measure position and orientation errors against timestamp-aligned ground truth where available
  • Measure scheduling delay from task readiness to execution start, distinguishing it from input-release delay and dependency waiting
  • Detect deadline misses using explicitly defined release times, deadlines, and completion events
  • Measure per-scan latency from pipeline input availability to the associated NDT result
  • Track when NDT and gyro odometry measurements are incorporated into EKF outputs
  • Measure the age of each consumed input from its measurement timestamp to consumption time
  • Export per-event records and aggregated summaries

Acceptance criteria:

  • Each metric has a documented definition, unit, clock domain, and applicable task or output.
  • Trace identifiers associate scans, task executions, measurements, and outputs without relying solely on timestamp proximity.
  • EKF output latency and freshness are reported separately for relevant input streams rather than attributed to an arbitrary latest scan.
  • Deadline reports include miss counts, evaluated-job counts, miss ratios, and tardiness; dropped or unfinished jobs are reported separately.
  • Timing summaries include median, tail percentiles, and maximum observed values with sample counts.
  • Accuracy reports distinguish ground-truth errors from differences against a reference implementation.
  • Synthetic traces with known delays and deadline violations validate the metric calculations.
  • Instrumentation overhead is measured and reported.
  • Machine-readable results and analysis commands are sufficient to reproduce the summaries.

Out of scope:

Replay workload generation, changes to localization algorithms or scheduling policies, and formal worst-case timing guarantees.

Lingua principale
Rust
Stelle
282
Fork
12
Merge medio
2g 9h
PR unite (30g)
28

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tier4/awkernel

Tutte le issue di tier4/awkernel

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.