CARLA
 
载入中...
搜索中...
未找到
命名空间 | | 类型定义 | 枚举 | 函数
carla::rpc 命名空间参考

命名空间

namespace  detail
 

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. 更多...
 
struct  OpendriveGenerationParameters
 Seting for map generation from opendrive without additional geometry 更多...
 
class  Response
 
class  Response< void >
 
class  ResponseError
 
class  Server
 An RPC server in which functions can be bind to run synchronously or asynchronously. 更多...
 
class  Texture
 
class  VehicleAckermannControl
 
class  VehicleControl
 
class  VehicleLightState
 Defines the physical appearance of a vehicle whitch is obtained by the sensors. 更多...
 
class  VehiclePhysicsControl
 
class  VehicleTelemetryData
 
class  WalkerBoneControlIn
 
class  WalkerBoneControlOut
 
class  WalkerControl
 
class  WeatherParameters
 
class  WheelPhysicsControl
 
class  WheelTelemetryData
 

类型定义

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
 

枚举

enum class  ActorAttributeType : uint8_t {
  Bool = 1u , Int = 2u , Float = 3u , String = 4u ,
  RGBColor = 5u , 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 , 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 , 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
}
 

函数

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

类型定义说明

◆ ActorId

using carla::rpc::ActorId = uint32_t

在文件 ActorId.h14 行定义.

◆ BoneTransformDataIn

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

在文件 BoneTransformDataIn.h17 行定义.

◆ CommandResponse

在文件 CommandResponse.h15 行定义.

◆ LightId

using carla::rpc::LightId = uint32_t

在文件 rpc/LightState.h16 行定义.

◆ Location

在文件 rpc/Location.h14 行定义.

◆ MapLayerType

using carla::rpc::MapLayerType = uint16_t

在文件 MapLayer.h16 行定义.

◆ Rotation

在文件 rpc/Transform.h14 行定义.

◆ TextureColor

在文件 Texture.h66 行定义.

◆ TextureFloatColor

在文件 Texture.h67 行定义.

◆ Transform

在文件 rpc/Transform.h16 行定义.

◆ Vector2D

在文件 rpc/Vector2D.h14 行定义.

◆ Vector3D

在文件 rpc/Vector3D.h14 行定义.

◆ VehicleLightStateList

初始值:
std::vector<std::pair<ActorId, VehicleLightState::flag_type>>

在文件 VehicleLightStateList.h18 行定义.

◆ WP

在文件 WeatherParameters.cpp12 行定义.

枚举类型说明

◆ ActorAttributeType

enum class carla::rpc::ActorAttributeType : uint8_t
strong
枚举值
Bool 
Int 
Float 
String 
RGBColor 
SIZE 
INVALID 

在文件 ActorAttributeType.h14 行定义.

◆ ActorState

enum class carla::rpc::ActorState : uint8_t
strong
枚举值
Invalid 
Active 
Dormant 
PendingKill 

在文件 rpc/ActorState.h14 行定义.

◆ AttachmentType

enum class carla::rpc::AttachmentType : uint8_t
strong
枚举值
Rigid 
SpringArm 
SpringArmGhost 
SIZE 
INVALID 

在文件 AttachmentType.h16 行定义.

◆ CityObjectLabel

enum class carla::rpc::CityObjectLabel : uint8_t
strong
枚举值
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 

在文件 ObjectLabel.h16 行定义.

◆ MapLayer

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

在文件 MapLayer.h18 行定义.

◆ MaterialParameter

enum class carla::rpc::MaterialParameter
strong
枚举值
Tex_Normal 
Tex_Ao_Roughness_Metallic_Emissive 
Tex_Diffuse 
Tex_Emissive 

在文件 MaterialParameter.h16 行定义.

◆ QualityLevel

enum class carla::rpc::QualityLevel : uint8_t
strong
枚举值
Low 
Epic 
SIZE 
INVALID 

在文件 QualityLevel.h16 行定义.

◆ TrafficLightState

enum class carla::rpc::TrafficLightState : uint8_t
strong
枚举值
Red 
Yellow 
Green 
Off 
Unknown 
SIZE 

在文件 LibCarla/source/carla/rpc/TrafficLightState.h16 行定义.

◆ VehicleDoor

enum class carla::rpc::VehicleDoor : uint8_t
strong
枚举值
FL 
FR 
RL 
RR 
Hood 
Trunk 
All 

在文件 VehicleDoor.h16 行定义.

◆ VehicleFailureState

enum class carla::rpc::VehicleFailureState : uint8_t
strong
枚举值
None 
Rollover 
Engine 
TirePuncture 

在文件 VehicleFailureState.h14 行定义.

◆ VehicleWheelLocation

enum class carla::rpc::VehicleWheelLocation : uint8_t
strong
枚举值
FL_Wheel 
FR_Wheel 
BL_Wheel 
BR_Wheel 
Front_Wheel 
Back_Wheel 

在文件 VehicleWheels.h15 行定义.

函数说明

◆ MapLayerToString()

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

在文件 MapLayer.cpp12 行定义.

引用了 All, Buildings, Decals, Foliage, Ground, None, ParkedVehicles, Particles, Props, StreetLights , 以及 Walls.

◆ MaterialParameterToString()

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