48 TSharedPtr<const FActorInfo>
Info,
170 return dynamic_cast<T*
>(
ActorData.Get());
176 return dynamic_cast<T*
>(
ActorData.Get());
192 const FVector& Location,
193 ETeleportType Teleport = ETeleportType::TeleportPhysics);
196 const FVector& Location,
197 ETeleportType Teleport = ETeleportType::TeleportPhysics);
200 const FTransform& Transform,
201 ETeleportType Teleport = ETeleportType::TeleportPhysics);
204 const FTransform& Transform,
205 ETeleportType Teleport = ETeleportType::TeleportPhysics);
347 const FString&,
const FString&,
const FString&,
const FString&)
366 return ETrafficLightState::Off;
393 const FTransform& Transform,
449 TSharedPtr<const FActorInfo>
Info,
460 TSharedPtr<const FActorInfo>
Info =
nullptr;
488 TSharedPtr<const FActorInfo>
Info,
545 uint64_t MaxSubsteps,
float MaxSubstepDeltaTime,
546 const FString& VehicleJSON,
const FString& PowertrainJSON,
547 const FString& TireJSON,
const FString& BaseJSONPath)
final;
558 TSharedPtr<const FActorInfo>
Info,
570 TSharedPtr<const FActorInfo>
Info,
581 TSharedPtr<const FActorInfo>
Info,
609 TSharedPtr<const FActorInfo>
Info,
614 const FTransform& Transform,
642 TSharedPtr<const FActorInfo>
Info,
EVehicleDoor
Type of door to open/close
A registry of all the Carla actors.
A view over an actor and its properties.
carla::rpc::ActorState State
ECarlaServerResponse AddActorImpulseAtLocation(const FVector &Impulse, const FVector &Location)
virtual ECarlaServerResponse GetPhysicsControl(FVehiclePhysicsControl &)
carla::rpc::AttachmentType GetAttachmentType() const
static TSharedPtr< FCarlaActor > ConstructCarlaActor(IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, ActorType Type, carla::rpc::ActorState InState, UWorld *World)
ECarlaServerResponse AddActorForceAtLocation(const FVector &Force, const FVector &Location)
void RemoveChildren(IdType ChildId)
virtual ECarlaServerResponse SetActorEnableGravity(bool bEnabled)
virtual ECarlaServerResponse GetBonesTransform(FWalkerBoneControlOut &)
virtual ECarlaServerResponse GetAckermannControllerSettings(FAckermannControllerSettings &)
virtual ECarlaServerResponse SetLightRedTime(float)
virtual ECarlaServerResponse ResetTrafficLightGroup()
ActorType GetActorType() const
FVector GetActorLocalLocation() const
void SetActorLocalTransform(const FTransform &Transform, ETeleportType Teleport=ETeleportType::TeleportPhysics)
virtual ECarlaServerResponse GetVehicleAckermannControl(FVehicleAckermannControl &)
virtual ECarlaServerResponse SetLightYellowTime(float)
virtual ECarlaServerResponse GetPoseFromAnimation()
virtual ECarlaServerResponse SetActorAutopilot(bool, bool bKeepState=false)
carla::rpc::AttachmentType Attachment
ECarlaServerResponse AddActorTorque(const FVector &Torque)
ECarlaServerResponse SetActorTargetAngularVelocity(const FVector &AngularVelocity)
ECarlaServerResponse AddActorImpulse(const FVector &Impulse)
virtual ECarlaServerResponse SetVehicleLightState(const FVehicleLightState &)
virtual ECarlaServerResponse SetActorDead()
virtual ECarlaServerResponse ApplyControlToVehicle(const FVehicleControl &, const EVehicleInputPriority &)
virtual ECarlaServerResponse GetWheelSteerAngle(const EVehicleWheelLocation &, float &)
virtual ECarlaServerResponse ApplyAckermannControllerSettings(const FAckermannControllerSettings &)
virtual ECarlaServerResponse SetActorCollisions(bool bEnabled)
virtual ECarlaServerResponse GetVehicleTelemetryData(FVehicleTelemetryData &)
virtual ECarlaServerResponse CloseVehicleDoor(const EVehicleDoor)
virtual ECarlaServerResponse RestorePhysXPhysics()
virtual ECarlaServerResponse GetFailureState(carla::rpc::VehicleFailureState &)
carla::rpc::ActorState GetActorState() const
FVector GetActorAngularVelocity() const
virtual ECarlaServerResponse ApplyAckermannControlToVehicle(const FVehicleAckermannControl &, const EVehicleInputPriority &)
void SetParent(IdType InParentId)
void SetAttachmentType(carla::rpc::AttachmentType InAttachmentType)
virtual ECarlaServerResponse SetWalkerState(const FTransform &Transform, carla::rpc::WalkerControl WalkerControl)
virtual ECarlaServerResponse DisableActorConstantVelocity()
virtual ECarlaServerResponse GetVehicleLightState(FVehicleLightState &)
virtual ECarlaServerResponse SetBonesTransform(const FWalkerBoneControlIn &)
FTransform GetActorGlobalTransform() const
FVector GetActorVelocity() const
virtual ECarlaServerResponse FreezeTrafficLight(bool)
void SetActorGlobalTransform(const FTransform &Transform, ETeleportType Teleport=ETeleportType::TeleportPhysics)
virtual ECarlaServerResponse ApplyControlToWalker(const FWalkerControl &)
void SetActorState(carla::rpc::ActorState InState)
virtual ECarlaServerResponse GetVehicleControl(FVehicleControl &)
void SetActorGlobalLocation(const FVector &Location, ETeleportType Teleport=ETeleportType::TeleportPhysics)
FActorData * GetActorData()
TSharedPtr< const FActorInfo > Info
FVector GetActorGlobalLocation() const
bool IsPendingKill() const
virtual ECarlaServerResponse UseCarSimRoad(bool)
virtual ECarlaServerResponse ApplyPhysicsControl(const FVehiclePhysicsControl &)
TArray< IdType > Children
virtual ECarlaServerResponse SetLightGreenTime(float)
void AddChildren(IdType ChildId)
virtual ETrafficLightState GetTrafficLightState() const
virtual ECarlaServerResponse OpenVehicleDoor(const EVehicleDoor)
const T * GetActorData() const
const FActorData * GetActorData() const
virtual UTrafficLightController * GetTrafficLightController()
virtual ECarlaServerResponse GetWalkerControl(FWalkerControl &)
void SetActorLocalLocation(const FVector &Location, ETeleportType Teleport=ETeleportType::TeleportPhysics)
const FActorInfo * GetActorInfo() const
TSharedPtr< FActorData > ActorData
IdType GetActorId() const
virtual ECarlaServerResponse EnableActorConstantVelocity(const FVector &)
FTransform GetActorLocalTransform() const
virtual ECarlaServerResponse SetWheelSteerDirection(const EVehicleWheelLocation &, float)
virtual ECarlaServerResponse EnableCarSim(const FString &)
ECarlaServerResponse SetActorTargetVelocity(const FVector &Velocity)
ECarlaServerResponse AddActorForce(const FVector &Force)
virtual ECarlaServerResponse BlendPose(float Blend)
virtual ECarlaServerResponse ShowVehicleDebugTelemetry(bool)
virtual ECarlaServerResponse SetActorSimulatePhysics(bool bEnabled)
virtual ECarlaServerResponse EnableChronoPhysics(uint64_t, float, const FString &, const FString &, const FString &, const FString &)
void WakeActorUp(UCarlaEpisode *CarlaEpisode)
ECarlaServerResponse AddActorAngularImpulse(const FVector &AngularInpulse)
virtual ECarlaServerResponse SetTrafficLightState(const ETrafficLightState &)
const TArray< IdType > & GetChildren() const
void PutActorToSleep(UCarlaEpisode *CarlaEpisode)
const AActor * GetActor() const
FOtherActor(IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, carla::rpc::ActorState InState, UWorld *World)
FSensorActor(IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, carla::rpc::ActorState InState, UWorld *World)
virtual ECarlaServerResponse SetLightGreenTime(float time) final
virtual ECarlaServerResponse FreezeTrafficLight(bool bFreeze) final
virtual ETrafficLightState GetTrafficLightState() const final
FTrafficLightActor(IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, carla::rpc::ActorState InState, UWorld *World)
virtual ECarlaServerResponse SetTrafficLightState(const ETrafficLightState &State) final
virtual ECarlaServerResponse ResetTrafficLightGroup() final
virtual UTrafficLightController * GetTrafficLightController() final
virtual ECarlaServerResponse SetLightRedTime(float time) final
virtual ECarlaServerResponse SetLightYellowTime(float time) final
FTrafficSignActor(IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, carla::rpc::ActorState InState, UWorld *World)
virtual ECarlaServerResponse SetActorAutopilot(bool bEnabled, bool bKeepState=false) final
virtual ECarlaServerResponse EnableChronoPhysics(uint64_t MaxSubsteps, float MaxSubstepDeltaTime, const FString &VehicleJSON, const FString &PowertrainJSON, const FString &TireJSON, const FString &BaseJSONPath) final
virtual ECarlaServerResponse SetActorSimulatePhysics(bool bSimulatePhysics) final
FVehicleActor(IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, carla::rpc::ActorState InState, UWorld *World)
virtual ECarlaServerResponse DisableActorConstantVelocity() final
virtual ECarlaServerResponse GetVehicleLightState(FVehicleLightState &LightState) final
virtual ECarlaServerResponse GetFailureState(carla::rpc::VehicleFailureState &) final
virtual ECarlaServerResponse GetWheelSteerAngle(const EVehicleWheelLocation &WheelLocation, float &Angle)
virtual ECarlaServerResponse ApplyControlToVehicle(const FVehicleControl &, const EVehicleInputPriority &) final
virtual ECarlaServerResponse EnableActorConstantVelocity(const FVector &Velocity) final
virtual ECarlaServerResponse SetVehicleLightState(const FVehicleLightState &LightState) final
virtual ECarlaServerResponse EnableCarSim(const FString &SimfilePath) final
virtual ECarlaServerResponse GetPhysicsControl(FVehiclePhysicsControl &PhysicsControl) final
virtual ECarlaServerResponse SetWheelSteerDirection(const EVehicleWheelLocation &WheelLocation, float AngleInDeg) final
virtual ECarlaServerResponse UseCarSimRoad(bool bEnabled) final
virtual ECarlaServerResponse GetVehicleControl(FVehicleControl &) final
virtual ECarlaServerResponse ApplyAckermannControllerSettings(const FAckermannControllerSettings &) final
virtual ECarlaServerResponse GetVehicleTelemetryData(FVehicleTelemetryData &) final
virtual ECarlaServerResponse ApplyAckermannControlToVehicle(const FVehicleAckermannControl &, const EVehicleInputPriority &) final
virtual ECarlaServerResponse ApplyPhysicsControl(const FVehiclePhysicsControl &PhysicsControl) final
virtual ECarlaServerResponse OpenVehicleDoor(const EVehicleDoor DoorIdx) final
virtual ECarlaServerResponse CloseVehicleDoor(const EVehicleDoor DoorIdx) final
virtual ECarlaServerResponse GetVehicleAckermannControl(FVehicleAckermannControl &) final
virtual ECarlaServerResponse RestorePhysXPhysics()
virtual ECarlaServerResponse ShowVehicleDebugTelemetry(bool bEnabled) final
virtual ECarlaServerResponse GetAckermannControllerSettings(FAckermannControllerSettings &) final
virtual ECarlaServerResponse BlendPose(float Blend)
virtual ECarlaServerResponse SetActorSimulatePhysics(bool bSimulatePhysics) final
virtual ECarlaServerResponse SetActorEnableGravity(bool bEnabled) final
virtual ECarlaServerResponse GetPoseFromAnimation()
FWalkerActor(IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, carla::rpc::ActorState InState, UWorld *World)
virtual ECarlaServerResponse SetBonesTransform(const FWalkerBoneControlIn &) final
virtual ECarlaServerResponse GetWalkerControl(FWalkerControl &) final
virtual ECarlaServerResponse SetWalkerState(const FTransform &Transform, carla::rpc::WalkerControl WalkerControl) final
virtual ECarlaServerResponse SetActorDead()
virtual ECarlaServerResponse ApplyControlToWalker(const FWalkerControl &) final
virtual ECarlaServerResponse GetBonesTransform(FWalkerBoneControlOut &) final
Maps a controller from OpenDrive.
A view over an actor and its properties.