MATLAB Answers

Advance driving scenario simulation in Simulink

8 views (last 30 days)
FP24
FP24 on 18 Oct 2018
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.

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

  0 Comments

Sign in to comment.

Sign in to answer this question.