SVL install
more infor refer to build-instructions
1.install unity-hub
sudo sh -c 'echo "deb https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list'
wget -qO - https://hub.unity3d.com/linux/keys/public | sudo apt-key add -
sudo apt update
sudo apt install unityhub
# sign up & sign in
download unity 2020.3.3f1 ~select linux/windows/简体中文~
2. install git lfs
download lfs v3.2.0
uncompress and run sudo ./install.sh
git lfs install
3. clone simulator
git clone -b release-2021.3 https://github.com/lgsvl/simulator.git
4. build simulator
- run unity hub
- [projects]->[open]->[add project from disk]-> select the simulator folder that cloned, select the editor version as 2020.3.3f1
- click the project to open
- [simulator]->[build…]-> select the executable platform as linux, the build simulator is a directory to save the build items
- click build
- in the build folder, double click the simulator executable file
- the mode should be online, sign up & sign in, and click [link to clout], a web page will be open
- in the [clusters] tab, link the local environment, tap new cluster name and click [Create cluster] to generate a new cluster
- runtime template: Random Traffic, choose the map, vehicle: Lincoln2017MKZ, vehicle sensor configuration: Keyboard Control.
- click Next->next->publish
- [Run simulation], a virtual sence will be open later
5. build assets
~this op does not need build the whole simulator~
- place the src code of the asset to be build in the exact folder under
Simulator/Assets/External
- press ctrl+r in the build interface to refresh
- check the assets to be rebuild
build