Problem with a variant block in vehicle dynamics blockset

1 回表示 (過去 30 日間)
Simone Todaro
Simone Todaro 2021 年 4 月 9 日
回答済み: Mike Sasena 2021 年 4 月 27 日
I'm using the vehicle dynamics blockset for a thesis project and when I change the predictive lateral control (in the predictive driver model) with Stanley lateral control, I haven't the input values. I have the new input ports: RefPose, Curvature and CurrPose but I don't know how link these ports. Are the values in the model or should I provide them?

回答 (1 件)

Mike Sasena
Mike Sasena 2021 年 4 月 27 日
Hi Simone,
The values for those inputs have to be derived from the reference trajectory you want the car to follow. That is, you'll need to pre-process the path information, then send those signals as inputs to the block. You can see an example of that here.
cheers,
Mike

カテゴリ

Help Center および File ExchangeAutomated Driving Toolbox についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by