Apollo
10.0
自动驾驶开放平台
path_follow_command.proto
浏览该文件的文档.
1
syntax
=
"proto2"
;
2
3
package
apollo.external_command;
4
5
import
"
modules/common_msgs/basic_msgs/header.proto
";
6
import
"
modules/common_msgs/external_command_msgs/geometry.proto
";
7
8
// PathBoundary with left and right boundary.
9
message
PathBoundary
{
10
// Left boundary of the path, each boundary point mapped to the path point.
11
repeated
Point
left_boundary = 1;
12
// Right boundary of the path, each boundary point mapped to the path point.
13
repeated
Point
right_boundary = 2;
14
}
15
16
// Path boundary generated with the distance from center to left and right
17
// boundary given.
18
message
BoundaryWithWidth
{
19
// Distance from the path center to left boundary.
20
required
double
left_path_width = 1;
21
// Distance from the path center to right boundary.
22
required
double
right_path_width = 2;
23
}
24
25
message
PathFollowCommand
{
26
optional
apollo
.
common
.
Header
header = 1;
27
// Unique identification for command.
28
optional int64 command_id = 2 [
default
= -1];
29
// Path point to be followed, a valid path should contain >= 2 points. No lane
30
// on the map is followed for this command.
31
repeated
Point
way_point = 3;
32
oneof
boundary
{
33
// PathBoundary with left and right boundary.
34
PathBoundary
path_boundary = 4;
35
// Path boundary generated with the distance from center to left and right
36
// boundary given.
37
BoundaryWithWidth
boundary_with_width = 5;
38
}
39
// Expected speed when executing this command. If "target_speed" > maximum
40
// speed of the vehicle, use maximum speed of the vehicle instead. If it is
41
// not given, the default target speed of system will be used.
42
optional
double
target_speed = 6;
43
}
geometry.proto
header.proto
apollo::common
apollo::common
apollo
class register implement
Definition
arena_queue.h:37
syntax
syntax
Definition
path_follow_command.proto:1
apollo::common::Header
Definition
header.proto:7
apollo::external_command::BoundaryWithWidth
Definition
path_follow_command.proto:18
apollo::external_command::PathBoundary
Definition
path_follow_command.proto:9
apollo::external_command::PathFollowCommand
Definition
path_follow_command.proto:25
apollo::external_command::Point
Definition
geometry.proto:5
apollo::external_command::PathFollowCommand::boundary
Definition
path_follow_command.proto:32
modules
common_msgs
external_command_msgs
path_follow_command.proto