Scenario reader with P2HEV model.

11 ビュー (過去 30 日間)
Tamim Boubou
Tamim Boubou 2021 年 5 月 21 日
編集済み: Ioana Diana 2025 年 5 月 6 日
I am using the P2HEV reference model to design an adaptive cruise controller, and I integrated automated driving toolbox to test this feature, desgined diffferent scenarios, added sensors to the vehicle model, and I am able to read the scenarios using the scenario reader, get the measurments from the sensors, and all is working fine for this stage.
For the next step, I want to do Hardware-in-Loop. However, the scenario reader and the relevent blocks don't support code generation. I have tried replacing the blocks with the relevet code, but the problem still remains.
Any suggention or idea how to get over this problem? Basically, I want to get the three marked inputs for my controller in real-time based on what the snesors are reading from the designed scneario.

回答 (1 件)

Ioana Diana
Ioana Diana 2025 年 5 月 6 日
編集済み: Ioana Diana 2025 年 5 月 6 日
Any suggestion?

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by