CARLA
 
载入中...
搜索中...
未找到
Private 成员函数 | Private 属性 | 所有成员列表
carla::client::detail::Simulator类 参考

连接并控制 CARLA 模拟器。 更多...

#include <Simulator.h>

+ 类 carla::client::detail::Simulator 继承关系图:
+ carla::client::detail::Simulator 的协作图:

Public 成员函数

构造函数
 Simulator (const std::string &host, uint16_t port, size_t worker_threads=0u, bool enable_garbage_collection=false)
 
加载新的场景
EpisodeProxy ReloadEpisode (bool reset_settings=true)
 
EpisodeProxy LoadEpisode (std::string map_name, bool reset_settings=true, rpc::MapLayer map_layers=rpc::MapLayer::All)
 
void LoadLevelLayer (rpc::MapLayer map_layers) const
 
void UnloadLevelLayer (rpc::MapLayer map_layers) const
 
EpisodeProxy LoadOpenDriveEpisode (std::string opendrive, const rpc::OpendriveGenerationParameters &params, bool reset_settings=true)
 
访问当前场景
auto GetCurrentEpisodeId ()
 
void GetReadyCurrentEpisode ()
 
EpisodeProxy GetCurrentEpisode ()
 
世界快照
World GetWorld ()
 
世界快照
WorldSnapshot GetWorldSnapshot () const
 
地图相关的方法
SharedPtr< Map > GetCurrentMap ()
 
std::vector< std::string > GetAvailableMaps ()
 
所需文件相关的方法
bool SetFilesBaseFolder (const std::string &path)
 
std::vector< std::string > GetRequiredFiles (const std::string &folder="", const bool download=true) const
 
void RequestFile (const std::string &name) const
 
std::vector< uint8_t > GetCacheFile (const std::string &name, const bool request_otherwise) const
 
垃圾收集策略
GarbageCollectionPolicy GetGarbageCollectionPolicy () const
 
纯网络操作
void SetNetworkingTimeout (time_duration timeout)
 
time_duration GetNetworkingTimeout ()
 
std::string GetClientVersion ()
 
std::string GetServerVersion ()
 
节拍
WorldSnapshot WaitForTick (time_duration timeout)
 
size_t RegisterOnTickEvent (std::function< void(WorldSnapshot)> callback)
 
void RemoveOnTickEvent (size_t id)
 
uint64_t Tick (time_duration timeout)
 
访问场景中的全局对象
std::string GetEndpoint ()
 
bool IsTrafficManagerRunning (uint16_t port) const
 查询交通管理器是否正在端口上运行 更多...
 
std::pair< std::string, uint16_t > GetTrafficManagerRunning (uint16_t port) const
 获取一个填充了在端口上运行的交通管理器的 <IP, 端口> 对。 如果没有正在运行的流量管理器,则该对将为 ("", 0) 更多...
 
bool AddTrafficManagerRunning (std::pair< std::string, uint16_t > trafficManagerInfo) const
 通知交通管理器正在 <IP, 端口> 上运行 更多...
 
void DestroyTrafficManager (uint16_t port) const
 
void AddPendingException (std::string e)
 
SharedPtr< BlueprintLibrary > GetBlueprintLibrary ()
 
rpc::VehicleLightStateList GetVehiclesLightStates ()
 返回一个列表,其中第一个元素是车辆 ID,第二个元素是灯光状态 更多...
 
SharedPtr< Actor > GetSpectator ()
 
rpc::EpisodeSettings GetEpisodeSettings ()
 
uint64_t SetEpisodeSettings (const rpc::EpisodeSettings &settings)
 
rpc::WeatherParameters GetWeatherParameters ()
 
void SetWeatherParameters (const rpc::WeatherParameters &weather)
 
float GetIMUISensorGravity () const
 
void SetIMUISensorGravity (float NewIMUISensorGravity)
 
rpc::VehiclePhysicsControl GetVehiclePhysicsControl (const Vehicle &vehicle) const
 
rpc::VehicleLightState GetVehicleLightState (const Vehicle &vehicle) const
 
std::vector< geom::BoundingBox > GetLevelBBs (uint8_t queried_tag) const
 Returns all the BBs of all the elements of the level 更多...
 
std::vector< rpc::EnvironmentObject > GetEnvironmentObjects (uint8_t queried_tag) const
 
void EnableEnvironmentObjects (std::vector< uint64_t > env_objects_ids, bool enable) const
 
std::pair< bool, rpc::LabelledPoint > ProjectPoint (geom::Location location, geom::Vector3D direction, float search_distance) const
 
std::vector< rpc::LabelledPoint > CastRay (geom::Location start_location, geom::Location end_location) const
 
人工智能
std::shared_ptr< WalkerNavigation > GetNavigation ()
 
void NavigationTick ()
 
void RegisterAIController (const WalkerAIController &controller)
 
void UnregisterAIController (const WalkerAIController &controller)
 
boost::optional< geom::Location > GetRandomLocationFromNavigation ()
 
void SetPedestriansCrossFactor (float percentage)
 
void SetPedestriansSeed (unsigned int seed)
 
参与者的一般操作
boost::optional< rpc::Actor > GetActorById (ActorId id) const
 
std::vector< rpc::Actor > GetActorsById (const std::vector< ActorId > &actor_ids) const
 根据一组演员ID获取对应的演员信息 更多...
 
std::vector< rpc::Actor > GetAllTheActorsInTheEpisode () const
 获取当前 episode 中所有的演员信息 更多...
 
SharedPtr< Actor > MakeActor (rpc::Actor actor_description, GarbageCollectionPolicy gc=GarbageCollectionPolicy::Disabled)
 根据现有参与者的描述创建一个参与者实例。请注意,这不会生成参与者。 更多...
 
SharedPtr< Actor > SpawnActor (const ActorBlueprint &blueprint, const geom::Transform &transform, Actor *parent=nullptr, rpc::AttachmentType attachment_type=rpc::AttachmentType::Rigid, GarbageCollectionPolicy gc=GarbageCollectionPolicy::Inherit, const std::string &socket_name="")
 在模拟中生成一个参与者 更多...
 
bool DestroyActor (Actor &actor)
 销毁指定的演员 更多...
 
bool DestroyActor (ActorId actor_id)
 
ActorSnapshot GetActorSnapshot (ActorId actor_id) const
 
ActorSnapshot GetActorSnapshot (const Actor &actor) const
 
rpc::ActorState GetActorState (const Actor &actor) const
 
geom::Location GetActorLocation (const Actor &actor) const
 
geom::Transform GetActorTransform (const Actor &actor) const
 获取指定演员的变换信息(包括位置、旋转、缩放) 更多...
 
geom::Vector3D GetActorVelocity (const Actor &actor) const
 获取指定演员的速度(可能包括线性速度和角速度) 更多...
 
void SetActorTargetVelocity (const Actor &actor, const geom::Vector3D &vector)
 设置指定演员的目标速度 更多...
 
geom::Vector3D GetActorAngularVelocity (const Actor &actor) const
 获取指定演员的角速度 更多...
 
void SetActorTargetAngularVelocity (const Actor &actor, const geom::Vector3D &vector)
 设置指定演员的目标角速度 更多...
 
void EnableActorConstantVelocity (const Actor &actor, const geom::Vector3D &vector)
 启用演员的恒定速度(用于模拟持续的线性运动) 更多...
 
void DisableActorConstantVelocity (const Actor &actor)
 禁用演员的恒定速度 更多...
 
void AddActorImpulse (const Actor &actor, const geom::Vector3D &impulse)
 给指定演员施加脉冲力 更多...
 
void AddActorImpulse (const Actor &actor, const geom::Vector3D &impulse, const geom::Vector3D &location)
 给指定演员在特定位置施加脉冲力 更多...
 
void AddActorForce (const Actor &actor, const geom::Vector3D &force)
 给指定演员施加持续的力 更多...
 
void AddActorForce (const Actor &actor, const geom::Vector3D &force, const geom::Vector3D &location)
 给指定演员在特定位置施加持续的力 更多...
 
void AddActorAngularImpulse (const Actor &actor, const geom::Vector3D &vector)
 给指定演员施加角脉冲(影响角度运动) 更多...
 
void AddActorTorque (const Actor &actor, const geom::Vector3D &torque)
 给指定演员施加扭矩 更多...
 
geom::Vector3D GetActorAcceleration (const Actor &actor) const
 获取指定演员的加速度 更多...
 
geom::Transform GetActorComponentWorldTransform (const Actor &actor, const std::string componentName)
 获取指定演员组件的世界坐标变换信息 更多...
 
geom::Transform GetActorComponentRelativeTransform (const Actor &actor, std::string componentName)
 获取指定演员组件的相对坐标变换信息 更多...
 
std::vector< geom::Transform > GetActorBoneWorldTransforms (const Actor &actor)
 
std::vector< geom::Transform > GetActorBoneRelativeTransforms (const Actor &actor)
 
std::vector< std::string > GetActorComponentNames (const Actor &actor)
 
std::vector< std::string > GetActorBoneNames (const Actor &actor)
 
std::vector< geom::Transform > GetActorSocketWorldTransforms (const Actor &actor)
 
std::vector< geom::Transform > GetActorSocketRelativeTransforms (const Actor &actor)
 
std::vector< std::string > GetActorSocketNames (const Actor &actor)
 
void SetActorLocation (Actor &actor, const geom::Location &location)
 设置 Actor 状态 更多...
 
void SetActorTransform (Actor &actor, const geom::Transform &transform)
 
void SetActorSimulatePhysics (Actor &actor, bool enabled)
 
void SetActorCollisions (Actor &actor, bool enabled)
 
void SetActorCollisions (ActorId actor_id, bool enabled)
 
void SetActorDead (Actor &actor)
 
void SetActorDead (ActorId actor_id)
 
void SetActorEnableGravity (Actor &actor, bool enabled)
 
车辆的操作
void SetVehicleAutopilot (Vehicle &vehicle, bool enabled=true)
 
rpc::VehicleTelemetryData GetVehicleTelemetryData (const Vehicle &vehicle) const
 
void ShowVehicleDebugTelemetry (Vehicle &vehicle, bool enabled=true)
 
void SetLightsToVehicle (Vehicle &vehicle, const rpc::VehicleControl &control)
 
void ApplyControlToVehicle (Vehicle &vehicle, const rpc::VehicleControl &control)
 
void ApplyAckermannControlToVehicle (Vehicle &vehicle, const rpc::VehicleAckermannControl &control)
 
rpc::AckermannControllerSettings GetAckermannControllerSettings (const Vehicle &vehicle) const
 
void ApplyAckermannControllerSettings (Vehicle &vehicle, const rpc::AckermannControllerSettings &settings)
 
void ApplyControlToWalker (Walker &walker, const rpc::WalkerControl &control)
 
rpc::WalkerBoneControlOut GetBonesTransform (Walker &walker)
 
void SetBonesTransform (Walker &walker, const rpc::WalkerBoneControlIn &bones)
 
void BlendPose (Walker &walker, float blend)
 
void GetPoseFromAnimation (Walker &walker)
 
void ApplyPhysicsControlToVehicle (Vehicle &vehicle, const rpc::VehiclePhysicsControl &physicsControl)
 
void SetLightStateToVehicle (Vehicle &vehicle, const rpc::VehicleLightState light_state)
 
void OpenVehicleDoor (Vehicle &vehicle, const rpc::VehicleDoor door_idx)
 
void CloseVehicleDoor (Vehicle &vehicle, const rpc::VehicleDoor door_idx)
 
void SetWheelSteerDirection (Vehicle &vehicle, rpc::VehicleWheelLocation wheel_location, float angle_in_deg)
 
float GetWheelSteerAngle (Vehicle &vehicle, rpc::VehicleWheelLocation wheel_location)
 
void EnableCarSim (Vehicle &vehicle, std::string simfile_path)
 
void UseCarSimRoad (Vehicle &vehicle, bool enabled)
 
void EnableChronoPhysics (Vehicle &vehicle, uint64_t MaxSubsteps, float MaxSubstepDeltaTime, std::string VehicleJSON, std::string PowertrainJSON, std::string TireJSON, std::string BaseJSONPath)
 
void RestorePhysXPhysics (Vehicle &vehicle)
 
记录器的操作
std::string StartRecorder (std::string name, bool additional_data)
 
void StopRecorder (void)
 
std::string ShowRecorderFileInfo (std::string name, bool show_all)
 
std::string ShowRecorderCollisions (std::string name, char type1, char type2)
 
std::string ShowRecorderActorsBlocked (std::string name, double min_time, double min_distance)
 
std::string ReplayFile (std::string name, double start, double duration, uint32_t follow_id, bool replay_sensors)
 
void SetReplayerTimeFactor (double time_factor)
 
void SetReplayerIgnoreHero (bool ignore_hero)
 
void SetReplayerIgnoreSpectator (bool ignore_spectator)
 
void StopReplayer (bool keep_actors)
 
传感器的操作
void SubscribeToSensor (const Sensor &sensor, std::function< void(SharedPtr< sensor::SensorData >)> callback)
 
void UnSubscribeFromSensor (Actor &sensor)
 
void EnableForROS (const Sensor &sensor)
 
void DisableForROS (const Sensor &sensor)
 
bool IsEnabledForROS (const Sensor &sensor)
 
void SubscribeToGBuffer (Actor &sensor, uint32_t gbuffer_id, std::function< void(SharedPtr< sensor::SensorData >)> callback)
 
void UnSubscribeFromGBuffer (Actor &sensor, uint32_t gbuffer_id)
 
void Send (const Sensor &sensor, std::string message)
 
交通灯的操作
void SetTrafficLightState (TrafficLight &trafficLight, const rpc::TrafficLightState trafficLightState)
 
void SetTrafficLightGreenTime (TrafficLight &trafficLight, float greenTime)
 
void SetTrafficLightYellowTime (TrafficLight &trafficLight, float yellowTime)
 
void SetTrafficLightRedTime (TrafficLight &trafficLight, float redTime)
 
void FreezeTrafficLight (TrafficLight &trafficLight, bool freeze)
 
void ResetTrafficLightGroup (TrafficLight &trafficLight)
 
void ResetAllTrafficLights ()
 
std::vector< geom::BoundingBox > GetLightBoxes (const TrafficLight &trafficLight) const
 
std::vector< ActorId > GetGroupTrafficLights (TrafficLight &trafficLight)
 
调试
void DrawDebugShape (const rpc::DebugShape &shape)
 
Apply commands in batch
void ApplyBatch (std::vector< rpc::Command > commands, bool do_tick_cue)
 
auto ApplyBatchSync (std::vector< rpc::Command > commands, bool do_tick_cue)
 
操作灯
SharedPtr< LightManager > GetLightManager () const
 
std::vector< rpc::LightState > QueryLightsStateToServer () const
 
void UpdateServerLightsState (std::vector< rpc::LightState > &lights, bool discard_client=false) const
 
void UpdateDayNightCycle (const bool active) const
 
size_t RegisterLightUpdateChangeEvent (std::function< void(WorldSnapshot)> callback)
 
void RemoveLightUpdateChangeEvent (size_t id)
 
void FreezeAllTrafficLights (bool frozen)
 
纹理更新操作
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)
 
std::vector< std::string > GetNamesOfAllObjects () const
 

Private 成员函数

bool ShouldUpdateMap (rpc::MapInfo &map_info)
 
- Private 成员函数 继承自 carla::profiler::LifetimeProfiled
 LifetimeProfiled ()=default
 
- Private 成员函数 继承自 carla::NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
 NonCopyable (NonCopyable &&)=delete
 
NonCopyable & operator= (const NonCopyable &)=delete
 
NonCopyable & operator= (NonCopyable &&)=delete
 

Private 属性

SharedPtr< Map > _cached_map
 
Client _client
 
std::shared_ptr< Episode > _episode
 
const GarbageCollectionPolicy _gc_policy
 
SharedPtr< LightManager > _light_manager
 
std::string _open_drive_file
 

详细描述

连接并控制 CARLA 模拟器。

在文件 Simulator.h 第 49 行定义.

构造及析构函数说明

◆ Simulator()

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

在文件 Simulator.cpp 第 72 行定义.

成员函数说明

◆ AddActorAngularImpulse()

void carla::client::detail::Simulator::AddActorAngularImpulse ( const Actor &  actor,
const geom::Vector3D &  vector 
)
inline

给指定演员施加角脉冲(影响角度运动)

在文件 Simulator.h 第 472 行定义.

引用了 _client, carla::client::detail::Client::AddActorAngularImpulse() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ AddActorForce() [1/2]

void carla::client::detail::Simulator::AddActorForce ( const Actor &  actor,
const geom::Vector3D &  force 
)
inline

给指定演员施加持续的力

在文件 Simulator.h 第 464 行定义.

引用了 _client, carla::client::detail::Client::AddActorForce() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ AddActorForce() [2/2]

void carla::client::detail::Simulator::AddActorForce ( const Actor &  actor,
const geom::Vector3D &  force,
const geom::Vector3D &  location 
)
inline

给指定演员在特定位置施加持续的力

在文件 Simulator.h 第 468 行定义.

引用了 _client, carla::client::detail::Client::AddActorForce() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ AddActorImpulse() [1/2]

void carla::client::detail::Simulator::AddActorImpulse ( const Actor &  actor,
const geom::Vector3D &  impulse 
)
inline

给指定演员施加脉冲力

在文件 Simulator.h 第 455 行定义.

引用了 _client, carla::client::detail::Client::AddActorImpulse() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ AddActorImpulse() [2/2]

void carla::client::detail::Simulator::AddActorImpulse ( const Actor &  actor,
const geom::Vector3D &  impulse,
const geom::Vector3D &  location 
)
inline

给指定演员在特定位置施加脉冲力

在文件 Simulator.h 第 460 行定义.

引用了 _client, carla::client::detail::Client::AddActorImpulse() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ AddActorTorque()

void carla::client::detail::Simulator::AddActorTorque ( const Actor &  actor,
const geom::Vector3D &  torque 
)
inline

给指定演员施加扭矩

在文件 Simulator.h 第 476 行定义.

引用了 _client, carla::client::detail::Client::AddActorAngularImpulse() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ AddPendingException()

void carla::client::detail::Simulator::AddPendingException ( std::string  e)
inline

在文件 Simulator.h 第 253 行定义.

引用了 _episode.

◆ AddTrafficManagerRunning()

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

通知交通管理器正在 <IP, 端口> 上运行

在文件 Simulator.h 第 244 行定义.

引用了 _client , 以及 carla::client::detail::Client::AddTrafficManagerRunning().

+ 函数调用图:

◆ ApplyAckermannControllerSettings()

void carla::client::detail::Simulator::ApplyAckermannControllerSettings ( Vehicle &  vehicle,
const rpc::AckermannControllerSettings &  settings 
)
inline

在文件 Simulator.h 第 588 行定义.

引用了 _client, carla::client::detail::Client::ApplyAckermannControllerSettings() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ ApplyAckermannControlToVehicle()

void carla::client::detail::Simulator::ApplyAckermannControlToVehicle ( Vehicle &  vehicle,
const rpc::VehicleAckermannControl &  control 
)
inline

在文件 Simulator.h 第 580 行定义.

引用了 _client, carla::client::detail::Client::ApplyAckermannControlToVehicle() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ ApplyBatch()

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

在文件 Simulator.h 第 817 行定义.

引用了 _client , 以及 carla::client::detail::Client::ApplyBatch().

+ 函数调用图:

◆ ApplyBatchSync()

auto carla::client::detail::Simulator::ApplyBatchSync ( std::vector< rpc::Command >  commands,
bool  do_tick_cue 
)
inline

在文件 Simulator.h 第 822 行定义.

引用了 _client , 以及 carla::client::detail::Client::ApplyBatchSync().

+ 函数调用图:

◆ ApplyColorTextureToObjects() [1/2]

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

– 纹理更新操作

在文件 Simulator.cpp 第 483 行定义.

引用了 _client , 以及 carla::client::detail::Client::ApplyColorTextureToObjects().

+ 函数调用图:

◆ ApplyColorTextureToObjects() [2/2]

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

在文件 Simulator.cpp 第 490 行定义.

引用了 _client , 以及 carla::client::detail::Client::ApplyColorTextureToObjects().

+ 函数调用图:

◆ ApplyControlToVehicle()

void carla::client::detail::Simulator::ApplyControlToVehicle ( Vehicle &  vehicle,
const rpc::VehicleControl &  control 
)
inline

在文件 Simulator.h 第 576 行定义.

引用了 _client, carla::client::detail::Client::ApplyControlToVehicle() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ ApplyControlToWalker()

void carla::client::detail::Simulator::ApplyControlToWalker ( Walker &  walker,
const rpc::WalkerControl &  control 
)
inline

在文件 Simulator.h 第 592 行定义.

引用了 _client, carla::client::detail::Client::ApplyControlToWalker() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ ApplyPhysicsControlToVehicle()

void carla::client::detail::Simulator::ApplyPhysicsControlToVehicle ( Vehicle &  vehicle,
const rpc::VehiclePhysicsControl &  physicsControl 
)
inline

在文件 Simulator.h 第 612 行定义.

引用了 _client, carla::client::detail::Client::ApplyPhysicsControlToVehicle() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ BlendPose()

void carla::client::detail::Simulator::BlendPose ( Walker &  walker,
float  blend 
)
inline

在文件 Simulator.h 第 604 行定义.

引用了 _client, carla::client::detail::Client::BlendPose() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ CastRay()

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

在文件 Simulator.h 第 328 行定义.

引用了 _client , 以及 carla::client::detail::Client::CastRay().

+ 函数调用图:

◆ CloseVehicleDoor()

void carla::client::detail::Simulator::CloseVehicleDoor ( Vehicle &  vehicle,
const rpc::VehicleDoor  door_idx 
)
inline

在文件 Simulator.h 第 624 行定义.

引用了 _client, carla::client::detail::Client::CloseVehicleDoor() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ DestroyActor() [1/2]

bool carla::client::detail::Simulator::DestroyActor ( Actor &  actor)

销毁指定的演员

在文件 Simulator.cpp 第 405 行定义.

引用了 _client, carla::client::detail::EpisodeProxyImpl< PointerT >::Clear(), carla::client::detail::Client::DestroyActor(), carla::client::detail::ActorState::GetDisplayId(), carla::client::detail::ActorState::GetEpisode(), carla::client::detail::ActorState::GetId() , 以及 carla::log_debug().

+ 函数调用图:

◆ DestroyActor() [2/2]

bool carla::client::detail::Simulator::DestroyActor ( ActorId  actor_id)
inline

在文件 Simulator.h 第 404 行定义.

引用了 _client , 以及 carla::client::detail::Client::DestroyActor().

+ 函数调用图:

◆ DestroyTrafficManager()

void carla::client::detail::Simulator::DestroyTrafficManager ( uint16_t  port) const
inline

在文件 Simulator.h 第 249 行定义.

引用了 _client , 以及 carla::client::detail::Client::DestroyTrafficManager().

+ 函数调用图:

◆ DisableActorConstantVelocity()

void carla::client::detail::Simulator::DisableActorConstantVelocity ( const Actor &  actor)
inline

禁用演员的恒定速度

在文件 Simulator.h 第 451 行定义.

引用了 _client, carla::client::detail::Client::DisableActorConstantVelocity() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ DisableForROS()

void carla::client::detail::Simulator::DisableForROS ( const Sensor &  sensor)

在文件 Simulator.cpp 第 445 行定义.

引用了 _client, carla::client::detail::Client::DisableForROS(), carla::client::detail::ActorState::GetActorDescription() , 以及 carla::rpc::Actor::GetStreamToken().

+ 函数调用图:

◆ DrawDebugShape()

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

在文件 Simulator.h 第 806 行定义.

引用了 _client , 以及 carla::client::detail::Client::DrawDebugShape().

+ 函数调用图:

◆ EnableActorConstantVelocity()

void carla::client::detail::Simulator::EnableActorConstantVelocity ( const Actor &  actor,
const geom::Vector3D &  vector 
)
inline

启用演员的恒定速度(用于模拟持续的线性运动)

在文件 Simulator.h 第 447 行定义.

引用了 _client, carla::client::detail::Client::EnableActorConstantVelocity() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ EnableCarSim()

void carla::client::detail::Simulator::EnableCarSim ( Vehicle &  vehicle,
std::string  simfile_path 
)
inline

在文件 Simulator.h 第 637 行定义.

引用了 _client, carla::client::detail::Client::EnableCarSim() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ EnableChronoPhysics()

void carla::client::detail::Simulator::EnableChronoPhysics ( Vehicle &  vehicle,
uint64_t  MaxSubsteps,
float  MaxSubstepDeltaTime,
std::string  VehicleJSON,
std::string  PowertrainJSON,
std::string  TireJSON,
std::string  BaseJSONPath 
)
inline

在文件 Simulator.h 第 645 行定义.

引用了 _client, carla::client::detail::Client::EnableChronoPhysics() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ EnableEnvironmentObjects()

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

在文件 Simulator.h 第 314 行定义.

引用了 _client , 以及 carla::client::detail::Client::EnableEnvironmentObjects().

+ 函数调用图:

◆ EnableForROS()

void carla::client::detail::Simulator::EnableForROS ( const Sensor &  sensor)

在文件 Simulator.cpp 第 441 行定义.

引用了 _client, carla::client::detail::Client::EnableForROS(), carla::client::detail::ActorState::GetActorDescription() , 以及 carla::rpc::Actor::GetStreamToken().

+ 函数调用图:

◆ FreezeAllTrafficLights()

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

在文件 Simulator.cpp 第 470 行定义.

引用了 _client , 以及 carla::client::detail::Client::FreezeAllTrafficLights().

+ 函数调用图:

◆ FreezeTrafficLight()

void carla::client::detail::Simulator::FreezeTrafficLight ( TrafficLight &  trafficLight,
bool  freeze 
)
inline

在文件 Simulator.h 第 780 行定义.

引用了 _client, carla::client::detail::Client::FreezeTrafficLight() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetAckermannControllerSettings()

rpc::AckermannControllerSettings carla::client::detail::Simulator::GetAckermannControllerSettings ( const Vehicle &  vehicle) const
inline

在文件 Simulator.h 第 584 行定义.

引用了 _client, carla::client::detail::Client::GetAckermannControllerSettings() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetActorAcceleration()

geom::Vector3D carla::client::detail::Simulator::GetActorAcceleration ( const Actor &  actor) const
inline

获取指定演员的加速度

在文件 Simulator.h 第 480 行定义.

引用了 carla::client::ActorSnapshot::acceleration , 以及 GetActorSnapshot().

+ 函数调用图:

◆ GetActorAngularVelocity()

geom::Vector3D carla::client::detail::Simulator::GetActorAngularVelocity ( const Actor &  actor) const
inline

获取指定演员的角速度

在文件 Simulator.h 第 439 行定义.

引用了 carla::client::ActorSnapshot::angular_velocity , 以及 GetActorSnapshot().

+ 函数调用图:

◆ GetActorBoneNames()

std::vector< std::string > carla::client::detail::Simulator::GetActorBoneNames ( const Actor &  actor)
inline

在文件 Simulator.h 第 504 行定义.

引用了 _client, carla::client::detail::Client::GetActorBoneNames() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetActorBoneRelativeTransforms()

std::vector< geom::Transform > carla::client::detail::Simulator::GetActorBoneRelativeTransforms ( const Actor &  actor)
inline

在文件 Simulator.h 第 496 行定义.

引用了 _client, carla::client::detail::Client::GetActorBoneRelativeTransforms() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetActorBoneWorldTransforms()

std::vector< geom::Transform > carla::client::detail::Simulator::GetActorBoneWorldTransforms ( const Actor &  actor)
inline

在文件 Simulator.h 第 492 行定义.

引用了 _client, carla::client::detail::Client::GetActorBoneWorldTransforms() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetActorById()

boost::optional< rpc::Actor > carla::client::detail::Simulator::GetActorById ( ActorId  id) const
inline

在文件 Simulator.h 第 361 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ GetActorComponentNames()

std::vector< std::string > carla::client::detail::Simulator::GetActorComponentNames ( const Actor &  actor)
inline

在文件 Simulator.h 第 500 行定义.

引用了 _client, carla::client::detail::Client::GetActorComponentNames() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetActorComponentRelativeTransform()

geom::Transform carla::client::detail::Simulator::GetActorComponentRelativeTransform ( const Actor &  actor,
std::string  componentName 
)
inline

获取指定演员组件的相对坐标变换信息

在文件 Simulator.h 第 488 行定义.

引用了 _client, carla::client::detail::Client::GetActorComponentRelativeTransform() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetActorComponentWorldTransform()

geom::Transform carla::client::detail::Simulator::GetActorComponentWorldTransform ( const Actor &  actor,
const std::string  componentName 
)
inline

获取指定演员组件的世界坐标变换信息

在文件 Simulator.h 第 484 行定义.

引用了 _client, carla::client::detail::Client::GetActorComponentWorldTransform() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetActorLocation()

geom::Location carla::client::detail::Simulator::GetActorLocation ( const Actor &  actor) const
inline

在文件 Simulator.h 第 422 行定义.

引用了 GetActorSnapshot(), carla::geom::Transform::location , 以及 carla::client::ActorSnapshot::transform.

+ 函数调用图:

◆ GetActorsById()

std::vector< rpc::Actor > carla::client::detail::Simulator::GetActorsById ( const std::vector< ActorId > &  actor_ids) const
inline

根据一组演员ID获取对应的演员信息

在文件 Simulator.h 第 366 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ GetActorSnapshot() [1/2]

ActorSnapshot carla::client::detail::Simulator::GetActorSnapshot ( ActorId  actor_id) const
inline

在文件 Simulator.h 第 409 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

被这些函数引用 GetActorAcceleration(), GetActorAngularVelocity(), GetActorLocation(), GetActorSnapshot(), GetActorState(), GetActorTransform() , 以及 GetActorVelocity().

+ 这是这个函数的调用关系图:

◆ GetActorSnapshot() [2/2]

ActorSnapshot carla::client::detail::Simulator::GetActorSnapshot ( const Actor &  actor) const
inline

在文件 Simulator.h 第 414 行定义.

引用了 GetActorSnapshot() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetActorSocketNames()

std::vector< std::string > carla::client::detail::Simulator::GetActorSocketNames ( const Actor &  actor)
inline

在文件 Simulator.h 第 516 行定义.

引用了 _client, carla::client::detail::Client::GetActorSocketNames() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetActorSocketRelativeTransforms()

std::vector< geom::Transform > carla::client::detail::Simulator::GetActorSocketRelativeTransforms ( const Actor &  actor)
inline

在文件 Simulator.h 第 512 行定义.

引用了 _client, carla::client::detail::Client::GetActorSocketRelativeTransforms() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetActorSocketWorldTransforms()

std::vector< geom::Transform > carla::client::detail::Simulator::GetActorSocketWorldTransforms ( const Actor &  actor)
inline

在文件 Simulator.h 第 508 行定义.

引用了 _client, carla::client::detail::Client::GetActorSocketWorldTransforms() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetActorState()

rpc::ActorState carla::client::detail::Simulator::GetActorState ( const Actor &  actor) const
inline

在文件 Simulator.h 第 418 行定义.

引用了 carla::client::ActorSnapshot::actor_state , 以及 GetActorSnapshot().

+ 函数调用图:

◆ GetActorTransform()

geom::Transform carla::client::detail::Simulator::GetActorTransform ( const Actor &  actor) const
inline

获取指定演员的变换信息(包括位置、旋转、缩放)

在文件 Simulator.h 第 426 行定义.

引用了 GetActorSnapshot() , 以及 carla::client::ActorSnapshot::transform.

+ 函数调用图:

◆ GetActorVelocity()

geom::Vector3D carla::client::detail::Simulator::GetActorVelocity ( const Actor &  actor) const
inline

获取指定演员的速度(可能包括线性速度和角速度)

在文件 Simulator.h 第 431 行定义.

引用了 GetActorSnapshot() , 以及 carla::client::ActorSnapshot::velocity.

+ 函数调用图:

◆ GetAllTheActorsInTheEpisode()

std::vector< rpc::Actor > carla::client::detail::Simulator::GetAllTheActorsInTheEpisode ( ) const
inline

获取当前 episode 中所有的演员信息

在文件 Simulator.h 第 371 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ GetAvailableMaps()

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

在文件 Simulator.h 第 146 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetAvailableMaps().

+ 函数调用图:

◆ GetBlueprintLibrary()

SharedPtr< BlueprintLibrary > carla::client::detail::Simulator::GetBlueprintLibrary ( )

在文件 Simulator.cpp 第 251 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetActorDefinitions().

+ 函数调用图:

◆ GetBonesTransform()

rpc::WalkerBoneControlOut carla::client::detail::Simulator::GetBonesTransform ( Walker &  walker)
inline

在文件 Simulator.h 第 596 行定义.

引用了 _client, carla::client::detail::Client::GetBonesTransform() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetCacheFile()

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

在文件 Simulator.cpp 第 209 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetCacheFile().

+ 函数调用图:

◆ GetClientVersion()

std::string carla::client::detail::Simulator::GetClientVersion ( )
inline

在文件 Simulator.h 第 193 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetClientVersion().

+ 函数调用图:

◆ GetCurrentEpisode()

EpisodeProxy carla::client::detail::Simulator::GetCurrentEpisode ( )

在文件 Simulator.cpp 第 150 行定义.

引用了 GetReadyCurrentEpisode().

被这些函数引用 GetWorld(), LoadEpisode(), MakeActor() , 以及 SpawnActor().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ GetCurrentEpisodeId()

auto carla::client::detail::Simulator::GetCurrentEpisodeId ( )
inline
前置条件
Cannot be called previous to GetCurrentEpisode.

在文件 Simulator.h 第 101 行定义.

引用了 _episode, DEBUG_ASSERT , 以及 GetReadyCurrentEpisode().

+ 函数调用图:

◆ GetCurrentMap()

SharedPtr< Map > carla::client::detail::Simulator::GetCurrentMap ( )

在文件 Simulator.cpp 第 166 行定义.

引用了 _cached_map, _client, _episode, _open_drive_file, DEBUG_ASSERT, carla::client::FileTransfer::FileExists(), carla::client::detail::Client::GetMapData(), carla::client::detail::Client::GetMapInfo(), carla::client::detail::Client::GetRequiredFiles() , 以及 carla::rpc::MapInfo::name.

+ 函数调用图:

◆ GetEndpoint()

std::string carla::client::detail::Simulator::GetEndpoint ( )
inline

在文件 Simulator.h 第 228 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetEndpoint().

+ 函数调用图:

◆ GetEnvironmentObjects()

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

在文件 Simulator.h 第 309 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetEnvironmentObjects().

+ 函数调用图:

◆ GetEpisodeSettings()

rpc::EpisodeSettings carla::client::detail::Simulator::GetEpisodeSettings ( )
inline

在文件 Simulator.h 第 267 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetEpisodeSettings().

被这些函数引用 GetReadyCurrentEpisode().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ GetGarbageCollectionPolicy()

GarbageCollectionPolicy carla::client::detail::Simulator::GetGarbageCollectionPolicy ( ) const
inline

在文件 Simulator.h 第 174 行定义.

引用了 _gc_policy.

◆ GetGroupTrafficLights()

std::vector< ActorId > carla::client::detail::Simulator::GetGroupTrafficLights ( TrafficLight &  trafficLight)
inline

在文件 Simulator.h 第 796 行定义.

引用了 _client, carla::client::detail::Client::GetGroupTrafficLights() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ GetIMUISensorGravity()

float carla::client::detail::Simulator::GetIMUISensorGravity ( ) const
inline

在文件 Simulator.h 第 284 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetIMUISensorGravity().

+ 函数调用图:

◆ GetLevelBBs()

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

Returns all the BBs of all the elements of the level

在文件 Simulator.h 第 305 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetLevelBBs().

+ 函数调用图:

◆ GetLightBoxes()

std::vector< geom::BoundingBox > carla::client::detail::Simulator::GetLightBoxes ( const TrafficLight &  trafficLight) const
inline

在文件 Simulator.h 第 792 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::GetLightBoxes().

+ 函数调用图:

◆ GetLightManager()

SharedPtr< LightManager > carla::client::detail::Simulator::GetLightManager ( ) const
inline

在文件 Simulator.h 第 833 行定义.

引用了 _light_manager.

◆ GetNamesOfAllObjects()

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

在文件 Simulator.cpp 第 497 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetNamesOfAllObjects().

+ 函数调用图:

◆ GetNavigation()

std::shared_ptr< WalkerNavigation > carla::client::detail::Simulator::GetNavigation ( )

在文件 Simulator.cpp 第 306 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ GetNetworkingTimeout()

time_duration carla::client::detail::Simulator::GetNetworkingTimeout ( )
inline

在文件 Simulator.h 第 189 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetTimeout().

+ 函数调用图:

◆ GetPoseFromAnimation()

void carla::client::detail::Simulator::GetPoseFromAnimation ( Walker &  walker)
inline

在文件 Simulator.h 第 608 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::GetPoseFromAnimation().

+ 函数调用图:

◆ GetRandomLocationFromNavigation()

boost::optional< geom::Location > carla::client::detail::Simulator::GetRandomLocationFromNavigation ( )

在文件 Simulator.cpp 第 341 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ GetReadyCurrentEpisode()

void carla::client::detail::Simulator::GetReadyCurrentEpisode ( )

在文件 Simulator.cpp 第 139 行定义.

引用了 _client, _episode, _light_manager, GetEpisodeSettings(), carla::client::detail::Client::GetTimeout(), carla::client::detail::ValidateVersions() , 以及 WaitForTick().

被这些函数引用 GetCurrentEpisode(), GetCurrentEpisodeId() , 以及 LoadEpisode().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ GetRequiredFiles()

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

在文件 Simulator.cpp 第 201 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetRequiredFiles().

+ 函数调用图:

◆ GetServerVersion()

std::string carla::client::detail::Simulator::GetServerVersion ( )
inline

在文件 Simulator.h 第 197 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetServerVersion().

+ 函数调用图:

◆ GetSpectator()

SharedPtr< Actor > carla::client::detail::Simulator::GetSpectator ( )

在文件 Simulator.cpp 第 262 行定义.

引用了 _client, carla::client::detail::Client::GetSpectator() , 以及 MakeActor().

+ 函数调用图:

◆ GetTrafficManagerRunning()

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

获取一个填充了在端口上运行的交通管理器的 <IP, 端口> 对。 如果没有正在运行的流量管理器,则该对将为 ("", 0)

在文件 Simulator.h 第 239 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetTrafficManagerRunning().

+ 函数调用图:

◆ GetVehicleLightState()

rpc::VehicleLightState carla::client::detail::Simulator::GetVehicleLightState ( const Vehicle &  vehicle) const
inline

在文件 Simulator.h 第 300 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::GetVehicleLightState().

+ 函数调用图:

◆ GetVehiclePhysicsControl()

rpc::VehiclePhysicsControl carla::client::detail::Simulator::GetVehiclePhysicsControl ( const Vehicle &  vehicle) const
inline

在文件 Simulator.h 第 295 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::GetVehiclePhysicsControl().

+ 函数调用图:

◆ GetVehiclesLightStates()

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

返回一个列表,其中第一个元素是车辆 ID,第二个元素是灯光状态

在文件 Simulator.cpp 第 258 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetVehiclesLightStates().

+ 函数调用图:

◆ GetVehicleTelemetryData()

rpc::VehicleTelemetryData carla::client::detail::Simulator::GetVehicleTelemetryData ( const Vehicle &  vehicle) const
inline

在文件 Simulator.h 第 564 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::GetVehicleTelemetryData().

+ 函数调用图:

◆ GetWeatherParameters()

rpc::WeatherParameters carla::client::detail::Simulator::GetWeatherParameters ( )
inline

在文件 Simulator.h 第 273 行定义.

引用了 _client , 以及 carla::client::detail::Client::GetWeatherParameters().

+ 函数调用图:

◆ GetWheelSteerAngle()

float carla::client::detail::Simulator::GetWheelSteerAngle ( Vehicle &  vehicle,
rpc::VehicleWheelLocation  wheel_location 
)
inline

在文件 Simulator.h 第 632 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::GetWheelSteerAngle().

+ 函数调用图:

◆ GetWorld()

World carla::client::detail::Simulator::GetWorld ( )
inline

在文件 Simulator.h 第 118 行定义.

引用了 GetCurrentEpisode().

+ 函数调用图:

◆ GetWorldSnapshot()

WorldSnapshot carla::client::detail::Simulator::GetWorldSnapshot ( ) const
inline

在文件 Simulator.h 第 130 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ IsEnabledForROS()

bool carla::client::detail::Simulator::IsEnabledForROS ( const Sensor &  sensor)

在文件 Simulator.cpp 第 449 行定义.

引用了 _client, carla::client::detail::ActorState::GetActorDescription(), carla::rpc::Actor::GetStreamToken() , 以及 carla::client::detail::Client::IsEnabledForROS().

+ 函数调用图:

◆ IsTrafficManagerRunning()

bool carla::client::detail::Simulator::IsTrafficManagerRunning ( uint16_t  port) const
inline

查询交通管理器是否正在端口上运行

在文件 Simulator.h 第 233 行定义.

引用了 _client , 以及 carla::client::detail::Client::IsTrafficManagerRunning().

+ 函数调用图:

◆ LoadEpisode()

EpisodeProxy carla::client::detail::Simulator::LoadEpisode ( std::string  map_name,
bool  reset_settings = true,
rpc::MapLayer  map_layers = rpc::MapLayer::All 
)

在文件 Simulator.cpp 第 88 行定义.

引用了 _client, _episode, GetCurrentEpisode(), carla::client::detail::Client::GetEpisodeSettings(), carla::client::detail::EpisodeProxyImpl< PointerT >::GetId(), GetReadyCurrentEpisode(), carla::client::detail::Client::GetTimeout(), carla::client::detail::Client::LoadEpisode(), carla::time_duration::milliseconds(), carla::client::detail::Client::SendTickCue(), carla::rpc::EpisodeSettings::synchronous_mode , 以及 carla::throw_exception().

被这些函数引用 LoadOpenDriveEpisode() , 以及 ReloadEpisode().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ LoadLevelLayer()

void carla::client::detail::Simulator::LoadLevelLayer ( rpc::MapLayer  map_layers) const
inline

在文件 Simulator.h 第 79 行定义.

引用了 _client , 以及 carla::client::detail::Client::LoadLevelLayer().

+ 函数调用图:

◆ LoadOpenDriveEpisode()

EpisodeProxy carla::client::detail::Simulator::LoadOpenDriveEpisode ( std::string  opendrive,
const rpc::OpendriveGenerationParameters &  params,
bool  reset_settings = true 
)

在文件 Simulator.cpp 第 124 行定义.

引用了 _client, carla::client::detail::Client::CopyOpenDriveToServer() , 以及 LoadEpisode().

+ 函数调用图:

◆ MakeActor()

SharedPtr< Actor > carla::client::detail::Simulator::MakeActor ( rpc::Actor  actor_description,
GarbageCollectionPolicy  gc = GarbageCollectionPolicy::Disabled 
)
inline

根据现有参与者的描述创建一个参与者实例。请注意,这不会生成参与者。

If gc is GarbageCollectionPolicy::Enabled, the shared pointer returned is provided with a custom deleter that calls Destroy() on the actor. This method does not support GarbageCollectionPolicy::Inherit.

在文件 Simulator.h 第 381 行定义.

引用了 GetCurrentEpisode(), carla::client::Inherit, carla::client::detail::ActorFactory::MakeActor() , 以及 RELEASE_ASSERT.

被这些函数引用 GetSpectator().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ NavigationTick()

void carla::client::detail::Simulator::NavigationTick ( )

在文件 Simulator.cpp 第 313 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

被这些函数引用 Tick() , 以及 WaitForTick().

+ 这是这个函数的调用关系图:

◆ OpenVehicleDoor()

void carla::client::detail::Simulator::OpenVehicleDoor ( Vehicle &  vehicle,
const rpc::VehicleDoor  door_idx 
)
inline

在文件 Simulator.h 第 620 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::OpenVehicleDoor().

+ 函数调用图:

◆ ProjectPoint()

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

在文件 Simulator.h 第 321 行定义.

引用了 _client , 以及 carla::client::detail::Client::ProjectPoint().

+ 函数调用图:

◆ QueryLightsStateToServer()

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

在文件 Simulator.h 第 838 行定义.

引用了 _client , 以及 carla::client::detail::Client::QueryLightsStateToServer().

+ 函数调用图:

◆ RegisterAIController()

void carla::client::detail::Simulator::RegisterAIController ( const WalkerAIController &  controller)

在文件 Simulator.cpp 第 319 行定义.

引用了 _episode, DEBUG_ASSERT, carla::client::detail::ActorState::GetDisplayId(), carla::client::detail::ActorState::GetId(), carla::client::detail::ActorState::GetParent() , 以及 carla::throw_exception().

+ 函数调用图:

◆ RegisterLightUpdateChangeEvent()

size_t carla::client::detail::Simulator::RegisterLightUpdateChangeEvent ( std::function< void(WorldSnapshot)>  callback)
inline

在文件 Simulator.h 第 857 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ RegisterOnTickEvent()

size_t carla::client::detail::Simulator::RegisterOnTickEvent ( std::function< void(WorldSnapshot)>  callback)
inline

在文件 Simulator.h 第 210 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ ReloadEpisode()

EpisodeProxy carla::client::detail::Simulator::ReloadEpisode ( bool  reset_settings = true)
inline

在文件 Simulator.h 第 72 行定义.

引用了 LoadEpisode().

+ 函数调用图:

◆ RemoveLightUpdateChangeEvent()

void carla::client::detail::Simulator::RemoveLightUpdateChangeEvent ( size_t  id)
inline

在文件 Simulator.h 第 862 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ RemoveOnTickEvent()

void carla::client::detail::Simulator::RemoveOnTickEvent ( size_t  id)
inline

在文件 Simulator.h 第 215 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ ReplayFile()

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

在文件 Simulator.h 第 696 行定义.

引用了 _client , 以及 carla::client::detail::Client::ReplayFile().

+ 函数调用图:

◆ RequestFile()

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

在文件 Simulator.cpp 第 205 行定义.

引用了 _client , 以及 carla::client::detail::Client::RequestFile().

+ 函数调用图:

◆ ResetAllTrafficLights()

void carla::client::detail::Simulator::ResetAllTrafficLights ( )
inline

在文件 Simulator.h 第 788 行定义.

引用了 _client , 以及 carla::client::detail::Client::ResetAllTrafficLights().

+ 函数调用图:

◆ ResetTrafficLightGroup()

void carla::client::detail::Simulator::ResetTrafficLightGroup ( TrafficLight &  trafficLight)
inline

在文件 Simulator.h 第 784 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::ResetTrafficLightGroup().

+ 函数调用图:

◆ RestorePhysXPhysics()

void carla::client::detail::Simulator::RestorePhysXPhysics ( Vehicle &  vehicle)
inline

在文件 Simulator.h 第 661 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::RestorePhysXPhysics().

+ 函数调用图:

◆ Send()

void carla::client::detail::Simulator::Send ( const Sensor &  sensor,
std::string  message 
)

在文件 Simulator.cpp 第 474 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::Send().

+ 函数调用图:

◆ SetActorCollisions() [1/2]

void carla::client::detail::Simulator::SetActorCollisions ( Actor &  actor,
bool  enabled 
)
inline

在文件 Simulator.h 第 533 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetActorCollisions().

+ 函数调用图:

◆ SetActorCollisions() [2/2]

void carla::client::detail::Simulator::SetActorCollisions ( ActorId  actor_id,
bool  enabled 
)
inline

在文件 Simulator.h 第 537 行定义.

引用了 _client , 以及 carla::client::detail::Client::SetActorCollisions().

+ 函数调用图:

◆ SetActorDead() [1/2]

void carla::client::detail::Simulator::SetActorDead ( Actor &  actor)
inline

在文件 Simulator.h 第 541 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetActorDead().

+ 函数调用图:

◆ SetActorDead() [2/2]

void carla::client::detail::Simulator::SetActorDead ( ActorId  actor_id)
inline

在文件 Simulator.h 第 545 行定义.

引用了 _client , 以及 carla::client::detail::Client::SetActorDead().

+ 函数调用图:

◆ SetActorEnableGravity()

void carla::client::detail::Simulator::SetActorEnableGravity ( Actor &  actor,
bool  enabled 
)
inline

在文件 Simulator.h 第 549 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetActorEnableGravity().

+ 函数调用图:

◆ SetActorLocation()

void carla::client::detail::Simulator::SetActorLocation ( Actor &  actor,
const geom::Location &  location 
)
inline

设置 Actor 状态

在文件 Simulator.h 第 521 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetActorLocation().

+ 函数调用图:

◆ SetActorSimulatePhysics()

void carla::client::detail::Simulator::SetActorSimulatePhysics ( Actor &  actor,
bool  enabled 
)
inline

在文件 Simulator.h 第 529 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetActorSimulatePhysics().

+ 函数调用图:

◆ SetActorTargetAngularVelocity()

void carla::client::detail::Simulator::SetActorTargetAngularVelocity ( const Actor &  actor,
const geom::Vector3D &  vector 
)
inline

设置指定演员的目标角速度

在文件 Simulator.h 第 443 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetActorTargetAngularVelocity().

+ 函数调用图:

◆ SetActorTargetVelocity()

void carla::client::detail::Simulator::SetActorTargetVelocity ( const Actor &  actor,
const geom::Vector3D &  vector 
)
inline

设置指定演员的目标速度

在文件 Simulator.h 第 435 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetActorTargetVelocity().

+ 函数调用图:

◆ SetActorTransform()

void carla::client::detail::Simulator::SetActorTransform ( Actor &  actor,
const geom::Transform &  transform 
)
inline

在文件 Simulator.h 第 525 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetActorTransform().

+ 函数调用图:

◆ SetBonesTransform()

void carla::client::detail::Simulator::SetBonesTransform ( Walker &  walker,
const rpc::WalkerBoneControlIn &  bones 
)
inline

在文件 Simulator.h 第 600 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetBonesTransform().

+ 函数调用图:

◆ SetEpisodeSettings()

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

◆ SetFilesBaseFolder()

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

在文件 Simulator.cpp 第 197 行定义.

引用了 _client , 以及 carla::client::detail::Client::SetFilesBaseFolder().

+ 函数调用图:

◆ SetIMUISensorGravity()

void carla::client::detail::Simulator::SetIMUISensorGravity ( float  NewIMUISensorGravity)
inline

在文件 Simulator.h 第 290 行定义.

引用了 _client , 以及 carla::client::detail::Client::SetIMUISensorGravity().

+ 函数调用图:

◆ SetLightStateToVehicle()

void carla::client::detail::Simulator::SetLightStateToVehicle ( Vehicle &  vehicle,
const rpc::VehicleLightState  light_state 
)
inline

在文件 Simulator.h 第 616 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetLightStateToVehicle().

+ 函数调用图:

◆ SetLightsToVehicle()

void carla::client::detail::Simulator::SetLightsToVehicle ( Vehicle &  vehicle,
const rpc::VehicleControl &  control 
)
inline

在文件 Simulator.h 第 572 行定义.

引用了 _client, carla::client::detail::Client::ApplyControlToVehicle() , 以及 carla::client::detail::ActorState::GetId().

+ 函数调用图:

◆ SetNetworkingTimeout()

void carla::client::detail::Simulator::SetNetworkingTimeout ( time_duration  timeout)
inline

在文件 Simulator.h 第 185 行定义.

引用了 _client , 以及 carla::client::detail::Client::SetTimeout().

+ 函数调用图:

◆ SetPedestriansCrossFactor()

void carla::client::detail::Simulator::SetPedestriansCrossFactor ( float  percentage)

在文件 Simulator.cpp 第 347 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ SetPedestriansSeed()

void carla::client::detail::Simulator::SetPedestriansSeed ( unsigned int  seed)

在文件 Simulator.cpp 第 353 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ SetReplayerIgnoreHero()

void carla::client::detail::Simulator::SetReplayerIgnoreHero ( bool  ignore_hero)
inline

在文件 Simulator.h 第 706 行定义.

引用了 _client , 以及 carla::client::detail::Client::SetReplayerIgnoreHero().

+ 函数调用图:

◆ SetReplayerIgnoreSpectator()

void carla::client::detail::Simulator::SetReplayerIgnoreSpectator ( bool  ignore_spectator)
inline

在文件 Simulator.h 第 710 行定义.

引用了 _client , 以及 carla::client::detail::Client::SetReplayerIgnoreSpectator().

+ 函数调用图:

◆ SetReplayerTimeFactor()

void carla::client::detail::Simulator::SetReplayerTimeFactor ( double  time_factor)
inline

在文件 Simulator.h 第 701 行定义.

引用了 _client , 以及 carla::client::detail::Client::SetReplayerTimeFactor().

+ 函数调用图:

◆ SetTrafficLightGreenTime()

void carla::client::detail::Simulator::SetTrafficLightGreenTime ( TrafficLight &  trafficLight,
float  greenTime 
)
inline

在文件 Simulator.h 第 768 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetTrafficLightGreenTime().

+ 函数调用图:

◆ SetTrafficLightRedTime()

void carla::client::detail::Simulator::SetTrafficLightRedTime ( TrafficLight &  trafficLight,
float  redTime 
)
inline

在文件 Simulator.h 第 776 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetTrafficLightRedTime().

+ 函数调用图:

◆ SetTrafficLightState()

void carla::client::detail::Simulator::SetTrafficLightState ( TrafficLight &  trafficLight,
const rpc::TrafficLightState  trafficLightState 
)
inline

在文件 Simulator.h 第 764 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetTrafficLightState().

+ 函数调用图:

◆ SetTrafficLightYellowTime()

void carla::client::detail::Simulator::SetTrafficLightYellowTime ( TrafficLight &  trafficLight,
float  yellowTime 
)
inline

在文件 Simulator.h 第 772 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetTrafficLightYellowTime().

+ 函数调用图:

◆ SetVehicleAutopilot()

void carla::client::detail::Simulator::SetVehicleAutopilot ( Vehicle &  vehicle,
bool  enabled = true 
)
inline

在文件 Simulator.h 第 560 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetActorAutopilot().

+ 函数调用图:

◆ SetWeatherParameters()

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

在文件 Simulator.h 第 278 行定义.

引用了 _client , 以及 carla::client::detail::Client::SetWeatherParameters().

+ 函数调用图:

◆ SetWheelSteerDirection()

void carla::client::detail::Simulator::SetWheelSteerDirection ( Vehicle &  vehicle,
rpc::VehicleWheelLocation  wheel_location,
float  angle_in_deg 
)
inline

在文件 Simulator.h 第 628 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SetWheelSteerDirection().

+ 函数调用图:

◆ ShouldUpdateMap()

bool carla::client::detail::Simulator::ShouldUpdateMap ( rpc::MapInfo &  map_info)
private

在文件 Simulator.cpp 第 155 行定义.

引用了 _cached_map, _open_drive_file , 以及 carla::rpc::MapInfo::name.

◆ ShowRecorderActorsBlocked()

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

在文件 Simulator.h 第 692 行定义.

引用了 _client , 以及 carla::client::detail::Client::ShowRecorderActorsBlocked().

+ 函数调用图:

◆ ShowRecorderCollisions()

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

在文件 Simulator.h 第 688 行定义.

引用了 _client , 以及 carla::client::detail::Client::ShowRecorderCollisions().

+ 函数调用图:

◆ ShowRecorderFileInfo()

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

在文件 Simulator.h 第 683 行定义.

引用了 _client , 以及 carla::client::detail::Client::ShowRecorderFileInfo().

+ 函数调用图:

◆ ShowVehicleDebugTelemetry()

void carla::client::detail::Simulator::ShowVehicleDebugTelemetry ( Vehicle &  vehicle,
bool  enabled = true 
)
inline

在文件 Simulator.h 第 568 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::ShowVehicleDebugTelemetry().

+ 函数调用图:

◆ SpawnActor()

SharedPtr< Actor > carla::client::detail::Simulator::SpawnActor ( const ActorBlueprint &  blueprint,
const geom::Transform &  transform,
Actor *  parent = nullptr,
rpc::AttachmentType  attachment_type = rpc::AttachmentType::Rigid,
GarbageCollectionPolicy  gc = GarbageCollectionPolicy::Inherit,
const std::string &  socket_name = "" 
)

在模拟中生成一个参与者

If gc is GarbageCollectionPolicy::Enabled, the shared pointer returned is provided with a custom deleter that calls Destroy() on the actor. If @gc is GarbageCollectionPolicy::Inherit, the default garbage collection policy is used.

在文件 Simulator.cpp 第 364 行定义.

引用了 _client, _episode, _gc_policy, DEBUG_ASSERT, carla::client::Enabled, GetCurrentEpisode(), carla::client::detail::ActorState::GetId(), carla::client::Inherit, carla::log_debug(), carla::client::detail::ActorFactory::MakeActor(), carla::client::ActorBlueprint::MakeActorDescription(), carla::client::detail::Client::SpawnActor() , 以及 carla::client::detail::Client::SpawnActorWithParent().

+ 函数调用图:

◆ StartRecorder()

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

在文件 Simulator.h 第 672 行定义.

引用了 _client , 以及 carla::client::detail::Client::StartRecorder().

+ 函数调用图:

◆ StopRecorder()

void carla::client::detail::Simulator::StopRecorder ( void  )
inline

在文件 Simulator.h 第 679 行定义.

引用了 _client , 以及 carla::client::detail::Client::StopRecorder().

+ 函数调用图:

◆ StopReplayer()

void carla::client::detail::Simulator::StopReplayer ( bool  keep_actors)
inline

在文件 Simulator.h 第 714 行定义.

引用了 _client , 以及 carla::client::detail::Client::StopReplayer().

+ 函数调用图:

◆ SubscribeToGBuffer()

void carla::client::detail::Simulator::SubscribeToGBuffer ( Actor &  sensor,
uint32_t  gbuffer_id,
std::function< void(SharedPtr< sensor::SensorData >)>  callback 
)

在文件 Simulator.cpp 第 453 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::SubscribeToGBuffer().

+ 函数调用图:

◆ SubscribeToSensor()

void carla::client::detail::Simulator::SubscribeToSensor ( const Sensor &  sensor,
std::function< void(SharedPtr< sensor::SensorData >)>  callback 
)

在文件 Simulator.cpp 第 423 行定义.

引用了 _client, _episode, DEBUG_ASSERT, carla::client::detail::ActorState::GetActorDescription(), carla::rpc::Actor::GetStreamToken() , 以及 carla::client::detail::Client::SubscribeToStream().

+ 函数调用图:

◆ Tick()

uint64_t carla::client::detail::Simulator::Tick ( time_duration  timeout)

在文件 Simulator.cpp 第 230 行定义.

引用了 _client, _episode, DEBUG_ASSERT, carla::client::detail::Client::GetEndpoint(), NavigationTick(), carla::client::detail::Client::SendTickCue(), carla::client::detail::SynchronizeFrame() , 以及 carla::throw_exception().

+ 函数调用图:

◆ UnloadLevelLayer()

void carla::client::detail::Simulator::UnloadLevelLayer ( rpc::MapLayer  map_layers) const
inline

在文件 Simulator.h 第 83 行定义.

引用了 _client , 以及 carla::client::detail::Client::UnloadLevelLayer().

+ 函数调用图:

◆ UnregisterAIController()

void carla::client::detail::Simulator::UnregisterAIController ( const WalkerAIController &  controller)

在文件 Simulator.cpp 第 330 行定义.

引用了 _episode, DEBUG_ASSERT, carla::client::detail::ActorState::GetDisplayId(), carla::client::detail::ActorState::GetId(), carla::client::detail::ActorState::GetParent() , 以及 carla::throw_exception().

+ 函数调用图:

◆ UnSubscribeFromGBuffer()

void carla::client::detail::Simulator::UnSubscribeFromGBuffer ( Actor &  sensor,
uint32_t  gbuffer_id 
)

在文件 Simulator.cpp 第 465 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::UnSubscribeFromGBuffer().

+ 函数调用图:

◆ UnSubscribeFromSensor()

void carla::client::detail::Simulator::UnSubscribeFromSensor ( Actor &  sensor)

在文件 Simulator.cpp 第 436 行定义.

引用了 _client, carla::client::detail::ActorState::GetActorDescription(), carla::rpc::Actor::GetStreamToken() , 以及 carla::client::detail::Client::UnSubscribeFromStream().

+ 函数调用图:

◆ UpdateDayNightCycle()

void carla::client::detail::Simulator::UpdateDayNightCycle ( const bool  active) const
inline

在文件 Simulator.h 第 852 行定义.

引用了 _client , 以及 carla::client::detail::Client::UpdateDayNightCycle().

+ 函数调用图:

◆ UpdateServerLightsState()

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

在文件 Simulator.h 第 845 行定义.

引用了 _client , 以及 carla::client::detail::Client::UpdateServerLightsState().

+ 函数调用图:

◆ UseCarSimRoad()

void carla::client::detail::Simulator::UseCarSimRoad ( Vehicle &  vehicle,
bool  enabled 
)
inline

在文件 Simulator.h 第 641 行定义.

引用了 _client, carla::client::detail::ActorState::GetId() , 以及 carla::client::detail::Client::UseCarSimRoad().

+ 函数调用图:

◆ WaitForTick()

WorldSnapshot carla::client::detail::Simulator::WaitForTick ( time_duration  timeout)

在文件 Simulator.cpp 第 217 行定义.

引用了 _client, _episode, DEBUG_ASSERT, carla::client::detail::Client::GetEndpoint(), NavigationTick() , 以及 carla::throw_exception().

被这些函数引用 GetReadyCurrentEpisode().

+ 函数调用图:
+ 这是这个函数的调用关系图:

类成员变量说明

◆ _cached_map

SharedPtr<Map> carla::client::detail::Simulator::_cached_map
private

在文件 Simulator.h 第 909 行定义.

被这些函数引用 GetCurrentMap() , 以及 ShouldUpdateMap().

◆ _client

Client carla::client::detail::Simulator::_client
private

在文件 Simulator.h 第 897 行定义.

被这些函数引用 AddActorAngularImpulse(), AddActorForce(), AddActorImpulse(), AddActorTorque(), AddTrafficManagerRunning(), ApplyAckermannControllerSettings(), ApplyAckermannControlToVehicle(), ApplyBatch(), ApplyBatchSync(), ApplyColorTextureToObjects(), ApplyControlToVehicle(), ApplyControlToWalker(), ApplyPhysicsControlToVehicle(), BlendPose(), CastRay(), CloseVehicleDoor(), DestroyActor(), DestroyTrafficManager(), DisableActorConstantVelocity(), DisableForROS(), DrawDebugShape(), EnableActorConstantVelocity(), EnableCarSim(), EnableChronoPhysics(), EnableEnvironmentObjects(), EnableForROS(), FreezeAllTrafficLights(), FreezeTrafficLight(), GetAckermannControllerSettings(), GetActorBoneNames(), GetActorBoneRelativeTransforms(), GetActorBoneWorldTransforms(), GetActorComponentNames(), GetActorComponentRelativeTransform(), GetActorComponentWorldTransform(), GetActorSocketNames(), GetActorSocketRelativeTransforms(), GetActorSocketWorldTransforms(), GetAvailableMaps(), GetBlueprintLibrary(), GetBonesTransform(), GetCacheFile(), GetClientVersion(), GetCurrentMap(), GetEndpoint(), GetEnvironmentObjects(), GetEpisodeSettings(), GetGroupTrafficLights(), GetIMUISensorGravity(), GetLevelBBs(), GetLightBoxes(), GetNamesOfAllObjects(), GetNetworkingTimeout(), GetPoseFromAnimation(), GetReadyCurrentEpisode(), GetRequiredFiles(), GetServerVersion(), GetSpectator(), GetTrafficManagerRunning(), GetVehicleLightState(), GetVehiclePhysicsControl(), GetVehiclesLightStates(), GetVehicleTelemetryData(), GetWeatherParameters(), GetWheelSteerAngle(), IsEnabledForROS(), IsTrafficManagerRunning(), LoadEpisode(), LoadLevelLayer(), LoadOpenDriveEpisode(), OpenVehicleDoor(), ProjectPoint(), QueryLightsStateToServer(), ReplayFile(), RequestFile(), ResetAllTrafficLights(), ResetTrafficLightGroup(), RestorePhysXPhysics(), Send(), SetActorCollisions(), SetActorDead(), SetActorEnableGravity(), SetActorLocation(), SetActorSimulatePhysics(), SetActorTargetAngularVelocity(), SetActorTargetVelocity(), SetActorTransform(), SetBonesTransform(), SetEpisodeSettings(), SetFilesBaseFolder(), SetIMUISensorGravity(), SetLightStateToVehicle(), SetLightsToVehicle(), SetNetworkingTimeout(), SetReplayerIgnoreHero(), SetReplayerIgnoreSpectator(), SetReplayerTimeFactor(), SetTrafficLightGreenTime(), SetTrafficLightRedTime(), SetTrafficLightState(), SetTrafficLightYellowTime(), SetVehicleAutopilot(), SetWeatherParameters(), SetWheelSteerDirection(), ShowRecorderActorsBlocked(), ShowRecorderCollisions(), ShowRecorderFileInfo(), ShowVehicleDebugTelemetry(), SpawnActor(), StartRecorder(), StopRecorder(), StopReplayer(), SubscribeToGBuffer(), SubscribeToSensor(), Tick(), UnloadLevelLayer(), UnSubscribeFromGBuffer(), UnSubscribeFromSensor(), UpdateDayNightCycle(), UpdateServerLightsState(), UseCarSimRoad() , 以及 WaitForTick().

◆ _episode

std::shared_ptr<Episode> carla::client::detail::Simulator::_episode
private

◆ _gc_policy

const GarbageCollectionPolicy carla::client::detail::Simulator::_gc_policy
private

在文件 Simulator.h 第 906 行定义.

被这些函数引用 GetGarbageCollectionPolicy() , 以及 SpawnActor().

◆ _light_manager

SharedPtr<LightManager> carla::client::detail::Simulator::_light_manager
private

在文件 Simulator.h 第 900 行定义.

被这些函数引用 GetLightManager() , 以及 GetReadyCurrentEpisode().

◆ _open_drive_file

std::string carla::client::detail::Simulator::_open_drive_file
private

在文件 Simulator.h 第 912 行定义.

被这些函数引用 GetCurrentMap() , 以及 ShouldUpdateMap().


该类的文档由以下文件生成: