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

Closed
wants to merge 45 commits into from
Closed

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

@sshane
Copy link
Contributor

sshane commented Aug 20, 2024

We've moved the car interfacing code to our opendbc repository, which is now the new home for car ports and fingerprints. Please re-open your pull request against opendbc at your convenience by using this command below. This will transform all changes under selfdrive/car/ to opendbc_repo/opendbc/car/. Make sure you have initialized submodules beforehand and have checked out the latest opendbc commit.

PR_NUMBER=33045
curl -L https://github.com/commaai/openpilot/pull/$PR_NUMBER.patch | sed -e 's/selfdrive\/car/opendbc_repo\/opendbc\/car/g' | git apply -v --reject

Simply replace the PR number with your own. Once done, add the files, fix any conflicts, and open a new PR. Alternatively, you may start a new PR from scratch if that is easier for you.

@sshane sshane closed this Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants