Apollo 10.0
自动驾驶开放平台
pnc_point.proto
浏览该文件的文档.
1syntax = "proto2";
2
3// Defined Point types that are commonly used in PnC (Planning and Control)
4// modules.
5
6package apollo.common;
7
8message SLPoint {
9 optional double s = 1;
10 optional double l = 2;
11}
12
14 optional double s = 1;
15 optional double l = 2;
16 optional double dl = 3;
17 optional double ddl = 4;
18}
19
20message SpeedPoint {
21 optional double s = 1;
22 optional double t = 2;
23 // speed (m/s)
24 optional double v = 3;
25 // acceleration (m/s^2)
26 optional double a = 4;
27 // jerk (m/s^3)
28 optional double da = 5;
29}
30
31message PathPoint {
32 // coordinates
33 optional double x = 1;
34 optional double y = 2;
35 optional double z = 3;
36
37 // direction on the x-y plane
38 optional double theta = 4;
39 // curvature on the x-y planning
40 optional double kappa = 5;
41 // accumulated distance from beginning of the path
42 optional double s = 6;
43
44 // derivative of kappa w.r.t s.
45 optional double dkappa = 7;
46 // derivative of derivative of kappa w.r.t s.
47 optional double ddkappa = 8;
48 // The lane ID where the path point is on
49 optional string lane_id = 9;
50
51 // derivative of x and y w.r.t parametric parameter t in CosThetareferenceline
52 optional double x_derivative = 10;
53 optional double y_derivative = 11;
54}
55
56message Path {
57 optional string name = 1;
58 repeated PathPoint path_point = 2;
59}
60
62 // path point
63 optional PathPoint path_point = 1;
64 // linear velocity
65 optional double v = 2; // in [m/s]
66 // linear acceleration
67 optional double a = 3;
68 // relative time from beginning of the trajectory
69 optional double relative_time = 4;
70 // longitudinal jerk
71 optional double da = 5;
72 // The angle between vehicle front wheel and vehicle longitudinal axis
73 optional double steer = 6;
74
75 // Gaussian probability information
76 optional GaussianInfo gaussian_info = 7;
77
78}
79
80message Trajectory {
81 optional string name = 1;
82 repeated TrajectoryPoint trajectory_point = 2;
83}
84
86 // trajectory point
87 optional TrajectoryPoint trajectory_point = 1;
88 // The angle between vehicle front wheel and vehicle longitudinal axis
89 optional double steer = 2;
90}
91
93 optional string name = 1;
94 repeated VehicleMotionPoint vehicle_motion_point = 2;
95}
96
97message GaussianInfo {
98 // Information of gaussian distribution
99 optional double sigma_x = 1;
100 optional double sigma_y = 2;
101 optional double correlation = 3;
102 // Information of representative uncertainty area
103 optional double area_probability = 4;
104 optional double ellipse_a = 5;
105 optional double ellipse_b = 6;
106 optional double theta_a = 7;
107}
syntax