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

Longmpc #563

wants to merge 3 commits into
base: devel


None yet
1 participant
Copy link

rhinodavid commented Mar 11, 2019

No description provided.

David Walsh and others added some commits Mar 5, 2019

David Walsh
Update longitudinal mpc with follow distance param
Update generator.cpp to parameterize the follow time. Then, using the process outlined in
the ACADO docs (, rebuild the generator binary
and run it to regenerate the source files in lib_mpc_export, then manually copy them into
the openpilot repo.

Update longitudinal_mpc.c,, and to take in the additional
follow_time parameter.

Incorporate arne182's PR to update the Makefile
(#248). Note that I did not use the generate
recipie inside the repo; I created the files outside of the repo as stated above.
David Walsh
Add distance cost parameter to longitudinal mpc
The distance cost was hardcoded, allow with the time gap. But as we lower the
time gap we will need to increase the distance cost for reliable control

@rhinodavid rhinodavid closed this Mar 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.