Skip to content

Commit

Permalink
fix(autoware_behavior_velocity_no_drivable_lane_module): fix bug of u…
Browse files Browse the repository at this point in the history
…ninitialization (#7928)

Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
  • Loading branch information
yhisaki authored Jul 10, 2024
1 parent b43cffb commit a39cfb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void NoDrivableLaneModule::handle_approaching_state(PathWithLaneId * path, StopR

const auto & op_target_point_idx =
autoware::motion_utils::insertTargetPoint(target_segment_idx, target_point, path->points, 5e-2);
size_t target_point_idx;
size_t target_point_idx = 0;
if (op_target_point_idx) {
target_point_idx = op_target_point_idx.value();
}
Expand Down

0 comments on commit a39cfb7

Please sign in to comment.