Apollo 10.0
自动驾驶开放平台
smartereye.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.drivers;
4
6
12
22
30
37
43
45 optional int32 degree = 1;
46 optional double c0_position = 2;
47 optional double c1_heading_angle = 3;
48 optional double c2_curvature = 4;
49 optional double c3_curvature_derivative = 5;
50}
51
52message LdwLane {
53 optional int32 width = 1;
54 optional int32 quality = 2;
55 optional LdwLaneStyle style = 3;
56 optional LdwLaneBoundary left_boundary = 4;
57 optional LdwLaneBoundary right_boundary = 5;
58}
59
60message LdwRoadway {
61 optional int32 width_0 = 1;
62 optional int32 width_1 = 2;
63 optional int32 width_2 = 3;
64 optional bool is_tracking = 4;
65 optional LdwLane left_lane = 5;
66 optional LdwLane right_lane = 6;
67 optional LdwLane adj_left_lane = 7;
68 optional LdwLane adj_right_lane = 8;
69}
70
71message LdwLensInfo {
72 optional float x_image_focal = 1;
73 optional float y_image_focal = 2;
74 optional float xratio_focal_pixel = 3;
75 optional float yratio_focal_pixel = 4;
76 optional float mountingheight = 5;
77 optional float mcosrx = 6;
78 optional float msinrx = 7;
79 optional float mcosry = 8;
80 optional float msinry = 9;
81}
82
83message LdwDataPacks {
84 optional LdwRoadway roadway = 1;
85 optional LdwSoftStatus softstatus = 2;
86 optional LdwSteerStatus steerstatus = 3;
87 optional LdwLensInfo lens = 4;
88}
89
92 INVALID = 0;
93 VEHICLE = 1;
94 PEDESTRIAN = 2;
95 CHILD = 3;
96 BICYCLE = 4;
97 MOTO = 5;
98 TRUCK = 6;
99 BUS = 7;
100 OTHERS = 8;
101 ESTIMATED = 9;
102 CONTINUOUS = 10;
103 }
104
105 //(m/second) current frame self vehicle speed
106 optional float currentspeed = 1;
107 //(fps) frames per second
108 optional float framerate = 2;
109
110 // current obstacle corresponding tracking id in obstacle tracking buffer
111 optional uint32 trackid = 3;
112 // the track frame numbers of the obstacle, increments in 1 each frame until
113 // to the max record number, the actual number is (trackFrameNum + 1)
114 optional uint32 trackframenum = 4;
115 // classify obstacle for front collision, FC, 0: invalid or continuous
116 // obstacle, 1: nearest obstacle in warning area, 2: obstacle in waning area,
117 // 3: obstacle out of warning area
118 optional uint32 statelabel = 5;
119 // the obstacle class label: 0-invalid; 1-warning obstacle; 2-obstacles to be
120 // warned; 3-non warning obstacle; 4-left continuous obstacle; 5-right
121 // continuous obstacle; 6-estimated vanish obstacle; 7-valid obstacle
122 // original, the obstacle class label: 0-invalid; 1-car; 2-person;
123 // 3-continuous obstacle; 4-valid; 5-other
124 optional uint32 classlabel = 6;
125 // the continuous obstacle class label: 0-invalid; 1-left continuous obstacle;
126 // 2-right continuous obstacle
127 optional uint32 continuouslabel = 7;
128 //(0/1) 0: current fuzzy estimation is invalid; 1: current fuzzy estimation is
129 //valid
130 optional uint32 fuzzyestimationvalid = 8;
131 // the obstacle Type: INVALID=0,VEHICLE, PEDESTRIAN, ...
132 optional RecognitionType obstacletype = 9;
133
134 //(pixel) the average disparity of an obstacle with adding infDisp: avgDisp =
135 //BF_VALUE/avgDitance+infDis
136 optional float avgdisp = 10;
137 //(m) the average Z distance of single obstacle rectangle
138 optional float avgdistancez = 11;
139 //(m) the minimum Z distance of continuous obstacle
140 optional float neardistancez = 12;
141 //(m) the longest Z distance of continuous ob
142 optional float fardistancez = 13;
143 //(-+m) the left X for real 3D coordinate of the obstacle(the origin X is the
144 //center of car, right is positive)
145 optional float real3dleftx = 14;
146 //(-+m) the right X for real 3D coordinate of the obstacle(the origin X is the
147 //center of car, right is positive)
148 optional float real3drightx = 15;
149 //(-+m) the center X for real 3D coordinate of the obstacle(the origin X is
150 //the center of car, right is positive)
151 optional float real3dcenterx = 16;
152 //(-+m) the up Y for real 3D coordinate of the obstacle(the origin Y is the
153 //camera position, down is positive)
154 optional float real3dupy = 17;
155 //(-+m) the Low y for real 3D coordinate of the obstacle(the origin Y is the
156 //camera position, down is positive)
157 optional float real3dlowy = 18;
158
159 //(pixel) the X-axis of first point of rectangle, the first point :(x, y),
160 // left top point of single obstacle/near bottom point of continuous obstacle,
161 // full size pixel coordinate
162 optional uint32 firstpointx = 19;
163 //(pixel) the Y-axis of first point of rectangle, the first point :(x, y),
164 // left top point of single obstacle/near bottom point of continuous obstacle,
165 // full size pixel coordinate
166 optional uint32 firstpointy = 20;
167 //(pixel) the X-axis of second point of rectangle, the second point:(x+width,
168 //y),
169 // right top point of single obstacle/near top point of continuous obstacle,
170 // full size pixel coordinate
171 optional uint32 secondpointx = 21;
172 //(pixel) the Y-axis of second point of rectangle, the second point:(x+width,
173 //y), right top point of single obstacle/near top point of continuous
174 // obstacle, full size pixel coordinate
175 optional uint32 secondpointy = 22;
176 //(pixel) the X-axis of third point of rectangle, the third point :(x+width,
177 //y+height), right bottom point of single obstacle/far top point of continuous
178 // obstacle, full size pixel coordinate
179 optional uint32 thirdpointx = 23;
180 //(pixel) the Y-axis of third point of rectangle, the third point :(x+width,
181 //y+height), right bottom point of single obstacle/far top point of continuous
182 // obstacle, full size pixel coordinate
183 optional uint32 thirdpointy = 24;
184 //(pixel) the X-axis of fourth point of rectangle, the fourth
185 //point:(x,y+height), left bottom point of single obstacle/far bottom point of
186 // continuous obstacle, full size pixel coordinate
187 optional uint32 fourthpointx = 25;
188 //(pixel) the Y-axis of fourth point of rectangle, the fourth
189 //point:(x,y+height), left bottom point of single obstacle/far bottom point of
190 // continuous obstacle, full size pixel coordinate
191 optional uint32 fourthpointy = 26;
192
193 //(m) estimated relative distance in Z direction
194 optional float fuzzyrelativedistancez = 27;
195 //(m/second) estimated speed in Z direction of current obstacle
196 optional float fuzzyrelativespeedz = 28;
197 //(second) estimated collision time in Z direction
198 optional float fuzzycollisiontimez = 29;
199
200 //(0/1) estimated whether there is collision in X direction
201 optional uint32 fuzzycollisionx = 30;
202 //(m) estimated real 3D width of current obstacle
203 optional float fuzzy3dwidth = 31;
204 //(-+m) estimated real 3D position of obstacle center in X direction (the
205 //origin X is the center of car, right is positive)
206 optional float fuzzy3dcenterx = 32;
207 //(-+m) estimated real 3D position of obstacle left in X direction (the origin
208 //X is the center of car, right is positive)
209 optional float fuzzy3dleftx = 33;
210 //(-+m) estimated real 3D position of obstacle right in X direction (the
211 //origin X is the center of car, right is positive)
212 optional float fuzzy3drightx = 34;
213 //(m) estimated real 3D height of current obstacle
214 optional float fuzzy3dheight = 35;
215 //(-+m) estimated real 3D position of obstacle up in Y direction (the origin Y
216 //is the camera position, down is positive)
217 optional float fuzzy3dupy = 36;
218 //(-+m) estimated real 3D position of obstacle low in Y direction (the origin
219 //Y is the camera position, down is positive)
220 optional float fuzzy3dlowy = 37;
221
222 optional float fuzzyrelativespeedcenterx =
223 38; //(m/second) estimated center speed in X direction of current
224 //obstacle
225 optional float fuzzyrelativespeedleftx =
226 39; //(m/second) estimated left speed in X direction of current obstacle
227 optional float fuzzyrelativespeedrightx =
228 40; //(m/second) estimated right speed in X direction of current obstacle
232 optional apollo.common.Header header = 1;
233 optional int32 num_obstacles = 2; // output obstacles num on one frame
234 map<uint32, OutputObstacle> output_obstacles = 3; // An array of obstacles
236
237message SmartereyeLanemark {
238 optional LdwDataPacks lane_road_data = 4;
239}
apollo::common
@ LDW_LANE_STYLE_DOUBLE_BROKEN_LANE
class register implement
Definition arena_queue.h:37
syntax