No battery voltage is logged; Replay uses the lowest device voltage as a proxy

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
data

Direzione di ricerca

Start by tracing the Replay battery track and brownout/sag marker logic described in the issue, then check how robot-side telemetry is added to the wpilog or hoot. The requested inputs are PDH/PDP voltage and total current, or RobotController battery/input voltage. Done means Replay uses logged battery voltage for its battery track and power markers, while the minimum device voltage remains a separate track.

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

Descrizione

robot-side

Found during the P4 spike (openspec change p4-views-and-reports).

Problem: no battery (roboRIO input / PDH) voltage is logged anywhere in the corpus. Replay's "battery" track and the brownout/sag markers use a proxy: the lowest device SupplyVoltage across all CTRE devices per bucket.

Why it matters: in Q7 the proxy fires 6 brownout FAULTs (6.33–6.70 V) that coincide with intake roller/extension stalls at ~80 A. That looks like wiring drop at the stalled motor's controller, not the battery. Markers now name the device, but the rule can't tell the two apart.

Ask (robot side): log the PDH/PDP voltage and total current (or RobotController.getBatteryVoltage() / getInputVoltage()) to the wpilog, or add the PDH to the hoot. Then switch the Replay battery track and power markers to it and keep the device minimum as a separate "lowest device voltage" track.

Lingua principale
Python
Stelle
0
Fork
1
Merge medio
18h 37m
PR unite (30g)
15

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 IgniteRobotics/flashpoint

Tutte le issue di IgniteRobotics/flashpoint

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.