提交 81bc06a1 编写于 作者: Z Zhang Liangliang 提交者: Jiangtao Hu

module: planning -- changed GetGraphBoundary return from PLANNING_ERROR to...

module: planning -- changed GetGraphBoundary return from PLANNING_ERROR to PLANNING_SKIP when decision does not need to map.
上级 760ec7cb
......@@ -143,9 +143,9 @@ Status StBoundaryMapper::GetGraphBoundary(
"Fail to map overtake/yield decision");
}
} else {
AERROR << "could not map unkown decision type "
<< decision.DebugString();
return Status(ErrorCode::PLANNING_ERROR, "unkown decision: ");
std::string msg = common::util::StrCat("No mapping for decision: ",
decision.DebugString());
return Status(ErrorCode::PLANNING_SKIP, msg);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册