Apollo 10.0
自动驾驶开放平台
v2x_obstacles.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.v2x;
4
8
9message Point {
10 optional double x = 1; // in meters.
11 optional double y = 2; // in meters.
12 optional double z = 3; // height in meters.
13}
14
15message MiniAreaMap {
16 optional bytes rscu_id = 1; // RSCU id.
17 optional Point feature_position = 2; // the centre of intersection or sstraight area
18 optional Point start_position = 3; // the centre of intersection or sstraight area
19 optional Point end_position = 4; // the centre of intersection or sstraight area
20}
21
23 optional double average_speed = 1;
24 optional double vehicle_density = 2;
25}
26
28 enum V2XType {
29 NONE = 0;
30 ZOMBIES_CAR = 1;
31 BLIND_ZONE = 2;
32 };
33 repeated V2XType v2x_type = 1; // use case type
34 optional Point traffic_event_start = 3; // congestion or others initial position.
35 optional Point traffic_event_start_error = 4; // congestion or others initial position error.
36 optional Point traffic_event_end = 5; // congestion or others end position.
37 optional Point traffic_event_end_error = 6; // congestion or others end position error.
38 optional AbnormalInformation abnormal_info = 7; // abnormal info
39}
40
41message V2XObstacle {
42 optional apollo.perception.PerceptionObstacle perception_obstacle = 1; // obstacle.
43 optional V2XInformation v2x_info = 2; // v2x use case info
44}
45
46message V2XObstacles {
47 repeated V2XObstacle v2x_obstacle = 1; // An array of obstacles
48 optional MiniAreaMap area_map = 2; // Mini area map
49 optional double traffic_flow = 3; // Traffic flow
50 optional apollo.common.Header header = 4; // Header
51 optional apollo.common.ErrorCode error_code = 5 [default = OK]; // perception error code
52}
apollo::common
class register implement
Definition arena_queue.h:37