openpilot
openpilot copied to clipboard
pcmCruise GM: auto-resume
Okey dokey!
Installing. I'll test in the morning. Looks like I'll be pressing the resume button in different scenarios. Stopped, engaging, increase set speed, resume behind lead?
This is only set up to work on the new camera-ACC stock longitudinal GMs right now, it's to press the resume button for the user to resume.
Ack!
That explains all the CAMERA I was seeing!
I think the camera must manage the cruise state here (which makes sense why we need to send cancel to the camera), not the PT side, so we need to spam resume on the camera bus. Or modules on both sides could be listening to button presses, will need to verify
Will re-open when working
So there appears to be some redundancy here. If you block the physical buttons to the camera, neither of the two actions separately cause the car to resume: pressing the resume button physically or sending the resume button to the camera. You need both sides of the relay to see the buttons being pressed in order to go