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

Đang mở
#6 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
data

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
0
Fork
1
Merge trung bình
18 giờ 37 phút
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của IgniteRobotics/flashpoint

Tất cả issue của IgniteRobotics/flashpoint

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.