Files
dragonpilot/selfdrive
andrewcopenpilot 4b12aca941 GM: Resume Required Alert should be triggered off of ECM state (#1045)
* Resume Required Alert should be triggered off of ECM state

On GM cars the ECM goes into cruise state 4 (standstill) and in order
for the ECM to accept cruise inputs, the resume button must be pressed
to drive it to state 1 (active).

Previously rather than testing for if the ECM was in state 4, the wheel
speed sensors were checked that the vehicle was going less than 0.5 m/s.

In some cases this could cause the resume required alert to be displayed
before the car actually came to a stop as far as the ECM was concerned.
If the alert is triggered before state 4 and OP demands acceleration,
its possible for OP to acelerate while the Resume Required Alert is
displayed created a very confusing UX.

* After more review, the problem was actually with the 'if at_full_stop' check was inside an else statement preventing entering the stopped mode if braking is 0
2020-02-08 13:32:01 -08:00
..
2020-01-17 10:47:43 -08:00
2020-02-07 13:30:45 -08:00
2020-01-17 10:57:08 -08:00
2020-02-02 22:19:26 -08:00
2020-02-03 11:24:25 -08:00
2020-02-07 16:53:50 -08:00
2020-02-06 10:56:01 -08:00
2020-01-17 11:17:58 -08:00
2020-02-06 14:26:48 -08:00
2020-02-02 22:19:26 -08:00
2020-01-17 11:03:42 -08:00
2020-01-17 11:03:42 -08:00
2020-01-17 11:03:42 -08:00
2020-01-17 11:03:42 -08:00
2020-01-17 11:03:42 -08:00
2020-01-19 09:40:37 -08:00
2020-01-17 11:03:42 -08:00
2020-02-03 11:29:05 -08:00
2020-01-17 11:03:42 -08:00
2020-01-17 11:03:42 -08:00
2020-02-03 15:12:59 -08:00