How to move map when use driving scenario designer?
2 ビュー (過去 30 日間)
古いコメントを表示
OSM brought the surrounding road information to conduct the road driving simulation with the roads around Las Vegas in the US, but the files are so big that if I import them all, the rack will be severely jammed.
When importing to solve this problem, I want to select and import only the roads I want, so how can I move the map on the screen below?
0 件のコメント
回答 (1 件)
Jacob Mathew
2024 年 5 月 7 日
After going through your post, I was able to replicate the same issue with a different “Open Street Map” File. However, there does not seem to be any way to move the map around in the import window. The import tool centres the map based on the Geographic Reference and by default opens the map with all selectable roads visible.
In the above picture, the Geographic Reference is visible, along with the grey borders of available roads for an example OSM. Using the zoom and select option in the top right, the required roads can be selected.
A workaround to moving the map around to have fine grained selection is to import the rough areas of the road required. Then, once they are imported into the Scenario Canvas, there is the ability to freely zoom and pan. Here, one can drop the unnecessary roads and fine tune the selection.
The above Scenario is imported from the Open Street Map Example which can be opened using the following command:
openExample('driving/ImportOpenStreetMapDataIntoDrivingScenarioExample')
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!