From 334f9ec80c80c85a2213b4661e7ce4185934332f Mon Sep 17 00:00:00 2001 From: Jiangtao Hu Date: Sat, 5 Aug 2017 11:45:12 -0700 Subject: [PATCH] planning: fix stop decision check condition crash. --- modules/planning/optimizer/st_graph/st_boundary_mapper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/planning/optimizer/st_graph/st_boundary_mapper.cc b/modules/planning/optimizer/st_graph/st_boundary_mapper.cc index da6b8e2d61..2e04a50fac 100644 --- a/modules/planning/optimizer/st_graph/st_boundary_mapper.cc +++ b/modules/planning/optimizer/st_graph/st_boundary_mapper.cc @@ -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_; -- GitLab