YuqiHuai / SORA-SVL

Local SVL Cloud
132 stars 33 forks source link

How to add a new map #27

Open hustwyk opened 1 year ago

hustwyk commented 1 year ago

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~

YuqiHuai commented 1 year ago

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.

umdreamer commented 1 year ago

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

yaoweixiao-ux commented 1 year ago

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

sixiaixixiya commented 1 year ago

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!

yaoweixiao-ux commented 1 year ago

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/

YuqiHuai commented 1 year ago

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.