Apollo 10.0
自动驾驶开放平台
nano_radar.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.drivers;
4
6
8 optional int32 nof_objects = 1 [default = 0];
9 optional int32 meas_counter = 2 [default = -1];
10 optional int32 interface_version = 3;
11}
12
13
14
17 OUTPUT_TYPE_NONE = 0;
18 OUTPUT_TYPE_OBJECTS = 1;
19 OUTPUT_TYPE_CLUSTERS = 2;
20 OUTPUT_TYPE_ERROR = 3;
21 }
22
24 RCS_THRESHOLD_STANDARD = 0;
25 RCS_THRESHOLD_HIGH_SENSITIVITY = 1;
26 RCS_THRESHOLD_ERROR = 2;
27 }
28
29 optional uint32 max_distance = 1;
30 optional uint32 radar_power = 2;
31 optional OutputType output_type = 3;
32 optional RcsThreshold rcs_threshold = 4;
33 optional bool send_quality = 5;
34 optional bool send_ext_info = 6;
35}
36
38 optional uint32 soft_major_release = 1;
39 optional uint32 soft_minor_release = 2;
40 optional uint32 soft_patch_level = 3;
41}
42
44 // x axis ^
45 // | longitude_dist
46 // P2(Long2,Lat2) |
47 // ----------------------------------
48 // | | |
49 // | | |
50 // | | |
51 // ----------------------------------
52 // | P1(Long1,Lat1)
53 // |
54 // | lateral_dist
55 // --------------------->
56 // y axis
57 // ooooooooooooo //radar front surface max:50m x 50m
58 optional uint32 region_id = 1;
59 optional uint32 region_max_output_number = 2;
60 optional double point1_longitude = 3;
61 optional double point1_lateral = 4;
62 optional double point2_longitude = 5;
63 optional double point2_lateral = 6;
64 optional bool coordinates_valid = 7;
65 optional bool activation_valid = 8;
66}
67
68message NanoRadarObs {
69 // x axis ^
70 // | longitude_dist
71 // |
72 // |
73 // |
74 // | lateral_dist
75 // | y axis
76 // ----------------->
77 // ooooooooooooo //radar front surface 77GHz
78
79 optional apollo.common.Header header = 1;
80 optional bool clusterortrack = 2; // 0 = track, 1 = cluster
81 optional int32 obstacle_id = 3; // obstacle Id
82 // longitude distance to the radar; (+) = target far away the radar unit = m
83 optional double longitude_dist = 4;
84 // lateral distance to the radar; (+) = right; unit = m
85 optional double lateral_dist = 5;
86 // longitude velocity to the radar; (+) = forward; unit = m/s
87 optional double longitude_vel = 6;
88 // lateral velocity to the radar; (+) = right; unit = m/s
89 optional double lateral_vel = 7;
90 // obstacle Radar Cross-Section; unit = dBsm
91 optional double rcs = 8;
92 // 0 = moving, 1 = stationary, 2 = oncoming, 3 = stationary candidate
93 // 4 = unknown, 5 = crossing stationary, 6 = crossing moving, 7 = stopped
94 optional int32 dynprop = 9;
95 // longitude distance standard deviation to the radar; (+) = forward; unit = m
96 optional double longitude_dist_rms = 10;
97 // lateral distance standard deviation to the radar; (+) = left; unit = m
98 optional double lateral_dist_rms = 11;
99 // longitude velocity standard deviation to the radar; (+) = forward; unit =
100 // m/s
101 optional double longitude_vel_rms = 12;
102 // lateral velocity standard deviation to the radar; (+) = left; unit = m/s
103 optional double lateral_vel_rms = 13;
104 // obstacle probability of existence
105 optional double probexist = 14;
106
107 // The following is only valid for the track object message
108 // 0 = deleted, 1 = new, 2 = measured, 3 = predicted, 4 = deleted for, 5 = new
109 // from merge
110 optional int32 meas_state = 15;
111 // longitude acceleration to the radar; (+) = forward; unit = m/s2
112 optional double longitude_accel = 16;
113 // lateral acceleration to the radar; (+) = left; unit = m/s2
114 optional double lateral_accel = 17;
115 // orientation angle to the radar; (+) = counterclockwise; unit = degree
116 optional double oritation_angle = 18;
117 // longitude acceleration standard deviation to the radar; (+) = forward; unit
118 // = m/s2
119 optional double longitude_accel_rms = 19;
120 // lateral acceleration standard deviation to the radar; (+) = left; unit =
121 // m/s2
122 optional double lateral_accel_rms = 20;
123 // orientation angle standard deviation to the radar; (+) = counterclockwise;
124 // unit = degree
125 optional double oritation_angle_rms = 21;
126 optional double length = 22; // obstacle length; unit = m
127 optional double width = 23; // obstacle width; unit = m
128 // 0: point; 1: car; 2: truck; 3: pedestrian; 4: motorcycle; 5: bicycle; 6:
129 // wide; 7: unknown
130 optional int32 obstacle_class = 24;
131 // Object Range
132 optional double obstacle_range = 25;
133 // Object Velocity
134 optional double obstacle_vel = 26;
135 // Object Angle
136 optional double obstacle_angle = 27;
137}
138
139message NanoRadar {
140 optional apollo.common.Header header = 1;
141 repeated NanoRadarObs contiobs = 2; // conti radar obstacle array
142 optional NanoRadarState_201 radar_state = 3;
143 optional NanoCollisionDetectionRegionState_402 radar_region_state = 4;
144 optional NanoObjectListStatus_60A object_list_status = 6;
145 optional NanoSoftwareVersion_700 software_version = 7;
146}
apollo::common
class register implement
Definition arena_queue.h:37
syntax