47 TSharedPtr<const FActorInfo>
Info,
169 return dynamic_cast<T*
>(
ActorData.Get());
175 return dynamic_cast<T*
>(
ActorData.Get());
192 ETeleportType Teleport = ETeleportType::TeleportPhysics);
195 const FVector& Location,
196 ETeleportType Teleport = ETeleportType::TeleportPhysics);
200 ETeleportType Teleport = ETeleportType::TeleportPhysics);
203 const FTransform& Transform,
204 ETeleportType Teleport = ETeleportType::TeleportPhysics);
341 const FString&,
const FString&,
const FString&,
const FString&)
355 return ETrafficLightState::Off;
382 const FTransform& Transform,
438 TSharedPtr<const FActorInfo> Info,
449 TSharedPtr<const FActorInfo> Info =
nullptr;
467 UWorld *World =
nullptr;
477 TSharedPtr<const FActorInfo>
Info,
532 uint64_t MaxSubsteps,
float MaxSubstepDeltaTime,
533 const FString& VehicleJSON,
const FString& PowertrainJSON,
534 const FString& TireJSON,
const FString& BaseJSONPath)
final;
543 TSharedPtr<const FActorInfo>
Info,
555 TSharedPtr<const FActorInfo>
Info,
566 TSharedPtr<const FActorInfo>
Info,
594 TSharedPtr<const FActorInfo>
Info,
627 TSharedPtr<const FActorInfo>
Info,
carla::rpc::ActorState State
carla::rpc::AttachmentType GetAttachmentType() const
virtual ECarlaServerResponse SetVehicleLightState(const FVehicleLightState &)
void WakeActorUp(UCarlaEpisode *CarlaEpisode)
A registry of all the Carla actors.
carla::rpc::ActorState GetActorState() const
FVector GetActorAngularVelocity() const
virtual ECarlaServerResponse SetWheelSteerDirection(const EVehicleWheelLocation &, float)
virtual ETrafficLightState GetTrafficLightState() const
virtual ECarlaServerResponse GetWalkerControl(FWalkerControl &)
void PutActorToSleep(UCarlaEpisode *CarlaEpisode)
void RemoveChildren(IdType ChildId)
virtual ECarlaServerResponse SetActorEnableGravity(bool bEnabled)
virtual ECarlaServerResponse SetActorCollisions(bool bEnabled)
virtual ECarlaServerResponse SetBonesTransform(const FWalkerBoneControlIn &)
carla::rpc::AttachmentType Attachment
virtual ECarlaServerResponse DisableActorConstantVelocity()
virtual ECarlaServerResponse BlendPose(float Blend)
virtual ECarlaServerResponse GetPhysicsControl(FVehiclePhysicsControl &)
virtual ECarlaServerResponse ApplyAckermannControllerSettings(const FAckermannControllerSettings &)
virtual ECarlaServerResponse ApplyControlToVehicle(const FVehicleControl &, const EVehicleInputPriority &)
const AActor * GetActor() const
virtual ECarlaServerResponse SetTrafficLightState(const ETrafficLightState &)
virtual ECarlaServerResponse EnableChronoPhysics(uint64_t, float, const FString &, const FString &, const FString &, const FString &)
void SetActorGlobalLocation(const FVector &Location, ETeleportType Teleport=ETeleportType::TeleportPhysics)
ECarlaServerResponse AddActorImpulse(const FVector &Impulse)
ECarlaServerResponse SetActorTargetAngularVelocity(const FVector &AngularVelocity)
virtual ECarlaServerResponse CloseVehicleDoor(const EVehicleDoor)
ECarlaServerResponse AddActorForceAtLocation(const FVector &Force, const FVector &Location)
ECarlaServerResponse AddActorTorque(const FVector &Torque)
const TArray< IdType > & GetChildren() const
FActorData * GetActorData()
carla::SharedPtr< cc::Actor > Actor
virtual ECarlaServerResponse FreezeTrafficLight(bool)
virtual ECarlaServerResponse EnableActorConstantVelocity(const FVector &)
virtual ECarlaServerResponse GetPoseFromAnimation()
TSharedPtr< const FActorInfo > Info
void SetActorState(carla::rpc::ActorState InState)
virtual ECarlaServerResponse ResetTrafficLightGroup()
void SetAttachmentType(carla::rpc::AttachmentType InAttachmentType)
void SetActorLocalLocation(const FVector &Location, ETeleportType Teleport=ETeleportType::TeleportPhysics)
virtual ECarlaServerResponse GetBonesTransform(FWalkerBoneControlOut &)
virtual ECarlaServerResponse ApplyControlToWalker(const FWalkerControl &)
virtual ECarlaServerResponse GetVehicleAckermannControl(FVehicleAckermannControl &)
FTransform GetActorLocalTransform() const
FVector GetActorVelocity() const
virtual ECarlaServerResponse SetLightGreenTime(float)
const FActorInfo * GetActorInfo() const
bool IsPendingKill() const
const T * GetActorData() const
virtual ECarlaServerResponse SetLightYellowTime(float)
virtual ECarlaServerResponse SetActorDead()
virtual ECarlaServerResponse SetLightRedTime(float)
virtual ECarlaServerResponse SetActorAutopilot(bool, bool bKeepState=false)
ECarlaServerResponse SetActorTargetVelocity(const FVector &Velocity)
virtual ECarlaServerResponse OpenVehicleDoor(const EVehicleDoor)
virtual ECarlaServerResponse EnableCarSim(const FString &)
void AddChildren(IdType ChildId)
virtual UTrafficLightController * GetTrafficLightController()
virtual ECarlaServerResponse UseCarSimRoad(bool)
const FActorData * GetActorData() const
ECarlaServerResponse AddActorImpulseAtLocation(const FVector &Impulse, const FVector &Location)
A view over an actor and its properties.
void SetActorLocalTransform(const FTransform &Transform, ETeleportType Teleport=ETeleportType::TeleportPhysics)
FTransform GetActorGlobalTransform() const
virtual ECarlaServerResponse SetActorSimulatePhysics(bool bEnabled)
virtual ECarlaServerResponse GetVehicleLightState(FVehicleLightState &)
void SetParent(IdType InParentId)
virtual ECarlaServerResponse GetVehicleControl(FVehicleControl &)
IdType GetActorId() const
EVehicleDoor
Type of door to open/close.
virtual ECarlaServerResponse ApplyAckermannControlToVehicle(const FVehicleAckermannControl &, const EVehicleInputPriority &)
ECarlaServerResponse AddActorForce(const FVector &Force)
virtual ECarlaServerResponse ApplyPhysicsControl(const FVehiclePhysicsControl &)
FVector GetActorLocalLocation() const
TSharedPtr< FActorData > ActorData
virtual ECarlaServerResponse GetWheelSteerAngle(const EVehicleWheelLocation &, float &)
Maps a controller from OpenDrive.
virtual ECarlaServerResponse GetAckermannControllerSettings(FAckermannControllerSettings &)
static TSharedPtr< FCarlaActor > ConstructCarlaActor(IdType ActorId, AActor *Actor, TSharedPtr< const FActorInfo > Info, ActorType Type, carla::rpc::ActorState InState, UWorld *World)
void SetActorGlobalTransform(const FTransform &Transform, ETeleportType Teleport=ETeleportType::TeleportPhysics)
ECarlaServerResponse AddActorAngularImpulse(const FVector &AngularInpulse)
geom::Transform Transform
virtual ECarlaServerResponse ShowVehicleDebugTelemetry(bool)
virtual ECarlaServerResponse SetWalkerState(const FTransform &Transform, carla::rpc::WalkerControl WalkerControl)
FVector GetActorGlobalLocation() const
ActorType GetActorType() const
A view over an actor and its properties.
TArray< IdType > Children
virtual ECarlaServerResponse GetFailureState(carla::rpc::VehicleFailureState &)