-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Add cost to long plan change for smoother lag comp #22923
Conversation
Jonathan suggested constraining the plan up to the lag compensation amount with what we computed previous iteration. Have you experimented with that already? |
That's what this PR does? |
This does a cost for the whole horizon right? I meant a very high cost only up to |
I'm trying up to 1second now. Don't really like the idea of it being car dependent. Then all the tests and cost tuning is car dependent. |
965dec8
to
475d17e
Compare
Just tested a few times since there's not a lot of traffic, but coming to a stop seems to be much smoother. Used to over brake and then slowly creep up. Could be placebo but seems better so far. Excited to try it in traffic |
@sshane Especially for large lags it should make a big difference :) |
* add plan changing cost * fix compile * set weights * try this cost * horizon problem * looks pretty good * update refs * update refs * smoother plan changes
This is a combination of 16 commits. Add cost to long plan change for smoother lag comp (commaai#22923) * add plan changing cost * fix compile * set weights * try this cost * horizon problem * looks pretty good * update refs * update refs * smoother plan changes try new tune simple and ok general cleanup unused add lag small touches integrators are bad only rav4 has sensitive gas gravity compensation this seems to not work whitespace tss2 as well cant trust toyota api HIGHLANDER is like RAV4 v_pid being from the future makes little sense
This is a combination of 16 commits. Add cost to long plan change for smoother lag comp (commaai#22923) * add plan changing cost * fix compile * set weights * try this cost * horizon problem * looks pretty good * update refs * update refs * smoother plan changes try new tune simple and ok general cleanup unused add lag small touches integrators are bad only rav4 has sensitive gas gravity compensation this seems to not work whitespace tss2 as well cant trust toyota api HIGHLANDER is like RAV4 v_pid being from the future makes little sense
This is a combination of 16 commits. Add cost to long plan change for smoother lag comp (commaai#22923) * add plan changing cost * fix compile * set weights * try this cost * horizon problem * looks pretty good * update refs * update refs * smoother plan changes try new tune simple and ok general cleanup unused add lag small touches integrators are bad only rav4 has sensitive gas gravity compensation this seems to not work whitespace tss2 as well cant trust toyota api HIGHLANDER is like RAV4 v_pid being from the future makes little sense
No description provided.