-
-
Notifications
You must be signed in to change notification settings - Fork 156
Add missing GPS Rescue Throttle PID debug fields #859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughUpdates GPS_RESCUE_THROTTLE_PID debug-field labels and conversion/decoding handling in src/flightlog_fields_presenter.js to expose all eight signals (debug[0..7]) across firmware version branches (notably >=4.5.0). Changes
Sequence Diagram(s)sequenceDiagram
participant Parser as Blackbox Parser
participant Presenter as FlightLogFieldPresenter
participant Decoder as decodeDebugFieldToFriendly / ConvertDebugFieldValue
participant UI as Signal Name Renderer
Parser->>Presenter: provide debug group id + firmware version
Presenter->>Decoder: lookup DEBUG_FRIENDLY_FIELD_NAMES for GPS_RESCUE_THROTTLE_PID
Decoder-->>Presenter: return per-index label & unit conversions (now supports debug[0..7])
Presenter->>UI: supply friendly labels & converted values for plotting/rendering
Note right of UI: All 8 signals labeled and converted
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/flightlog_fields_presenter.js
(1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: ctzsnooze
PR: betaflight/blackbox-log-viewer#851
File: src/flightlog_fields_presenter.js:0-0
Timestamp: 2025-08-14T02:50:17.745Z
Learning: In the Betaflight blackbox log viewer, PT1K debug fields should use 0.xxx format with /1000 scaling for proper chart display, as confirmed by ctzsnooze for the FEEDFORWARD and FEEDFORWARD_LIMIT debug modes.
|
Preview URL: https://pr859.betaflight-blackbox.pages.dev |
Summary by CodeRabbit