提交 334f9ec8 编写于 作者: J Jiangtao Hu 提交者: Dong Li

planning: fix stop decision check condition crash.

上级 2e837560
......@@ -169,7 +169,7 @@ bool StBoundaryMapper::MapObstacleWithStopDecision(
const PathObstacle& stop_obstacle, const ObjectDecisionType& stop_decision,
StGraphBoundary* const boundary) const {
CHECK_NOTNULL(boundary);
DCHECK(!stop_decision.has_stop()) << "Must have stop decision";
DCHECK(stop_decision.has_stop()) << "Must have stop decision";
const double st_stop_s = stop_decision.stop().distance_s() +
stop_obstacle.sl_boundary().start_s() -
FLAGS_decision_valid_stop_range - adc_front_s_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册