CARLA
Namespaces | Classes | Typedefs | Enumerations | Functions
carla::rpc Namespace Reference

Namespaces

 detail
 

Classes

class  AckermannControllerSettings
 
class  Actor
 
class  ActorAttribute
 
class  ActorAttributeValue
 
class  ActorDefinition
 
class  ActorDescription
 
class  BoneTransformDataOut
 
class  Client
 
class  Color
 
class  Command
 
class  DebugShape
 
struct  EnvironmentObject
 
class  EpisodeInfo
 
class  EpisodeSettings
 
struct  FloatColor
 
class  GearPhysicsControl
 
struct  LabelledPoint
 
class  LightState
 
class  MapInfo
 
class  Metadata
 Metadata of an RPC function call. More...
 
struct  OpendriveGenerationParameters
 Seting for map generation from opendrive without additional geometry. More...
 
class  Response
 
class  Response< void >
 
class  ResponseError
 
class  Server
 An RPC server in which functions can be bind to run synchronously or asynchronously. More...
 
class  Texture
 
class  VehicleAckermannControl
 
class  VehicleControl
 
class  VehicleLightState
 Defines the physical appearance of a vehicle whitch is obtained by the sensors. More...
 
class  VehiclePhysicsControl
 
class  WalkerBoneControlIn
 
class  WalkerBoneControlOut
 
class  WalkerControl
 
class  WeatherParameters
 
class  WheelPhysicsControl
 

Typedefs

using ActorId = uint32_t
 
using BoneTransformDataIn = std::pair< std::string, geom::Transform >
 
using CommandResponse = Response< ActorId >
 
using LightId = uint32_t
 
using Location = geom::Location
 
using MapLayerType = uint16_t
 
using Rotation = geom::Rotation
 
using TextureColor = Texture< sensor::data::Color >
 
using TextureFloatColor = Texture< FloatColor >
 
using Transform = geom::Transform
 
using Vector2D = geom::Vector2D
 
using Vector3D = geom::Vector3D
 
using VehicleLightStateList = std::vector< std::pair< ActorId, VehicleLightState::flag_type > >
 
using WP = WeatherParameters
 

Enumerations

enum  ActorAttributeType : uint8_t {
  ActorAttributeType::Bool, ActorAttributeType::Int, ActorAttributeType::Float, ActorAttributeType::String,
  ActorAttributeType::RGBColor, ActorAttributeType::SIZE, ActorAttributeType::INVALID
}
 
enum  ActorState : uint8_t { ActorState::Invalid, ActorState::Active, ActorState::Dormant, ActorState::PendingKill }
 
enum  AttachmentType : uint8_t {
  AttachmentType::Rigid, AttachmentType::SpringArm, AttachmentType::SpringArmGhost, AttachmentType::SIZE,
  AttachmentType::INVALID
}
 
enum  CityObjectLabel : uint8_t {
  CityObjectLabel::None = 0u, CityObjectLabel::Roads = 1u, CityObjectLabel::Sidewalks = 2u, CityObjectLabel::Buildings = 3u,
  CityObjectLabel::Walls = 4u, CityObjectLabel::Fences = 5u, CityObjectLabel::Poles = 6u, CityObjectLabel::TrafficLight = 7u,
  CityObjectLabel::TrafficSigns = 8u, CityObjectLabel::Vegetation = 9u, CityObjectLabel::Terrain = 10u, CityObjectLabel::Sky = 11u,
  CityObjectLabel::Pedestrians = 12u, CityObjectLabel::Rider = 13u, CityObjectLabel::Car = 14u, CityObjectLabel::Truck = 15u,
  CityObjectLabel::Bus = 16u, CityObjectLabel::Train = 17u, CityObjectLabel::Motorcycle = 18u, CityObjectLabel::Bicycle = 19u,
  CityObjectLabel::Static = 20u, CityObjectLabel::Dynamic = 21u, CityObjectLabel::Other = 22u, CityObjectLabel::Water = 23u,
  CityObjectLabel::RoadLines = 24u, CityObjectLabel::Ground = 25u, CityObjectLabel::Bridge = 26u, CityObjectLabel::RailTrack = 27u,
  CityObjectLabel::GuardRail = 28u, CityObjectLabel::Any = 0xFF
}
 
enum  MapLayer : MapLayerType {
  MapLayer::None = 0, MapLayer::Buildings = 0x1, MapLayer::Decals = 0x1 << 1, MapLayer::Foliage = 0x1 << 2,
  MapLayer::Ground = 0x1 << 3, MapLayer::ParkedVehicles = 0x1 << 4, MapLayer::Particles = 0x1 << 5, MapLayer::Props = 0x1 << 6,
  MapLayer::StreetLights = 0x1 << 7, MapLayer::Walls = 0x1 << 8, MapLayer::All = 0xFFFF
}
 
enum  MaterialParameter { MaterialParameter::Tex_Normal, MaterialParameter::Tex_Ao_Roughness_Metallic_Emissive, MaterialParameter::Tex_Diffuse, MaterialParameter::Tex_Emissive }
 
enum  QualityLevel : uint8_t { QualityLevel::Low, QualityLevel::Epic, QualityLevel::SIZE, QualityLevel::INVALID }
 
enum  TrafficLightState : uint8_t {
  TrafficLightState::Red, TrafficLightState::Yellow, TrafficLightState::Green, TrafficLightState::Off,
  TrafficLightState::Unknown, TrafficLightState::SIZE
}
 
enum  VehicleDoor : uint8_t {
  VehicleDoor::FL = 0, VehicleDoor::FR = 1, VehicleDoor::RL = 2, VehicleDoor::RR = 3,
  VehicleDoor::Hood = 4, VehicleDoor::Trunk = 5, VehicleDoor::All = 6
}
 
enum  VehicleFailureState : uint8_t { VehicleFailureState::None, VehicleFailureState::Rollover, VehicleFailureState::Engine, VehicleFailureState::TirePuncture }
 
enum  VehicleWheelLocation : uint8_t {
  VehicleWheelLocation::FL_Wheel = 0, VehicleWheelLocation::FR_Wheel = 1, VehicleWheelLocation::BL_Wheel = 2, VehicleWheelLocation::BR_Wheel = 3,
  VehicleWheelLocation::Front_Wheel = 0, VehicleWheelLocation::Back_Wheel = 1
}
 

Functions

std::string MapLayerToString (MapLayer MapLayerValue)
 
std::string MaterialParameterToString (MaterialParameter material_parameter)
 

Typedef Documentation

◆ ActorId

using carla::rpc::ActorId = typedef uint32_t

Definition at line 14 of file ActorId.h.

◆ BoneTransformDataIn

using carla::rpc::BoneTransformDataIn = typedef std::pair<std::string, geom::Transform>

Definition at line 17 of file BoneTransformDataIn.h.

◆ CommandResponse

Definition at line 15 of file CommandResponse.h.

◆ LightId

using carla::rpc::LightId = typedef uint32_t

Definition at line 16 of file rpc/LightState.h.

◆ Location

Definition at line 14 of file rpc/Location.h.

◆ MapLayerType

using carla::rpc::MapLayerType = typedef uint16_t

Definition at line 16 of file MapLayer.h.

◆ Rotation

Definition at line 14 of file rpc/Transform.h.

◆ TextureColor

Definition at line 66 of file Texture.h.

◆ TextureFloatColor

Definition at line 67 of file Texture.h.

◆ Transform

Definition at line 16 of file rpc/Transform.h.

◆ Vector2D

Definition at line 14 of file rpc/Vector2D.h.

◆ Vector3D

Definition at line 14 of file rpc/Vector3D.h.

◆ VehicleLightStateList

using carla::rpc::VehicleLightStateList = typedef std::vector<std::pair<ActorId, VehicleLightState::flag_type> >

Definition at line 19 of file VehicleLightStateList.h.

◆ WP

Definition at line 12 of file WeatherParameters.cpp.

Enumeration Type Documentation

◆ ActorAttributeType

enum carla::rpc::ActorAttributeType : uint8_t
strong
Enumerator
Bool 
Int 
Float 
String 
RGBColor 
SIZE 
INVALID 

Definition at line 14 of file ActorAttributeType.h.

◆ ActorState

enum carla::rpc::ActorState : uint8_t
strong
Enumerator
Invalid 
Active 
Dormant 
PendingKill 

Definition at line 14 of file rpc/ActorState.h.

◆ AttachmentType

enum carla::rpc::AttachmentType : uint8_t
strong
Enumerator
Rigid 
SpringArm 
SpringArmGhost 
SIZE 
INVALID 

Definition at line 16 of file AttachmentType.h.

◆ CityObjectLabel

enum carla::rpc::CityObjectLabel : uint8_t
strong
Enumerator
None 
Roads 
Sidewalks 
Buildings 
Walls 
Fences 
Poles 
TrafficLight 
TrafficSigns 
Vegetation 
Terrain 
Sky 
Pedestrians 
Rider 
Car 
Truck 
Bus 
Train 
Motorcycle 
Bicycle 
Static 
Dynamic 
Other 
Water 
RoadLines 
Ground 
Bridge 
RailTrack 
GuardRail 
Any 

Definition at line 16 of file ObjectLabel.h.

◆ MapLayer

Enumerator
None 
Buildings 
Decals 
Foliage 
Ground 
ParkedVehicles 
Particles 
Props 
StreetLights 
Walls 
All 

Definition at line 18 of file MapLayer.h.

◆ MaterialParameter

Enumerator
Tex_Normal 
Tex_Ao_Roughness_Metallic_Emissive 
Tex_Diffuse 
Tex_Emissive 

Definition at line 16 of file MaterialParameter.h.

◆ QualityLevel

enum carla::rpc::QualityLevel : uint8_t
strong
Enumerator
Low 
Epic 
SIZE 
INVALID 

Definition at line 16 of file QualityLevel.h.

◆ TrafficLightState

enum carla::rpc::TrafficLightState : uint8_t
strong
Enumerator
Red 
Yellow 
Green 
Off 
Unknown 
SIZE 

Definition at line 16 of file LibCarla/source/carla/rpc/TrafficLightState.h.

◆ VehicleDoor

enum carla::rpc::VehicleDoor : uint8_t
strong
Enumerator
FL 
FR 
RL 
RR 
Hood 
Trunk 
All 

Definition at line 16 of file VehicleDoor.h.

◆ VehicleFailureState

enum carla::rpc::VehicleFailureState : uint8_t
strong
Enumerator
None 
Rollover 
Engine 
TirePuncture 

Definition at line 14 of file VehicleFailureState.h.

◆ VehicleWheelLocation

enum carla::rpc::VehicleWheelLocation : uint8_t
strong
Enumerator
FL_Wheel 
FR_Wheel 
BL_Wheel 
BR_Wheel 
Front_Wheel 
Back_Wheel 

Definition at line 15 of file VehicleWheels.h.

Function Documentation

◆ MapLayerToString()

std::string carla::rpc::MapLayerToString ( MapLayer  MapLayerValue)

Definition at line 12 of file MapLayer.cpp.

References All, Buildings, Decals, Foliage, Ground, None, ParkedVehicles, Particles, Props, StreetLights, and Walls.

Referenced by ACarlaGameModeBase::ConvertMapLayerMaskToMapNames().

+ Here is the caller graph for this function:

◆ MaterialParameterToString()

std::string carla::rpc::MaterialParameterToString ( MaterialParameter  material_parameter)