Apollo
10.0
自动驾驶开放平台
learning_data.proto
浏览该文件的文档.
1
syntax
=
"proto2"
;
2
3
package
apollo.planning;
4
5
import
"
modules/common_msgs/chassis_msgs/chassis.proto
";
6
import
"
modules/common_msgs/basic_msgs/geometry.proto
";
7
import
"
modules/common_msgs/basic_msgs/header.proto
";
8
import
"
modules/common_msgs/basic_msgs/pnc_point.proto
";
9
import
"
modules/common_msgs/map_msgs/map_lane.proto
";
10
import
"
modules/common_msgs/perception_msgs/perception_obstacle.proto
";
11
import
"
modules/common_msgs/prediction_msgs/feature.proto
";
12
import
"
modules/common_msgs/prediction_msgs/prediction_obstacle.proto
";
13
import
"
modules/common_msgs/perception_msgs/traffic_light_detection.proto
";
14
import
"
modules/common_msgs/routing_msgs/geometry.proto
";
15
16
message
OverlapFeature
{
17
optional
string
id
= 1;
18
optional
double
distance = 2;
19
}
20
21
message
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
31
message
ChassisFeature
{
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
53
message
LocalizationFeature
{
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
79
message
CommonPathPointFeature
{
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
94
message
CommonTrajectoryPointFeature
{
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
107
message
TrajectoryPointFeature
{
108
optional
double
timestamp_sec = 1;
109
optional
CommonTrajectoryPointFeature
trajectory_point = 2;
110
}
111
112
// based on apollo.perception.PerceptionObstacle
113
message
PerceptionObstacleFeature
{
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
132
message
ObstacleTrajectoryFeature
{
133
repeated
PerceptionObstacleFeature
perception_obstacle_history = 1;
134
repeated
TrajectoryPointFeature
evaluated_trajectory_point = 2;
135
}
136
137
// based on apollo.prediction.Trajectory
138
message
PredictionTrajectoryFeature
{
139
optional
double
probability = 1;
// probability of this trajectory
140
repeated
TrajectoryPointFeature
trajectory_point = 2;
141
}
142
143
// based on apollo.prediction.PredictionObstacle
144
message
PredictionObstacleFeature
{
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
155
message
ObstacleFeature
{
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
166
message
RoutingResponseFeature
{
167
repeated
apollo
.
routing
.
RoadSegment
road = 1;
168
optional
apollo
.
routing
.
Measurement
measurement = 2;
169
}
170
171
message
RoutingFeature
{
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
178
message
TrafficLightFeature
{
179
optional
apollo
.
perception
.
TrafficLight
.
Color
color = 1;
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
187
message
TrafficLightDetectionFeature
{
188
optional
double
message_timestamp_sec = 1;
189
repeated
TrafficLightFeature
traffic_light = 2;
190
}
191
192
message
ADCTrajectoryPoint
{
193
optional
double
timestamp_sec = 1;
// localization measurement_time
194
optional
PlanningTag
planning_tag = 2;
195
optional
CommonTrajectoryPointFeature
trajectory_point = 3;
196
}
197
198
message
LearningOutput
{
199
repeated
TrajectoryPointFeature
adc_future_trajectory_point = 1;
200
}
201
202
message
LearningDataFrame
{
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
232
message
LearningData
{
233
repeated
LearningDataFrame
learning_data_frame = 1;
234
}
235
236
message
PlanningLearningData
{
237
optional
apollo
.
common
.
Header
header = 1;
238
optional
LearningDataFrame
learning_data_frame = 2;
239
}
geometry.proto
chassis.proto
feature.proto
header.proto
syntax
syntax
Definition
learning_data.proto:1
map_lane.proto
apollo::canbus
apollo::canbus
Definition
canbus_component.cc:36
apollo::common
apollo::common
apollo::hdmap
apollo::hdmap
Definition
map.proto:3
apollo::perception
apollo::perception
Definition
perception_barrier_gate.proto:3
apollo::prediction
apollo::prediction
Definition
data_extraction.cc:22
apollo::routing
Definition
geometry.proto:3
apollo
class register implement
Definition
arena_queue.h:37
perception_obstacle.proto
pnc_point.proto
prediction_obstacle.proto
geometry.proto
apollo::canbus::Chassis
Definition
chassis.proto:14
apollo::canbus::Chassis::GearPosition
GearPosition
Definition
chassis.proto:48
apollo::common::GaussianInfo
Definition
pnc_point.proto:97
apollo::common::Header
Definition
header.proto:7
apollo::common::Point3D
Definition
geometry.proto:41
apollo::common::PointENU
Definition
geometry.proto:14
apollo::hdmap::Lane
Definition
map_lane.proto:43
apollo::hdmap::Lane::LaneTurn
LaneTurn
Definition
map_lane.proto:81
apollo::perception::PerceptionObstacle
Definition
perception_obstacle.proto:64
apollo::perception::PerceptionObstacle::Type
Type
Definition
perception_obstacle.proto:83
apollo::perception::TrafficLight
Definition
traffic_light_detection.proto:33
apollo::perception::TrafficLight::Color
Color
Definition
traffic_light_detection.proto:34
apollo::planning::ADCTrajectoryPoint
Definition
learning_data.proto:192
apollo::planning::ChassisFeature
Definition
learning_data.proto:31
apollo::planning::CommonPathPointFeature
Definition
learning_data.proto:79
apollo::planning::CommonTrajectoryPointFeature
Definition
learning_data.proto:94
apollo::planning::LearningDataFrame
Definition
learning_data.proto:202
apollo::planning::LearningData
Definition
learning_data.proto:232
apollo::planning::LearningOutput
Definition
learning_data.proto:198
apollo::planning::LocalizationFeature
Definition
learning_data.proto:53
apollo::planning::ObstacleFeature
Definition
learning_data.proto:155
apollo::planning::ObstacleTrajectoryFeature
Definition
learning_data.proto:132
apollo::planning::OverlapFeature
Definition
learning_data.proto:16
apollo::planning::PerceptionObstacleFeature
Definition
learning_data.proto:113
apollo::planning::PlanningLearningData
Definition
learning_data.proto:236
apollo::planning::PlanningTag
Definition
learning_data.proto:21
apollo::planning::PredictionObstacleFeature
Definition
learning_data.proto:144
apollo::planning::PredictionTrajectoryFeature
Definition
learning_data.proto:138
apollo::planning::RoutingFeature
Definition
learning_data.proto:171
apollo::planning::RoutingResponseFeature
Definition
learning_data.proto:166
apollo::planning::TrafficLightDetectionFeature
Definition
learning_data.proto:187
apollo::planning::TrafficLightFeature
Definition
learning_data.proto:178
apollo::planning::TrajectoryPointFeature
Definition
learning_data.proto:107
apollo::prediction::ObstacleIntent
Definition
prediction_obstacle.proto:12
apollo::prediction::ObstaclePriority
Definition
feature.proto:60
apollo::routing::Measurement
Definition
geometry.proto:29
apollo::routing::RoadSegment
Definition
geometry.proto:45
traffic_light_detection.proto
modules
planning
planning_base
proto
learning_data.proto