Using CARLA to build a simulator.
-
objects_on_vehicles.py
: test version of demo, spawning objects on top of vehicles in the scene -
demo.py
: main demo file, currently demo NLP weather -
WorldManager.py
: manages world conditions -
WeatherManager.py
: manages weather -
ScenarioGeneration.py
: manages scenario generation with NLP -
SensorManager.py
: manages sensors -
requirements.txt
: pip package requirements
Visit the Genio-web-app folder to view the front end prototype.
Do the entire CARLA install process: Windows https://carla.readthedocs.io/en/latest/build_windows/
Navigate to carla/PythonAPI
git clone https://github.com/adamchang2000/GenIO
Install dependencies:
pip install -r requirements.txt
Install spacy vocabulary requirement:
python -m spacy download en_core_web_lg
Run the Python scripts while the simulator is running within Unreal Engine (launch the simulator using make launch
then pressing play inside UE4).
-
objects_on_vehicles.py --query_object <object>
, example object: trashbag, cone, pot -
demo.py <weather description>
, example weather description: raining at dawn