planning.proto 1.2 KB
Newer Older
D
Dong Li 已提交
1 2 3 4 5
syntax = "proto2";

package apollo.planning;

import "modules/common/proto/header.proto";
6
import "modules/common/proto/vehicle_signal.proto";
7
import "modules/common/proto/path_point.proto";
D
Dong Li 已提交
8 9 10 11
import "modules/canbus/proto/chassis.proto";
import "modules/planning/proto/planning_internal.proto";

message ADCSignals {
A
Aaron Xiao 已提交
12 13 14 15 16 17 18 19 20
  enum SignalType {
    LEFT_TURN = 1;
    RIGHT_TURN = 2;
    LOW_BEAM_LIGHT = 3;
    HIGH_BEAM_LIGHT = 4;
    FOG_LIGHT = 5;
    EMERGENCY_LIGHT = 6;
  }
  repeated SignalType signal = 1;
D
Dong Li 已提交
21 22 23
}

message EStop {
A
Aaron Xiao 已提交
24 25
  // is_estop == true when emergency stop is required
  optional bool is_estop = 1;
D
Dong Li 已提交
26 27 28
}

message ADCTrajectory {
A
Aaron Xiao 已提交
29 30 31
  optional apollo.common.Header header = 1;
  optional double total_path_length = 2; // in meters
  optional double total_path_time = 3; // in seconds
32
  repeated apollo.common.TrajectoryPoint trajectory_point = 4;
A
Aaron Xiao 已提交
33
  optional EStop estop = 6;
34
  repeated apollo.common.PathPoint path_point = 7;
35
  optional apollo.planning_internal.Debug debug = 8;
A
Aaron Xiao 已提交
36 37 38 39
  // is_replan == true mean replan triggered
  optional bool is_replan = 9 [default = false];
  // Specify trajectory gear
  optional apollo.canbus.Chassis.GearPosition gear = 10;
40
  optional apollo.common.VehicleSignal signal = 11;
D
Dong Li 已提交
41
}