Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleCAN Signals

TX:

  • cc_power_control:

    • power_event (POWER_EV_NONE | POWER_EV_BTN | POWER_EV_BTN_AND_BRAKE) → PD

    • hazard_enabled

  • drive_output → MCI

    • drive_state

    • Cruise control enabled

    • regen brake enabled

    • target speed (u32)

RX: (with checks to determine if a board has gone offline)

  • power_info (PD)

    • power_state

    • pd_fault

  • motor_info (MCI)

    • current_speed

    • motor_fault

    • pedal_fault (if pedal loses comms)

  • battery_info: (BMS)

    • battery_percentage

    • bms_fault

  • steering:

    • cc_input

    • lights_input

  • pedal_status

    • brake_value

  • solar

    • solar_fault

cc_cruise_info → MCI

Centre Console Functionality

...