CARLA
CarlaGameInstance.cpp
Go to the documentation of this file.
1 // Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
2 // de Barcelona (UAB).
3 //
4 // This work is licensed under the terms of the MIT license.
5 // For a copy, see <https://opensource.org/licenses/MIT>.
6 
7 #include "Carla.h"
9 
11 
13  CarlaSettings = CreateDefaultSubobject<UCarlaSettings>(TEXT("CarlaSettings"));
14  Recorder = CreateDefaultSubobject<ACarlaRecorder>(TEXT("Recorder"));
15  CarlaEngine.SetRecorder(Recorder);
16 
17  check(CarlaSettings != nullptr);
20 }
21 
ACarlaRecorder * Recorder
void LoadSettings()
Load the settings based on the command-line arguments and the INI file if provided.
void SetRecorder(ACarlaRecorder *InRecorder)
Definition: CarlaEngine.h:60
FCarlaEngine CarlaEngine
UCarlaSettings * CarlaSettings
void LogSettings() const
Log settings values.