CARLA
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:
+ Collaboration 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> More...
 
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::CommandResponseApplyBatchSync (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 BlendPose (rpc::ActorId walker, float blend)
 
std::vector< rpc::LabelledPointCastRay (geom::Location start_location, geom::Location end_location) const
 
 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 DisableActorConstantVelocity (rpc::ActorId actor)
 
void DisableForROS (const streaming::Token &token)
 
void DrawDebugShape (const rpc::DebugShape &shape)
 
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< rpc::ActorDefinitionGetActorDefinitions ()
 
std::vector< rpc::ActorGetActorsById (const std::vector< ActorId > &ids)
 
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 ()
 
const std::string GetEndpoint () const
 
std::vector< rpc::EnvironmentObjectGetEnvironmentObjects (uint8_t queried_tag) const
 
rpc::EpisodeInfo GetEpisodeInfo ()
 
rpc::EpisodeSettings GetEpisodeSettings ()
 
std::vector< ActorIdGetGroupTrafficLights (rpc::ActorId traffic_light)
 
std::vector< geom::BoundingBoxGetLevelBBs (uint8_t queried_tag) const
 Returns all the BBs of all the elements of the level. More...
 
std::vector< geom::BoundingBoxGetLightBoxes (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)
 
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. More...
 
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. More...
 
rpc::WeatherParameters GetWeatherParameters ()
 
float GetWheelSteerAngle (rpc::ActorId vehicle, rpc::VehicleWheelLocation wheel_location)
 
bool IsEnabledForROS (const streaming::Token &token)
 
bool IsTrafficManagerRunning (uint16_t port) const
 Querry to know if a Traffic Manager is running on port. More...
 
void LoadEpisode (std::string map_name, bool reset_settings=true, rpc::MapLayer map_layer=rpc::MapLayer::All)
 
void LoadLevelLayer (rpc::MapLayer map_layer) const
 
void OpenVehicleDoor (rpc::ActorId vehicle, const rpc::VehicleDoor door_idx)
 
std::pair< bool, rpc::LabelledPointProjectPoint (geom::Location location, geom::Vector3D direction, float search_distance) const
 
std::vector< rpc::LightStateQueryLightsStateToServer () const
 
std::string ReplayFile (std::string name, double start, double duration, uint32_t follow_id, bool replay_sensors)
 
void RequestFile (const std::string &name) const
 
void ResetAllTrafficLights ()
 
void ResetTrafficLightGroup (rpc::ActorId traffic_light)
 
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 SetLightStateToVehicle (rpc::ActorId vehicle, const rpc::VehicleLightState &light_state)
 
void SetReplayerIgnoreHero (bool ignore_hero)
 
void SetReplayerIgnoreSpectator (bool ignore_spectator)
 
void SetReplayerTimeFactor (double time_factor)
 
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 SetWheelSteerDirection (rpc::ActorId vehicle, rpc::VehicleWheelLocation vehicle_wheel, float angle_in_deg)
 
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)
 
std::string StartRecorder (std::string name, bool additional_data)
 
void StopRecorder ()
 
void StopReplayer (bool keep_actors)
 
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
 
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)
 
 ~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
 
NonCopyableoperator= (const NonCopyable &)=delete
 
NonCopyableoperator= (NonCopyable &&)=delete
 

Detailed Description

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

Definition at line 69 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

Referenced by DestroyTrafficManager().

+ Here is the caller graph for this function:

Member Function Documentation

◆ AddActorAngularImpulse()

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

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

References _pimpl.

Referenced by carla::client::detail::Simulator::AddActorAngularImpulse(), and carla::client::detail::Simulator::AddActorTorque().

+ Here is the caller graph for this function:

◆ AddActorForce() [1/2]

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ AddActorForce() [2/2]

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

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

References _pimpl.

◆ AddActorImpulse() [1/2]

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ AddActorImpulse() [2/2]

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

Definition at line 391 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 407 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().

+ Here is the caller graph for this function:

◆ ApplyAckermannControllerSettings()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ ApplyAckermannControlToVehicle()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ ApplyBatch()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ ApplyBatchSync()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ ApplyColorTextureToObjects() [1/2]

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ 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 174 of file client/detail/Client.cpp.

References _pimpl.

◆ ApplyControlToVehicle()

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

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

References _pimpl.

Referenced by carla::client::detail::Simulator::ApplyControlToVehicle(), and carla::client::detail::Simulator::SetLightsToVehicle().

+ Here is the caller graph for this function:

◆ ApplyControlToWalker()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ ApplyPhysicsControlToVehicle()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ BlendPose()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ CastRay()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ CloseVehicleDoor()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ 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().

+ Here is the caller graph for this function:

◆ DestroyActor()

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

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

References _pimpl, and carla::log_error().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DestroyTrafficManager()

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

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

References _pimpl, and ~Client().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DisableActorConstantVelocity()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ DisableForROS()

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

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

References _pimpl, and carla::streaming::detail::token_type::get_stream_id().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawDebugShape()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ EnableActorConstantVelocity()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ EnableCarSim()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ 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 460 of file client/detail/Client.cpp.

References _pimpl.

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

+ Here is the caller graph for this function:

◆ EnableEnvironmentObjects()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ EnableForROS()

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

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

References _pimpl, and carla::streaming::detail::token_type::get_stream_id().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FreezeAllTrafficLights()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ FreezeTrafficLight()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetAckermannControllerSettings()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetActorDefinitions()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetActorsById()

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

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

References _pimpl.

Referenced by carla::client::detail::Episode::GetActorById(), and carla::client::detail::GetActorsById_Impl().

+ Here is the caller graph for this function:

◆ GetAvailableMaps()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetBonesTransform()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetCacheFile()

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

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

References carla::client::FileTransfer::ReadFile(), and RequestFile().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetClientVersion()

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

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

Referenced by carla::client::detail::Simulator::GetClientVersion(), and carla::client::detail::ValidateVersions().

+ Here is the caller graph for this function:

◆ GetEndpoint()

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

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

References _pimpl.

Referenced by carla::client::detail::Simulator::GetEndpoint(), carla::client::detail::Simulator::Tick(), and carla::client::detail::Simulator::WaitForTick().

+ Here is the caller graph for this function:

◆ GetEnvironmentObjects()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetEpisodeInfo()

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

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

References _pimpl.

◆ GetEpisodeSettings()

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

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

References _pimpl.

Referenced by carla::client::detail::Simulator::GetEpisodeSettings(), and carla::client::detail::Simulator::LoadEpisode().

+ Here is the caller graph for this function:

◆ GetGroupTrafficLights()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ 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 669 of file client/detail/Client.cpp.

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetLightBoxes()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetMapData()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetMapInfo()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetNamesOfAllObjects()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetNavigationMesh()

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

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

References _pimpl.

◆ GetPoseFromAnimation()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetRequiredFiles()

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

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

References _pimpl, carla::client::FileTransfer::FileExists(), carla::log_info(), and RequestFile().

Referenced by carla::client::detail::Simulator::GetCurrentMap(), and carla::client::detail::Simulator::GetRequiredFiles().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetServerVersion()

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

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

References _pimpl.

Referenced by carla::client::detail::Simulator::GetServerVersion(), and carla::client::detail::ValidateVersions().

+ Here is the caller graph for this function:

◆ GetSpectator()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetTimeout()

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

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

References _pimpl.

Referenced by carla::client::detail::Simulator::GetNetworkingTimeout(), and carla::client::detail::Simulator::LoadEpisode().

+ Here is the caller graph for this function:

◆ 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().

+ Here is the caller graph for this function:

◆ GetVehicleLightState()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetVehiclePhysicsControl()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ 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 538 of file client/detail/Client.cpp.

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetWeatherParameters()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ GetWheelSteerAngle()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ IsEnabledForROS()

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

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

References _pimpl, and carla::streaming::detail::token_type::get_stream_id().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ 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().

+ Here is the caller graph for this function:

◆ 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().

+ Here is the caller graph for this function:

◆ 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().

+ Here is the caller graph for this function:

◆ OpenVehicleDoor()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ ProjectPoint()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ QueryLightsStateToServer()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ ReplayFile()

std::string carla::client::detail::Client::ReplayFile ( std::string  name,
double  start,
double  duration,
uint32_t  follow_id,
bool  replay_sensors 
)

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ RequestFile()

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

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

References _pimpl, and carla::client::FileTransfer::WriteFile().

Referenced by GetCacheFile(), GetRequiredFiles(), and carla::client::detail::Simulator::RequestFile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetAllTrafficLights()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ ResetTrafficLightGroup()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SendTickCue()

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

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

References _pimpl.

Referenced by carla::client::detail::Simulator::LoadEpisode(), and carla::client::detail::Simulator::Tick().

+ Here is the caller graph for this function:

◆ SetActorAutopilot()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetActorCollisions()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetActorDead()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetActorEnableGravity()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetActorLocation()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetActorSimulatePhysics()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetActorTargetAngularVelocity()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetActorTargetVelocity()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetActorTransform()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetBonesTransform()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetEpisodeSettings()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetFilesBaseFolder()

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

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

References carla::client::FileTransfer::SetFilesBaseFolder().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetLightStateToVehicle()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetReplayerIgnoreHero()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetReplayerIgnoreSpectator()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetReplayerTimeFactor()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetTimeout()

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

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

References _pimpl, and carla::time_duration::milliseconds().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetTrafficLightGreenTime()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetTrafficLightRedTime()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetTrafficLightState()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetTrafficLightYellowTime()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetWeatherParameters()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SetWheelSteerDirection()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ ShowRecorderActorsBlocked()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ ShowRecorderCollisions()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ ShowRecorderFileInfo()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ ShowVehicleDebugTelemetry()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SpawnActor()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SpawnActorWithParent()

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

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

References _pimpl, carla::geom::Math::Dot(), carla::geom::Transform::location, carla::geom::Vector3D::MakeSafeUnitVector(), carla::rpc::SpringArm, and carla::rpc::SpringArmGhost.

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StartRecorder()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ StopRecorder()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ StopReplayer()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SubscribeToGBuffer()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ SubscribeToStream()

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

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

References _pimpl, and carla::streaming::detail::token_type::get_stream_id().

Referenced by carla::client::detail::Episode::Listen(), and carla::client::detail::Simulator::SubscribeToSensor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ 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().

+ Here is the caller graph for this function:

◆ UnSubscribeFromGBuffer()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ UnSubscribeFromStream()

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

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

References _pimpl.

Referenced by carla::client::detail::Simulator::UnSubscribeFromSensor(), and carla::client::detail::Episode::~Episode().

+ Here is the caller graph for this function:

◆ UpdateDayNightCycle()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ UpdateServerLightsState()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

◆ UseCarSimRoad()

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

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

References _pimpl.

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

+ Here is the caller graph for this function:

Member Data Documentation

◆ _pimpl

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

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

Referenced by AddActorAngularImpulse(), AddActorForce(), AddActorImpulse(), AddActorTorque(), AddTrafficManagerRunning(), ApplyAckermannControllerSettings(), ApplyAckermannControlToVehicle(), ApplyBatch(), ApplyBatchSync(), ApplyColorTextureToObjects(), ApplyControlToVehicle(), ApplyControlToWalker(), ApplyPhysicsControlToVehicle(), BlendPose(), CastRay(), CloseVehicleDoor(), CopyOpenDriveToServer(), DestroyActor(), DestroyTrafficManager(), DisableActorConstantVelocity(), DisableForROS(), DrawDebugShape(), EnableActorConstantVelocity(), EnableCarSim(), EnableChronoPhysics(), EnableEnvironmentObjects(), EnableForROS(), FreezeAllTrafficLights(), FreezeTrafficLight(), GetAckermannControllerSettings(), GetActorDefinitions(), GetActorsById(), GetAvailableMaps(), GetBonesTransform(), GetEndpoint(), GetEnvironmentObjects(), GetEpisodeInfo(), GetEpisodeSettings(), GetGroupTrafficLights(), GetLevelBBs(), GetLightBoxes(), GetMapData(), GetMapInfo(), GetNamesOfAllObjects(), GetNavigationMesh(), GetPoseFromAnimation(), GetRequiredFiles(), GetServerVersion(), GetSpectator(), GetTimeout(), GetTrafficManagerRunning(), GetVehicleLightState(), GetVehiclePhysicsControl(), GetVehiclesLightStates(), GetWeatherParameters(), GetWheelSteerAngle(), IsEnabledForROS(), IsTrafficManagerRunning(), LoadEpisode(), LoadLevelLayer(), OpenVehicleDoor(), ProjectPoint(), QueryLightsStateToServer(), ReplayFile(), RequestFile(), ResetAllTrafficLights(), ResetTrafficLightGroup(), SendTickCue(), SetActorAutopilot(), SetActorCollisions(), SetActorDead(), SetActorEnableGravity(), SetActorLocation(), SetActorSimulatePhysics(), SetActorTargetAngularVelocity(), SetActorTargetVelocity(), SetActorTransform(), SetBonesTransform(), SetEpisodeSettings(), SetLightStateToVehicle(), SetReplayerIgnoreHero(), SetReplayerIgnoreSpectator(), SetReplayerTimeFactor(), SetTimeout(), SetTrafficLightGreenTime(), SetTrafficLightRedTime(), SetTrafficLightState(), SetTrafficLightYellowTime(), SetWeatherParameters(), SetWheelSteerDirection(), ShowRecorderActorsBlocked(), ShowRecorderCollisions(), ShowRecorderFileInfo(), ShowVehicleDebugTelemetry(), SpawnActor(), SpawnActorWithParent(), StartRecorder(), StopRecorder(), StopReplayer(), SubscribeToGBuffer(), SubscribeToStream(), UnloadLevelLayer(), UnSubscribeFromGBuffer(), UnSubscribeFromStream(), UpdateDayNightCycle(), UpdateServerLightsState(), and UseCarSimRoad().


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