“chasePlot” doesn't show ego vehicle
Show older comments
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 Comments
Adam Danz
on 18 Jul 2022
Could you provide the data so we can reporduce the problem?
xingxingcui
on 19 Jul 2022
Adam Danz
on 19 Jul 2022
Thanks!
Accepted Answer
More Answers (0)
Categories
Find more on Mapping and Localization Using Vision and Lidar Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
