Classical Adaptive Cruise Control gain calculations
3 views (last 30 days)
Show older comments
I am trying to form a classical adaptive cruise control and I wanted to ask if somebody can explain how to find the exact values of the gains "Verr_gain", " xerr_gain" and " vx_gain" shown in the classical adaptive control in this link "https://www.mathworks.com/help/mpc/ug/adaptive-cruise-control-with-sensor-fusion.html#d117e37235" . I would highly appreciate the help.
0 Comments
Answers (1)
Raunak Gupta
on 3 Dec 2019
Hi,
I am assuming you have loaded all the models mentioned in the full example before loading the specific model as ACCTestBenchExample contains all the models. While loading ACCTestBenchExample you may see that in the MATLAB Workspace all the variables are loaded So, you can find out the value of mentioned variables there in the workspace. Closing this example will clear the workspace so you may want to let it open while retrieving the values.
Also, if you want to edit the variables you may edit the setup script that can be accessed by clicking on the same name gui button in ACCTestBenchExample.
3 Comments
Raunak Gupta
on 3 Dec 2019
Hi,
As per my understanding these values are hyperparameters to be set in the setup script based on the properties of ego vehicle. These value may only be derivable by the physical equations.
See Also
Categories
Find more on Simulink Environment Customization in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!