How to do a Monte-Carlo simulation with vehicles following different trajectories?

3 views (last 30 days)
Hi,
this simulation should implement the following features:
1) Display a map section like in Google Maps
2) Local randomly generated vehicles that follow random roads in random direction
3) Vehicles randomly generate measured data
I'd like to know if my idea is a way to go or if there's an easier way:
1) - Use the Web Map Service by Mapping toolbox to get an image of the considered map section.
2) - Get XML-Map data from OpenStreetMap. Parse it with "OpenStreetMap fuctions" (User-Toolbox) to get Way-XML-data in the form of Nodes (Lat-Lon-Points). Create line-geostructs vector data with these nodes to have street data with lat-lon-information.
Is the mapping toolbox able to display those line-geostructs correctly although the map section is an image?
Next step will be to create vehicles represented my objects that move along those lines. Start is first node of the street. The next lat-lon-Position will be computed with vehicle speed and the destination.
Is that possible?
Thank you!

Answers (0)

Categories

Find more on Vehicle Scenarios 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!