Advance driving scenario simulation in Simulink

2 次查看(过去 30 天)
I need to test a motion planner algorithm, and the Automated Driving Systems Toolbox seems to provide a lot of facilities in this purpose.
Once defined a "Driving Scenario" in matlab, containing information about the road and other actors, i need to use Simulink to make the simulation, and so I need to make the driving scenario advancing as well as the simulation does.
To this purpose, a function in matlab is provided: advance(drivingscenario). But I actually cannot manage to use this is Simulink.
Can somebody give me some advice? Thank you in advance Cheers

回答(1 个)

Roshin Kadanna Pally
Hi,
The advance function or the driving scenario object cannot be used in Simulink. In a future release of the toolbox, you can use a Simulink block to read the pre-defined scenarios into Simulink. For R2018b or earlier, please refer to the following example on how you perform a closed-loop simulation:
The Vehicle and Environment system contains information about driving scenarios.
Thanks,
Roshin

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by