“chasePlot” doesn't show ego vehicle
Mostrar comentarios más antiguos
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 comentarios
Adam Danz
el 18 de Jul. de 2022
Could you provide the data so we can reporduce the problem?
xingxingcui
el 19 de Jul. de 2022
Adam Danz
el 19 de Jul. de 2022
Thanks!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Simulink 3D Animation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

