用于记录碰撞的传感器. 更多...
#include <ObstacleDetectionSensor.h>
类 AObstacleDetectionSensor 继承关系图:
AObstacleDetectionSensor 的协作图:Public 成员函数 | |
| AObstacleDetectionSensor (const FObjectInitializer &ObjectInitializer) | |
| virtual void | PostPhysTick (UWorld *World, ELevelTick TickType, float DeltaSeconds) override |
| void | Set (const FActorDescription &Description) override |
Public 成员函数 继承自 ASensor | |
| 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 |
静态 Public 成员函数 | |
| static FActorDefinition | GetSensorDefinition () |
Private 成员函数 | |
| void | OnObstacleDetectionEvent (AActor *Actor, AActor *OtherActor, float Distance, const FHitResult &Hit) |
Private 属性 | |
| bool | bDebugLineTrace = false |
| bool | bOnlyDynamics = false |
| float | Distance |
| float | HitRadius |
额外继承的成员函数 | |
Protected 成员函数 继承自 ASensor | |
| 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 属性 继承自 ASensor | |
| bool | bIsActive = false |
| URandomEngine * | RandomEngine = nullptr |
| Random Engine used to provide noise for sensor output. 更多... | |
| int32 | Seed = 123456789 |
| Seed of the pseudo-random engine. 更多... | |
用于记录碰撞的传感器.
在文件 ObstacleDetectionSensor.h 第 18 行定义.
| AObstacleDetectionSensor::AObstacleDetectionSensor | ( | const FObjectInitializer & | ObjectInitializer | ) |
在文件 ObstacleDetectionSensor.cpp 第 20 行定义.
|
static |
在文件 ObstacleDetectionSensor.cpp 第 26 行定义.
引用了 UActorBlueprintFunctionLibrary::MakeObstacleDetectorDefinitions().
函数调用图:
|
private |
在文件 ObstacleDetectionSensor.cpp 第 131 行定义.
引用了 Actor, ASensor::Episode, carla::streaming::detail::token_type::get_stream_id(), ASensor::GetDataStream(), ASensor::GetEpisode(), carla::ros2::ROS2::GetInstance(), ASensor::GetToken() , 以及 ASensor::IsStreamReady().
被这些函数引用 PostPhysTick().
函数调用图:
这是这个函数的调用关系图:
|
overridevirtual |
重载 ASensor .
在文件 ObstacleDetectionSensor.cpp 第 57 行定义.
引用了 bDebugLineTrace, bOnlyDynamics, Distance, HitRadius, OnObstacleDetectionEvent() , 以及 PostPhysTick().
被这些函数引用 PostPhysTick().
函数调用图:
这是这个函数的调用关系图:
|
overridevirtual |
|
private |
在文件 ObstacleDetectionSensor.h 第 49 行定义.
被这些函数引用 PostPhysTick() , 以及 Set().
|
private |
在文件 ObstacleDetectionSensor.h 第 47 行定义.
被这些函数引用 PostPhysTick() , 以及 Set().
|
private |
在文件 ObstacleDetectionSensor.h 第 43 行定义.
被这些函数引用 PostPhysTick() , 以及 Set().
|
private |
在文件 ObstacleDetectionSensor.h 第 45 行定义.
被这些函数引用 PostPhysTick() , 以及 Set().