Apollo 10.0
自动驾驶开放平台
feature.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.prediction;
4
11
12message Lane {
13 // Features of all possible current lanes.
14 repeated LaneFeature current_lane_feature = 1;
15
16 // Features of the most possible current lane.
17 optional LaneFeature lane_feature = 2;
18
19 // Features of all nearby lanes.
20 repeated LaneFeature nearby_lane_feature = 3;
21
22 // Lane graph
23 optional LaneGraph lane_graph = 4;
24 optional LaneGraph lane_graph_ordered = 5;
25
26 // For modeling
27 optional double label_update_time_delta = 26;
28}
29
30message LaneFeature {
31 optional string lane_id = 1;
32 optional uint32 lane_turn_type = 2;
33 optional double lane_s = 3;
34 optional double lane_l = 4;
35 optional double angle_diff = 5;
36 optional double dist_to_left_boundary = 6;
37 optional double dist_to_right_boundary = 7;
38 optional double lane_heading = 8;
39 optional apollo.hdmap.Lane.LaneType lane_type = 9;
40}
41
42message JunctionExit {
43 optional string exit_lane_id = 1;
44 optional apollo.common.Point3D exit_position = 2;
45 optional double exit_heading = 3;
46 optional double exit_width = 4;
47}
48
50 optional string junction_id = 1;
51 optional double junction_range = 2;
52 optional LaneFeature enter_lane = 3;
53 repeated JunctionExit junction_exit = 4;
54 repeated double junction_mlp_feature = 5;
55 repeated int32 junction_mlp_label = 6; // dim is number of masks, i.e. 12
56 repeated double junction_mlp_probability = 7;
57 repeated string start_lane_id = 8;
58}
59
61 enum Priority {
62 CAUTION = 1;
63 NORMAL = 2;
64 IGNORE = 3;
65 }
66 optional Priority priority = 25 [default = NORMAL];
67}
68
71 INTERACTION = 1;
72 NONINTERACTION = 2;
73 }
74 optional InteractiveTag interactive_tag = 37 [default = NONINTERACTION];
75}
76message Trajectory {
77 optional double probability = 1; // probability of this trajectory
78 repeated apollo.common.TrajectoryPoint trajectory_point = 2;
79}
80
81// next id = 40
82message Feature {
83 // Obstacle ID
84 optional int32 id = 1;
85
86 // Obstacle features
87 repeated apollo.common.Point3D polygon_point = 30;
88 optional apollo.common.Point3D position = 2;
89 optional apollo.common.Point3D front_position = 27;
90 optional apollo.common.Point3D velocity = 3;
91 optional apollo.common.Point3D raw_velocity = 28; // from perception
92 optional apollo.common.Point3D acceleration = 4;
93 optional double velocity_heading = 5;
94 optional double speed = 6;
95 optional double acc = 7;
96 optional double theta = 8;
97 optional double length = 9;
98 optional double width = 10;
99 optional double height = 11;
100 optional double tracking_time = 12;
101 optional double timestamp = 13;
102
103 // Obstacle type-specific features
104 optional Lane lane = 14;
105 optional JunctionFeature junction_feature = 26;
106
107 // Obstacle tracked features
108 optional apollo.common.Point3D t_position = 16;
109 optional apollo.common.Point3D t_velocity = 17 [deprecated = true];
110 optional double t_velocity_heading = 18 [deprecated = true];
111 optional double t_speed = 19 [deprecated = true];
112 optional apollo.common.Point3D t_acceleration = 20 [deprecated = true];
113 optional double t_acc = 21 [deprecated = true];
114
115 optional bool is_still = 22 [default = false];
117 optional double label_update_time_delta = 24;
118
119 optional ObstaclePriority priority = 25;
120 optional ObstacleInteractiveTag interactive_tag = 37;
121
122 optional bool is_near_junction = 29 [default = false];
123
124 // Obstacle ground-truth labels:
125 repeated PredictionTrajectoryPoint future_trajectory_points = 31;
126
127 // Obstacle short-term predicted trajectory points
129 short_term_predicted_trajectory_points = 32;
130
131 // Obstacle predicted trajectories
132 repeated Trajectory predicted_trajectory = 33;
133
134 // ADC trajectory at the same frame, and ADC trajectory timestamp
135 repeated apollo.common.TrajectoryPoint adc_trajectory_point = 34;
136 optional double adc_timestamp = 38;
137 optional apollo.perception.PerceptionObstacle adc_localization = 39;
138
139 // Surrounding lanes
140 repeated string surrounding_lane_id = 35;
141 repeated string within_lane_id = 36;
142}
145 repeated Feature feature = 1;
146 optional bool is_trainable = 2 [default = false];
147}
149message FrameEnv {
150 optional double timestamp = 1;
151 optional ObstacleHistory ego_history = 2;
152 repeated ObstacleHistory obstacles_history = 3;
153}
syntax
Definition feature.proto:1
apollo::common
apollo::hdmap
Definition map.proto:3
class register implement
Definition arena_queue.h:37