Closed abustaoglu closed 1 year ago
Hi @abustaoglu thanks for posting the issue. I am most familiar with running SVL with Baidu Apollo, therefore I might not be able to give you the most accurate information. I am also currently away therefore I might not be able to respond as soon as I could.
To add a map, you need to modify mongo/setup/maps.json
: add an entry that includes cid
, id
, and data.assetGuid
. The server uses cid
/id
(they are the same) to identify the asset mapped to this file, and sends the asset to SVL client.
Creation between localhost and ROS should be handled by the bridge you mentioned, and I believe it is a plugin that I have downloaded and saved. As long as you have a vehicle configured to use that bridge it should all just work out.
Hi @YuqiHuai. Thanks for advices.. With manually adding entrys to [maps.json, hd_maps.json, global.json], i have successfully added my map to local cloud but i dont see my map here [(http://localhost/maps)]. I can call the map using python api, but I cannot view it on the server. what would be the reason?
@abustaoglu
the maps webpage looks at the global collection to display all maps, and the download endpoint looks at the maps collection to provide the download url. To make it show up on the maps webpage, you also need to insert the object to global collection.
you mean geojson.json file?
you should be able to see this collection named global in the database.
i have modified global.json file but webpage appearance doesn't change. maybe i need to find a way to use map_generator.py script.
After modification you may need to rebuild the mongo container.
@abustaoglu Sounds good! and by the looks, SVL hasn't sunsetted their documentation, just the cloud https://www.svlsimulator.com/docs/
Hello @YuqiHuai Where is the simulator's exe. I could not found that in the project?
Hello @YuqiHuai Where is the simulator's exe. I could not found that in the project?
@rensixu simulator.exe
is not part of this project. It is just where you installed the SVL simulator, did you mean to post this comment in #41?
@rensixu
simulator.exe
is not part of this project. It is just where you installed the SVL simulator, did you mean to post this comment in #41? Hi @YuqiHuai Thankyou very much for your reply. I reference that ticket, and try to change the config.yaml file in my SVL installed folder. It try to link "http://localhost/", but then have error like this. This is my output when I run "docker compose up --build -d", it seems ok ,right? Should this cmd be executed every time when use the lgsvl simlutor?
@rensixu
config.yml
docker compose
looks good. You just have to start the server then it serves as the original WISE cloud, so you do not need to rerun this everytime you run the simulator. You only run the dock compose
command if the containers have exited.@YuqiHuai pls reference
@rensixu
These all look correct. Are you able to see all the contents from http://localhost
?
@YuqiHuai yes, like this, but only the contents
@rensixu this indeed looks like a new problem. Can you open a new issue so I can properly track and try to resolve the issue?
see #43
@abustaoglu, Hello, Can you re-share the first connection (the connection is invalid, i.e., https://race.ossdc.org/docs/system-under-test/ros2-bridge/)? I also want to use ros to connect to LGSVL to get states from LG and control corresponding vehicle in LG.
Hello @YuqiHuai, i have connected local host and ros2 lgsvl bridge. here is the steps:
Hello @ABCRepository, you can the related link here
Hi, i was working with the custom private map and ros2 autopilot on lgsvl online mode, not autoware or apollo. I have two question about this.