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

GM: Car Port for 2019-20 GMC Yukon #1223

Merged
merged 11 commits into from
Dec 12, 2024

Conversation

garrettpall
Copy link
Contributor

@garrettpall garrettpall commented Sep 5, 2024

Car
GMC Yukon 2019-20 (Short and Long Wheel Base)

Route
36c62b5da6f08154/00000052--983c17c5b2

Checklist

  • added entry to CarInfo in opendbc/car/*/values.py and ran selfdrive/car/docs.py to generate new docs
  • test route added to routes.py
  • route with openpilot: N/A
  • route with stock system: 36c62b5da6f08154/00000052--983c17c5b2
  • car harness used (if comma doesn't sell it, put N/A): GM / Camera

Note: Supersedes commaai/openpilot#32107

@github-actions github-actions bot added car related to opendbc/car/ gm fingerprint labels Sep 5, 2024
@garrettpall
Copy link
Contributor Author

This should work for Suburbans (looking at older OPGM code), and possibly Tahoes. Data also says should support 2016-2020 too, but looks to be un-tested.

Copy link
Contributor

This PR has had no activity for 9 days. It will be automatically closed in 2 days if there is no activity.

@github-actions github-actions bot added the stale label Nov 16, 2024
@garrettpall garrettpall force-pushed the 2019-yukon-port branch 2 times, most recently from a66b090 to f4fd92e Compare November 17, 2024 21:57
@garrettpall garrettpall deleted the 2019-yukon-port branch November 17, 2024 22:02
@garrettpall garrettpall restored the 2019-yukon-port branch November 17, 2024 22:02
@garrettpall
Copy link
Contributor Author

Oops, accidentally closed. Should have a route within a day or two

@garrettpall garrettpall marked this pull request as ready for review November 30, 2024 22:00
@github-actions github-actions bot removed the stale label Dec 1, 2024
@adeebshihadeh adeebshihadeh marked this pull request as draft December 11, 2024 22:32
@jyoung8607
Copy link
Collaborator

I'm reasonably happy with the state of the code, except I wish I knew a better label than ALT_ACCS, I don't know enough about the underlying GM architecture to name it something better.

The logs tell me the drive quality isn't very good, and our starting parameters aren't well matched to the car. We're not conforming very well to the desired lateral accelerations, the torque factor learner thinks our configured factor is way off, the params learner thinks your steering ratio is around 25 as opposed to the configured 17, etc.

Would you be able to help get some more test routes, and try some adjusted parameters? It might be good to consult with others experienced in the unique GM control issues to see if its behavior matches other cars we can emulate.

If you're not in a position to iterate on the tune right away, we can just tag it as dashcam and merge anyway. I don't think this drives well enough (yet) to advertise as fully supported, but we can definitely get the upstream merge done, and we can just remove the flag whenever the tune is sorted.

@jyoung8607 jyoung8607 marked this pull request as ready for review December 12, 2024 06:06
@jyoung8607 jyoung8607 marked this pull request as draft December 12, 2024 06:06
@jyoung8607 jyoung8607 marked this pull request as ready for review December 12, 2024 06:11
@jyoung8607 jyoung8607 merged commit cf6ef7e into commaai:master Dec 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
car related to opendbc/car/ gm
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants