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< MapGetCurrentMap ()
 
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< BlueprintLibraryGetBlueprintLibrary ()
 
rpc::VehicleLightStateList GetVehiclesLightStates ()
 返回一个列表,其中第一个元素是车辆 ID,第二个元素是灯光状态
 
SharedPtr< ActorGetSpectator ()
 
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::BoundingBoxGetLevelBBs (uint8_t queried_tag) const
 Returns all the BBs of all the elements of the level
 
std::vector< rpc::EnvironmentObjectGetEnvironmentObjects (uint8_t queried_tag) const
 
void EnableEnvironmentObjects (std::vector< uint64_t > env_objects_ids, bool enable) const
 
std::pair< bool, rpc::LabelledPointProjectPoint (geom::Location location, geom::Vector3D direction, float search_distance) const
 
std::vector< rpc::LabelledPointCastRay (geom::Location start_location, geom::Location end_location) const
 
人工智能
std::shared_ptr< WalkerNavigationGetNavigation ()
 
void NavigationTick ()
 
void RegisterAIController (const WalkerAIController &controller)
 
void UnregisterAIController (const WalkerAIController &controller)
 
boost::optional< geom::LocationGetRandomLocationFromNavigation ()
 
void SetPedestriansCrossFactor (float percentage)
 
void SetPedestriansSeed (unsigned int seed)
 
参与者的一般操作
boost::optional< rpc::ActorGetActorById (ActorId id) const
 
std::vector< rpc::ActorGetActorsById (const std::vector< ActorId > &actor_ids) const
 根据一组演员ID获取对应的演员信息
 
std::vector< rpc::ActorGetAllTheActorsInTheEpisode () const
 获取当前 episode 中所有的演员信息
 
SharedPtr< ActorMakeActor (rpc::Actor actor_description, GarbageCollectionPolicy gc=GarbageCollectionPolicy::Disabled)
 根据现有参与者的描述创建一个参与者实例。请注意,这不会生成参与者。
 
SharedPtr< ActorSpawnActor (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::TransformGetActorBoneWorldTransforms (const Actor &actor)
 
std::vector< geom::TransformGetActorBoneRelativeTransforms (const Actor &actor)
 
std::vector< std::string > GetActorComponentNames (const Actor &actor)
 
std::vector< std::string > GetActorBoneNames (const Actor &actor)
 
std::vector< geom::TransformGetActorSocketWorldTransforms (const Actor &actor)
 
std::vector< geom::TransformGetActorSocketRelativeTransforms (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::BoundingBoxGetLightBoxes (const TrafficLight &trafficLight) const
 
std::vector< ActorIdGetGroupTrafficLights (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< LightManagerGetLightManager () const
 
std::vector< rpc::LightStateQueryLightsStateToServer () 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
 
NonCopyableoperator= (const NonCopyable &)=delete
 
NonCopyableoperator= (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.h49 行定义.

构造及析构函数说明

◆ 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.cpp72 行定义.

成员函数说明

◆ AddActorAngularImpulse()

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

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

在文件 Simulator.h472 行定义.

引用了 _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.h464 行定义.

引用了 _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.h468 行定义.

引用了 _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.h455 行定义.

引用了 _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.h460 行定义.

引用了 _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.h476 行定义.

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

+ 函数调用图:

◆ AddPendingException()

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

在文件 Simulator.h253 行定义.

引用了 _episode.

◆ AddTrafficManagerRunning()

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

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

在文件 Simulator.h244 行定义.

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

+ 函数调用图:

◆ ApplyAckermannControllerSettings()

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

在文件 Simulator.h588 行定义.

引用了 _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.h580 行定义.

引用了 _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.h817 行定义.

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

+ 函数调用图:

◆ ApplyBatchSync()

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

在文件 Simulator.h822 行定义.

引用了 _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.cpp483 行定义.

引用了 _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.cpp490 行定义.

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

+ 函数调用图:

◆ ApplyControlToVehicle()

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

在文件 Simulator.h576 行定义.

引用了 _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.h592 行定义.

引用了 _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.h612 行定义.

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

+ 函数调用图:

◆ BlendPose()

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

在文件 Simulator.h604 行定义.

引用了 _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.h328 行定义.

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

+ 函数调用图:

◆ CloseVehicleDoor()

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

在文件 Simulator.h624 行定义.

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

+ 函数调用图:

◆ DestroyActor() [1/2]

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

销毁指定的演员

在文件 Simulator.cpp405 行定义.

引用了 _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.h404 行定义.

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

+ 函数调用图:

◆ DestroyTrafficManager()

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

在文件 Simulator.h249 行定义.

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

+ 函数调用图:

◆ DisableActorConstantVelocity()

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

禁用演员的恒定速度

在文件 Simulator.h451 行定义.

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

+ 函数调用图:

◆ DisableForROS()

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

在文件 Simulator.cpp445 行定义.

引用了 _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.h806 行定义.

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

+ 函数调用图:

◆ EnableActorConstantVelocity()

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

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

在文件 Simulator.h447 行定义.

引用了 _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.h637 行定义.

引用了 _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.h645 行定义.

引用了 _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.h314 行定义.

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

+ 函数调用图:

◆ EnableForROS()

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

在文件 Simulator.cpp441 行定义.

引用了 _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.cpp470 行定义.

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

+ 函数调用图:

◆ FreezeTrafficLight()

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

在文件 Simulator.h780 行定义.

引用了 _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.h584 行定义.

引用了 _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.h480 行定义.

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

+ 函数调用图:

◆ GetActorAngularVelocity()

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

获取指定演员的角速度

在文件 Simulator.h439 行定义.

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

+ 函数调用图:

◆ GetActorBoneNames()

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

在文件 Simulator.h504 行定义.

引用了 _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.h496 行定义.

引用了 _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.h492 行定义.

引用了 _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.h361 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ GetActorComponentNames()

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

在文件 Simulator.h500 行定义.

引用了 _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.h488 行定义.

引用了 _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.h484 行定义.

引用了 _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.h422 行定义.

引用了 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.h366 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ GetActorSnapshot() [1/2]

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

在文件 Simulator.h409 行定义.

引用了 _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.h414 行定义.

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

+ 函数调用图:

◆ GetActorSocketNames()

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

在文件 Simulator.h516 行定义.

引用了 _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.h512 行定义.

引用了 _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.h508 行定义.

引用了 _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.h418 行定义.

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

+ 函数调用图:

◆ GetActorTransform()

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

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

在文件 Simulator.h426 行定义.

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

+ 函数调用图:

◆ GetActorVelocity()

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

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

在文件 Simulator.h431 行定义.

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

+ 函数调用图:

◆ GetAllTheActorsInTheEpisode()

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

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

在文件 Simulator.h371 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ GetAvailableMaps()

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

在文件 Simulator.h146 行定义.

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

+ 函数调用图:

◆ GetBlueprintLibrary()

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

在文件 Simulator.cpp251 行定义.

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

+ 函数调用图:

◆ GetBonesTransform()

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

在文件 Simulator.h596 行定义.

引用了 _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.cpp209 行定义.

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

+ 函数调用图:

◆ GetClientVersion()

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

在文件 Simulator.h193 行定义.

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

+ 函数调用图:

◆ GetCurrentEpisode()

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

在文件 Simulator.cpp150 行定义.

引用了 GetReadyCurrentEpisode().

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

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

◆ GetCurrentEpisodeId()

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

在文件 Simulator.h101 行定义.

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

+ 函数调用图:

◆ GetCurrentMap()

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

在文件 Simulator.cpp166 行定义.

引用了 _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.h228 行定义.

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

+ 函数调用图:

◆ GetEnvironmentObjects()

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

在文件 Simulator.h309 行定义.

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

+ 函数调用图:

◆ GetEpisodeSettings()

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

在文件 Simulator.h267 行定义.

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

被这些函数引用 GetReadyCurrentEpisode().

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

◆ GetGarbageCollectionPolicy()

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

在文件 Simulator.h174 行定义.

引用了 _gc_policy.

◆ GetGroupTrafficLights()

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

在文件 Simulator.h796 行定义.

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

+ 函数调用图:

◆ GetIMUISensorGravity()

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

在文件 Simulator.h284 行定义.

引用了 _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.h305 行定义.

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

+ 函数调用图:

◆ GetLightBoxes()

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

在文件 Simulator.h792 行定义.

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

+ 函数调用图:

◆ GetLightManager()

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

在文件 Simulator.h833 行定义.

引用了 _light_manager.

◆ GetNamesOfAllObjects()

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

在文件 Simulator.cpp497 行定义.

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

+ 函数调用图:

◆ GetNavigation()

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

在文件 Simulator.cpp306 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ GetNetworkingTimeout()

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

在文件 Simulator.h189 行定义.

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

+ 函数调用图:

◆ GetPoseFromAnimation()

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

在文件 Simulator.h608 行定义.

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

+ 函数调用图:

◆ GetRandomLocationFromNavigation()

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

在文件 Simulator.cpp341 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ GetReadyCurrentEpisode()

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

在文件 Simulator.cpp139 行定义.

引用了 _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.cpp201 行定义.

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

+ 函数调用图:

◆ GetServerVersion()

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

在文件 Simulator.h197 行定义.

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

+ 函数调用图:

◆ GetSpectator()

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

在文件 Simulator.cpp262 行定义.

引用了 _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.h239 行定义.

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

+ 函数调用图:

◆ GetVehicleLightState()

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

在文件 Simulator.h300 行定义.

引用了 _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.h295 行定义.

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

+ 函数调用图:

◆ GetVehiclesLightStates()

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

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

在文件 Simulator.cpp258 行定义.

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

+ 函数调用图:

◆ GetVehicleTelemetryData()

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

在文件 Simulator.h564 行定义.

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

+ 函数调用图:

◆ GetWeatherParameters()

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

在文件 Simulator.h273 行定义.

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

+ 函数调用图:

◆ GetWheelSteerAngle()

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

在文件 Simulator.h632 行定义.

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

+ 函数调用图:

◆ GetWorld()

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

在文件 Simulator.h118 行定义.

引用了 GetCurrentEpisode().

+ 函数调用图:

◆ GetWorldSnapshot()

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

在文件 Simulator.h130 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ IsEnabledForROS()

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

在文件 Simulator.cpp449 行定义.

引用了 _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.h233 行定义.

引用了 _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.cpp88 行定义.

引用了 _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.h79 行定义.

引用了 _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.cpp124 行定义.

引用了 _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.h381 行定义.

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

被这些函数引用 GetSpectator().

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

◆ NavigationTick()

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

在文件 Simulator.cpp313 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

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

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

◆ OpenVehicleDoor()

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

在文件 Simulator.h620 行定义.

引用了 _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.h321 行定义.

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

+ 函数调用图:

◆ QueryLightsStateToServer()

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

在文件 Simulator.h838 行定义.

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

+ 函数调用图:

◆ RegisterAIController()

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

在文件 Simulator.cpp319 行定义.

引用了 _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.h857 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ RegisterOnTickEvent()

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

在文件 Simulator.h210 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ ReloadEpisode()

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

在文件 Simulator.h72 行定义.

引用了 LoadEpisode().

+ 函数调用图:

◆ RemoveLightUpdateChangeEvent()

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

在文件 Simulator.h862 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ RemoveOnTickEvent()

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

在文件 Simulator.h215 行定义.

引用了 _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.h696 行定义.

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

+ 函数调用图:

◆ RequestFile()

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

在文件 Simulator.cpp205 行定义.

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

+ 函数调用图:

◆ ResetAllTrafficLights()

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

在文件 Simulator.h788 行定义.

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

+ 函数调用图:

◆ ResetTrafficLightGroup()

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

在文件 Simulator.h784 行定义.

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

+ 函数调用图:

◆ RestorePhysXPhysics()

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

在文件 Simulator.h661 行定义.

引用了 _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.cpp474 行定义.

引用了 _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.h533 行定义.

引用了 _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.h537 行定义.

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

+ 函数调用图:

◆ SetActorDead() [1/2]

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

在文件 Simulator.h541 行定义.

引用了 _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.h545 行定义.

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

+ 函数调用图:

◆ SetActorEnableGravity()

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

在文件 Simulator.h549 行定义.

引用了 _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.h521 行定义.

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

+ 函数调用图:

◆ SetActorSimulatePhysics()

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

在文件 Simulator.h529 行定义.

引用了 _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.h443 行定义.

引用了 _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.h435 行定义.

引用了 _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.h525 行定义.

引用了 _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.h600 行定义.

引用了 _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.cpp197 行定义.

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

+ 函数调用图:

◆ SetIMUISensorGravity()

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

在文件 Simulator.h290 行定义.

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

+ 函数调用图:

◆ SetLightStateToVehicle()

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

在文件 Simulator.h616 行定义.

引用了 _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.h572 行定义.

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

+ 函数调用图:

◆ SetNetworkingTimeout()

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

在文件 Simulator.h185 行定义.

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

+ 函数调用图:

◆ SetPedestriansCrossFactor()

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

在文件 Simulator.cpp347 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ SetPedestriansSeed()

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

在文件 Simulator.cpp353 行定义.

引用了 _episode , 以及 DEBUG_ASSERT.

◆ SetReplayerIgnoreHero()

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

在文件 Simulator.h706 行定义.

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

+ 函数调用图:

◆ SetReplayerIgnoreSpectator()

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

在文件 Simulator.h710 行定义.

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

+ 函数调用图:

◆ SetReplayerTimeFactor()

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

在文件 Simulator.h701 行定义.

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

+ 函数调用图:

◆ SetTrafficLightGreenTime()

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

在文件 Simulator.h768 行定义.

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

+ 函数调用图:

◆ SetTrafficLightRedTime()

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

在文件 Simulator.h776 行定义.

引用了 _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.h764 行定义.

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

+ 函数调用图:

◆ SetTrafficLightYellowTime()

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

在文件 Simulator.h772 行定义.

引用了 _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.h560 行定义.

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

+ 函数调用图:

◆ SetWeatherParameters()

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

在文件 Simulator.h278 行定义.

引用了 _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.h628 行定义.

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

+ 函数调用图:

◆ ShouldUpdateMap()

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

在文件 Simulator.cpp155 行定义.

引用了 _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.h692 行定义.

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

+ 函数调用图:

◆ ShowRecorderCollisions()

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

在文件 Simulator.h688 行定义.

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

+ 函数调用图:

◆ ShowRecorderFileInfo()

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

在文件 Simulator.h683 行定义.

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

+ 函数调用图:

◆ ShowVehicleDebugTelemetry()

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

在文件 Simulator.h568 行定义.

引用了 _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.cpp364 行定义.

引用了 _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.h672 行定义.

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

+ 函数调用图:

◆ StopRecorder()

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

在文件 Simulator.h679 行定义.

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

+ 函数调用图:

◆ StopReplayer()

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

在文件 Simulator.h714 行定义.

引用了 _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.cpp453 行定义.

引用了 _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.cpp423 行定义.

引用了 _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.cpp230 行定义.

引用了 _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.h83 行定义.

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

+ 函数调用图:

◆ UnregisterAIController()

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

在文件 Simulator.cpp330 行定义.

引用了 _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.cpp465 行定义.

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

+ 函数调用图:

◆ UnSubscribeFromSensor()

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

在文件 Simulator.cpp436 行定义.

引用了 _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.h852 行定义.

引用了 _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.h845 行定义.

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

+ 函数调用图:

◆ UseCarSimRoad()

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

在文件 Simulator.h641 行定义.

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

+ 函数调用图:

◆ WaitForTick()

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

在文件 Simulator.cpp217 行定义.

引用了 _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.h909 行定义.

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

◆ _client

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

在文件 Simulator.h897 行定义.

被这些函数引用 AddActorAngularImpulse(), AddActorForce(), AddActorForce(), AddActorImpulse(), AddActorImpulse(), AddActorTorque(), AddTrafficManagerRunning(), ApplyAckermannControllerSettings(), ApplyAckermannControlToVehicle(), ApplyBatch(), ApplyBatchSync(), ApplyColorTextureToObjects(), ApplyColorTextureToObjects(), ApplyControlToVehicle(), ApplyControlToWalker(), ApplyPhysicsControlToVehicle(), BlendPose(), CastRay(), CloseVehicleDoor(), DestroyActor(), 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(), SetActorCollisions(), SetActorDead(), 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.h906 行定义.

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

◆ _light_manager

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

在文件 Simulator.h900 行定义.

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

◆ _open_drive_file

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

在文件 Simulator.h912 行定义.

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


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