Apollo
10.0
自动驾驶开放平台
v2x_obstacles.proto
浏览该文件的文档.
1
syntax
=
"proto2"
;
2
3
package
apollo.v2x;
4
5
import
"
modules/common_msgs/basic_msgs/header.proto
";
6
import
"
modules/common_msgs/basic_msgs/error_code.proto
";
7
import
"
modules/common_msgs/perception_msgs/perception_obstacle.proto
";
8
9
message
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
15
message
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
22
message
AbnormalInformation
{
23
optional
double
average_speed = 1;
24
optional
double
vehicle_density = 2;
25
}
26
27
message
V2XInformation
{
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
41
message
V2XObstacle
{
42
optional
apollo
.
perception
.
PerceptionObstacle
perception_obstacle = 1;
// obstacle.
43
optional
V2XInformation
v2x_info = 2;
// v2x use case info
44
}
45
46
message
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
}
error_code.proto
header.proto
apollo::common
apollo::common
apollo::perception
apollo::perception
Definition
perception_barrier_gate.proto:3
apollo
class register implement
Definition
arena_queue.h:37
perception_obstacle.proto
apollo::common::Header
Definition
header.proto:7
apollo::perception::PerceptionObstacle
Definition
perception_obstacle.proto:64
apollo::v2x::AbnormalInformation
Definition
v2x_obstacles.proto:22
apollo::v2x::MiniAreaMap
Definition
v2x_obstacles.proto:15
apollo::v2x::Point
Definition
v2x_obstacles.proto:9
apollo::v2x::V2XInformation
Definition
v2x_obstacles.proto:27
apollo::v2x::V2XInformation::V2XType
V2XType
Definition
v2x_obstacles.proto:28
apollo::v2x::V2XObstacle
Definition
v2x_obstacles.proto:41
apollo::v2x::V2XObstacles
Definition
v2x_obstacles.proto:46
syntax
syntax
Definition
v2x_obstacles.proto:1
modules
v2x
proto
v2x_obstacles.proto