-
Notifications
You must be signed in to change notification settings - Fork 780
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
OSSDC SVL based simulator which doesn't require SVL cloud (wise.svlsimulator.com) #1994
Comments
Hi, I would like to know how to use this simulator you proposed, can you update an explanation video on your twitter if possible |
@mslavescu any progress on the video? As far as I could find, this is the only effort to make svl independent of wise checks |
Thank you @mslavescu for modifying the simulator so now we don't need to worry much about LGSVL turning down the WISE cloud. Also, in the original post, the author only shared the built preset for Windows, but last time I saw that many people using this simulator were working on Ubuntu too. Thus, I have built @mslavescu's release on Ubuntu 18.04 and want to share the binary with you guys. Download link: https://drive.google.com/file/d/1FjZSuV3MC8uqi8mvoyZVeN3YwkBwu31o/Running instruction:
|
Thank you so much for the work! Do you know if there is a work-around for the Development Settings window when opening the simulator in Unity? With that new scenarios and sensor configuration can be defined. The Development Settings window always checks for cloud connectivity first and will not open without the WISE server. I've tested it with this fork and the issue remains. If we could disable the check, we could still define new scenarios and test-vehicles after the sunset. |
Hi @lintglitch, Now from Unity, assuming that we could pass WISE connectivity check and have all options for a new simulation config. My question is how we could export this config for using it in simulator, because I don't see any SAVE button in Development Setting popup. If you have done that, could you record a video telling step-by-step that I can follow to create a scenario from Unity? |
Hey @tuanngokien, The idea behind getting the Development Settings to work is that you can then define any scenario directly within Unity and run them from there. I have used that feature extensively for development of new maps and vehicles, since it allowed me to test them without exporting and uploading them first. If that interests you I can upload a video of my step-to-step to get that working. Essentially if we can bypass the Development settings check we can create any new map, vehicle or sensor configuration we like. However, the disadvantage is that that approach only works from within Unity. |
Got it, @lintglitch! |
No problem, here is the video @tuanngokien. 2022-05-16.15-13-45.movThe feature itself is not well (or at all) documented, but works quite well. Here are the steps I took:
Everything else works as usual inside SVL. I have been using this approach for some time to accelerate development of new cars and maps. It also has the advantage of allowing you to edit the simulation while it is running, a nice functionality for testing. Hope the video helps you. |
Hi, Thank you for this @mslavescu! How do you launch simulations locally once the simulator executable is built? I can't seem to figure this out. Also thank you @tuanngokien! How can I get the Python API to load assets from local files though? In Thanks in advance for any help! |
Here is the OSSDC SIM, based on LG SVL Simulator, to further evolve this amazing project: Will provide demos shortly. |
@mslavescu great, thanks! I've kinda figured out how most of it works now, I'm currently just struggling to get it to connect to a locally-built Cyber bridge. Definitely going to keep up with the OSSDC project! |
Here is the first AutowareAuto demo simulation using OSSDC-SIM: Please open issues on that project and also join OSSDC Slack here http://join.ossdc.org for further discussions. @josh-wende could you please open an issue there and add more details about Cyber bridge issues you have. @lintglitch the latest OSSDC-SIM version supports running the simulation in the Unity editor, you just need to copy these files into the OSSDC-SIM source code project also: Open an issue there if you have any problems, and we can chat on OSSDC Slack also. |
@mslavescu I will definitely open issues on the new project as they come up. In this case, it turned out that the template vehicle JSON that I was following (I was using the one included in @tuanngokien's shared zip) has the |
@josh-wende Hi, I'm currently also struggling to get it to connect to a locally-built Cyber bridge, but don't have any clue now. Could you please share your solutions on how to add assets and construct sensor configuration locally? Thanks a lot! |
@emocat I was able to figure it out by following the template of the assets included in @tuanngokien's pre-built linux example. The AssetBundles go in the data folder ( |
We just posted first OSSDC SIM demo video and simulation instructions, see details here: |
Check this comment on how to use other maps and vehicles configs in OSSDC SIM: I also cloned the https://www.svlsimulator.com/docs here: Search doesn't work but all pages should be there. |
I am not able to load assets though Python API to load assets from local files, for while able launch simulator using script ./ run_lgsvl_without_wise.sh |
UPDATE:
Here is the newly released OSSDC SIM demo:
https://www.youtube.com/watch?v=fU_C38WEwGw
Check/open issues/discussions here:
https://github.com/OSSDC/OSSDC-SIM/issues
https://github.com/OSSDC/OSSDC-SIM-Demos/discussions
Original comment content bellow:
Here is my initial version of SVL simulator that can be used without wise.svlsimulator.com:
https://github.com/OSSDC/simulator/tree/release-2021.3
My plan is to continue the development of SVL Simulator as part of http://OSSDC.org project.
If you'll like to help, join OSSDC Slack at http://join.ossdc.org
A Windows build preset with a few simulations is available here:
https://race.ossdc.org/simulator/simulator-ossdc-20220221.zip
To easily test this build follow these steps::
F1TENTH_SVL-Simulator/Python-Scripts$ python3 02_Pure_Pursuit.py
F1TENTH_SVL-Simulator/Python-Scripts$ python3 03_Multi_Ego.py
I'll add later today a video with a sample run
In next few days I'll add more scripts to run with lgsvl_bridge inside AutowareAuto ADE env (like in my first video in the playlist bellow).
See more of my SVL test videos in this playlist:
SVL simulator racing tests
The text was updated successfully, but these errors were encountered: