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

Offen
#6 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
42/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
data

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
0
Forks
1
Ø Merge
18 Std. 37 Min.
Gemergte PRs (30 T.)
15

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus IgniteRobotics/flashpoint

Alle Issues in IgniteRobotics/flashpoint

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.