SORA-SVL icon indicating copy to clipboard operation
SORA-SVL copied to clipboard

How to add a new map

Open hustwyk opened this issue 2 years ago • 6 comments

Hi there, I have setup the lastest version SORA-SVL and all seem successful. However, I have trouble to import my own map asset bundle into the WISE. I guess I should modify the mongo database or geojson.json, but I have no idea how to fill the meta info data of my own map. Could you please give some tutorials on how to import new map? Thanks a lot~

hustwyk avatar Jan 18 '23 06:01 hustwyk

Hi, the purpose of this cloud is to allow clients to download the appropriate asset from the server. Therefore to add a map, the simplest (hacky) way is to duplicate a MongoDB object for an existing map, give it a new ID (calling it mapId for now, check the actual object attributes), and modify the assetGuid to match your asset's actual asset guid.

Then in the client, you can request for mapId and the server will allow the client to download the asset since the server is able to identify an asset guid associated with the mapId.

YuqiHuai avatar Jan 27 '23 08:01 YuqiHuai

I have pulled a PR for adding new maps. You can have a try.

umdreamer avatar Feb 01 '23 10:02 umdreamer

Hello! how can I pull map from my local lgsvl service to my local simulator

yaoweixiao-ux avatar Feb 08 '23 06:02 yaoweixiao-ux

Dose anyone know that how to make own LGSVL maps? I have no ideas to make LGSVL maps which Apollo can use. What software is used to draw a static road network? Then how do you compile and package the homemade map in Unity? Looking forward to your help very much!

sixiaixixiya avatar Feb 08 '23 10:02 sixiaixixiya

Hi @sixiaixixiya I used use one Hdmap tool named roadrunner, which belong to Mathwork https://www.mathworks.com/products/roadrunner.html, but roadrunner is not for free, If you don't want to pay for money you can try autoware free world editor tool https://tools.tier4.jp/

yaoweixiao-ux avatar Feb 09 '23 02:02 yaoweixiao-ux

Hello! how can I pull map from my local lgsvl service to my local simulator

Hi @yaoweixiao-ux What do you mean here? The simulator will communicate with this local cloud to download any asset.

YuqiHuai avatar Feb 14 '23 23:02 YuqiHuai