Versions Compared

Key

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

...

MCI receives the “regen braking” CAN messages (i.e. SYSTEM_CAN_MESSAGE_REGEN_BRAKING) from centre console and updates an internal regen braking state. When regen braking is disabled, in mci_output.c, set the current to zero when the target velocity is less than the actual velocity of the motor. Default to regen braking enabled.

Driver display

Driver display also receives the “regen braking” CAN messages (i.e. SYSTEM_CAN_MESSAGE_REGEN_BRAKING) and uses them to update the UI. The default should be regen braking enabled when we’re in on main power (i.e. ready-to-drive).