Apollo 10.0
自动驾驶开放平台
v2x_traffic_light.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.v2x;
4
7
9 enum Color {
10 UNKNOWN = 0;
11 RED = 1;
12 YELLOW = 2;
13 GREEN = 3;
14 BLACK = 4;
15 FLASH_GREEN = 5;
16 };
17 enum Type {
18 STRAIGHT = 0;
19 LEFT = 1;
20 RIGHT = 2;
21 U_TURN = 3;
22 };
23 optional Color color = 1;
24 repeated Type traffic_light_type = 2;
25 // Traffic light string-ID in the map data.
26 optional string id = 3;
27 optional int32 color_remaining_time_s = 4;
28 optional bool right_turn_light = 5;
29 // v2x next trrafic light color
30 optional Color next_color = 6;
31 // v2x next traffic light remaining time
32 optional double next_remaining_time_s = 7;
33}
34
36 // Feature points of road in the map reference frame.
37 optional double gps_x_m = 1;
38 optional double gps_y_m = 2;
39 repeated SingleTrafficLight single_traffic_light = 3;
40 optional apollo.common.Direction road_attribute = 4;
41}
42
44 optional apollo.common.Header header = 1;
45 repeated RoadTrafficLight road_traffic_light = 2;
46 optional int32 intersection_id = 3;
47 optional double confidence = 4;
48}
apollo::common
class register implement
Definition arena_queue.h:37