传感器的基类 更多...
#include <Sensor.h>
类 ASensor 继承关系图:
ASensor 的协作图:Public 成员函数 | |
| ASensor (const FObjectInitializer &ObjectInitializer) | |
| virtual void | BeginPlay () |
| boost::optional< FActorAttribute > | GetAttribute (const FString Name) |
| const UCarlaEpisode & | GetEpisode () const |
| URandomEngine * | GetRandomEngine () |
| int32 | GetSeed () const |
| auto | GetToken () const |
| Return the token that allows subscribing to this sensor's stream. 更多... | |
| bool | IsStreamReady () |
| FDataStream | MoveDataStream () |
| virtual void | OnFirstClientConnected () |
| virtual void | OnLastClientDisconnected () |
| virtual void | PostPhysTick (UWorld *World, ELevelTick TickType, float DeltaSeconds) |
| void | PostPhysTickInternal (UWorld *World, ELevelTick TickType, float DeltaSeconds) |
| virtual void | PrePhysTick (float DeltaSeconds) |
| virtual void | Set (const FActorDescription &Description) |
| void | SetDataStream (FDataStream InStream) |
| Replace the FDataStream associated with this sensor. 更多... | |
| void | SetEpisode (const UCarlaEpisode &InEpisode) |
| void | SetSeed (int32 InSeed) |
| void | Tick (const float DeltaTime) final |
Protected 成员函数 | |
| void | EndPlay (EEndPlayReason::Type EndPlayReason) override |
| template<typename SensorT > | |
| FAsyncDataStream | GetDataStream (const SensorT &Self) |
| Return the FDataStream associated with this sensor. 更多... | |
| void | PostActorCreated () override |
Protected 属性 | |
| bool | bIsActive = false |
| URandomEngine * | RandomEngine = nullptr |
| Random Engine used to provide noise for sensor output. 更多... | |
| int32 | Seed = 123456789 |
| Seed of the pseudo-random engine. 更多... | |
Private 属性 | |
| bool | bClientsListening = false |
| const UCarlaEpisode * | Episode = nullptr |
| FDelegateHandle | OnPostTickDelegate |
| bool | ReadyToTick = false |
| Allows the sensor to tick with the tick rate from UE4. 更多... | |
| FActorDescription | SensorDescription |
| FDataStream | Stream |
传感器的基类
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 23 行定义.
| ASensor::ASensor | ( | const FObjectInitializer & | ObjectInitializer | ) |
在文件 Sensor.cpp 第 17 行定义.
|
virtual |
被 AGnssSensor, AInertialMeasurementUnit, ARadar, ASceneCaptureCamera , 以及 ASceneCaptureSensor 重载.
在文件 Sensor.cpp 第 27 行定义.
引用了 Episode, UCarlaStatics::GetCurrentEpisode() , 以及 FSensorManager::RegisterSensor().
函数调用图:
|
overrideprotected |
| boost::optional< FActorAttribute > ASensor::GetAttribute | ( | const FString | Name | ) |
在文件 Sensor.cpp 第 49 行定义.
引用了 SensorDescription , 以及 FActorDescription::Variations.
被这些函数引用 ADVSCamera::PostPhysTick().
这是这个函数的调用关系图:
|
inlineprotected |
Return the FDataStream associated with this sensor.
You need to provide a reference to self, this is necessary for template deduction.
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 110 行定义.
被这些函数引用 ACollisionSensor::OnCollisionEvent(), AObstacleDetectionSensor::OnObstacleDetectionEvent(), AGnssSensor::PostPhysTick(), ARayCastLidar::PostPhysTick(), ACustomV2XSensor::PostPhysTick(), ADVSCamera::PostPhysTick(), AInertialMeasurementUnit::PostPhysTick(), ARadar::PostPhysTick(), ARayCastSemanticLidar::PostPhysTick() , 以及 AV2XSensor::PostPhysTick().
这是这个函数的调用关系图:
|
inline |
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 93 行定义.
被这些函数引用 ASceneCaptureSensor::BeginPlay(), ARayCastSemanticLidar::ComputeRawDetection(), EndPlay(), ACollisionSensor::OnCollisionEvent(), AObstacleDetectionSensor::OnObstacleDetectionEvent() , 以及 ADVSCamera::Simulation().
这是这个函数的调用关系图:
|
inline |
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 79 行定义.
被这些函数引用 UActorBlueprintFunctionLibrary::MakeIMUDefinition().
这是这个函数的调用关系图:
|
inline |
|
inline |
Return the token that allows subscribing to this sensor's stream.
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 56 行定义.
被这些函数引用 ACollisionSensor::OnCollisionEvent(), AObstacleDetectionSensor::OnObstacleDetectionEvent(), AGnssSensor::PostPhysTick(), ARayCastLidar::PostPhysTick(), ADVSCamera::PostPhysTick(), AInertialMeasurementUnit::PostPhysTick(), ARadar::PostPhysTick() , 以及 ARayCastSemanticLidar::PostPhysTick().
这是这个函数的调用关系图:
|
inline |
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 61 行定义.
被这些函数引用 AObstacleDetectionSensor::OnObstacleDetectionEvent().
这是这个函数的调用关系图:
|
inline |
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 50 行定义.
被这些函数引用 FActorSensorData::RecordActorData().
这是这个函数的调用关系图:
|
inlinevirtual |
被 ASceneCaptureCamera 重载.
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 71 行定义.
被这些函数引用 Tick().
这是这个函数的调用关系图:
|
inlinevirtual |
被 ASceneCaptureCamera 重载.
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 73 行定义.
被这些函数引用 Tick().
这是这个函数的调用关系图:
|
overrideprotected |
在文件 Sensor.cpp 第 94 行定义.
|
inlinevirtual |
被 ADepthCamera, AGnssSensor, AInstanceSegmentationCamera, ANormalsCamera, AObstacleDetectionSensor, AOpticalFlowCamera, ASceneCaptureCamera, ASemanticSegmentationCamera, ARayCastLidar, ACustomV2XSensor, ADVSCamera, AInertialMeasurementUnit, ARadar, ARayCastSemanticLidar, ASceneCaptureSensor , 以及 AV2XSensor 重载.
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 69 行定义.
被这些函数引用 PostPhysTickInternal().
这是这个函数的调用关系图:| void ASensor::PostPhysTickInternal | ( | UWorld * | World, |
| ELevelTick | TickType, | ||
| float | DeltaSeconds | ||
| ) |
在文件 Sensor.cpp 第 131 行定义.
引用了 PostPhysTick(), PostPhysTickInternal(), ReadyToTick , 以及 World.
被这些函数引用 PostPhysTickInternal().
函数调用图:
这是这个函数的调用关系图:
|
inlinevirtual |
被 ACollisionSensor, ACustomV2XSensor, ASceneCaptureSensor , 以及 AV2XSensor 重载.
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 68 行定义.
被这些函数引用 Tick().
这是这个函数的调用关系图:
|
virtual |
被 AGnssSensor, ACustomV2XSensor, ADVSCamera, AInertialMeasurementUnit, ASceneCaptureSensor, AShaderBasedSensor, AV2XSensor, AObstacleDetectionSensor, ARadar, ARayCastLidar , 以及 ARayCastSemanticLidar 重载.
在文件 Sensor.cpp 第 35 行定义.
引用了 UActorBlueprintFunctionLibrary::ActorAttributeToFloat(), SensorDescription , 以及 FActorDescription::Variations.
被这些函数引用 ARayCastLidar::Set().
函数调用图:
这是这个函数的调用关系图:
|
inline |
Replace the FDataStream associated with this sensor.
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 45 行定义.
被这些函数引用 FActorSensorData::RestoreActorData().
这是这个函数的调用关系图:
|
inline |
| void ASensor::SetSeed | ( | int32 | InSeed | ) |
在文件 Sensor.cpp 第 87 行定义.
引用了 RandomEngine, Seed , 以及 URandomEngine::Seed().
被这些函数引用 ARayCastLidar::ARayCastLidar() , 以及 UActorBlueprintFunctionLibrary::MakeIMUDefinition().
函数调用图:
这是这个函数的调用关系图:
|
final |
在文件 Sensor.cpp 第 59 行定义.
引用了 FDataStreamTmpl< T >::AreClientsListening(), bClientsListening, OnFirstClientConnected(), OnLastClientDisconnected(), PrePhysTick(), ReadyToTick, Stream , 以及 Tick().
被这些函数引用 Tick().
函数调用图:
这是这个函数的调用关系图:
|
private |
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 139 行定义.
被这些函数引用 Tick().
|
protected |
|
private |
|
private |
|
protected |
Random Engine used to provide noise for sensor output.
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 121 行定义.
被这些函数引用 ACustomV2XSensor::ACustomV2XSensor(), ADVSCamera::ADVSCamera(), AGnssSensor::AGnssSensor(), AInertialMeasurementUnit::AInertialMeasurementUnit(), ARadar::ARadar(), ARayCastLidar::ARayCastLidar(), AV2XSensor::AV2XSensor(), AInertialMeasurementUnit::ComputeAccelerometerNoise(), AInertialMeasurementUnit::ComputeGyroscopeNoise(), AGnssSensor::PostPhysTick(), ARayCastLidar::PostprocessDetection(), ARayCastLidar::PreprocessRays(), ARadar::SendLineTraces(), SetSeed() , 以及 ADVSCamera::Simulation().
|
private |
Allows the sensor to tick with the tick rate from UE4.
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 137 行定义.
被这些函数引用 PostPhysTickInternal() , 以及 Tick().
|
protected |
Seed of the pseudo-random engine.
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 117 行定义.
被这些函数引用 SetSeed().
|
private |
在文件 Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Sensor.h 第 132 行定义.
被这些函数引用 GetAttribute() , 以及 Set().
|
private |