Importing a road map into the MATLAB for simulation.

21 vues (au cours des 30 derniers jours)
Ishan Madushanka
Ishan Madushanka le 22 Juil 2023
I want to import a actual road map of Sri Lanka into MATLAB to simulate a vehicle movement with traffic. Could you please explain how to accomplish this to meet my requirements?

Réponses (1)

Garv Agarwal
Garv Agarwal le 23 Juil 2023
Hi Ishan,
From my understanding, you want to import a road map of Sri Lanka into MATLAB.
There are multiple ways to import maps in MATLAB -
  • The HERE HD Live Map Importer in MATLAB which allows you to access highly accurate, continuously updated map data which can then be used to generate roads for simulations.
  • The OpenStreetMap which enables you to access crowdsourced map data. Using the Driving Scenario Designer app, you can import map data from OpenStreetMap and use it to generate roads for your driving scenarios.
  • MATLAB also supports other map sources like ASAM OpenDRIVE, Zenrin Japan Map API 3.0, etc.
You can use the roadNetwork function to get the road networks from these maps or use their interactive dialogue boxes for the same.
You can read more about it from the following documentation -

Catégories

En savoir plus sur Mapping Toolbox dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by