-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The map cannot be loaded using the Python API #33
Comments
Hi, thanks for posting an issue. Did you follow the README instructions to download the assets and place them in the appropriate folders? This looks like the server isn't able to let the client download the asset. |
Hey, I've fixed the above problem (The reason is that the map is not downloaded to the maps folder.). |
Hi, I haven’t used WideFlatMap before. Is there any error messages? |
It works fine for other maps but for the specific map you mentioned the client is stuck at “APIReady”, is this correct? |
Yes. Can you load the "WideFlatMap" map using the python api? |
Sorry for the late response. I’m gonna work on trying to resolve this issue today. |
Thank you for your reply. Recently I discovered something new: by modifying the SORA-SVL-master\mongo\setup\vehicles. json file, you can change the sensors configuration parameters of the vehicles. This is exciting news. |
@shicuiduo After some investigation, the problem was caused by Google Drive adding ".zip" at the end of each asset file for maps. You can run following Python code import os
import shutil
for x in os.listdir('.'):
if x.endswith('.zip'):
shutil.move(
os.path.join('.', x),
os.path.join('.', x[:-4])
) at the maps dir and remove all the ".zip". You could have loaded some other maps because those were cached, not downloaded from the local cloud. The server was basically looking for a file named "assetGuid" but under the maps directory you had "assetGuid.zip" |
Hello, after I set up all the configuration the way you did, running the Python API script failed to load the map. The percentage of maps loaded is always 0%. Do you know what caused it? Looking forward to your reply. Thank you very much.
The text was updated successfully, but these errors were encountered: