CARLA
Loading...
Searching...
No Matches
AIControllerFactory.h
Go to the documentation of this file.
1// Copyright (c) 2026 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#pragma once
8
11
12#include "AIControllerFactory.generated.h"
13
14/// Factory in charge of spawning AI Controllers.
15UCLASS()
16class CARLA_API AAIControllerFactory final : public ACarlaActorFactory
17{
18 GENERATED_BODY()
19
20 TArray<FActorDefinition> GetDefinitions() final;
21
23 const FTransform &SpawnAtTransform,
24 const FActorDescription &ActorDescription) final;
25};
Factory in charge of spawning AI Controllers.
FActorSpawnResult SpawnActor(const FTransform &SpawnAtTransform, const FActorDescription &ActorDescription) final
Spawn an actor based on ActorDescription and Transform.
TArray< FActorDefinition > GetDefinitions() final
Retrieve the list of actor definitions that this class is able to spawn.
ACarlaActorFactory(const FObjectInitializer &ObjectInitializer)
A description of a Carla Actor with all its variation.
Result of an actor spawn function.