|
CARLA
|
Provides communication with the rpc and streaming servers of a CARLA simulator. More...
#include <Client.h>
Inheritance diagram for carla::client::detail::Client:Classes | |
| class | Pimpl |
Public Member Functions | |
| void | AddActorAngularImpulse (rpc::ActorId actor, const geom::Vector3D &vector) |
| void | AddActorForce (rpc::ActorId actor, const geom::Vector3D &force) |
| void | AddActorForce (rpc::ActorId actor, const geom::Vector3D &force, const geom::Vector3D &location) |
| void | AddActorImpulse (rpc::ActorId actor, const geom::Vector3D &impulse) |
| void | AddActorImpulse (rpc::ActorId actor, const geom::Vector3D &impulse, const geom::Vector3D &location) |
| void | AddActorTorque (rpc::ActorId actor, const geom::Vector3D &vector) |
| bool | AddTrafficManagerRunning (std::pair< std::string, uint16_t > trafficManagerInfo) const |
| Informs the server that a Traffic Manager is running on <IP, port> | |
| void | ApplyAckermannControllerSettings (rpc::ActorId vehicle, const rpc::AckermannControllerSettings &settings) |
| void | ApplyAckermannControlToVehicle (rpc::ActorId vehicle, const rpc::VehicleAckermannControl &control) |
| void | ApplyBatch (std::vector< rpc::Command > commands, bool do_tick_cue) |
| std::vector< rpc::CommandResponse > | ApplyBatchSync (std::vector< rpc::Command > commands, bool do_tick_cue) |
| void | ApplyColorTextureToObjects (const std::vector< std::string > &objects_name, const rpc::MaterialParameter ¶meter, const rpc::TextureColor &Texture) |
| void | ApplyColorTextureToObjects (const std::vector< std::string > &objects_name, const rpc::MaterialParameter ¶meter, const rpc::TextureFloatColor &Texture) |
| void | ApplyControlToVehicle (rpc::ActorId vehicle, const rpc::VehicleControl &control) |
| void | ApplyControlToWalker (rpc::ActorId walker, const rpc::WalkerControl &control) |
| void | ApplyPhysicsControlToVehicle (rpc::ActorId vehicle, const rpc::VehiclePhysicsControl &physics_control) |
| void | ApplyTextureToActor (rpc::ActorId ActorId, const rpc::MaterialParameter &MaterialParameter, const rpc::TextureColor &Texture) |
| void | ApplyTextureToActor (rpc::ActorId ActorId, const rpc::MaterialParameter &MaterialParameter, const rpc::TextureFloatColor &Texture) |
| void | BlendPose (rpc::ActorId walker, float blend) |
| std::vector< rpc::LabelledPoint > | CastRay (geom::Location start_location, geom::Location end_location) const |
| void | ClearDebugShape () |
| void | ClearDebugString () |
| void | ClearSkyLightMap () |
| Client (const std::string &host, uint16_t port, size_t worker_threads=0u) | |
| void | CloseVehicleDoor (rpc::ActorId vehicle, const rpc::VehicleDoor door_idx) |
| void | CopyOpenDriveToServer (std::string opendrive, const rpc::OpendriveGenerationParameters ¶ms) |
| bool | DestroyActor (rpc::ActorId actor) |
| void | DestroyTrafficManager (uint16_t port) const |
| void | DisableActorConstantAcceleration (rpc::ActorId actor) |
| void | DisableActorConstantVelocity (rpc::ActorId actor) |
| void | DisableForROS (const streaming::Token &token) |
| void | DrawDebugShape (const rpc::DebugShape &shape) |
| void | EnableActorConstantAcceleration (rpc::ActorId actor, const geom::Vector3D &vector) |
| void | EnableActorConstantVelocity (rpc::ActorId actor, const geom::Vector3D &vector) |
| void | EnableCarSim (rpc::ActorId vehicle, std::string simfile_path) |
| void | EnableChronoPhysics (rpc::ActorId vehicle, uint64_t MaxSubsteps, float MaxSubstepDeltaTime, std::string VehicleJSON, std::string PowertrainJSON, std::string TireJSON, std::string BaseJSONPath) |
| void | EnableEnvironmentObjects (std::vector< uint64_t > env_objects_ids, bool enable) const |
| void | EnableForROS (const streaming::Token &token) |
| void | FreezeAllTrafficLights (bool frozen) |
| void | FreezeTrafficLight (rpc::ActorId traffic_light, bool freeze) |
| rpc::AckermannControllerSettings | GetAckermannControllerSettings (rpc::ActorId vehicle) const |
| std::vector< std::string > | GetActorBoneNames (rpc::ActorId actor) |
| std::vector< geom::Transform > | GetActorBoneRelativeTransforms (rpc::ActorId actor) |
| std::vector< geom::Transform > | GetActorBoneWorldTransforms (rpc::ActorId actor) |
| std::string | GetActorClassName (rpc::ActorId actor) const |
| std::vector< std::string > | GetActorComponentNames (rpc::ActorId actor) |
| geom::Transform | GetActorComponentRelativeTransform (rpc::ActorId actor, const std::string &component_name) |
| geom::Transform | GetActorComponentWorldTransform (rpc::ActorId actor, const std::string &component_name) |
| std::vector< rpc::ActorDefinition > | GetActorDefinitions () |
| std::string | GetActorName (rpc::ActorId actor) const |
| std::vector< rpc::Actor > | GetActorsById (const std::vector< ActorId > &ids) |
| std::vector< std::string > | GetActorSocketNames (rpc::ActorId actor) |
| std::vector< geom::Transform > | GetActorSocketRelativeTransforms (rpc::ActorId actor) |
| std::vector< geom::Transform > | GetActorSocketWorldTransforms (rpc::ActorId actor) |
| std::vector< std::string > | GetAvailableMaps () |
| rpc::WalkerBoneControlOut | GetBonesTransform (rpc::ActorId walker) |
| std::vector< uint8_t > | GetCacheFile (const std::string &name, const bool request_otherwise=true) const |
| std::string | GetClientVersion () |
| std::vector< rpc::ContentPackInfo > | GetContentPacks () |
| std::vector< geom::Transform > | GetEgoSpawnPoints () const |
| const std::string | GetEndpoint () const |
| std::vector< rpc::EnvironmentObject > | GetEnvironmentObjects (uint8_t queried_tag) const |
| rpc::EpisodeInfo | GetEpisodeInfo () |
| rpc::EpisodeSettings | GetEpisodeSettings () |
| std::vector< ActorId > | GetGroupTrafficLights (rpc::ActorId traffic_light) |
| float | GetIMUSensorGravity () |
| std::vector< geom::BoundingBox > | GetLevelBBs (uint8_t queried_tag) const |
| Returns all the BBs of all the elements of the level. | |
| std::vector< geom::BoundingBox > | GetLightBoxes (rpc::ActorId traffic_light) const |
| std::string | GetMapData () const |
| rpc::MapInfo | GetMapInfo () |
| std::vector< std::string > | GetNamesOfAllObjects () const |
| std::vector< uint8_t > | GetNavigationMesh () const |
| void | GetPoseFromAnimation (rpc::ActorId walker) |
| bool | GetPublishTF () const |
| geom::Location | GetRandomLocationFromNavigation () const |
| Server-side random point on the loaded navmesh. | |
| std::vector< std::string > | GetRequiredFiles (const std::string &folder="", const bool download=true) const |
| std::string | GetServerVersion () |
| rpc::Actor | GetSpectator () |
| time_duration | GetTimeout () const |
| std::pair< std::string, uint16_t > | GetTrafficManagerRunning (uint16_t port) const |
| Gets a pair filled with the <IP, port> of the Trafic Manager running on port. | |
| std::vector< geom::Transform > | GetVehicleBoneWorldTransforms (rpc::ActorId actor) |
| rpc::VehicleLightState | GetVehicleLightState (rpc::ActorId vehicle) const |
| rpc::VehiclePhysicsControl | GetVehiclePhysicsControl (rpc::ActorId vehicle) const |
| rpc::VehicleLightStateList | GetVehiclesLightStates () |
| Returns a list of pairs where the firts element is the vehicle ID and the second one is the light state. | |
| rpc::VehicleTelemetryData | GetVehicleTelemetryData (rpc::ActorId vehicle) const |
| rpc::WeatherParameters | GetWeatherParameters () |
| float | GetWheelPitchAngle (rpc::ActorId vehicle, rpc::VehicleWheelLocation wheel_location) |
| float | GetWheelSteerAngle (rpc::ActorId vehicle, rpc::VehicleWheelLocation wheel_location) |
| float | GetWheelSuspensionOffset (rpc::ActorId vehicle, rpc::VehicleWheelLocation wheel_location) |
| bool | HasSkyLightMap () const |
| bool | IsEnabledForROS (const streaming::Token &token) |
| bool | IsNavigationServerSide () const |
| True when the server hosts the pedestrian navigation (a World-Partitioned navmesh exists in the current world). | |
| bool | IsTrafficManagerRunning (uint16_t port) const |
| Querry to know if a Traffic Manager is running on port. | |
| bool | IsWeatherEnabled () |
| void | LoadEpisode (std::string map_name, bool reset_settings=true, rpc::MapLayer map_layer=rpc::MapLayer::All) |
| void | LoadLevelLayer (rpc::MapLayer map_layer) const |
| rpc::ContentPackInfo | MountContentPack (const std::string &path) |
| void | OpenVehicleDoor (rpc::ActorId vehicle, const rpc::VehicleDoor door_idx) |
| std::pair< bool, rpc::LabelledPoint > | ProjectPoint (geom::Location location, geom::Vector3D direction, float search_distance) const |
| std::vector< rpc::LightState > | QueryLightsStateToServer () const |
| std::string | ReplayFile (std::string name, double start, double duration, uint32_t follow_id, bool replay_sensors, bool replay_weather, const geom::Transform &offset, std::string map_override) |
| void | RequestFile (const std::string &name) const |
| void | ResetAllTrafficLights () |
| void | ResetTrafficLightGroup (rpc::ActorId traffic_light) |
| void | Send (rpc::ActorId ActorId, const rpc::CustomV2XBytes &data) |
| uint64_t | SendTickCue () |
| void | SetActorAutopilot (rpc::ActorId vehicle, bool enabled) |
| void | SetActorCollisions (rpc::ActorId actor, bool enabled) |
| void | SetActorDead (rpc::ActorId actor) |
| void | SetActorEnableGravity (rpc::ActorId actor, bool enabled) |
| void | SetActorLocation (rpc::ActorId actor, const geom::Location &location) |
| void | SetActorSimulatePhysics (rpc::ActorId actor, bool enabled) |
| void | SetActorTargetAngularVelocity (rpc::ActorId actor, const geom::Vector3D &vector) |
| void | SetActorTargetVelocity (rpc::ActorId actor, const geom::Vector3D &vector) |
| void | SetActorTransform (rpc::ActorId actor, const geom::Transform &transform) |
| void | SetBonesTransform (rpc::ActorId walker, const rpc::WalkerBoneControlIn &bones) |
| uint64_t | SetEpisodeSettings (const rpc::EpisodeSettings &settings) |
| bool | SetFilesBaseFolder (const std::string &path) |
| void | SetIMUSensorGravity (float gravity) |
| void | SetLightStateToVehicle (rpc::ActorId vehicle, const rpc::VehicleLightState &light_state) |
| bool | SetPedestriansCrossFactor (float percentage) const |
| Probability that a walker whose navigation starts after this call may cross roads (server-side navigation only). | |
| bool | SetPedestriansSeed (uint32_t seed) const |
| Seed for the server-side navigation RNG (crosser draw); applies to walkers whose navigation starts after this call. | |
| void | SetPublishTF (bool publish_tf) |
| void | SetReplayerIgnoreHero (bool ignore_hero) |
| void | SetReplayerIgnoreSpectator (bool ignore_spectator) |
| void | SetReplayerTimeFactor (double time_factor) |
| void | SetSkyLightMap (const rpc::TextureFloatColor &panorama, float intensity, int32_t face_size) |
| void | SetTimeout (time_duration timeout) |
| void | SetTrafficLightGreenTime (rpc::ActorId traffic_light, float green_time) |
| void | SetTrafficLightRedTime (rpc::ActorId traffic_light, float red_time) |
| void | SetTrafficLightState (rpc::ActorId traffic_light, const rpc::TrafficLightState trafficLightState) |
| void | SetTrafficLightYellowTime (rpc::ActorId traffic_light, float yellow_time) |
| void | SetWeatherParameters (const rpc::WeatherParameters &weather) |
| void | SetWheelAnimationOverride (rpc::ActorId vehicle, bool enabled) |
| void | SetWheelPitchAngle (rpc::ActorId vehicle, rpc::VehicleWheelLocation wheel_location, float angle_in_deg) |
| void | SetWheelSteerDirection (rpc::ActorId vehicle, rpc::VehicleWheelLocation vehicle_wheel, float angle_in_deg) |
| void | SetWheelSuspensionOffset (rpc::ActorId vehicle, rpc::VehicleWheelLocation wheel_location, float offset) |
| std::string | ShowRecorderActorsBlocked (std::string name, double min_time, double min_distance) |
| std::string | ShowRecorderCollisions (std::string name, char type1, char type2) |
| std::string | ShowRecorderFileInfo (std::string name, bool show_all) |
| void | ShowVehicleDebugTelemetry (rpc::ActorId vehicle, bool enabled) |
| rpc::Actor | SpawnActor (const rpc::ActorDescription &description, const geom::Transform &transform) |
| rpc::Actor | SpawnActorWithParent (const rpc::ActorDescription &description, const geom::Transform &transform, rpc::ActorId parent, rpc::AttachmentType attachment_type) |
| void | SpawnCustomMesh (const std::vector< float > &vertices, const std::vector< uint32_t > &triangles, const std::string &material) |
| std::string | StartRecorder (std::string name, bool additional_data, bool stop_replayer) |
| void | StopRecorder () |
| void | StopReplayer (bool keep_actors) |
| void | StopStreaming () |
| Join the streaming threads; no stream callback runs afterwards. | |
| void | SubscribeToGBuffer (rpc::ActorId ActorId, uint32_t GBufferId, std::function< void(Buffer)> callback) |
| void | SubscribeToStream (const streaming::Token &token, std::function< void(Buffer)> callback) |
| void | UnloadLevelLayer (rpc::MapLayer map_layer) const |
| bool | UnmountContentPack (const std::string &name) |
| void | UnSubscribeFromGBuffer (rpc::ActorId ActorId, uint32_t GBufferId) |
| void | UnSubscribeFromStream (const streaming::Token &token) |
| void | UpdateDayNightCycle (const bool active) const |
| void | UpdateServerLightsState (std::vector< rpc::LightState > &lights, bool discard_client=false) const |
| void | UseCarSimRoad (rpc::ActorId vehicle, bool enabled) |
| bool | WalkerGoToLocation (rpc::ActorId walker, const geom::Location &destination) const |
| bool | WalkerSetMaxSpeed (rpc::ActorId walker, float max_speed) const |
| bool | WalkerStartNavigation (rpc::ActorId walker) const |
| bool | WalkerStopNavigation (rpc::ActorId walker) const |
| ~Client () | |
Private Attributes | |
| const std::unique_ptr< Pimpl > | _pimpl |
Additional Inherited Members | |
Private Member Functions inherited from carla::NonCopyable | |
| NonCopyable ()=default | |
| NonCopyable (const NonCopyable &)=delete | |
| NonCopyable (NonCopyable &&)=delete | |
| NonCopyable & | operator= (const NonCopyable &)=delete |
| NonCopyable & | operator= (NonCopyable &&)=delete |
Provides communication with the rpc and streaming servers of a CARLA simulator.
Definition at line 72 of file client/detail/Client.h.
|
explicit |
Definition at line 103 of file client/detail/Client.cpp.
|
default |
| void carla::client::detail::Client::AddActorAngularImpulse | ( | rpc::ActorId | actor, |
| const geom::Vector3D & | vector | ||
| ) |
Definition at line 549 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::AddActorAngularImpulse(), and carla::client::detail::Simulator::AddActorTorque().
| void carla::client::detail::Client::AddActorForce | ( | rpc::ActorId | actor, |
| const geom::Vector3D & | force | ||
| ) |
Definition at line 541 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::AddActorForce(), and carla::client::detail::Simulator::AddActorForce().
| void carla::client::detail::Client::AddActorForce | ( | rpc::ActorId | actor, |
| const geom::Vector3D & | force, | ||
| const geom::Vector3D & | location | ||
| ) |
Definition at line 545 of file client/detail/Client.cpp.
References _pimpl.
| void carla::client::detail::Client::AddActorImpulse | ( | rpc::ActorId | actor, |
| const geom::Vector3D & | impulse | ||
| ) |
Definition at line 533 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::AddActorImpulse(), and carla::client::detail::Simulator::AddActorImpulse().
| void carla::client::detail::Client::AddActorImpulse | ( | rpc::ActorId | actor, |
| const geom::Vector3D & | impulse, | ||
| const geom::Vector3D & | location | ||
| ) |
Definition at line 537 of file client/detail/Client.cpp.
References _pimpl.
| void carla::client::detail::Client::AddActorTorque | ( | rpc::ActorId | actor, |
| const geom::Vector3D & | vector | ||
| ) |
Definition at line 553 of file client/detail/Client.cpp.
References _pimpl.
| bool carla::client::detail::Client::AddTrafficManagerRunning | ( | std::pair< std::string, uint16_t > | trafficManagerInfo | ) | const |
Informs the server that a Traffic Manager is running on <IP, port>
Definition at line 117 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::AddTrafficManagerRunning().
| void carla::client::detail::Client::ApplyAckermannControllerSettings | ( | rpc::ActorId | vehicle, |
| const rpc::AckermannControllerSettings & | settings | ||
| ) |
Definition at line 643 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ApplyAckermannControllerSettings().
| void carla::client::detail::Client::ApplyAckermannControlToVehicle | ( | rpc::ActorId | vehicle, |
| const rpc::VehicleAckermannControl & | control | ||
| ) |
Definition at line 634 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ApplyAckermannControlToVehicle().
| void carla::client::detail::Client::ApplyBatch | ( | std::vector< rpc::Command > | commands, |
| bool | do_tick_cue | ||
| ) |
Definition at line 866 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ApplyBatch().
| std::vector< rpc::CommandResponse > carla::client::detail::Client::ApplyBatchSync | ( | std::vector< rpc::Command > | commands, |
| bool | do_tick_cue | ||
| ) |
Definition at line 870 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ApplyBatchSync().
| void carla::client::detail::Client::ApplyColorTextureToObjects | ( | const std::vector< std::string > & | objects_name, |
| const rpc::MaterialParameter & | parameter, | ||
| const rpc::TextureColor & | Texture | ||
| ) |
Definition at line 183 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ApplyColorTextureToObjects(), and carla::client::detail::Simulator::ApplyColorTextureToObjects().
| void carla::client::detail::Client::ApplyColorTextureToObjects | ( | const std::vector< std::string > & | objects_name, |
| const rpc::MaterialParameter & | parameter, | ||
| const rpc::TextureFloatColor & | Texture | ||
| ) |
Definition at line 190 of file client/detail/Client.cpp.
References _pimpl.
| void carla::client::detail::Client::ApplyControlToVehicle | ( | rpc::ActorId | vehicle, |
| const rpc::VehicleControl & | control | ||
| ) |
Definition at line 630 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ApplyControlToVehicle(), and carla::client::detail::Simulator::SetLightsToVehicle().
| void carla::client::detail::Client::ApplyControlToWalker | ( | rpc::ActorId | walker, |
| const rpc::WalkerControl & | control | ||
| ) |
Definition at line 673 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ApplyControlToWalker().
| void carla::client::detail::Client::ApplyPhysicsControlToVehicle | ( | rpc::ActorId | vehicle, |
| const rpc::VehiclePhysicsControl & | physics_control | ||
| ) |
Definition at line 394 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ApplyPhysicsControlToVehicle().
| void carla::client::detail::Client::ApplyTextureToActor | ( | rpc::ActorId | ActorId, |
| const rpc::MaterialParameter & | MaterialParameter, | ||
| const rpc::TextureColor & | Texture | ||
| ) |
Definition at line 167 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ApplyTextureToActor(), and carla::client::detail::Simulator::ApplyTextureToActor().
| void carla::client::detail::Client::ApplyTextureToActor | ( | rpc::ActorId | ActorId, |
| const rpc::MaterialParameter & | MaterialParameter, | ||
| const rpc::TextureFloatColor & | Texture | ||
| ) |
Definition at line 175 of file client/detail/Client.cpp.
References _pimpl.
| void carla::client::detail::Client::BlendPose | ( | rpc::ActorId | walker, |
| float | blend | ||
| ) |
Definition at line 686 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::BlendPose().
| std::vector< rpc::LabelledPoint > carla::client::detail::Client::CastRay | ( | geom::Location | start_location, |
| geom::Location | end_location | ||
| ) | const |
Definition at line 916 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::CastRay().
| void carla::client::detail::Client::ClearDebugShape | ( | ) |
Definition at line 851 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ClearDebugShape().
| void carla::client::detail::Client::ClearDebugString | ( | ) |
Definition at line 855 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ClearDebugString().
| void carla::client::detail::Client::ClearSkyLightMap | ( | ) |
Definition at line 201 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ClearSkyLightMap().
| void carla::client::detail::Client::CloseVehicleDoor | ( | rpc::ActorId | vehicle, |
| const rpc::VehicleDoor | door_idx | ||
| ) |
Definition at line 412 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::CloseVehicleDoor().
| void carla::client::detail::Client::CopyOpenDriveToServer | ( | std::string | opendrive, |
| const rpc::OpendriveGenerationParameters & | params | ||
| ) |
Definition at line 162 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::LoadOpenDriveEpisode().
| bool carla::client::detail::Client::DestroyActor | ( | rpc::ActorId | actor | ) |
Definition at line 492 of file client/detail/Client.cpp.
References _pimpl, and carla::log_error().
Referenced by carla::client::detail::Simulator::DestroyActor(), and carla::client::detail::Simulator::DestroyActor().
| void carla::client::detail::Client::DestroyTrafficManager | ( | uint16_t | port | ) | const |
Definition at line 121 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::DestroyTrafficManager().
| void carla::client::detail::Client::DisableActorConstantAcceleration | ( | rpc::ActorId | actor | ) |
Definition at line 529 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::DisableActorConstantAcceleration().
| void carla::client::detail::Client::DisableActorConstantVelocity | ( | rpc::ActorId | actor | ) |
Definition at line 521 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::DisableActorConstantVelocity().
| void carla::client::detail::Client::DisableForROS | ( | const streaming::Token & | token | ) |
Definition at line 812 of file client/detail/Client.cpp.
References _pimpl, and carla::streaming::detail::token_type::get_stream_id().
Referenced by carla::client::detail::Simulator::DisableForROS().
| void carla::client::detail::Client::DrawDebugShape | ( | const rpc::DebugShape & | shape | ) |
Definition at line 847 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::DrawDebugShape().
| void carla::client::detail::Client::EnableActorConstantAcceleration | ( | rpc::ActorId | actor, |
| const geom::Vector3D & | vector | ||
| ) |
Definition at line 525 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::EnableActorConstantAcceleration().
| void carla::client::detail::Client::EnableActorConstantVelocity | ( | rpc::ActorId | actor, |
| const geom::Vector3D & | vector | ||
| ) |
Definition at line 517 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::EnableActorConstantVelocity().
| void carla::client::detail::Client::EnableCarSim | ( | rpc::ActorId | vehicle, |
| std::string | simfile_path | ||
| ) |
Definition at line 647 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::EnableCarSim().
| void carla::client::detail::Client::EnableChronoPhysics | ( | rpc::ActorId | vehicle, |
| uint64_t | MaxSubsteps, | ||
| float | MaxSubstepDeltaTime, | ||
| std::string | VehicleJSON, | ||
| std::string | PowertrainJSON, | ||
| std::string | TireJSON, | ||
| std::string | BaseJSONPath | ||
| ) |
Definition at line 655 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::EnableChronoPhysics().
| void carla::client::detail::Client::EnableEnvironmentObjects | ( | std::vector< uint64_t > | env_objects_ids, |
| bool | enable | ||
| ) | const |
Definition at line 904 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::EnableEnvironmentObjects().
| void carla::client::detail::Client::EnableForROS | ( | const streaming::Token & | token | ) |
Definition at line 807 of file client/detail/Client.cpp.
References _pimpl, and carla::streaming::detail::token_type::get_stream_id().
Referenced by carla::client::detail::Simulator::EnableForROS().
| void carla::client::detail::Client::FreezeAllTrafficLights | ( | bool | frozen | ) |
Definition at line 724 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::FreezeAllTrafficLights().
| void carla::client::detail::Client::FreezeTrafficLight | ( | rpc::ActorId | traffic_light, |
| bool | freeze | ||
| ) |
Definition at line 712 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::FreezeTrafficLight().
| rpc::AckermannControllerSettings carla::client::detail::Client::GetAckermannControllerSettings | ( | rpc::ActorId | vehicle | ) | const |
Definition at line 638 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetAckermannControllerSettings().
| std::vector< std::string > carla::client::detail::Client::GetActorBoneNames | ( | rpc::ActorId | actor | ) |
Definition at line 586 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetActorBoneNames().
| std::vector< geom::Transform > carla::client::detail::Client::GetActorBoneRelativeTransforms | ( | rpc::ActorId | actor | ) |
Definition at line 576 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetActorBoneRelativeTransforms().
| std::vector< geom::Transform > carla::client::detail::Client::GetActorBoneWorldTransforms | ( | rpc::ActorId | actor | ) |
Definition at line 571 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetActorBoneWorldTransforms().
| std::string carla::client::detail::Client::GetActorClassName | ( | rpc::ActorId | actor | ) | const |
Definition at line 927 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetActorClassName().
| std::vector< std::string > carla::client::detail::Client::GetActorComponentNames | ( | rpc::ActorId | actor | ) |
Definition at line 581 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetActorComponentNames().
| geom::Transform carla::client::detail::Client::GetActorComponentRelativeTransform | ( | rpc::ActorId | actor, |
| const std::string & | component_name | ||
| ) |
Definition at line 564 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetActorComponentRelativeTransform().
| geom::Transform carla::client::detail::Client::GetActorComponentWorldTransform | ( | rpc::ActorId | actor, |
| const std::string & | component_name | ||
| ) |
Definition at line 557 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetActorComponentWorldTransform().
| std::vector< rpc::ActorDefinition > carla::client::detail::Client::GetActorDefinitions | ( | ) |
Definition at line 325 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetBlueprintLibrary().
| std::string carla::client::detail::Client::GetActorName | ( | rpc::ActorId | actor | ) | const |
Definition at line 922 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetActorName().
| std::vector< rpc::Actor > carla::client::detail::Client::GetActorsById | ( | const std::vector< ActorId > & | ids | ) |
Definition at line 373 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Episode::GetActorById(), and carla::client::detail::GetActorsById_Impl().
| std::vector< std::string > carla::client::detail::Client::GetActorSocketNames | ( | rpc::ActorId | actor | ) |
Definition at line 601 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetActorSocketNames().
| std::vector< geom::Transform > carla::client::detail::Client::GetActorSocketRelativeTransforms | ( | rpc::ActorId | actor | ) |
Definition at line 596 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetActorSocketRelativeTransforms().
| std::vector< geom::Transform > carla::client::detail::Client::GetActorSocketWorldTransforms | ( | rpc::ActorId | actor | ) |
Definition at line 591 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetActorSocketWorldTransforms().
| std::vector< std::string > carla::client::detail::Client::GetAvailableMaps | ( | ) |
Definition at line 309 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetAvailableMaps().
| rpc::WalkerBoneControlOut carla::client::detail::Client::GetBonesTransform | ( | rpc::ActorId | walker | ) |
Definition at line 677 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetBonesTransform().
| std::vector< uint8_t > carla::client::detail::Client::GetCacheFile | ( | const std::string & | name, |
| const bool | request_otherwise = true |
||
| ) | const |
Definition at line 297 of file client/detail/Client.cpp.
References carla::client::FileTransfer::ReadFile(), and RequestFile().
Referenced by carla::client::detail::Simulator::GetCacheFile().
| std::string carla::client::detail::Client::GetClientVersion | ( | ) |
Definition at line 139 of file client/detail/Client.cpp.
Referenced by carla::client::detail::Simulator::GetClientVersion(), and carla::client::detail::ValidateVersions().
| std::vector< rpc::ContentPackInfo > carla::client::detail::Client::GetContentPacks | ( | ) |
Definition at line 313 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetContentPacks().
| std::vector< geom::Transform > carla::client::detail::Client::GetEgoSpawnPoints | ( | ) | const |
Definition at line 369 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetEgoSpawnPoints().
| const std::string carla::client::detail::Client::GetEndpoint | ( | ) | const |
Definition at line 135 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetEndpoint(), carla::client::detail::Simulator::Tick(), and carla::client::detail::Simulator::WaitForTick().
| std::vector< rpc::EnvironmentObject > carla::client::detail::Client::GetEnvironmentObjects | ( | uint8_t | queried_tag | ) | const |
Definition at line 899 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetEnvironmentObjects().
| rpc::EpisodeInfo carla::client::detail::Client::GetEpisodeInfo | ( | ) |
Definition at line 213 of file client/detail/Client.cpp.
References _pimpl.
| rpc::EpisodeSettings carla::client::detail::Client::GetEpisodeSettings | ( | ) |
Definition at line 333 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetEpisodeSettings(), and carla::client::detail::Simulator::LoadEpisode().
| std::vector< ActorId > carla::client::detail::Client::GetGroupTrafficLights | ( | rpc::ActorId | traffic_light | ) |
Definition at line 742 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetGroupTrafficLights().
| float carla::client::detail::Client::GetIMUSensorGravity | ( | ) |
Definition at line 349 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetIMUSensorGravity().
| std::vector< geom::BoundingBox > carla::client::detail::Client::GetLevelBBs | ( | uint8_t | queried_tag | ) | const |
Returns all the BBs of all the elements of the level.
Definition at line 894 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetLevelBBs().
| std::vector< geom::BoundingBox > carla::client::detail::Client::GetLightBoxes | ( | rpc::ActorId | traffic_light | ) | const |
Definition at line 728 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetLightBoxes().
| std::string carla::client::detail::Client::GetMapData | ( | ) | const |
Definition at line 221 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetCurrentMap().
| rpc::MapInfo carla::client::detail::Client::GetMapInfo | ( | ) |
Definition at line 217 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetCurrentMap().
| std::vector< std::string > carla::client::detail::Client::GetNamesOfAllObjects | ( | ) | const |
Definition at line 209 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetNamesOfAllObjects().
| std::vector< uint8_t > carla::client::detail::Client::GetNavigationMesh | ( | ) | const |
Definition at line 225 of file client/detail/Client.cpp.
References _pimpl.
| void carla::client::detail::Client::GetPoseFromAnimation | ( | rpc::ActorId | walker | ) |
Definition at line 690 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetPoseFromAnimation().
| bool carla::client::detail::Client::GetPublishTF | ( | ) | const |
Definition at line 365 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetPublishTF().
| geom::Location carla::client::detail::Client::GetRandomLocationFromNavigation | ( | ) | const |
Server-side random point on the loaded navmesh.
Returns the failure sentinel Location(0, 0, -1e6) when no point could be found.
Definition at line 240 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetRandomLocationFromNavigation().
| std::vector< std::string > carla::client::detail::Client::GetRequiredFiles | ( | const std::string & | folder = "", |
| const bool | download = true |
||
| ) | const |
Definition at line 272 of file client/detail/Client.cpp.
References _pimpl, carla::client::FileTransfer::FileExists(), carla::log_info(), and RequestFile().
Referenced by carla::client::detail::Simulator::GetCurrentMap(), and carla::client::detail::Simulator::GetRequiredFiles().
| std::string carla::client::detail::Client::GetServerVersion | ( | ) |
Definition at line 143 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetServerVersion(), and carla::client::detail::ValidateVersions().
| rpc::Actor carla::client::detail::Client::GetSpectator | ( | ) |
Definition at line 329 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetSpectator().
| time_duration carla::client::detail::Client::GetTimeout | ( | ) | const |
Definition at line 131 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetNetworkingTimeout(), carla::client::detail::Simulator::GetReadyCurrentEpisode(), and carla::client::detail::Simulator::LoadEpisode().
| std::pair< std::string, uint16_t > carla::client::detail::Client::GetTrafficManagerRunning | ( | uint16_t | port | ) | const |
Gets a pair filled with the <IP, port> of the Trafic Manager running on port.
If there is no Traffic Manager running the pair will be ("", 0)
Definition at line 113 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetTrafficManagerRunning().
| std::vector< geom::Transform > carla::client::detail::Client::GetVehicleBoneWorldTransforms | ( | rpc::ActorId | actor | ) |
Definition at line 737 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetVehicleBoneWorldTransforms().
| rpc::VehicleLightState carla::client::detail::Client::GetVehicleLightState | ( | rpc::ActorId | vehicle | ) | const |
Definition at line 389 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetVehicleLightState().
| rpc::VehiclePhysicsControl carla::client::detail::Client::GetVehiclePhysicsControl | ( | rpc::ActorId | vehicle | ) | const |
Definition at line 379 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetVehiclePhysicsControl().
| rpc::VehicleLightStateList carla::client::detail::Client::GetVehiclesLightStates | ( | ) |
Returns a list of pairs where the firts element is the vehicle ID and the second one is the light state.
Definition at line 733 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetVehiclesLightStates().
| rpc::VehicleTelemetryData carla::client::detail::Client::GetVehicleTelemetryData | ( | rpc::ActorId | vehicle | ) | const |
Definition at line 384 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetVehicleTelemetryData().
| rpc::WeatherParameters carla::client::detail::Client::GetWeatherParameters | ( | ) |
Definition at line 341 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetWeatherParameters().
| float carla::client::detail::Client::GetWheelPitchAngle | ( | rpc::ActorId | vehicle, |
| rpc::VehicleWheelLocation | wheel_location | ||
| ) |
Definition at line 438 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetWheelPitchAngle().
| float carla::client::detail::Client::GetWheelSteerAngle | ( | rpc::ActorId | vehicle, |
| rpc::VehicleWheelLocation | wheel_location | ||
| ) |
Definition at line 425 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetWheelSteerAngle().
| float carla::client::detail::Client::GetWheelSuspensionOffset | ( | rpc::ActorId | vehicle, |
| rpc::VehicleWheelLocation | wheel_location | ||
| ) |
Definition at line 451 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::GetWheelSuspensionOffset().
| bool carla::client::detail::Client::HasSkyLightMap | ( | ) | const |
Definition at line 205 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::HasSkyLightMap().
| bool carla::client::detail::Client::IsEnabledForROS | ( | const streaming::Token & | token | ) |
Definition at line 817 of file client/detail/Client.cpp.
References _pimpl, and carla::streaming::detail::token_type::get_stream_id().
Referenced by carla::client::detail::Simulator::IsEnabledForROS().
| bool carla::client::detail::Client::IsNavigationServerSide | ( | ) | const |
True when the server hosts the pedestrian navigation (a World-Partitioned navmesh exists in the current world).
Returns false on legacy .bin towns and on servers that predate the RPC.
Definition at line 229 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Episode::CreateNavigationIfMissing().
| bool carla::client::detail::Client::IsTrafficManagerRunning | ( | uint16_t | port | ) | const |
Querry to know if a Traffic Manager is running on port.
Definition at line 109 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::IsTrafficManagerRunning().
| bool carla::client::detail::Client::IsWeatherEnabled | ( | ) |
Definition at line 357 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::IsWeatherEnabled().
| void carla::client::detail::Client::LoadEpisode | ( | std::string | map_name, |
| bool | reset_settings = true, |
||
| rpc::MapLayer | map_layer = rpc::MapLayer::All |
||
| ) |
Definition at line 147 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::LoadEpisode().
| void carla::client::detail::Client::LoadLevelLayer | ( | rpc::MapLayer | map_layer | ) | const |
Definition at line 152 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::LoadLevelLayer().
| rpc::ContentPackInfo carla::client::detail::Client::MountContentPack | ( | const std::string & | path | ) |
Definition at line 317 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::MountContentPack().
| void carla::client::detail::Client::OpenVehicleDoor | ( | rpc::ActorId | vehicle, |
| const rpc::VehicleDoor | door_idx | ||
| ) |
Definition at line 406 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::OpenVehicleDoor().
| std::pair< bool, rpc::LabelledPoint > carla::client::detail::Client::ProjectPoint | ( | geom::Location | location, |
| geom::Vector3D | direction, | ||
| float | search_distance | ||
| ) | const |
Definition at line 910 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ProjectPoint().
| std::vector< rpc::LightState > carla::client::detail::Client::QueryLightsStateToServer | ( | ) | const |
Definition at line 881 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::QueryLightsStateToServer().
| std::string carla::client::detail::Client::ReplayFile | ( | std::string | name, |
| double | start, | ||
| double | duration, | ||
| uint32_t | follow_id, | ||
| bool | replay_sensors, | ||
| bool | replay_weather, | ||
| const geom::Transform & | offset, | ||
| std::string | map_override | ||
| ) |
Definition at line 767 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ReplayFile().
| void carla::client::detail::Client::RequestFile | ( | const std::string & | name | ) | const |
Definition at line 291 of file client/detail/Client.cpp.
References _pimpl, and carla::client::FileTransfer::WriteFile().
Referenced by GetCacheFile(), GetRequiredFiles(), and carla::client::detail::Simulator::RequestFile().
| void carla::client::detail::Client::ResetAllTrafficLights | ( | ) |
Definition at line 720 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ResetAllTrafficLights().
| void carla::client::detail::Client::ResetTrafficLightGroup | ( | rpc::ActorId | traffic_light | ) |
Definition at line 716 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ResetTrafficLightGroup().
| void carla::client::detail::Client::Send | ( | rpc::ActorId | ActorId, |
| const rpc::CustomV2XBytes & | data | ||
| ) |
Definition at line 843 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::Send().
| uint64_t carla::client::detail::Client::SendTickCue | ( | ) |
Definition at line 877 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::LoadEpisode(), and carla::client::detail::Simulator::Tick().
| void carla::client::detail::Client::SetActorAutopilot | ( | rpc::ActorId | vehicle, |
| bool | enabled | ||
| ) |
Definition at line 622 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetVehicleAutopilot().
| void carla::client::detail::Client::SetActorCollisions | ( | rpc::ActorId | actor, |
| bool | enabled | ||
| ) |
Definition at line 610 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetActorCollisions(), and carla::client::detail::Simulator::SetActorCollisions().
| void carla::client::detail::Client::SetActorDead | ( | rpc::ActorId | actor | ) |
Definition at line 614 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetActorDead(), and carla::client::detail::Simulator::SetActorDead().
| void carla::client::detail::Client::SetActorEnableGravity | ( | rpc::ActorId | actor, |
| bool | enabled | ||
| ) |
Definition at line 618 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetActorEnableGravity().
| void carla::client::detail::Client::SetActorLocation | ( | rpc::ActorId | actor, |
| const geom::Location & | location | ||
| ) |
Definition at line 501 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetActorLocation().
| void carla::client::detail::Client::SetActorSimulatePhysics | ( | rpc::ActorId | actor, |
| bool | enabled | ||
| ) |
Definition at line 606 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetActorSimulatePhysics().
| void carla::client::detail::Client::SetActorTargetAngularVelocity | ( | rpc::ActorId | actor, |
| const geom::Vector3D & | vector | ||
| ) |
Definition at line 513 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetActorTargetAngularVelocity().
| void carla::client::detail::Client::SetActorTargetVelocity | ( | rpc::ActorId | actor, |
| const geom::Vector3D & | vector | ||
| ) |
Definition at line 509 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetActorTargetVelocity().
| void carla::client::detail::Client::SetActorTransform | ( | rpc::ActorId | actor, |
| const geom::Transform & | transform | ||
| ) |
Definition at line 505 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetActorTransform().
| void carla::client::detail::Client::SetBonesTransform | ( | rpc::ActorId | walker, |
| const rpc::WalkerBoneControlIn & | bones | ||
| ) |
Definition at line 682 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetBonesTransform().
| uint64_t carla::client::detail::Client::SetEpisodeSettings | ( | const rpc::EpisodeSettings & | settings | ) |
Definition at line 337 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetEpisodeSettings().
| bool carla::client::detail::Client::SetFilesBaseFolder | ( | const std::string & | path | ) |
Definition at line 268 of file client/detail/Client.cpp.
References carla::client::FileTransfer::SetFilesBaseFolder().
Referenced by carla::client::detail::Simulator::SetFilesBaseFolder().
| void carla::client::detail::Client::SetIMUSensorGravity | ( | float | gravity | ) |
Definition at line 353 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetIMUSensorGravity().
| void carla::client::detail::Client::SetLightStateToVehicle | ( | rpc::ActorId | vehicle, |
| const rpc::VehicleLightState & | light_state | ||
| ) |
Definition at line 400 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetLightStateToVehicle().
| bool carla::client::detail::Client::SetPedestriansCrossFactor | ( | float | percentage | ) | const |
Probability that a walker whose navigation starts after this call may cross roads (server-side navigation only).
Definition at line 260 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetPedestriansCrossFactor().
| bool carla::client::detail::Client::SetPedestriansSeed | ( | uint32_t | seed | ) | const |
Seed for the server-side navigation RNG (crosser draw); applies to walkers whose navigation starts after this call.
Definition at line 264 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetPedestriansSeed().
| void carla::client::detail::Client::SetPublishTF | ( | bool | publish_tf | ) |
Definition at line 361 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetPublishTF().
| void carla::client::detail::Client::SetReplayerIgnoreHero | ( | bool | ignore_hero | ) |
Definition at line 783 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetReplayerIgnoreHero().
| void carla::client::detail::Client::SetReplayerIgnoreSpectator | ( | bool | ignore_spectator | ) |
Definition at line 787 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetReplayerIgnoreSpectator().
| void carla::client::detail::Client::SetReplayerTimeFactor | ( | double | time_factor | ) |
Definition at line 779 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetReplayerTimeFactor().
| void carla::client::detail::Client::SetSkyLightMap | ( | const rpc::TextureFloatColor & | panorama, |
| float | intensity, | ||
| int32_t | face_size | ||
| ) |
Definition at line 197 of file client/detail/Client.cpp.
References _pimpl, and intensity.
Referenced by carla::client::detail::Simulator::SetSkyLightMap().
| void carla::client::detail::Client::SetTimeout | ( | time_duration | timeout | ) |
Definition at line 127 of file client/detail/Client.cpp.
References _pimpl, and carla::time_duration::milliseconds().
Referenced by carla::client::detail::Simulator::SetNetworkingTimeout().
| void carla::client::detail::Client::SetTrafficLightGreenTime | ( | rpc::ActorId | traffic_light, |
| float | green_time | ||
| ) |
Definition at line 700 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetTrafficLightGreenTime().
| void carla::client::detail::Client::SetTrafficLightRedTime | ( | rpc::ActorId | traffic_light, |
| float | red_time | ||
| ) |
Definition at line 708 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetTrafficLightRedTime().
| void carla::client::detail::Client::SetTrafficLightState | ( | rpc::ActorId | traffic_light, |
| const rpc::TrafficLightState | trafficLightState | ||
| ) |
Definition at line 694 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetTrafficLightState().
| void carla::client::detail::Client::SetTrafficLightYellowTime | ( | rpc::ActorId | traffic_light, |
| float | yellow_time | ||
| ) |
Definition at line 704 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetTrafficLightYellowTime().
| void carla::client::detail::Client::SetWeatherParameters | ( | const rpc::WeatherParameters & | weather | ) |
Definition at line 345 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetWeatherParameters().
| void carla::client::detail::Client::SetWheelAnimationOverride | ( | rpc::ActorId | vehicle, |
| bool | enabled | ||
| ) |
Definition at line 457 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetWheelAnimationOverride().
| void carla::client::detail::Client::SetWheelPitchAngle | ( | rpc::ActorId | vehicle, |
| rpc::VehicleWheelLocation | wheel_location, | ||
| float | angle_in_deg | ||
| ) |
Definition at line 431 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetWheelPitchAngle().
| void carla::client::detail::Client::SetWheelSteerDirection | ( | rpc::ActorId | vehicle, |
| rpc::VehicleWheelLocation | vehicle_wheel, | ||
| float | angle_in_deg | ||
| ) |
Definition at line 418 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetWheelSteerDirection().
| void carla::client::detail::Client::SetWheelSuspensionOffset | ( | rpc::ActorId | vehicle, |
| rpc::VehicleWheelLocation | wheel_location, | ||
| float | offset | ||
| ) |
Definition at line 444 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SetWheelSuspensionOffset().
| std::string carla::client::detail::Client::ShowRecorderActorsBlocked | ( | std::string | name, |
| double | min_time, | ||
| double | min_distance | ||
| ) |
Definition at line 763 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ShowRecorderActorsBlocked().
| std::string carla::client::detail::Client::ShowRecorderCollisions | ( | std::string | name, |
| char | type1, | ||
| char | type2 | ||
| ) |
Definition at line 759 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ShowRecorderCollisions().
| std::string carla::client::detail::Client::ShowRecorderFileInfo | ( | std::string | name, |
| bool | show_all | ||
| ) |
Definition at line 755 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ShowRecorderFileInfo().
| void carla::client::detail::Client::ShowVehicleDebugTelemetry | ( | rpc::ActorId | vehicle, |
| bool | enabled | ||
| ) |
Definition at line 626 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::ShowVehicleDebugTelemetry().
| rpc::Actor carla::client::detail::Client::SpawnActor | ( | const rpc::ActorDescription & | description, |
| const geom::Transform & | transform | ||
| ) |
Definition at line 461 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SpawnActor().
| rpc::Actor carla::client::detail::Client::SpawnActorWithParent | ( | const rpc::ActorDescription & | description, |
| const geom::Transform & | transform, | ||
| rpc::ActorId | parent, | ||
| rpc::AttachmentType | attachment_type | ||
| ) |
Definition at line 467 of file client/detail/Client.cpp.
References _pimpl, carla::geom::Math::Dot(), carla::geom::Transform::location, carla::geom::Vector3D::MakeUnitVector(), carla::rpc::SpringArm, carla::rpc::SpringArmGhost, and z.
Referenced by carla::client::detail::Simulator::SpawnActor().
| void carla::client::detail::Client::SpawnCustomMesh | ( | const std::vector< float > & | vertices, |
| const std::vector< uint32_t > & | triangles, | ||
| const std::string & | material | ||
| ) |
Definition at line 859 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SpawnCustomMesh().
| std::string carla::client::detail::Client::StartRecorder | ( | std::string | name, |
| bool | additional_data, | ||
| bool | stop_replayer | ||
| ) |
Definition at line 747 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::StartRecorder().
| void carla::client::detail::Client::StopRecorder | ( | ) |
Definition at line 751 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::StopRecorder().
| void carla::client::detail::Client::StopReplayer | ( | bool | keep_actors | ) |
Definition at line 775 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::StopReplayer().
| void carla::client::detail::Client::StopStreaming | ( | ) |
Join the streaming threads; no stream callback runs afterwards.
Definition at line 803 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::~Simulator().
| void carla::client::detail::Client::SubscribeToGBuffer | ( | rpc::ActorId | ActorId, |
| uint32_t | GBufferId, | ||
| std::function< void(Buffer)> | callback | ||
| ) |
Definition at line 822 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::SubscribeToGBuffer().
| void carla::client::detail::Client::SubscribeToStream | ( | const streaming::Token & | token, |
| std::function< void(Buffer)> | callback | ||
| ) |
Definition at line 791 of file client/detail/Client.cpp.
References _pimpl, and carla::streaming::detail::token_type::get_stream_id().
Referenced by carla::client::detail::Episode::Listen(), and carla::client::detail::Simulator::SubscribeToSensor().
| void carla::client::detail::Client::UnloadLevelLayer | ( | rpc::MapLayer | map_layer | ) | const |
Definition at line 157 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::UnloadLevelLayer().
| bool carla::client::detail::Client::UnmountContentPack | ( | const std::string & | name | ) |
Definition at line 321 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::UnmountContentPack().
| void carla::client::detail::Client::UnSubscribeFromGBuffer | ( | rpc::ActorId | ActorId, |
| uint32_t | GBufferId | ||
| ) |
Definition at line 833 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::UnSubscribeFromGBuffer().
| void carla::client::detail::Client::UnSubscribeFromStream | ( | const streaming::Token & | token | ) |
Definition at line 799 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::UnSubscribeFromSensor(), and carla::client::detail::Episode::~Episode().
| void carla::client::detail::Client::UpdateDayNightCycle | ( | const bool | active | ) | const |
Definition at line 890 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::UpdateDayNightCycle().
| void carla::client::detail::Client::UpdateServerLightsState | ( | std::vector< rpc::LightState > & | lights, |
| bool | discard_client = false |
||
| ) | const |
Definition at line 886 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::UpdateServerLightsState().
| void carla::client::detail::Client::UseCarSimRoad | ( | rpc::ActorId | vehicle, |
| bool | enabled | ||
| ) |
Definition at line 651 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::UseCarSimRoad().
| bool carla::client::detail::Client::WalkerGoToLocation | ( | rpc::ActorId | walker, |
| const geom::Location & | destination | ||
| ) | const |
Definition at line 248 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::WalkerGoToLocation().
| bool carla::client::detail::Client::WalkerSetMaxSpeed | ( | rpc::ActorId | walker, |
| float | max_speed | ||
| ) | const |
Definition at line 252 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::WalkerSetMaxSpeed().
| bool carla::client::detail::Client::WalkerStartNavigation | ( | rpc::ActorId | walker | ) | const |
Definition at line 244 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::WalkerStartNavigation().
| bool carla::client::detail::Client::WalkerStopNavigation | ( | rpc::ActorId | walker | ) | const |
Definition at line 256 of file client/detail/Client.cpp.
References _pimpl.
Referenced by carla::client::detail::Simulator::WalkerStopNavigation().
|
private |
Definition at line 577 of file client/detail/Client.h.
Referenced by AddActorAngularImpulse(), AddActorForce(), AddActorForce(), AddActorImpulse(), AddActorImpulse(), AddActorTorque(), AddTrafficManagerRunning(), ApplyAckermannControllerSettings(), ApplyAckermannControlToVehicle(), ApplyBatch(), ApplyBatchSync(), ApplyColorTextureToObjects(), ApplyColorTextureToObjects(), ApplyControlToVehicle(), ApplyControlToWalker(), ApplyPhysicsControlToVehicle(), ApplyTextureToActor(), ApplyTextureToActor(), BlendPose(), CastRay(), ClearDebugShape(), ClearDebugString(), ClearSkyLightMap(), CloseVehicleDoor(), CopyOpenDriveToServer(), DestroyActor(), DestroyTrafficManager(), DisableActorConstantAcceleration(), DisableActorConstantVelocity(), DisableForROS(), DrawDebugShape(), EnableActorConstantAcceleration(), EnableActorConstantVelocity(), EnableCarSim(), EnableChronoPhysics(), EnableEnvironmentObjects(), EnableForROS(), FreezeAllTrafficLights(), FreezeTrafficLight(), GetAckermannControllerSettings(), GetActorBoneNames(), GetActorBoneRelativeTransforms(), GetActorBoneWorldTransforms(), GetActorClassName(), GetActorComponentNames(), GetActorComponentRelativeTransform(), GetActorComponentWorldTransform(), GetActorDefinitions(), GetActorName(), GetActorsById(), GetActorSocketNames(), GetActorSocketRelativeTransforms(), GetActorSocketWorldTransforms(), GetAvailableMaps(), GetBonesTransform(), GetContentPacks(), GetEgoSpawnPoints(), GetEndpoint(), GetEnvironmentObjects(), GetEpisodeInfo(), GetEpisodeSettings(), GetGroupTrafficLights(), GetIMUSensorGravity(), GetLevelBBs(), GetLightBoxes(), GetMapData(), GetMapInfo(), GetNamesOfAllObjects(), GetNavigationMesh(), GetPoseFromAnimation(), GetPublishTF(), GetRandomLocationFromNavigation(), GetRequiredFiles(), GetServerVersion(), GetSpectator(), GetTimeout(), GetTrafficManagerRunning(), GetVehicleBoneWorldTransforms(), GetVehicleLightState(), GetVehiclePhysicsControl(), GetVehiclesLightStates(), GetVehicleTelemetryData(), GetWeatherParameters(), GetWheelPitchAngle(), GetWheelSteerAngle(), GetWheelSuspensionOffset(), HasSkyLightMap(), IsEnabledForROS(), IsNavigationServerSide(), IsTrafficManagerRunning(), IsWeatherEnabled(), LoadEpisode(), LoadLevelLayer(), MountContentPack(), OpenVehicleDoor(), ProjectPoint(), QueryLightsStateToServer(), ReplayFile(), RequestFile(), ResetAllTrafficLights(), ResetTrafficLightGroup(), Send(), SendTickCue(), SetActorAutopilot(), SetActorCollisions(), SetActorDead(), SetActorEnableGravity(), SetActorLocation(), SetActorSimulatePhysics(), SetActorTargetAngularVelocity(), SetActorTargetVelocity(), SetActorTransform(), SetBonesTransform(), SetEpisodeSettings(), SetIMUSensorGravity(), SetLightStateToVehicle(), SetPedestriansCrossFactor(), SetPedestriansSeed(), SetPublishTF(), SetReplayerIgnoreHero(), SetReplayerIgnoreSpectator(), SetReplayerTimeFactor(), SetSkyLightMap(), SetTimeout(), SetTrafficLightGreenTime(), SetTrafficLightRedTime(), SetTrafficLightState(), SetTrafficLightYellowTime(), SetWeatherParameters(), SetWheelAnimationOverride(), SetWheelPitchAngle(), SetWheelSteerDirection(), SetWheelSuspensionOffset(), ShowRecorderActorsBlocked(), ShowRecorderCollisions(), ShowRecorderFileInfo(), ShowVehicleDebugTelemetry(), SpawnActor(), SpawnActorWithParent(), SpawnCustomMesh(), StartRecorder(), StopRecorder(), StopReplayer(), StopStreaming(), SubscribeToGBuffer(), SubscribeToStream(), UnloadLevelLayer(), UnmountContentPack(), UnSubscribeFromGBuffer(), UnSubscribeFromStream(), UpdateDayNightCycle(), UpdateServerLightsState(), UseCarSimRoad(), WalkerGoToLocation(), WalkerSetMaxSpeed(), WalkerStartNavigation(), and WalkerStopNavigation().