Skip to content

Add new signals from sc-data-format format.json to classic dashboard#10

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/update-signals-in-frontend
Draft

Add new signals from sc-data-format format.json to classic dashboard#10
Copilot wants to merge 2 commits intomainfrom
copilot/update-signals-in-frontend

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 9, 2026

The classic dashboard's data constants, graph data, and UI components were out of sync with the updated sc-data-format/format.json, missing 42 new signals across Powertrain, Race Strategy, Steering Wheel, and High Voltage categories, and still referencing several renamed/removed signals.

Data layer

  • data-constants.json: Added 42 new signals (196 total) — Powertrain sensors (batt_i, i_12v, supp_i, supp_v, v_12v), MCU status flags (BATT_POS_CONT_MCU, ESTOP_MCU, MC_CONT_MCU, MCU_BATT_EN, MPPT_CONT_MCU, PPC1_DCDC_INVALID, PPC1_SUPP_INVALID), HV signals (bms_chrg_en, driver_estop_fdbck, ext_estop_fdbck, isolation_fdbck, dcdc_is, etc.), Race Strategy (maximum_distance_traveled, optimized_target_power), Lap Counter (lap_count, current_section, lap_duration), Steering Wheel (headlight, left_blink, right_blink, throttle, drive_mode, horn, direction_switch, crz_mode_a, crz_set, crz_reset)
  • graph-data.json: Added three new top-level categories: Powertrain, Race Strategy, Steering Wheel
  • faux-queue.json: Added all 42 new signals

Renamed/removed signal fixes in existing components

Component Old signal New signal
Motor_Motion.js l_turn_led_en, r_turn_led_en, headlights_led_en left_blink, right_blink, headlight
SystemPower.js supplemental_voltage supp_v
SystemPower.js main_24V_current (removed — no longer in format.json)
FaultsView.js driver_eStop, external_eStop driver_estop_fdbck, ext_estop_fdbck
FaultsView.js discharge_enable bms_dschrg_en

New dashboard panels

Three new lazy-loaded view components added to the 4-panel dashboard selector:

  • Powertrain — battery/12V/supplemental power readings + MCU status grid
  • RaceStrategy — model outputs (maximum_distance_traveled, optimized_target_power) + lap counter
  • SteeringWheel — throttle/regen bars, drive mode, direction, cruise control buttons, lights/horn icons (reuses Motor_Motion icon set)

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: sbasu107 <40325803+sbasu107@users.noreply.github.com>
Copilot AI changed the title [WIP] Add new signals from format.json to classic web version Add new signals from sc-data-format format.json to classic dashboard Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants