CARLA
Public Member Functions | List of all members
FSensorActor Class Reference

#include <CarlaActor.h>

+ Inheritance diagram for FSensorActor:
+ Collaboration diagram for FSensorActor:

Public Member Functions

 FSensorActor (IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, carla::rpc::ActorState InState, UWorld *World)
 
- Public Member Functions inherited from FCarlaActor
ECarlaServerResponse AddActorAngularImpulse (const FVector &AngularInpulse)
 
ECarlaServerResponse AddActorForce (const FVector &Force)
 
ECarlaServerResponse AddActorForceAtLocation (const FVector &Force, const FVector &Location)
 
ECarlaServerResponse AddActorImpulse (const FVector &Impulse)
 
ECarlaServerResponse AddActorImpulseAtLocation (const FVector &Impulse, const FVector &Location)
 
ECarlaServerResponse AddActorTorque (const FVector &Torque)
 
void AddChildren (IdType ChildId)
 
virtual ECarlaServerResponse ApplyAckermannControllerSettings (const FAckermannControllerSettings &)
 
virtual ECarlaServerResponse ApplyAckermannControlToVehicle (const FVehicleAckermannControl &, const EVehicleInputPriority &)
 
virtual ECarlaServerResponse ApplyControlToVehicle (const FVehicleControl &, const EVehicleInputPriority &)
 
virtual ECarlaServerResponse ApplyControlToWalker (const FWalkerControl &)
 
virtual ECarlaServerResponse ApplyPhysicsControl (const FVehiclePhysicsControl &)
 
virtual ECarlaServerResponse BlendPose (float Blend)
 
void BuildActorData ()
 
virtual ECarlaServerResponse CloseVehicleDoor (const EVehicleDoor)
 
virtual ECarlaServerResponse DisableActorConstantVelocity ()
 
virtual ECarlaServerResponse EnableActorConstantVelocity (const FVector &)
 
virtual ECarlaServerResponse EnableCarSim (const FString &)
 
virtual ECarlaServerResponse EnableChronoPhysics (uint64_t, float, const FString &, const FString &, const FString &, const FString &)
 
 FCarlaActor ()=default
 
 FCarlaActor (IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, carla::rpc::ActorState InState, UWorld *World)
 
virtual ECarlaServerResponse FreezeTrafficLight (bool)
 
virtual ECarlaServerResponse GetAckermannControllerSettings (FAckermannControllerSettings &)
 
AActorGetActor ()
 
const AActorGetActor () const
 
FVector GetActorAngularVelocity () const
 
FActorDataGetActorData ()
 
const FActorDataGetActorData () const
 
template<typename T >
T * GetActorData ()
 
template<typename T >
const T * GetActorData () const
 
FVector GetActorGlobalLocation () const
 
FTransform GetActorGlobalTransform () const
 
IdType GetActorId () const
 
const FActorInfoGetActorInfo () const
 
FVector GetActorLocalLocation () const
 
FTransform GetActorLocalTransform () const
 
carla::rpc::ActorState GetActorState () const
 
ActorType GetActorType () const
 
FVector GetActorVelocity () const
 
carla::rpc::AttachmentType GetAttachmentType () const
 
virtual ECarlaServerResponse GetBonesTransform (FWalkerBoneControlOut &)
 
const TArray< IdType > & GetChildren () const
 
virtual ECarlaServerResponse GetFailureState (carla::rpc::VehicleFailureState &)
 
IdType GetParent () const
 
virtual ECarlaServerResponse GetPhysicsControl (FVehiclePhysicsControl &)
 
virtual ECarlaServerResponse GetPoseFromAnimation ()
 
virtual UTrafficLightControllerGetTrafficLightController ()
 
virtual ETrafficLightState GetTrafficLightState () const
 
virtual ECarlaServerResponse GetVehicleAckermannControl (FVehicleAckermannControl &)
 
virtual ECarlaServerResponse GetVehicleControl (FVehicleControl &)
 
virtual ECarlaServerResponse GetVehicleLightState (FVehicleLightState &)
 
virtual ECarlaServerResponse GetWalkerControl (FWalkerControl &)
 
virtual ECarlaServerResponse GetWheelSteerAngle (const EVehicleWheelLocation &, float &)
 
bool IsActive () const
 
bool IsAlive () const
 
bool IsDormant () const
 
bool IsInValid () const
 
bool IsPendingKill () const
 
virtual ECarlaServerResponse OpenVehicleDoor (const EVehicleDoor)
 
void PutActorToSleep (UCarlaEpisode *CarlaEpisode)
 
void RemoveChildren (IdType ChildId)
 
virtual ECarlaServerResponse ResetTrafficLightGroup ()
 
virtual ECarlaServerResponse SetActorAutopilot (bool, bool bKeepState=false)
 
virtual ECarlaServerResponse SetActorCollisions (bool bEnabled)
 
virtual ECarlaServerResponse SetActorDead ()
 
virtual ECarlaServerResponse SetActorEnableGravity (bool bEnabled)
 
void SetActorGlobalLocation (const FVector &Location, ETeleportType Teleport=ETeleportType::TeleportPhysics)
 
void SetActorGlobalTransform (const FTransform &Transform, ETeleportType Teleport=ETeleportType::TeleportPhysics)
 
void SetActorLocalLocation (const FVector &Location, ETeleportType Teleport=ETeleportType::TeleportPhysics)
 
void SetActorLocalTransform (const FTransform &Transform, ETeleportType Teleport=ETeleportType::TeleportPhysics)
 
virtual ECarlaServerResponse SetActorSimulatePhysics (bool bEnabled)
 
void SetActorState (carla::rpc::ActorState InState)
 
ECarlaServerResponse SetActorTargetAngularVelocity (const FVector &AngularVelocity)
 
ECarlaServerResponse SetActorTargetVelocity (const FVector &Velocity)
 
void SetAttachmentType (carla::rpc::AttachmentType InAttachmentType)
 
virtual ECarlaServerResponse SetBonesTransform (const FWalkerBoneControlIn &)
 
virtual ECarlaServerResponse SetLightGreenTime (float)
 
virtual ECarlaServerResponse SetLightRedTime (float)
 
virtual ECarlaServerResponse SetLightYellowTime (float)
 
void SetParent (IdType InParentId)
 
virtual ECarlaServerResponse SetTrafficLightState (const ETrafficLightState &)
 
virtual ECarlaServerResponse SetVehicleLightState (const FVehicleLightState &)
 
virtual ECarlaServerResponse SetWalkerState (const FTransform &Transform, carla::rpc::WalkerControl WalkerControl)
 
virtual ECarlaServerResponse SetWheelSteerDirection (const EVehicleWheelLocation &, float)
 
virtual ECarlaServerResponse ShowVehicleDebugTelemetry (bool)
 
virtual ECarlaServerResponse UseCarSimRoad (bool)
 
void WakeActorUp (UCarlaEpisode *CarlaEpisode)
 
virtual ~FCarlaActor ()
 

Additional Inherited Members

- Public Types inherited from FCarlaActor
enum  ActorType : uint8 {
  ActorType::Other, ActorType::Vehicle, ActorType::Walker, ActorType::TrafficLight,
  ActorType::TrafficSign, ActorType::Sensor, ActorType::INVALID
}
 
using IdType = uint32
 
- Static Public Member Functions inherited from FCarlaActor
static TSharedPtr< FCarlaActorConstructCarlaActor (IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, ActorType Type, carla::rpc::ActorState InState, UWorld *World)
 
- Protected Attributes inherited from FCarlaActor
TSharedPtr< FActorDataActorData = nullptr
 
ActorType Type = ActorType::INVALID
 
UWorld * World = nullptr
 

Detailed Description

Definition at line 537 of file CarlaActor.h.

Constructor & Destructor Documentation

◆ FSensorActor()

FSensorActor::FSensorActor ( IdType  ActorId,
AActor Actor,
TSharedPtr< const FActorInfo Info,
carla::rpc::ActorState  InState,
UWorld *  World 
)

Definition at line 65 of file CarlaActor.cpp.

References FCarlaActor::ActorData, FCarlaActor::Sensor, and FCarlaActor::Type.


The documentation for this class was generated from the following files: