Advance driving scenario simulation in Simulink

1 view (last 30 days)
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

Answers (1)

Roshin Kadanna Pally
Roshin Kadanna Pally on 14 Jan 2019
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

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!