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

Namespaces

 detail
 

Classes

class  Actor
 
class  ActorAttribute
 
class  ActorAttributeValue
 
class  ActorDefinition
 
class  ActorDescription
 
class  Client
 
class  Color
 
class  Command
 
class  DebugShape
 
struct  EnvironmentObject
 
class  EpisodeInfo
 
class  EpisodeSettings
 
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  VehicleControl
 
class  VehicleLightState
 Defines the physical appearance of a vehicle whitch is obtained by the sensors. More...
 
class  VehiclePhysicsControl
 
class  WalkerBoneControl
 
class  WalkerControl
 
class  WeatherParameters
 
class  WheelPhysicsControl
 

Typedefs

using ActorId = uint32_t
 
using BoneTransformData = 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 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  AttachmentType : uint8_t { AttachmentType::Rigid, AttachmentType::SpringArm, AttachmentType::SIZE, AttachmentType::INVALID }
 
enum  CityObjectLabel : uint8_t {
  CityObjectLabel::None = 0u, CityObjectLabel::Buildings = 1u, CityObjectLabel::Fences = 2u, CityObjectLabel::Other = 3u,
  CityObjectLabel::Pedestrians = 4u, CityObjectLabel::Poles = 5u, CityObjectLabel::RoadLines = 6u, CityObjectLabel::Roads = 7u,
  CityObjectLabel::Sidewalks = 8u, CityObjectLabel::Vegetation = 9u, CityObjectLabel::Vehicles = 10u, CityObjectLabel::Walls = 11u,
  CityObjectLabel::TrafficSigns = 12u, CityObjectLabel::Sky = 13u, CityObjectLabel::Ground = 14u, CityObjectLabel::Bridge = 15u,
  CityObjectLabel::RailTrack = 16u, CityObjectLabel::GuardRail = 17u, CityObjectLabel::TrafficLight = 18u, CityObjectLabel::Static = 19u,
  CityObjectLabel::Dynamic = 20u, CityObjectLabel::Water = 21u, CityObjectLabel::Terrain = 22u, 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  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
}
 

Functions

std::string MapLayerToString (MapLayer MapLayerValue)
 

Typedef Documentation

◆ ActorId

using carla::rpc::ActorId = typedef uint32_t

Definition at line 14 of file ActorId.h.

◆ BoneTransformData

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

Definition at line 17 of file BoneTransformData.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.

◆ 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.

◆ AttachmentType

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

Definition at line 16 of file AttachmentType.h.

◆ CityObjectLabel

enum carla::rpc::CityObjectLabel : uint8_t
strong
Enumerator
None 
Buildings 
Fences 
Other 
Pedestrians 
Poles 
RoadLines 
Roads 
Sidewalks 
Vegetation 
Vehicles 
Walls 
TrafficSigns 
Sky 
Ground 
Bridge 
RailTrack 
GuardRail 
TrafficLight 
Static 
Dynamic 
Water 
Terrain 
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.

◆ 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.

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: