drivingScenarioDesigner can't dynamic show 3D UnrealEngine ego vhicle scence?

2 views (last 30 days)
when i contruct driving scenario programmatically, and then import into the drivingScenarioDesigner ,chasePlot 3d dynamic simulation is OK , but "3D display" only show inital 3D UnrealEngine ego vhicle scence,can't dynamic show? i restart the simulation multi-times,but faild. how can i fix it, your reply would be greatly appreciated.(run in R2022a,windows)
my driving scenario is follows:
scenario = drivingScenario;
road(scenario,[0 -25; 0 25],'lanes',lanespec([1 1]));
road(scenario,[-25 0; 25 0],'lanes',lanespec([1 1]));
turningCar = vehicle(scenario,'ClassID',1);
waypoints = [-20 -2; -5 -2; 2 5; 2 20; 2 5; 5 2; -20 2];
speed = [6 5 5 0 -2 0 5];
yaw = [0 0 90 90 -90 0 -180];
smoothTrajectory(turningCar,waypoints,speed,'Yaw',yaw)

Answers (0)

Community Treasure Hunt

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

Start Hunting!