Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VW PQ: Miscellaneous longitudinal bug fixes #27803

Merged
merged 2 commits into from
Apr 5, 2023

Conversation

jyoung8607
Copy link
Collaborator

@jyoung8607 jyoung8607 commented Apr 4, 2023

Description

Fix three separate issues with openpilot longitudinal control on VW PQ:

  1. Fix the instrument cluster getting "stuck" displaying the ACC screen with lead car indicator. With the fixes from VW PQ: Misc corrections in ACC_GRA_Anzeige opendbc#792 we can now correctly set the lower display priority.

  2. Fix the engine auto start-stop inhibit signal. It was inverted.

  3. Set the accel request valid field when enabled. Not sure how we got away without this in the past, for example on the 2018 NMS Passat I tested last year, but some older ECUs are ignoring accel requests without it.

Verification

The fixes have all been road-tested on an older NMS (USA) Passat and a European VW Sharan.

Route

Route: e12eb71c201af95a|2023-04-05--07-26-02

Additional Info

The combination of ACA_PrioDisp and ACA_AnzDisplay are supposed to be used to temporarily pop the ACC page to the foreground and increase brightness when activity happens: engagement, follow distance adjustment, or a lead car comes into range. Eventually we should emulate that stock behavior. However, openpilot doesn't allow adjustment of the follow distance, and its lead car data is so low-value right now (presence only, no distance, noisy/not debounced) that it's not yet worth implementing. The driver can still switch to the ACC data screen manually if they want to see it.

@jyoung8607 jyoung8607 changed the title Pq misc long fixes VW PQ: Miscellaneous longitudinal bug fixes Apr 4, 2023
@jyoung8607
Copy link
Collaborator Author

Testing was successful, ready for review.

@jyoung8607 jyoung8607 marked this pull request as ready for review April 5, 2023 16:25
@adeebshihadeh adeebshihadeh merged commit f7d6b90 into commaai:master Apr 5, 2023
@jyoung8607 jyoung8607 deleted the pq-misc-long-fixes branch April 5, 2023 16:27
pfeiferj pushed a commit to pfeiferj/pfeifer-pilot-patches that referenced this pull request Apr 11, 2023
* VW PQ: Miscellaneous longitudinal fixes

* touch up TODO comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants