We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 615a18b commit 0ec4899Copy full SHA for 0ec4899
planning/behavior_path_start_planner_module/src/start_planner_module.cpp
@@ -1202,6 +1202,9 @@ bool StartPlannerModule::isSafePath() const
1202
// TODO(Sugahara): should safety check for backward path
1203
1204
const auto pull_out_path = getCurrentPath();
1205
+ if (pull_out_path.points.empty()) {
1206
+ return false;
1207
+ }
1208
const auto & current_pose = planner_data_->self_odometry->pose.pose;
1209
const double current_velocity = std::hypot(
1210
planner_data_->self_odometry->twist.twist.linear.x,
0 commit comments