- Python 3.X
- ROS
- Vision Sensor (from
SVL
orReal Camera
) - Actuator (from
SVL
orReal Car
)
pip install opencv-python
-
Download the SVL Simulator and execute
simulator
. -
Click Open Browser, which will automatically show wise.svlsimulator.com website. Sign up and sign in with your account.
- Navigate to the Clusters tab and make your cluster.
- Navigate to the Vehicles tab and click Lexus2016RXHybrid. Click buttons next to Sensor Configurations. Clone Autoware AI configuration to make new sensor configuration. Make sure bridge is set to ROS.
- Change configuration of Main Camera as below and save.
- Navigate to the Simulations tab and click Add New button. Fill the blank as below.
- Simulation Name: As your wish
- Cluster: a cluster you made in 3
- Runtime Template: Random Traffic
- Map: CubeTown
- Vehicle: Lexus2016RXHybrid (with configuration you made in 4)
- Autopilot: Autoware.AI v1.14
-
Run rosbridge node
roslaunch rosbridge_server rosbridge_websocket.launch
-
Click Run Simulation and click play icon on simulator. If the count of topic increases in bridge tab (plug icon), SVL connected with bridge successfully.
-
Copy
config/config-svl.yaml
toconfig/config
. -
Run LKAS node.
python lkas.py python vehicle_cmd_publisher.py