MATLAB Answers

FP24
0

Advance driving scenario simulation in Simulink

Asked by FP24
on 18 Oct 2018
Latest activity Answered by Roshin Kadanna Pally on 14 Jan 2019
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

  0 Comments

Sign in to comment.

1 Answer

Answer by 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

  0 Comments

Sign in to comment.