vcu icon indicating copy to clipboard operation
vcu copied to clipboard

feat: R2D Pump Lockout

Open Avdieienko opened this issue 1 year ago • 4 comments

Description

Check for pump load through PDM before getting into R2D. This is needed to make sure that pumps actually work before proceeding.

Requirements

  • [x] Start pumps before entering r2d
  • [x] Check if their voltage is high enough to classify as "working"
  • [x] Block entering r2d if not

Avdieienko avatar Sep 19 '24 13:09 Avdieienko

Read the CAN-S message PDM_Out_Voltage to determine the load on the pumps. Pump1 corresponds to pin 4, and Pump2 corresponds to pin 5.

Avdieienko avatar Nov 16 '24 12:11 Avdieienko

Note to self: Need to read PDM_Output_4_Voltage & PDM_Output_5_Voltage See pm100.c

r-kirkbride avatar Dec 10 '24 19:12 r-kirkbride

Voltage should be 12V to classify as working?

r-kirkbride avatar Feb 18 '25 19:02 r-kirkbride

@r-kirkbride let it be anything over 8V

Avdieienko avatar Feb 22 '25 15:02 Avdieienko