Apollo 10.0
自动驾驶开放平台
learning_data.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.planning;
4
15
17 optional string id = 1;
18 optional double distance = 2;
19}
20
21message PlanningTag {
22 optional apollo.hdmap.Lane.LaneTurn lane_turn = 1;
23 optional OverlapFeature clear_area = 2;
24 optional OverlapFeature crosswalk = 3;
25 optional OverlapFeature pnc_junction = 4;
26 optional OverlapFeature signal = 5;
27 optional OverlapFeature stop_sign = 6;
28 optional OverlapFeature yield_sign = 7;
29}
30
32 optional double message_timestamp_sec = 1;
33
34 // Features from chassis
35 // Vehicle Speed in meters per second.
36 optional float speed_mps = 2;
37
38 // Real throttle location in [%], ranging from 0 to 100.
39 optional float throttle_percentage = 3;
40
41 // Real brake location in [%], ranging from 0 to 100.
42 optional float brake_percentage = 4;
43
44 // Real steering location in [%], ranging from -100 to 100.
45 // steering_angle / max_steering_angle
46 // Clockwise: negative
47 // CountClockwise: positive
48 optional float steering_percentage = 5;
49
50 optional apollo.canbus.Chassis.GearPosition gear_location = 6;
51}
52
54 optional double message_timestamp_sec = 1;
55
56 // Position of the vehicle reference point (VRP) in the map reference frame.
57 // The VRP is the center of rear axle.
58 optional apollo.common.PointENU position = 2;
59
60 // Heading
61 // The heading is zero when the car is facing East and positive when facing
62 // North.
63 optional double heading = 3;
64
65 // Linear velocity of the VRP in the map reference frame.
66 // East/north/up in meters per second.
67 optional apollo.common.Point3D linear_velocity = 4;
68
69 // Linear acceleration of the VRP in the map reference frame.
70 // East/north/up in meters per second.
71 optional apollo.common.Point3D linear_acceleration = 5;
72
73 // Angular velocity of the vehicle in the map reference frame.
74 // Around east/north/up axes in radians per second.
75 optional apollo.common.Point3D angular_velocity = 6;
76}
77
78// based on apollo.common.PathPoint
80 // coordinates
81 optional double x = 1;
82 optional double y = 2;
83 optional double z = 3;
84
85 // direction on the x-y plane
86 optional double theta = 4;
87 // accumulated distance from beginning of the path
88 optional double s = 5;
89 // The lane ID where the path point is on
90 optional string lane_id = 6;
91}
92
93// based on apollo.commom.TrajectoryPoint
95 // path point
96 optional CommonPathPointFeature path_point = 1;
97 // linear velocity
98 optional double v = 2; // in [m/s]
99 // linear acceleration
100 optional double a = 3;
101 // relative time from beginning of the trajectory
102 optional double relative_time = 4;
103 // Gaussian probability information
104 optional apollo.common.GaussianInfo gaussian_info = 5;
105}
106
108 optional double timestamp_sec = 1;
109 optional CommonTrajectoryPointFeature trajectory_point = 2;
110}
111
112// based on apollo.perception.PerceptionObstacle
114 optional double timestamp_sec = 1; // GPS time in seconds
115
116 // obstacle position in the OBJECT coordinate system
117 optional apollo.common.Point3D position = 2;
118
119 // heading in RELATIVE coordinate to ADC
120 optional double theta = 3;
121
122 // obstacle velocity in RELATIVE coordinate to ADC
123 optional apollo.common.Point3D velocity = 4; // obstacle velocity
124
125 // obstacle acceleration in RELATIVE coordinate to ADC
126 optional apollo.common.Point3D acceleration = 5;
127
128 // obstacle corner points in RELATIVE coordinate to ADC
129 repeated apollo.common.Point3D polygon_point = 6;
130}
131
133 repeated PerceptionObstacleFeature perception_obstacle_history = 1;
134 repeated TrajectoryPointFeature evaluated_trajectory_point = 2;
135}
136
137// based on apollo.prediction.Trajectory
139 optional double probability = 1; // probability of this trajectory
140 repeated TrajectoryPointFeature trajectory_point = 2;
141}
142
143// based on apollo.prediction.PredictionObstacle
145 optional double timestamp_sec = 1; // GPS time in seconds
146 optional double predicted_period = 2;
147 optional apollo.prediction.ObstacleIntent intent = 3;
148 optional apollo.prediction.ObstaclePriority priority = 4;
149 optional bool is_static = 5 [default = false];
150
151 // can have multiple trajectories per obstacle
152 repeated PredictionTrajectoryFeature trajectory = 6;
153}
154
156 optional int32 id = 1; // obstacle ID.
157 optional double length = 2; // obstacle length.
158 optional double width = 3; // obstacle width.
159 optional double height = 4; // obstacle height.
160 optional apollo.perception.PerceptionObstacle.Type type = 5; // obstacle type
161 optional ObstacleTrajectoryFeature obstacle_trajectory = 6;
162 optional PredictionObstacleFeature obstacle_prediction = 7;
163}
164
165// based on apollo.routing.RoutingResponse
167 repeated apollo.routing.RoadSegment road = 1;
168 optional apollo.routing.Measurement measurement = 2;
169}
170
172 optional RoutingResponseFeature routing_response = 1;
173 repeated string local_routing_lane_id = 2; // local routing close to ADC
174 optional RoutingResponseFeature local_routing = 3;
175}
176
177// based on apollo.perception.TrafficLight
180 optional string id = 2;
181 optional double confidence = 3 [default = 1.0];
182 optional double tracking_time = 4;
183 optional bool blink = 5;
184 optional double remaining_time = 6;
185}
186
188 optional double message_timestamp_sec = 1;
189 repeated TrafficLightFeature traffic_light = 2;
190}
191
193 optional double timestamp_sec = 1; // localization measurement_time
194 optional PlanningTag planning_tag = 2;
195 optional CommonTrajectoryPointFeature trajectory_point = 3;
196}
197
199 repeated TrajectoryPointFeature adc_future_trajectory_point = 1;
200}
201
203 // localization message publishing time in seconds.
204 optional double message_timestamp_sec = 1;
205 optional uint32 frame_num = 2;
206 optional string map_name = 3;
207
208 optional PlanningTag planning_tag = 4;
209
210 // Features from chassis
211 optional ChassisFeature chassis = 5;
212
213 // Features from localization
214 optional LocalizationFeature localization = 6;
215
216 // Features from perception obstacles
217 repeated ObstacleFeature obstacle = 7;
218
219 // Features from routing
220 optional RoutingFeature routing = 8;
221
222 // Features from traffic_light_detection
223 optional TrafficLightDetectionFeature traffic_light_detection = 9;
224
225 // ADC past trajectory
226 repeated ADCTrajectoryPoint adc_trajectory_point = 10;
227
228 // Learning ouputs
229 optional LearningOutput output = 11;
230}
231
233 repeated LearningDataFrame learning_data_frame = 1;
234}
235
237 optional apollo.common.Header header = 1;
238 optional LearningDataFrame learning_data_frame = 2;
239}
apollo::canbus
apollo::common
apollo::hdmap
Definition map.proto:3
apollo::prediction
class register implement
Definition arena_queue.h:37