Versions Compared

Key

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

...

The car is powered on when the power button is pressed. Initially this is “aux power”, which means that car is powered by a supply separate to the main batteries. This means minimal functionality is available, and is good for testing initial startup. If the brake is pressed and the power button is pressed at the same time, the car will enter the main power state, powered by the main electrical system, and full functionality will be available.

TODO:

  •  Find out if we want a parked state (Ebrake/parking brake, if manual will it have a sensor?) Not needed
  •  How are we handling ack messages?
  •  We should write a module to handle monitoring (ie. wait for a repeated event with a timeout)
  •  Do CAN messages remain the same or are they cleared after each cycle? They will remain the same unless manually cleared

Inputs

Buttons

  • 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)

...