Apollo 10.0
自动驾驶开放平台
perception_camera.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.perception.camera;
4
8
9enum CameraErrorCode {
10 ERROR_NONE = 0;
11 ERROR_UNKNOWN = 1;
12}
13
14enum LaneLineType {
15 WHITE_DASHED = 0;
16 WHITE_SOLID = 1;
17 YELLOW_DASHED = 2;
18 YELLOW_SOLID = 3;
19}
20
21enum LaneLinePositionType {
22 BOLLARD_LEFT = -5;
23 FOURTH_LEFT = -4;
24 THIRD_LEFT = -3;
25 ADJACENT_LEFT = -2;
26 EGO_LEFT = -1;
27 EGO_RIGHT = 1;
28 ADJACENT_RIGHT = 2;
29 THIRD_RIGHT = 3;
30 FOURTH_RIGHT = 4;
31 BOLLARD_RIGHT = 5;
32 OTHER = 6;
33 UNKNOWN = 7;
34}
35
36enum LaneLineUseType {
37 REAL = 0;
38 VIRTUAL = 1;
39}
40
41message LaneLineCubicCurve {
42 optional float longitude_min = 1;
43 optional float longitude_max = 2;
44 optional float a = 3;
45 optional float b = 4;
46 optional float c = 5;
47 optional float d = 6;
48}
49
50message EndPoints {
51 optional apollo.common.Point2D start = 1;
52 optional apollo.common.Point2D end = 2;
53}
54
55message CameraLaneLine {
56 optional LaneLineType type = 1;
57 optional LaneLinePositionType pos_type = 2;
58 // @brief camera coordinate system
59 optional LaneLineCubicCurve curve_camera_coord = 3;
60 // @brief image coordinate system
61 optional LaneLineCubicCurve curve_image_coord = 4;
62 // @brief curve camera point set
63 repeated apollo.common.Point3D curve_camera_point_set = 5;
64 // @brief curve image point set
65 repeated apollo.common.Point2D curve_image_point_set = 6;
66
67 // @brief image end point set
68 repeated EndPoints image_end_point_set = 7;
69 // @brief track id
70 optional int32 track_id = 8;
71 // @brief confidence for lane line
72 optional float confidence = 9;
73
74 optional LaneLineUseType use_type = 10;
75}
76
77message CameraCalibrator {
78 optional float pitch_angle = 1;
79 optional float camera_height = 2;
80}
81
82message CameraObstacle {
83 optional PerceptionObstacle obstacle = 1; // PerceptionObstacle
84
85 // 2D information
86 enum CameraType {
87 UNKNOWN = 0;
88 UNKNOWN_MOVABLE = 1;
89 UNKNOWN_UNMOVABLE = 2;
90 PEDESTRIAN = 3; // Pedestrian, usually determined by moving behaviour.
91 BICYCLE = 4; // bike, motor bike
92 VEHICLE = 5; // Passenger car or truck.
93 };
94
95 optional CameraType type = 21; // obstacle type
96 repeated float type_probs = 22; // obstacle type
97 optional apollo.common.Point2D upper_left =
98 23; // upper left corner of 2D bbox
99 optional apollo.common.Point2D lower_right =
100 24; // lower right corner of 2D bbox
101 repeated apollo.common.Point2D key_points = 25; // 2D key points
102 repeated string debug_message = 26; // debug message
103}
104
105//
106message CameraDebug {
107 optional apollo.common.Header header = 1; // header
108 optional string source_topic = 2; // which topic to get the frame
109 optional CameraErrorCode error_code = 3 [default = ERROR_NONE]; // error code
110 optional CameraCalibrator camera_calibrator = 4;
111 repeated CameraLaneLine camera_laneline = 5;
112 repeated CameraObstacle camera_obstacle = 6; // an array of obstacles
113}
apollo::common
class register implement
Definition arena_queue.h:37