CARLA
Loading...
Searching...
No Matches
Classes | Public Member Functions | Private Attributes | List of all members
carla::client::detail::Client Class Reference

Provides communication with the rpc and streaming servers of a CARLA simulator. More...

#include <Client.h>

+ Inheritance diagram for carla::client::detail::Client:

Classes

class  Pimpl
 

Public Member Functions

void AddActorAngularImpulse (rpc::ActorId actor, const geom::Vector3D &vector)
 
void AddActorForce (rpc::ActorId actor, const geom::Vector3D &force)
 
void AddActorForce (rpc::ActorId actor, const geom::Vector3D &force, const geom::Vector3D &location)
 
void AddActorImpulse (rpc::ActorId actor, const geom::Vector3D &impulse)
 
void AddActorImpulse (rpc::ActorId actor, const geom::Vector3D &impulse, const geom::Vector3D &location)
 
void AddActorTorque (rpc::ActorId actor, const geom::Vector3D &vector)
 
bool AddTrafficManagerRunning (std::pair< std::string, uint16_t > trafficManagerInfo) const
 Informs the server that a Traffic Manager is running on <IP, port>
 
void ApplyAckermannControllerSettings (rpc::ActorId vehicle, const rpc::AckermannControllerSettings &settings)
 
void ApplyAckermannControlToVehicle (rpc::ActorId vehicle, const rpc::VehicleAckermannControl &control)
 
void ApplyBatch (std::vector< rpc::Command > commands, bool do_tick_cue)
 
std::vector< rpc::CommandResponse > ApplyBatchSync (std::vector< rpc::Command > commands, bool do_tick_cue)
 
void ApplyColorTextureToObjects (const std::vector< std::string > &objects_name, const rpc::MaterialParameter &parameter, const rpc::TextureColor &Texture)
 
void ApplyColorTextureToObjects (const std::vector< std::string > &objects_name, const rpc::MaterialParameter &parameter, const rpc::TextureFloatColor &Texture)
 
void ApplyControlToVehicle (rpc::ActorId vehicle, const rpc::VehicleControl &control)
 
void ApplyControlToWalker (rpc::ActorId walker, const rpc::WalkerControl &control)
 
void ApplyPhysicsControlToVehicle (rpc::ActorId vehicle, const rpc::VehiclePhysicsControl &physics_control)
 
void ApplyTextureToActor (rpc::ActorId ActorId, const rpc::MaterialParameter &MaterialParameter, const rpc::TextureColor &Texture)
 
void ApplyTextureToActor (rpc::ActorId ActorId, const rpc::MaterialParameter &MaterialParameter, const rpc::TextureFloatColor &Texture)
 
void BlendPose (rpc::ActorId walker, float blend)
 
std::vector< rpc::LabelledPoint > CastRay (geom::Location start_location, geom::Location end_location) const
 
void ClearDebugShape ()
 
void ClearDebugString ()
 
void ClearSkyLightMap ()
 
 Client (const std::string &host, uint16_t port, size_t worker_threads=0u)
 
void CloseVehicleDoor (rpc::ActorId vehicle, const rpc::VehicleDoor door_idx)
 
void CopyOpenDriveToServer (std::string opendrive, const rpc::OpendriveGenerationParameters &params)
 
bool DestroyActor (rpc::ActorId actor)
 
void DestroyTrafficManager (uint16_t port) const
 
void DisableActorConstantAcceleration (rpc::ActorId actor)
 
void DisableActorConstantVelocity (rpc::ActorId actor)
 
void DisableForROS (const streaming::Token &token)
 
void DrawDebugShape (const rpc::DebugShape &shape)
 
void EnableActorConstantAcceleration (rpc::ActorId actor, const geom::Vector3D &vector)
 
void EnableActorConstantVelocity (rpc::ActorId actor, const geom::Vector3D &vector)
 
void EnableCarSim (rpc::ActorId vehicle, std::string simfile_path)
 
void EnableChronoPhysics (rpc::ActorId vehicle, uint64_t MaxSubsteps, float MaxSubstepDeltaTime, std::string VehicleJSON, std::string PowertrainJSON, std::string TireJSON, std::string BaseJSONPath)
 
void EnableEnvironmentObjects (std::vector< uint64_t > env_objects_ids, bool enable) const
 
void EnableForROS (const streaming::Token &token)
 
void FreezeAllTrafficLights (bool frozen)
 
void FreezeTrafficLight (rpc::ActorId traffic_light, bool freeze)
 
rpc::AckermannControllerSettings GetAckermannControllerSettings (rpc::ActorId vehicle) const
 
std::vector< std::string > GetActorBoneNames (rpc::ActorId actor)
 
std::vector< geom::Transform > GetActorBoneRelativeTransforms (rpc::ActorId actor)
 
std::vector< geom::Transform > GetActorBoneWorldTransforms (rpc::ActorId actor)
 
std::string GetActorClassName (rpc::ActorId actor) const
 
std::vector< std::string > GetActorComponentNames (rpc::ActorId actor)
 
geom::Transform GetActorComponentRelativeTransform (rpc::ActorId actor, const std::string &component_name)
 
geom::Transform GetActorComponentWorldTransform (rpc::ActorId actor, const std::string &component_name)
 
std::vector< rpc::ActorDefinition > GetActorDefinitions ()
 
std::string GetActorName (rpc::ActorId actor) const
 
std::vector< rpc::Actor > GetActorsById (const std::vector< ActorId > &ids)
 
std::vector< std::string > GetActorSocketNames (rpc::ActorId actor)
 
std::vector< geom::Transform > GetActorSocketRelativeTransforms (rpc::ActorId actor)
 
std::vector< geom::Transform > GetActorSocketWorldTransforms (rpc::ActorId actor)
 
std::vector< std::string > GetAvailableMaps ()
 
rpc::WalkerBoneControlOut GetBonesTransform (rpc::ActorId walker)
 
std::vector< uint8_t > GetCacheFile (const std::string &name, const bool request_otherwise=true) const
 
std::string GetClientVersion ()
 
std::vector< rpc::ContentPackInfo > GetContentPacks ()
 
std::vector< geom::Transform > GetEgoSpawnPoints () const
 
const std::string GetEndpoint () const
 
std::vector< rpc::EnvironmentObject > GetEnvironmentObjects (uint8_t queried_tag) const
 
rpc::EpisodeInfo GetEpisodeInfo ()
 
rpc::EpisodeSettings GetEpisodeSettings ()
 
std::vector< ActorId > GetGroupTrafficLights (rpc::ActorId traffic_light)
 
float GetIMUSensorGravity ()
 
std::vector< geom::BoundingBox > GetLevelBBs (uint8_t queried_tag) const
 Returns all the BBs of all the elements of the level.
 
std::vector< geom::BoundingBox > GetLightBoxes (rpc::ActorId traffic_light) const
 
std::string GetMapData () const
 
rpc::MapInfo GetMapInfo ()
 
std::vector< std::string > GetNamesOfAllObjects () const
 
std::vector< uint8_t > GetNavigationMesh () const
 
void GetPoseFromAnimation (rpc::ActorId walker)
 
bool GetPublishTF () const
 
geom::Location GetRandomLocationFromNavigation () const
 Server-side random point on the loaded navmesh.
 
std::vector< std::string > GetRequiredFiles (const std::string &folder="", const bool download=true) const
 
std::string GetServerVersion ()
 
rpc::Actor GetSpectator ()
 
time_duration GetTimeout () const
 
std::pair< std::string, uint16_t > GetTrafficManagerRunning (uint16_t port) const
 Gets a pair filled with the <IP, port> of the Trafic Manager running on port.
 
std::vector< geom::Transform > GetVehicleBoneWorldTransforms (rpc::ActorId actor)
 
rpc::VehicleLightState GetVehicleLightState (rpc::ActorId vehicle) const
 
rpc::VehiclePhysicsControl GetVehiclePhysicsControl (rpc::ActorId vehicle) const
 
rpc::VehicleLightStateList GetVehiclesLightStates ()
 Returns a list of pairs where the firts element is the vehicle ID and the second one is the light state.
 
rpc::VehicleTelemetryData GetVehicleTelemetryData (rpc::ActorId vehicle) const
 
rpc::WeatherParameters GetWeatherParameters ()
 
float GetWheelPitchAngle (rpc::ActorId vehicle, rpc::VehicleWheelLocation wheel_location)
 
float GetWheelSteerAngle (rpc::ActorId vehicle, rpc::VehicleWheelLocation wheel_location)
 
float GetWheelSuspensionOffset (rpc::ActorId vehicle, rpc::VehicleWheelLocation wheel_location)
 
bool HasSkyLightMap () const
 
bool IsEnabledForROS (const streaming::Token &token)
 
bool IsNavigationServerSide () const
 True when the server hosts the pedestrian navigation (a World-Partitioned navmesh exists in the current world).
 
bool IsTrafficManagerRunning (uint16_t port) const
 Querry to know if a Traffic Manager is running on port.
 
bool IsWeatherEnabled ()
 
void LoadEpisode (std::string map_name, bool reset_settings=true, rpc::MapLayer map_layer=rpc::MapLayer::All)
 
void LoadLevelLayer (rpc::MapLayer map_layer) const
 
rpc::ContentPackInfo MountContentPack (const std::string &path)
 
void OpenVehicleDoor (rpc::ActorId vehicle, const rpc::VehicleDoor door_idx)
 
std::pair< bool, rpc::LabelledPoint > ProjectPoint (geom::Location location, geom::Vector3D direction, float search_distance) const
 
std::vector< rpc::LightState > QueryLightsStateToServer () const
 
std::string ReplayFile (std::string name, double start, double duration, uint32_t follow_id, bool replay_sensors, bool replay_weather, const geom::Transform &offset, std::string map_override)
 
void RequestFile (const std::string &name) const
 
void ResetAllTrafficLights ()
 
void ResetTrafficLightGroup (rpc::ActorId traffic_light)
 
void Send (rpc::ActorId ActorId, const rpc::CustomV2XBytes &data)
 
uint64_t SendTickCue ()
 
void SetActorAutopilot (rpc::ActorId vehicle, bool enabled)
 
void SetActorCollisions (rpc::ActorId actor, bool enabled)
 
void SetActorDead (rpc::ActorId actor)
 
void SetActorEnableGravity (rpc::ActorId actor, bool enabled)
 
void SetActorLocation (rpc::ActorId actor, const geom::Location &location)
 
void SetActorSimulatePhysics (rpc::ActorId actor, bool enabled)
 
void SetActorTargetAngularVelocity (rpc::ActorId actor, const geom::Vector3D &vector)
 
void SetActorTargetVelocity (rpc::ActorId actor, const geom::Vector3D &vector)
 
void SetActorTransform (rpc::ActorId actor, const geom::Transform &transform)
 
void SetBonesTransform (rpc::ActorId walker, const rpc::WalkerBoneControlIn &bones)
 
uint64_t SetEpisodeSettings (const rpc::EpisodeSettings &settings)
 
bool SetFilesBaseFolder (const std::string &path)
 
void SetIMUSensorGravity (float gravity)
 
void SetLightStateToVehicle (rpc::ActorId vehicle, const rpc::VehicleLightState &light_state)
 
bool SetPedestriansCrossFactor (float percentage) const
 Probability that a walker whose navigation starts after this call may cross roads (server-side navigation only).
 
bool SetPedestriansSeed (uint32_t seed) const
 Seed for the server-side navigation RNG (crosser draw); applies to walkers whose navigation starts after this call.
 
void SetPublishTF (bool publish_tf)
 
void SetReplayerIgnoreHero (bool ignore_hero)
 
void SetReplayerIgnoreSpectator (bool ignore_spectator)
 
void SetReplayerTimeFactor (double time_factor)
 
void SetSkyLightMap (const rpc::TextureFloatColor &panorama, float intensity, int32_t face_size)
 
void SetTimeout (time_duration timeout)
 
void SetTrafficLightGreenTime (rpc::ActorId traffic_light, float green_time)
 
void SetTrafficLightRedTime (rpc::ActorId traffic_light, float red_time)
 
void SetTrafficLightState (rpc::ActorId traffic_light, const rpc::TrafficLightState trafficLightState)
 
void SetTrafficLightYellowTime (rpc::ActorId traffic_light, float yellow_time)
 
void SetWeatherParameters (const rpc::WeatherParameters &weather)
 
void SetWheelAnimationOverride (rpc::ActorId vehicle, bool enabled)
 
void SetWheelPitchAngle (rpc::ActorId vehicle, rpc::VehicleWheelLocation wheel_location, float angle_in_deg)
 
void SetWheelSteerDirection (rpc::ActorId vehicle, rpc::VehicleWheelLocation vehicle_wheel, float angle_in_deg)
 
void SetWheelSuspensionOffset (rpc::ActorId vehicle, rpc::VehicleWheelLocation wheel_location, float offset)
 
std::string ShowRecorderActorsBlocked (std::string name, double min_time, double min_distance)
 
std::string ShowRecorderCollisions (std::string name, char type1, char type2)
 
std::string ShowRecorderFileInfo (std::string name, bool show_all)
 
void ShowVehicleDebugTelemetry (rpc::ActorId vehicle, bool enabled)
 
rpc::Actor SpawnActor (const rpc::ActorDescription &description, const geom::Transform &transform)
 
rpc::Actor SpawnActorWithParent (const rpc::ActorDescription &description, const geom::Transform &transform, rpc::ActorId parent, rpc::AttachmentType attachment_type)
 
void SpawnCustomMesh (const std::vector< float > &vertices, const std::vector< uint32_t > &triangles, const std::string &material)
 
std::string StartRecorder (std::string name, bool additional_data, bool stop_replayer)
 
void StopRecorder ()
 
void StopReplayer (bool keep_actors)
 
void StopStreaming ()
 Join the streaming threads; no stream callback runs afterwards.
 
void SubscribeToGBuffer (rpc::ActorId ActorId, uint32_t GBufferId, std::function< void(Buffer)> callback)
 
void SubscribeToStream (const streaming::Token &token, std::function< void(Buffer)> callback)
 
void UnloadLevelLayer (rpc::MapLayer map_layer) const
 
bool UnmountContentPack (const std::string &name)
 
void UnSubscribeFromGBuffer (rpc::ActorId ActorId, uint32_t GBufferId)
 
void UnSubscribeFromStream (const streaming::Token &token)
 
void UpdateDayNightCycle (const bool active) const
 
void UpdateServerLightsState (std::vector< rpc::LightState > &lights, bool discard_client=false) const
 
void UseCarSimRoad (rpc::ActorId vehicle, bool enabled)
 
bool WalkerGoToLocation (rpc::ActorId walker, const geom::Location &destination) const
 
bool WalkerSetMaxSpeed (rpc::ActorId walker, float max_speed) const
 
bool WalkerStartNavigation (rpc::ActorId walker) const
 
bool WalkerStopNavigation (rpc::ActorId walker) const
 
 ~Client ()
 

Private Attributes

const std::unique_ptr< Pimpl > _pimpl
 

Additional Inherited Members

- Private Member Functions inherited from carla::NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
 NonCopyable (NonCopyable &&)=delete
 
NonCopyable & operator= (const NonCopyable &)=delete
 
NonCopyable & operator= (NonCopyable &&)=delete
 

Detailed Description

Provides communication with the rpc and streaming servers of a CARLA simulator.

Definition at line 72 of file client/detail/Client.h.

Constructor & Destructor Documentation

◆ Client()

carla::client::detail::Client::Client ( const std::string &  host,
uint16_t  port,
size_t  worker_threads = 0u 
)
explicit

Definition at line 103 of file client/detail/Client.cpp.

◆ ~Client()

carla::client::detail::Client::~Client ( )
default

Member Function Documentation

◆ AddActorAngularImpulse()

void carla::client::detail::Client::AddActorAngularImpulse ( rpc::ActorId  actor,
const geom::Vector3D &  vector 
)

◆ AddActorForce() [1/2]

void carla::client::detail::Client::AddActorForce ( rpc::ActorId  actor,
const geom::Vector3D &  force 
)

◆ AddActorForce() [2/2]

void carla::client::detail::Client::AddActorForce ( rpc::ActorId  actor,
const geom::Vector3D &  force,
const geom::Vector3D &  location 
)

Definition at line 545 of file client/detail/Client.cpp.

References _pimpl.

◆ AddActorImpulse() [1/2]

void carla::client::detail::Client::AddActorImpulse ( rpc::ActorId  actor,
const geom::Vector3D &  impulse 
)

◆ AddActorImpulse() [2/2]

void carla::client::detail::Client::AddActorImpulse ( rpc::ActorId  actor,
const geom::Vector3D &  impulse,
const geom::Vector3D &  location 
)

Definition at line 537 of file client/detail/Client.cpp.

References _pimpl.

◆ AddActorTorque()

void carla::client::detail::Client::AddActorTorque ( rpc::ActorId  actor,
const geom::Vector3D &  vector 
)

Definition at line 553 of file client/detail/Client.cpp.

References _pimpl.

◆ AddTrafficManagerRunning()

bool carla::client::detail::Client::AddTrafficManagerRunning ( std::pair< std::string, uint16_t >  trafficManagerInfo) const

Informs the server that a Traffic Manager is running on <IP, port>

Definition at line 117 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::AddTrafficManagerRunning().

◆ ApplyAckermannControllerSettings()

void carla::client::detail::Client::ApplyAckermannControllerSettings ( rpc::ActorId  vehicle,
const rpc::AckermannControllerSettings &  settings 
)

◆ ApplyAckermannControlToVehicle()

void carla::client::detail::Client::ApplyAckermannControlToVehicle ( rpc::ActorId  vehicle,
const rpc::VehicleAckermannControl &  control 
)

◆ ApplyBatch()

void carla::client::detail::Client::ApplyBatch ( std::vector< rpc::Command >  commands,
bool  do_tick_cue 
)

Definition at line 866 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::ApplyBatch().

◆ ApplyBatchSync()

std::vector< rpc::CommandResponse > carla::client::detail::Client::ApplyBatchSync ( std::vector< rpc::Command >  commands,
bool  do_tick_cue 
)

Definition at line 870 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::ApplyBatchSync().

◆ ApplyColorTextureToObjects() [1/2]

void carla::client::detail::Client::ApplyColorTextureToObjects ( const std::vector< std::string > &  objects_name,
const rpc::MaterialParameter &  parameter,
const rpc::TextureColor &  Texture 
)

◆ ApplyColorTextureToObjects() [2/2]

void carla::client::detail::Client::ApplyColorTextureToObjects ( const std::vector< std::string > &  objects_name,
const rpc::MaterialParameter &  parameter,
const rpc::TextureFloatColor &  Texture 
)

Definition at line 190 of file client/detail/Client.cpp.

References _pimpl.

◆ ApplyControlToVehicle()

void carla::client::detail::Client::ApplyControlToVehicle ( rpc::ActorId  vehicle,
const rpc::VehicleControl &  control 
)

◆ ApplyControlToWalker()

void carla::client::detail::Client::ApplyControlToWalker ( rpc::ActorId  walker,
const rpc::WalkerControl &  control 
)

Definition at line 673 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::ApplyControlToWalker().

◆ ApplyPhysicsControlToVehicle()

void carla::client::detail::Client::ApplyPhysicsControlToVehicle ( rpc::ActorId  vehicle,
const rpc::VehiclePhysicsControl &  physics_control 
)

◆ ApplyTextureToActor() [1/2]

void carla::client::detail::Client::ApplyTextureToActor ( rpc::ActorId  ActorId,
const rpc::MaterialParameter &  MaterialParameter,
const rpc::TextureColor &  Texture 
)

◆ ApplyTextureToActor() [2/2]

void carla::client::detail::Client::ApplyTextureToActor ( rpc::ActorId  ActorId,
const rpc::MaterialParameter &  MaterialParameter,
const rpc::TextureFloatColor &  Texture 
)

Definition at line 175 of file client/detail/Client.cpp.

References _pimpl.

◆ BlendPose()

void carla::client::detail::Client::BlendPose ( rpc::ActorId  walker,
float  blend 
)

Definition at line 686 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::BlendPose().

◆ CastRay()

std::vector< rpc::LabelledPoint > carla::client::detail::Client::CastRay ( geom::Location  start_location,
geom::Location  end_location 
) const

Definition at line 916 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::CastRay().

◆ ClearDebugShape()

void carla::client::detail::Client::ClearDebugShape ( )

Definition at line 851 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::ClearDebugShape().

◆ ClearDebugString()

void carla::client::detail::Client::ClearDebugString ( )

Definition at line 855 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::ClearDebugString().

◆ ClearSkyLightMap()

void carla::client::detail::Client::ClearSkyLightMap ( )

Definition at line 201 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::ClearSkyLightMap().

◆ CloseVehicleDoor()

void carla::client::detail::Client::CloseVehicleDoor ( rpc::ActorId  vehicle,
const rpc::VehicleDoor  door_idx 
)

Definition at line 412 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::CloseVehicleDoor().

◆ CopyOpenDriveToServer()

void carla::client::detail::Client::CopyOpenDriveToServer ( std::string  opendrive,
const rpc::OpendriveGenerationParameters &  params 
)

Definition at line 162 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::LoadOpenDriveEpisode().

◆ DestroyActor()

bool carla::client::detail::Client::DestroyActor ( rpc::ActorId  actor)

◆ DestroyTrafficManager()

void carla::client::detail::Client::DestroyTrafficManager ( uint16_t  port) const

Definition at line 121 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::DestroyTrafficManager().

◆ DisableActorConstantAcceleration()

void carla::client::detail::Client::DisableActorConstantAcceleration ( rpc::ActorId  actor)

◆ DisableActorConstantVelocity()

void carla::client::detail::Client::DisableActorConstantVelocity ( rpc::ActorId  actor)

◆ DisableForROS()

void carla::client::detail::Client::DisableForROS ( const streaming::Token &  token)

◆ DrawDebugShape()

void carla::client::detail::Client::DrawDebugShape ( const rpc::DebugShape &  shape)

Definition at line 847 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::DrawDebugShape().

◆ EnableActorConstantAcceleration()

void carla::client::detail::Client::EnableActorConstantAcceleration ( rpc::ActorId  actor,
const geom::Vector3D &  vector 
)

◆ EnableActorConstantVelocity()

void carla::client::detail::Client::EnableActorConstantVelocity ( rpc::ActorId  actor,
const geom::Vector3D &  vector 
)

◆ EnableCarSim()

void carla::client::detail::Client::EnableCarSim ( rpc::ActorId  vehicle,
std::string  simfile_path 
)

Definition at line 647 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::EnableCarSim().

◆ EnableChronoPhysics()

void carla::client::detail::Client::EnableChronoPhysics ( rpc::ActorId  vehicle,
uint64_t  MaxSubsteps,
float  MaxSubstepDeltaTime,
std::string  VehicleJSON,
std::string  PowertrainJSON,
std::string  TireJSON,
std::string  BaseJSONPath 
)

Definition at line 655 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::EnableChronoPhysics().

◆ EnableEnvironmentObjects()

void carla::client::detail::Client::EnableEnvironmentObjects ( std::vector< uint64_t >  env_objects_ids,
bool  enable 
) const

◆ EnableForROS()

void carla::client::detail::Client::EnableForROS ( const streaming::Token &  token)

◆ FreezeAllTrafficLights()

void carla::client::detail::Client::FreezeAllTrafficLights ( bool  frozen)

◆ FreezeTrafficLight()

void carla::client::detail::Client::FreezeTrafficLight ( rpc::ActorId  traffic_light,
bool  freeze 
)

Definition at line 712 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::FreezeTrafficLight().

◆ GetAckermannControllerSettings()

rpc::AckermannControllerSettings carla::client::detail::Client::GetAckermannControllerSettings ( rpc::ActorId  vehicle) const

◆ GetActorBoneNames()

std::vector< std::string > carla::client::detail::Client::GetActorBoneNames ( rpc::ActorId  actor)

Definition at line 586 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetActorBoneNames().

◆ GetActorBoneRelativeTransforms()

std::vector< geom::Transform > carla::client::detail::Client::GetActorBoneRelativeTransforms ( rpc::ActorId  actor)

◆ GetActorBoneWorldTransforms()

std::vector< geom::Transform > carla::client::detail::Client::GetActorBoneWorldTransforms ( rpc::ActorId  actor)

◆ GetActorClassName()

std::string carla::client::detail::Client::GetActorClassName ( rpc::ActorId  actor) const

Definition at line 927 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetActorClassName().

◆ GetActorComponentNames()

std::vector< std::string > carla::client::detail::Client::GetActorComponentNames ( rpc::ActorId  actor)

◆ GetActorComponentRelativeTransform()

geom::Transform carla::client::detail::Client::GetActorComponentRelativeTransform ( rpc::ActorId  actor,
const std::string &  component_name 
)

◆ GetActorComponentWorldTransform()

geom::Transform carla::client::detail::Client::GetActorComponentWorldTransform ( rpc::ActorId  actor,
const std::string &  component_name 
)

◆ GetActorDefinitions()

std::vector< rpc::ActorDefinition > carla::client::detail::Client::GetActorDefinitions ( )

Definition at line 325 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetBlueprintLibrary().

◆ GetActorName()

std::string carla::client::detail::Client::GetActorName ( rpc::ActorId  actor) const

Definition at line 922 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetActorName().

◆ GetActorsById()

std::vector< rpc::Actor > carla::client::detail::Client::GetActorsById ( const std::vector< ActorId > &  ids)

◆ GetActorSocketNames()

std::vector< std::string > carla::client::detail::Client::GetActorSocketNames ( rpc::ActorId  actor)

Definition at line 601 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetActorSocketNames().

◆ GetActorSocketRelativeTransforms()

std::vector< geom::Transform > carla::client::detail::Client::GetActorSocketRelativeTransforms ( rpc::ActorId  actor)

◆ GetActorSocketWorldTransforms()

std::vector< geom::Transform > carla::client::detail::Client::GetActorSocketWorldTransforms ( rpc::ActorId  actor)

◆ GetAvailableMaps()

std::vector< std::string > carla::client::detail::Client::GetAvailableMaps ( )

Definition at line 309 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetAvailableMaps().

◆ GetBonesTransform()

rpc::WalkerBoneControlOut carla::client::detail::Client::GetBonesTransform ( rpc::ActorId  walker)

Definition at line 677 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetBonesTransform().

◆ GetCacheFile()

std::vector< uint8_t > carla::client::detail::Client::GetCacheFile ( const std::string &  name,
const bool  request_otherwise = true 
) const

◆ GetClientVersion()

std::string carla::client::detail::Client::GetClientVersion ( )

◆ GetContentPacks()

std::vector< rpc::ContentPackInfo > carla::client::detail::Client::GetContentPacks ( )

Definition at line 313 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetContentPacks().

◆ GetEgoSpawnPoints()

std::vector< geom::Transform > carla::client::detail::Client::GetEgoSpawnPoints ( ) const

Definition at line 369 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetEgoSpawnPoints().

◆ GetEndpoint()

const std::string carla::client::detail::Client::GetEndpoint ( ) const

◆ GetEnvironmentObjects()

std::vector< rpc::EnvironmentObject > carla::client::detail::Client::GetEnvironmentObjects ( uint8_t  queried_tag) const

Definition at line 899 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetEnvironmentObjects().

◆ GetEpisodeInfo()

rpc::EpisodeInfo carla::client::detail::Client::GetEpisodeInfo ( )

Definition at line 213 of file client/detail/Client.cpp.

References _pimpl.

◆ GetEpisodeSettings()

rpc::EpisodeSettings carla::client::detail::Client::GetEpisodeSettings ( )

◆ GetGroupTrafficLights()

std::vector< ActorId > carla::client::detail::Client::GetGroupTrafficLights ( rpc::ActorId  traffic_light)

Definition at line 742 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetGroupTrafficLights().

◆ GetIMUSensorGravity()

float carla::client::detail::Client::GetIMUSensorGravity ( )

Definition at line 349 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetIMUSensorGravity().

◆ GetLevelBBs()

std::vector< geom::BoundingBox > carla::client::detail::Client::GetLevelBBs ( uint8_t  queried_tag) const

Returns all the BBs of all the elements of the level.

Definition at line 894 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetLevelBBs().

◆ GetLightBoxes()

std::vector< geom::BoundingBox > carla::client::detail::Client::GetLightBoxes ( rpc::ActorId  traffic_light) const

Definition at line 728 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetLightBoxes().

◆ GetMapData()

std::string carla::client::detail::Client::GetMapData ( ) const

Definition at line 221 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetCurrentMap().

◆ GetMapInfo()

rpc::MapInfo carla::client::detail::Client::GetMapInfo ( )

Definition at line 217 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetCurrentMap().

◆ GetNamesOfAllObjects()

std::vector< std::string > carla::client::detail::Client::GetNamesOfAllObjects ( ) const

Definition at line 209 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetNamesOfAllObjects().

◆ GetNavigationMesh()

std::vector< uint8_t > carla::client::detail::Client::GetNavigationMesh ( ) const

Definition at line 225 of file client/detail/Client.cpp.

References _pimpl.

◆ GetPoseFromAnimation()

void carla::client::detail::Client::GetPoseFromAnimation ( rpc::ActorId  walker)

Definition at line 690 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetPoseFromAnimation().

◆ GetPublishTF()

bool carla::client::detail::Client::GetPublishTF ( ) const

Definition at line 365 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetPublishTF().

◆ GetRandomLocationFromNavigation()

geom::Location carla::client::detail::Client::GetRandomLocationFromNavigation ( ) const

Server-side random point on the loaded navmesh.

Returns the failure sentinel Location(0, 0, -1e6) when no point could be found.

Definition at line 240 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetRandomLocationFromNavigation().

◆ GetRequiredFiles()

std::vector< std::string > carla::client::detail::Client::GetRequiredFiles ( const std::string &  folder = "",
const bool  download = true 
) const

◆ GetServerVersion()

std::string carla::client::detail::Client::GetServerVersion ( )

◆ GetSpectator()

rpc::Actor carla::client::detail::Client::GetSpectator ( )

Definition at line 329 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetSpectator().

◆ GetTimeout()

time_duration carla::client::detail::Client::GetTimeout ( ) const

◆ GetTrafficManagerRunning()

std::pair< std::string, uint16_t > carla::client::detail::Client::GetTrafficManagerRunning ( uint16_t  port) const

Gets a pair filled with the <IP, port> of the Trafic Manager running on port.

If there is no Traffic Manager running the pair will be ("", 0)

Definition at line 113 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetTrafficManagerRunning().

◆ GetVehicleBoneWorldTransforms()

std::vector< geom::Transform > carla::client::detail::Client::GetVehicleBoneWorldTransforms ( rpc::ActorId  actor)

◆ GetVehicleLightState()

rpc::VehicleLightState carla::client::detail::Client::GetVehicleLightState ( rpc::ActorId  vehicle) const

Definition at line 389 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetVehicleLightState().

◆ GetVehiclePhysicsControl()

rpc::VehiclePhysicsControl carla::client::detail::Client::GetVehiclePhysicsControl ( rpc::ActorId  vehicle) const

◆ GetVehiclesLightStates()

rpc::VehicleLightStateList carla::client::detail::Client::GetVehiclesLightStates ( )

Returns a list of pairs where the firts element is the vehicle ID and the second one is the light state.

Definition at line 733 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetVehiclesLightStates().

◆ GetVehicleTelemetryData()

rpc::VehicleTelemetryData carla::client::detail::Client::GetVehicleTelemetryData ( rpc::ActorId  vehicle) const

◆ GetWeatherParameters()

rpc::WeatherParameters carla::client::detail::Client::GetWeatherParameters ( )

Definition at line 341 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetWeatherParameters().

◆ GetWheelPitchAngle()

float carla::client::detail::Client::GetWheelPitchAngle ( rpc::ActorId  vehicle,
rpc::VehicleWheelLocation  wheel_location 
)

Definition at line 438 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetWheelPitchAngle().

◆ GetWheelSteerAngle()

float carla::client::detail::Client::GetWheelSteerAngle ( rpc::ActorId  vehicle,
rpc::VehicleWheelLocation  wheel_location 
)

Definition at line 425 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::GetWheelSteerAngle().

◆ GetWheelSuspensionOffset()

float carla::client::detail::Client::GetWheelSuspensionOffset ( rpc::ActorId  vehicle,
rpc::VehicleWheelLocation  wheel_location 
)

◆ HasSkyLightMap()

bool carla::client::detail::Client::HasSkyLightMap ( ) const

Definition at line 205 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::HasSkyLightMap().

◆ IsEnabledForROS()

bool carla::client::detail::Client::IsEnabledForROS ( const streaming::Token &  token)

◆ IsNavigationServerSide()

bool carla::client::detail::Client::IsNavigationServerSide ( ) const

True when the server hosts the pedestrian navigation (a World-Partitioned navmesh exists in the current world).

Returns false on legacy .bin towns and on servers that predate the RPC.

Definition at line 229 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Episode::CreateNavigationIfMissing().

◆ IsTrafficManagerRunning()

bool carla::client::detail::Client::IsTrafficManagerRunning ( uint16_t  port) const

Querry to know if a Traffic Manager is running on port.

Definition at line 109 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::IsTrafficManagerRunning().

◆ IsWeatherEnabled()

bool carla::client::detail::Client::IsWeatherEnabled ( )

Definition at line 357 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::IsWeatherEnabled().

◆ LoadEpisode()

void carla::client::detail::Client::LoadEpisode ( std::string  map_name,
bool  reset_settings = true,
rpc::MapLayer  map_layer = rpc::MapLayer::All 
)

Definition at line 147 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::LoadEpisode().

◆ LoadLevelLayer()

void carla::client::detail::Client::LoadLevelLayer ( rpc::MapLayer  map_layer) const

Definition at line 152 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::LoadLevelLayer().

◆ MountContentPack()

rpc::ContentPackInfo carla::client::detail::Client::MountContentPack ( const std::string &  path)

Definition at line 317 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::MountContentPack().

◆ OpenVehicleDoor()

void carla::client::detail::Client::OpenVehicleDoor ( rpc::ActorId  vehicle,
const rpc::VehicleDoor  door_idx 
)

Definition at line 406 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::OpenVehicleDoor().

◆ ProjectPoint()

std::pair< bool, rpc::LabelledPoint > carla::client::detail::Client::ProjectPoint ( geom::Location  location,
geom::Vector3D  direction,
float  search_distance 
) const

Definition at line 910 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::ProjectPoint().

◆ QueryLightsStateToServer()

std::vector< rpc::LightState > carla::client::detail::Client::QueryLightsStateToServer ( ) const

◆ ReplayFile()

std::string carla::client::detail::Client::ReplayFile ( std::string  name,
double  start,
double  duration,
uint32_t  follow_id,
bool  replay_sensors,
bool  replay_weather,
const geom::Transform &  offset,
std::string  map_override 
)

Definition at line 767 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::ReplayFile().

◆ RequestFile()

void carla::client::detail::Client::RequestFile ( const std::string &  name) const

◆ ResetAllTrafficLights()

void carla::client::detail::Client::ResetAllTrafficLights ( )

Definition at line 720 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::ResetAllTrafficLights().

◆ ResetTrafficLightGroup()

void carla::client::detail::Client::ResetTrafficLightGroup ( rpc::ActorId  traffic_light)

◆ Send()

void carla::client::detail::Client::Send ( rpc::ActorId  ActorId,
const rpc::CustomV2XBytes &  data 
)

Definition at line 843 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::Send().

◆ SendTickCue()

uint64_t carla::client::detail::Client::SendTickCue ( )

◆ SetActorAutopilot()

void carla::client::detail::Client::SetActorAutopilot ( rpc::ActorId  vehicle,
bool  enabled 
)

Definition at line 622 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetVehicleAutopilot().

◆ SetActorCollisions()

void carla::client::detail::Client::SetActorCollisions ( rpc::ActorId  actor,
bool  enabled 
)

◆ SetActorDead()

void carla::client::detail::Client::SetActorDead ( rpc::ActorId  actor)

◆ SetActorEnableGravity()

void carla::client::detail::Client::SetActorEnableGravity ( rpc::ActorId  actor,
bool  enabled 
)

Definition at line 618 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetActorEnableGravity().

◆ SetActorLocation()

void carla::client::detail::Client::SetActorLocation ( rpc::ActorId  actor,
const geom::Location &  location 
)

Definition at line 501 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetActorLocation().

◆ SetActorSimulatePhysics()

void carla::client::detail::Client::SetActorSimulatePhysics ( rpc::ActorId  actor,
bool  enabled 
)

◆ SetActorTargetAngularVelocity()

void carla::client::detail::Client::SetActorTargetAngularVelocity ( rpc::ActorId  actor,
const geom::Vector3D &  vector 
)

◆ SetActorTargetVelocity()

void carla::client::detail::Client::SetActorTargetVelocity ( rpc::ActorId  actor,
const geom::Vector3D &  vector 
)

◆ SetActorTransform()

void carla::client::detail::Client::SetActorTransform ( rpc::ActorId  actor,
const geom::Transform &  transform 
)

Definition at line 505 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetActorTransform().

◆ SetBonesTransform()

void carla::client::detail::Client::SetBonesTransform ( rpc::ActorId  walker,
const rpc::WalkerBoneControlIn &  bones 
)

Definition at line 682 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetBonesTransform().

◆ SetEpisodeSettings()

uint64_t carla::client::detail::Client::SetEpisodeSettings ( const rpc::EpisodeSettings &  settings)

Definition at line 337 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetEpisodeSettings().

◆ SetFilesBaseFolder()

bool carla::client::detail::Client::SetFilesBaseFolder ( const std::string &  path)

◆ SetIMUSensorGravity()

void carla::client::detail::Client::SetIMUSensorGravity ( float  gravity)

Definition at line 353 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetIMUSensorGravity().

◆ SetLightStateToVehicle()

void carla::client::detail::Client::SetLightStateToVehicle ( rpc::ActorId  vehicle,
const rpc::VehicleLightState &  light_state 
)

◆ SetPedestriansCrossFactor()

bool carla::client::detail::Client::SetPedestriansCrossFactor ( float  percentage) const

Probability that a walker whose navigation starts after this call may cross roads (server-side navigation only).

Definition at line 260 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetPedestriansCrossFactor().

◆ SetPedestriansSeed()

bool carla::client::detail::Client::SetPedestriansSeed ( uint32_t  seed) const

Seed for the server-side navigation RNG (crosser draw); applies to walkers whose navigation starts after this call.

Definition at line 264 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetPedestriansSeed().

◆ SetPublishTF()

void carla::client::detail::Client::SetPublishTF ( bool  publish_tf)

Definition at line 361 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetPublishTF().

◆ SetReplayerIgnoreHero()

void carla::client::detail::Client::SetReplayerIgnoreHero ( bool  ignore_hero)

Definition at line 783 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetReplayerIgnoreHero().

◆ SetReplayerIgnoreSpectator()

void carla::client::detail::Client::SetReplayerIgnoreSpectator ( bool  ignore_spectator)

◆ SetReplayerTimeFactor()

void carla::client::detail::Client::SetReplayerTimeFactor ( double  time_factor)

Definition at line 779 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetReplayerTimeFactor().

◆ SetSkyLightMap()

void carla::client::detail::Client::SetSkyLightMap ( const rpc::TextureFloatColor &  panorama,
float  intensity,
int32_t  face_size 
)

Definition at line 197 of file client/detail/Client.cpp.

References _pimpl, and intensity.

Referenced by carla::client::detail::Simulator::SetSkyLightMap().

◆ SetTimeout()

void carla::client::detail::Client::SetTimeout ( time_duration  timeout)

◆ SetTrafficLightGreenTime()

void carla::client::detail::Client::SetTrafficLightGreenTime ( rpc::ActorId  traffic_light,
float  green_time 
)

◆ SetTrafficLightRedTime()

void carla::client::detail::Client::SetTrafficLightRedTime ( rpc::ActorId  traffic_light,
float  red_time 
)

◆ SetTrafficLightState()

void carla::client::detail::Client::SetTrafficLightState ( rpc::ActorId  traffic_light,
const rpc::TrafficLightState  trafficLightState 
)

Definition at line 694 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetTrafficLightState().

◆ SetTrafficLightYellowTime()

void carla::client::detail::Client::SetTrafficLightYellowTime ( rpc::ActorId  traffic_light,
float  yellow_time 
)

◆ SetWeatherParameters()

void carla::client::detail::Client::SetWeatherParameters ( const rpc::WeatherParameters &  weather)

Definition at line 345 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetWeatherParameters().

◆ SetWheelAnimationOverride()

void carla::client::detail::Client::SetWheelAnimationOverride ( rpc::ActorId  vehicle,
bool  enabled 
)

◆ SetWheelPitchAngle()

void carla::client::detail::Client::SetWheelPitchAngle ( rpc::ActorId  vehicle,
rpc::VehicleWheelLocation  wheel_location,
float  angle_in_deg 
)

Definition at line 431 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SetWheelPitchAngle().

◆ SetWheelSteerDirection()

void carla::client::detail::Client::SetWheelSteerDirection ( rpc::ActorId  vehicle,
rpc::VehicleWheelLocation  vehicle_wheel,
float  angle_in_deg 
)

◆ SetWheelSuspensionOffset()

void carla::client::detail::Client::SetWheelSuspensionOffset ( rpc::ActorId  vehicle,
rpc::VehicleWheelLocation  wheel_location,
float  offset 
)

◆ ShowRecorderActorsBlocked()

std::string carla::client::detail::Client::ShowRecorderActorsBlocked ( std::string  name,
double  min_time,
double  min_distance 
)

◆ ShowRecorderCollisions()

std::string carla::client::detail::Client::ShowRecorderCollisions ( std::string  name,
char  type1,
char  type2 
)

◆ ShowRecorderFileInfo()

std::string carla::client::detail::Client::ShowRecorderFileInfo ( std::string  name,
bool  show_all 
)

Definition at line 755 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::ShowRecorderFileInfo().

◆ ShowVehicleDebugTelemetry()

void carla::client::detail::Client::ShowVehicleDebugTelemetry ( rpc::ActorId  vehicle,
bool  enabled 
)

◆ SpawnActor()

rpc::Actor carla::client::detail::Client::SpawnActor ( const rpc::ActorDescription &  description,
const geom::Transform &  transform 
)

Definition at line 461 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SpawnActor().

◆ SpawnActorWithParent()

rpc::Actor carla::client::detail::Client::SpawnActorWithParent ( const rpc::ActorDescription &  description,
const geom::Transform &  transform,
rpc::ActorId  parent,
rpc::AttachmentType  attachment_type 
)

◆ SpawnCustomMesh()

void carla::client::detail::Client::SpawnCustomMesh ( const std::vector< float > &  vertices,
const std::vector< uint32_t > &  triangles,
const std::string &  material 
)

Definition at line 859 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SpawnCustomMesh().

◆ StartRecorder()

std::string carla::client::detail::Client::StartRecorder ( std::string  name,
bool  additional_data,
bool  stop_replayer 
)

Definition at line 747 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::StartRecorder().

◆ StopRecorder()

void carla::client::detail::Client::StopRecorder ( )

Definition at line 751 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::StopRecorder().

◆ StopReplayer()

void carla::client::detail::Client::StopReplayer ( bool  keep_actors)

Definition at line 775 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::StopReplayer().

◆ StopStreaming()

void carla::client::detail::Client::StopStreaming ( )

Join the streaming threads; no stream callback runs afterwards.

Definition at line 803 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::~Simulator().

◆ SubscribeToGBuffer()

void carla::client::detail::Client::SubscribeToGBuffer ( rpc::ActorId  ActorId,
uint32_t  GBufferId,
std::function< void(Buffer)>  callback 
)

Definition at line 822 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::SubscribeToGBuffer().

◆ SubscribeToStream()

void carla::client::detail::Client::SubscribeToStream ( const streaming::Token &  token,
std::function< void(Buffer)>  callback 
)

◆ UnloadLevelLayer()

void carla::client::detail::Client::UnloadLevelLayer ( rpc::MapLayer  map_layer) const

Definition at line 157 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::UnloadLevelLayer().

◆ UnmountContentPack()

bool carla::client::detail::Client::UnmountContentPack ( const std::string &  name)

Definition at line 321 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::UnmountContentPack().

◆ UnSubscribeFromGBuffer()

void carla::client::detail::Client::UnSubscribeFromGBuffer ( rpc::ActorId  ActorId,
uint32_t  GBufferId 
)

◆ UnSubscribeFromStream()

void carla::client::detail::Client::UnSubscribeFromStream ( const streaming::Token &  token)

◆ UpdateDayNightCycle()

void carla::client::detail::Client::UpdateDayNightCycle ( const bool  active) const

Definition at line 890 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::UpdateDayNightCycle().

◆ UpdateServerLightsState()

void carla::client::detail::Client::UpdateServerLightsState ( std::vector< rpc::LightState > &  lights,
bool  discard_client = false 
) const

◆ UseCarSimRoad()

void carla::client::detail::Client::UseCarSimRoad ( rpc::ActorId  vehicle,
bool  enabled 
)

Definition at line 651 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::UseCarSimRoad().

◆ WalkerGoToLocation()

bool carla::client::detail::Client::WalkerGoToLocation ( rpc::ActorId  walker,
const geom::Location &  destination 
) const

Definition at line 248 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::WalkerGoToLocation().

◆ WalkerSetMaxSpeed()

bool carla::client::detail::Client::WalkerSetMaxSpeed ( rpc::ActorId  walker,
float  max_speed 
) const

Definition at line 252 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::WalkerSetMaxSpeed().

◆ WalkerStartNavigation()

bool carla::client::detail::Client::WalkerStartNavigation ( rpc::ActorId  walker) const

Definition at line 244 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::WalkerStartNavigation().

◆ WalkerStopNavigation()

bool carla::client::detail::Client::WalkerStopNavigation ( rpc::ActorId  walker) const

Definition at line 256 of file client/detail/Client.cpp.

References _pimpl.

Referenced by carla::client::detail::Simulator::WalkerStopNavigation().

Member Data Documentation

◆ _pimpl

const std::unique_ptr<Pimpl> carla::client::detail::Client::_pimpl
private

Definition at line 577 of file client/detail/Client.h.

Referenced by AddActorAngularImpulse(), AddActorForce(), AddActorForce(), AddActorImpulse(), AddActorImpulse(), AddActorTorque(), AddTrafficManagerRunning(), ApplyAckermannControllerSettings(), ApplyAckermannControlToVehicle(), ApplyBatch(), ApplyBatchSync(), ApplyColorTextureToObjects(), ApplyColorTextureToObjects(), ApplyControlToVehicle(), ApplyControlToWalker(), ApplyPhysicsControlToVehicle(), ApplyTextureToActor(), ApplyTextureToActor(), BlendPose(), CastRay(), ClearDebugShape(), ClearDebugString(), ClearSkyLightMap(), CloseVehicleDoor(), CopyOpenDriveToServer(), DestroyActor(), DestroyTrafficManager(), DisableActorConstantAcceleration(), DisableActorConstantVelocity(), DisableForROS(), DrawDebugShape(), EnableActorConstantAcceleration(), EnableActorConstantVelocity(), EnableCarSim(), EnableChronoPhysics(), EnableEnvironmentObjects(), EnableForROS(), FreezeAllTrafficLights(), FreezeTrafficLight(), GetAckermannControllerSettings(), GetActorBoneNames(), GetActorBoneRelativeTransforms(), GetActorBoneWorldTransforms(), GetActorClassName(), GetActorComponentNames(), GetActorComponentRelativeTransform(), GetActorComponentWorldTransform(), GetActorDefinitions(), GetActorName(), GetActorsById(), GetActorSocketNames(), GetActorSocketRelativeTransforms(), GetActorSocketWorldTransforms(), GetAvailableMaps(), GetBonesTransform(), GetContentPacks(), GetEgoSpawnPoints(), GetEndpoint(), GetEnvironmentObjects(), GetEpisodeInfo(), GetEpisodeSettings(), GetGroupTrafficLights(), GetIMUSensorGravity(), GetLevelBBs(), GetLightBoxes(), GetMapData(), GetMapInfo(), GetNamesOfAllObjects(), GetNavigationMesh(), GetPoseFromAnimation(), GetPublishTF(), GetRandomLocationFromNavigation(), GetRequiredFiles(), GetServerVersion(), GetSpectator(), GetTimeout(), GetTrafficManagerRunning(), GetVehicleBoneWorldTransforms(), GetVehicleLightState(), GetVehiclePhysicsControl(), GetVehiclesLightStates(), GetVehicleTelemetryData(), GetWeatherParameters(), GetWheelPitchAngle(), GetWheelSteerAngle(), GetWheelSuspensionOffset(), HasSkyLightMap(), IsEnabledForROS(), IsNavigationServerSide(), IsTrafficManagerRunning(), IsWeatherEnabled(), LoadEpisode(), LoadLevelLayer(), MountContentPack(), OpenVehicleDoor(), ProjectPoint(), QueryLightsStateToServer(), ReplayFile(), RequestFile(), ResetAllTrafficLights(), ResetTrafficLightGroup(), Send(), SendTickCue(), SetActorAutopilot(), SetActorCollisions(), SetActorDead(), SetActorEnableGravity(), SetActorLocation(), SetActorSimulatePhysics(), SetActorTargetAngularVelocity(), SetActorTargetVelocity(), SetActorTransform(), SetBonesTransform(), SetEpisodeSettings(), SetIMUSensorGravity(), SetLightStateToVehicle(), SetPedestriansCrossFactor(), SetPedestriansSeed(), SetPublishTF(), SetReplayerIgnoreHero(), SetReplayerIgnoreSpectator(), SetReplayerTimeFactor(), SetSkyLightMap(), SetTimeout(), SetTrafficLightGreenTime(), SetTrafficLightRedTime(), SetTrafficLightState(), SetTrafficLightYellowTime(), SetWeatherParameters(), SetWheelAnimationOverride(), SetWheelPitchAngle(), SetWheelSteerDirection(), SetWheelSuspensionOffset(), ShowRecorderActorsBlocked(), ShowRecorderCollisions(), ShowRecorderFileInfo(), ShowVehicleDebugTelemetry(), SpawnActor(), SpawnActorWithParent(), SpawnCustomMesh(), StartRecorder(), StopRecorder(), StopReplayer(), StopStreaming(), SubscribeToGBuffer(), SubscribeToStream(), UnloadLevelLayer(), UnmountContentPack(), UnSubscribeFromGBuffer(), UnSubscribeFromStream(), UpdateDayNightCycle(), UpdateServerLightsState(), UseCarSimRoad(), WalkerGoToLocation(), WalkerSetMaxSpeed(), WalkerStartNavigation(), and WalkerStopNavigation().


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