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 MLB: Audi A4/S4 #27586

Draft
wants to merge 45 commits into
base: master
Choose a base branch
from
Draft

VW MLB: Audi A4/S4 #27586

wants to merge 45 commits into from

Conversation

jyoung8607
Copy link
Collaborator

@jyoung8607 jyoung8607 commented Mar 15, 2023

Checklist

  • added entry to CarInfo in selfdrive/car/*/values.py and ran selfdrive/car/docs.py to generate new docs
  • test route added to routes.py
  • route with openpilot:
  • route with stock system:
  • car harness used (if comma doesn't sell it, put N/A): VW J533

Additional Tasks

@jyoung8607
Copy link
Collaborator Author

General update: This port runs and drives quite well, it's being used by several people.

To qualify for dashcam-tier upstream support, opendbc CRC support needs to be finished and some abstractions need to be cleaned up in all three projects (opendbc, panda, openpilot). The CRC algorithm is substantially identical to MQB, but needs the usual per-message/counter data ID values calculated and added, with some MQB overlap and conflict to be resolved.

To quality for full upstream support, the remaining TODOs in this PR need to be resolved. Most notably there needs to be a mitigation for the six-minute lockout. I have agreement in principle with the openpilot team on how to do it.

The main holdup for this work is now lack of a supportable test car with supported hardware. For whatever reason, everyone that's shown up with a MLB with Adaptive Cruise has been using third-party or unsupported hardware. There are people driving with this code on C3/C3X, but none with Adaptive Cruise, so they need some mods that won't be eligible for upstream.

Anyone who has a supportable MLB with Adaptive Cruise Control, and is using a supported comma device, is welcome to contact me on Discord and I'll work with them to complete the port. This includes Porsche Macan, which should be supportable with a variant of this port.

Copy link
Contributor

github-actions bot commented Mar 3, 2024

Thanks for contributing to openpilot! In order for us to review your PR as quickly as possible, check the following:

  • Convert your PR to a draft unless it's ready to review
  • Read the contributing docs
  • Before marking as "ready for review", ensure:
    • the goal is clearly stated in the description
    • all the tests are passing
    • the change is something we merge
    • include a route or your device' dongle ID if relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

None yet

3 participants