CARLA
Loading...
Searching...
No Matches
carla::rpc Namespace Reference

Namespaces

namespace  detail

Classes

class  AckermannControllerSettings
class  Actor
class  ActorAttribute
class  ActorAttributeValue
class  ActorDefinition
class  ActorDescription
class  BoneTransformDataOut
class  Client
class  Color
class  Command
class  ContentPackInfo
 Description of a CARLA content pack known to the server (see UCarlaContentPackManager). More...
class  CustomV2XBytes
 Fixed-size binary payload carried by the custom V2X sensor (sensor.other.v2x_custom). More...
class  DebugShape
struct  EnvironmentObject
class  EpisodeInfo
class  EpisodeSettings
struct  FloatColor
struct  LabelledPoint
class  LightState
class  MapInfo
 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...
struct  VehiclePhysicsControl
class  VehicleTelemetryData
class  WalkerBoneControlIn
class  WalkerBoneControlOut
class  WalkerControl
class  WeatherParameters
struct  WheelPhysicsControl
class  WheelTelemetryData

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
using WP = WeatherParameters

Enumerations

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

Functions

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

Typedef Documentation

◆ ActorId

using carla::rpc::ActorId = uint32_t

Definition at line 14 of file ActorId.h.

◆ BoneTransformDataIn

using carla::rpc::BoneTransformDataIn = 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 = 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 = 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

Initial value:
std::vector<std::pair<ActorId, VehicleLightState::flag_type>>

Definition at line 18 of file VehicleLightStateList.h.

◆ WP

Definition at line 12 of file WeatherParameters.cpp.

Enumeration Type Documentation

◆ ActorAttributeType

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

Definition at line 14 of file ActorAttributeType.h.

◆ ActorState

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

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

◆ AttachmentType

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

Definition at line 16 of file AttachmentType.h.

◆ CityObjectLabel

enum class 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 
Rock 
Any 

Definition at line 16 of file ObjectLabel.h.

◆ MapLayer

enum class carla::rpc::MapLayer : MapLayerType
strong
Enumerator
None 
Buildings 
Decals 
Foliage 
Ground 
ParkedVehicles 
Particles 
Props 
StreetLights 
Walls 
All 

Definition at line 18 of file MapLayer.h.

◆ MaterialParameter

enum class carla::rpc::MaterialParameter
strong
Enumerator
Tex_Normal 
Tex_Ao_Roughness_Metallic_Emissive 
Tex_Diffuse 
Tex_Emissive 

Definition at line 16 of file MaterialParameter.h.

◆ QualityLevel

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

Definition at line 16 of file QualityLevel.h.

◆ TrafficLightState

enum class 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 class carla::rpc::VehicleDoor : uint8_t
strong
Enumerator
FL 
FR 
RL 
RR 
Hood 
Trunk 
All 

Definition at line 16 of file VehicleDoor.h.

◆ VehicleFailureState

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

Definition at line 14 of file VehicleFailureState.h.

◆ VehicleWheelLocation

enum class 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)

◆ MaterialParameterToString()

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