Versions Compared

Key

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

...

  • Power Button

    • Used to control power state, along with pedal

  • P, R, N, D → drive state control buttons

  • Hazard button → Latching, sends message to power distribution to strobe turn lights

  • E-stop (TBD)DRL Lights

Buttons will be handled as gpio interrupts, received as notifications to the relevant fsm tasks. Maybe can block on notifications taking place? (TBD)

...

  • CENTRE_CONSOLE_LED_BPS

  • CENTRE_CONSOLE_LED_POWER

  • CENTRE_CONSOLE_LED_DRIVE

  • CENTRE_CONSOLE_LED_REVERSE

  • CENTRE_CONSOLE_LED_NEUTRAL

  • CENTRE_CONSOLE_LED_PARKING

  • CENTRE_CONSOLE_LED_HAZARDS

  • CENTRE_CONSOLE_LED_SPARE,

...

7-Segment displays (x3)

  • Used for Cruise Control, speed, and battery percentage

Power FSM

The power FSM governs the power state of the car. There are 4 States:

...