“chasePlot” doesn't show ego vehicle
Ältere Kommentare anzeigen
why the following code did not show egovhicle? I try to set chasePlot propertites ViewLocation to larger than default,but it still can't show egovhicle? how can i fixt it?(run in R2022a)
scenario = drivingScenario("SampleTime",0.01,"StopTime",3);
roadNetwork(scenario,"OpenStreetMap","my_openstreetmap_export.xml");% openstreetmap xml file see attachment
egovhicle = vehicle(scenario,ClassID=1);
egopath = [-133,-388,0;-98,-266,0];
egospeed = 30;
smoothTrajectory(egovhicle,egopath,egospeed);
chasePlot(egovhicle)

3 Kommentare
Adam Danz
am 18 Jul. 2022
Could you provide the data so we can reporduce the problem?
xingxingcui
am 19 Jul. 2022
Adam Danz
am 19 Jul. 2022
Thanks!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simulink 3D Animation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

