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

Abierto
#6 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
data

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
0
Forks
1
Merge medio
18 h 37 min
PR fusionados (30 d)
15

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de IgniteRobotics/flashpoint

Todos los issues de IgniteRobotics/flashpoint

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.