提交 ca2a9009 编写于 作者: J Jiangtao Hu 提交者: Yifei Jiang

planning: planning_internal pb cleanup.

上级 bc57f44c
...@@ -50,35 +50,7 @@ message PlanningObstacle { ...@@ -50,35 +50,7 @@ message PlanningObstacle {
} }
message Debug { message Debug {
/*
PLEASE add id here
id = 1: st_graph_info
*/
message DebugMessage {
optional apollo.common.ErrorCode error_code = 1;
optional int32 id = 2;
oneof debug_string {
string trace = 3;
string info = 4;
string warn = 5;
string error = 6;
string fatal = 7;
}
}
optional apollo.common.ErrorCode error_code = 1;
optional PlanningData planning_data = 2; optional PlanningData planning_data = 2;
repeated DebugMessage debug_message = 3;
}
message LightSignal {
optional bool emergency = 1; // hazard signal
enum TurnSignal {
NO_TURN = 1;
LEFT_TURN = 2;
RIGHT_TURN = 3;
};
optional TurnSignal turn_signal = 2 [default = NO_TURN];
} }
message SpeedPlan { message SpeedPlan {
...@@ -100,8 +72,6 @@ message STGraphDebug { ...@@ -100,8 +72,6 @@ message STGraphDebug {
// next id: 15 // next id: 15
message PlanningData { message PlanningData {
optional apollo.common.Header header = 1;
// input // input
optional apollo.localization.LocalizationEstimate adc_position = 7; optional apollo.localization.LocalizationEstimate adc_position = 7;
optional apollo.canbus.Chassis chassis = 8; optional apollo.canbus.Chassis chassis = 8;
...@@ -111,11 +81,4 @@ message PlanningData { ...@@ -111,11 +81,4 @@ message PlanningData {
repeated apollo.common.Path path = 6; repeated apollo.common.Path path = 6;
repeated SpeedPlan speed_plan = 13; repeated SpeedPlan speed_plan = 13;
repeated STGraphDebug st_graph = 14; repeated STGraphDebug st_graph = 14;
optional apollo.localization.Pose init_status = 2 [deprecated = true]; // initial status of adc
optional apollo.planning.MainDecision main_decision = 3 [deprecated = true];
repeated PlanningObstacle planning_obstacle = 4 [deprecated = true];
optional LightSignal light_signal = 5 [deprecated = true];
optional bool is_replan = 11 [deprecated = true];
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册