-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
GM: Car Port for XT4 2023 #30420
GM: Car Port for XT4 2023 #30420
Conversation
This PR has had no activity for 30 days. It will be automatically closed in 7 days if there is no activity. |
018a9a1
to
5e6290c
Compare
Panda and Openpilot PR rebased 12/21. Have not tested yet, but will once requested. This Car Port requires a new harness to be made.
|
This PR would also support adding the 2019 Chevy Volt as a supported car. |
How does the harness work on this car? Does it require unplugging the ASCM like the currently supported Volts or is this a normal setup (i.e. does it completely fall back to the stock system if the C3X is unplugged)? |
@adeebshihadeh The ASCM does not get unplugged/bypassed and AEB is retained. This means longitudinal support is with the stock ACC system. The harness only intercepts the powertrain bus at the SDGM (serial data gateway module) under the dash above the obd port as the camera only has the object bus. |
This port is confirmed working on a 2022 Chinese Buick baby enclave (Envision-ish) too with fingerprint forced to XT4. |
Thanks for contributing to openpilot! In order for us to review your PR as quickly as possible, check the following:
|
99b8af1
to
82ada7b
Compare
4cc438d
to
7a42e47
Compare
So far only the XT4 has a steering cutoff of 30 mph. Every other SDGM car has been 6 mph |
I think I found a way to make the SDGM port almost identical to the CAM car port. Just need a harness wiring change that I will test this weekend. |
W/ New Harness Design
I have tested the new harness design and updated this PR. I currently have chassis hooked up to bus 1 in my car to gather data on brake messages, but will be switching to object soon. I recommend object be connected to bus 1 for future use (ie. possibility of corner radar points and front radar point to support a SDSU type hardware to get op longitudinal support). Not only does this new harness slim down the port even more, but it also removes the comma from the middle of the main PT bus. Harness can be seen here: https://github.com/garrettpall/GMSDGMConnector |
We've moved the car interfacing code to our 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. |
Car
Cadillac XT4 2023
Route
162796f1469f2f1b/00000005--6f334eda14
Checklist
selfdrive/car/docs.py
to generate new docs