Apollo 11.0
自动驾驶开放平台
apollo::simulation::AgentConfig结构体 参考
apollo::simulation::AgentConfig 的协作图:

类

struct  NearCar
 
struct  NearCrosswalk
 
struct  TrackedPoint
 

Public 类型

enum  Type {
  VEHICLE = 0 , BICYCLE = 1 , PEDESTRIAN = 2 , UNKNOWN_UNMOVABLE = 3 ,
  UNKNOWN_MOVABLE = 4 , BIG_TRUCK = 5
}
 
enum  MotionType { STATIC = 0 , LANE_FOLLOW = 1 , TRACKED = 2 }
 
enum  TriggerType { DISTANCE = 0 , TIME = 1 }
 

Public 属性

optional int32 id = 1
 
optional string description = 2
 
optional double width = 3 [default = 2.0]
 
optional double length = 4 [default = 5.0]
 
optional double height = 5 [default = 1.8]
 
optional Type type = 6
 
optional double appear_time = 7 [deprecated = true]
 
optional double disappear_time = 8 [deprecated = true]
 
repeated TrackedPoint tracked_point = 9
 
optional MotionType motiontype = 10
 
optional double distance = 11
 
optional TrackedPoint start_position = 12
 
optional TrackedPoint end_position = 14
 
optional string start_lane = 15
 
optional string end_lane = 16
 
optional TriggerType trigger_type = 20
 
optional double start_distance = 13
 
optional double start_time = 21 [default = 0.0]
 
optional bool avoid_rear_end_collision = 17 [default = true]
 
optional double rear_end_collision_distance = 18 [default = 3.0, deprecated = true]
 
optional NearCar near_car = 19
 
optional NearCrosswalk near_crosswalk = 22
 

详细描述

在文件 agent.proto 第 5 行定义.

成员枚举类型说明

◆ MotionType

枚举值
STATIC 
LANE_FOLLOW 
TRACKED 

在文件 agent.proto 第 34 行定义.

◆ TriggerType

枚举值
DISTANCE 
TIME 

在文件 agent.proto 第 47 行定义.

◆ Type

枚举值
VEHICLE 
BICYCLE 
PEDESTRIAN 
UNKNOWN_UNMOVABLE 
UNKNOWN_MOVABLE 
BIG_TRUCK 

在文件 agent.proto 第 11 行定义.

类成员变量说明

◆ appear_time

optional double apollo::simulation::AgentConfig::appear_time = 7 [deprecated = true]

在文件 agent.proto 第 21 行定义.

◆ avoid_rear_end_collision

optional bool apollo::simulation::AgentConfig::avoid_rear_end_collision = 17 [default = true]

在文件 agent.proto 第 56 行定义.

◆ description

optional string apollo::simulation::AgentConfig::description = 2

在文件 agent.proto 第 7 行定义.

◆ disappear_time

optional double apollo::simulation::AgentConfig::disappear_time = 8 [deprecated = true]

在文件 agent.proto 第 22 行定义.

◆ distance

optional double apollo::simulation::AgentConfig::distance = 11

在文件 agent.proto 第 40 行定义.

◆ end_lane

optional string apollo::simulation::AgentConfig::end_lane = 16

在文件 agent.proto 第 45 行定义.

◆ end_position

optional TrackedPoint apollo::simulation::AgentConfig::end_position = 14

在文件 agent.proto 第 43 行定义.

◆ height

optional double apollo::simulation::AgentConfig::height = 5 [default = 1.8]

在文件 agent.proto 第 10 行定义.

◆ id

optional int32 apollo::simulation::AgentConfig::id = 1

在文件 agent.proto 第 6 行定义.

◆ length

optional double apollo::simulation::AgentConfig::length = 4 [default = 5.0]

在文件 agent.proto 第 9 行定义.

◆ motiontype

optional MotionType apollo::simulation::AgentConfig::motiontype = 10

在文件 agent.proto 第 39 行定义.

◆ near_car

optional NearCar apollo::simulation::AgentConfig::near_car = 19

在文件 agent.proto 第 67 行定义.

◆ near_crosswalk

optional NearCrosswalk apollo::simulation::AgentConfig::near_crosswalk = 22

在文件 agent.proto 第 74 行定义.

◆ rear_end_collision_distance

optional double apollo::simulation::AgentConfig::rear_end_collision_distance = 18 [default = 3.0, deprecated = true]

在文件 agent.proto 第 57 行定义.

◆ start_distance

optional double apollo::simulation::AgentConfig::start_distance = 13

在文件 agent.proto 第 52 行定义.

◆ start_lane

optional string apollo::simulation::AgentConfig::start_lane = 15

在文件 agent.proto 第 44 行定义.

◆ start_position

optional TrackedPoint apollo::simulation::AgentConfig::start_position = 12

在文件 agent.proto 第 42 行定义.

◆ start_time

optional double apollo::simulation::AgentConfig::start_time = 21 [default = 0.0]

在文件 agent.proto 第 53 行定义.

◆ tracked_point

repeated TrackedPoint apollo::simulation::AgentConfig::tracked_point = 9

在文件 agent.proto 第 31 行定义.

◆ trigger_type

optional TriggerType apollo::simulation::AgentConfig::trigger_type = 20

在文件 agent.proto 第 51 行定义.

◆ type

optional Type apollo::simulation::AgentConfig::type = 6

在文件 agent.proto 第 19 行定义.

◆ width

optional double apollo::simulation::AgentConfig::width = 3 [default = 2.0]

在文件 agent.proto 第 8 行定义.


该结构体的文档由以下文件生成: