Getting trajectory for each time sample using drivingScenario from Automated Driving Toolbox

2 Ansichten (letzte 30 Tage)
I have created a very simple highway scenary using the drivingScenario from Automated Driving Toolbox, however, I am not sure of how to retrieve the trajectories of the vehicles in the scenario at each sampling time. Any help or suggestion will be highly appreciated. Thank you in advance.
P.S. I have attached the code I have written for the simulation.

Akzeptierte Antwort

J AI
J AI am 22 Feb. 2021
I actually found the answer - it was just under my nose. After the scenario has been completed, I simply had to run the following:
poseRecord = record(scenario)
Thanks for trying to help though!

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by