Advance driving scenario simulation in Simulink
Show older comments
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
on 14 Jan 2019
0 votes
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:
https://www.mathworks.com/help/driving/examples/autonomous-emergency-braking-with-sensor-fusion.html
The Vehicle and Environment system contains information about driving scenarios.
Thanks,
Roshin
Categories
Find more on Scenario Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!