Classical Adaptive Cruise Control gain calculations
3 views (last 30 days)
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.
Raunak Gupta on 3 Dec 2019
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.