Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 committed Aug 13, 2023
1 parent 7952ec8 commit b48f980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/obstacle_avoidance_planner/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ void ObstacleAvoidancePlanner::applyInputVelocity(
forward_cropped_input_traj_points, output_traj_points.front().pose, ego_nearest_param_);
for (size_t i = 0; i < output_traj_points.size(); i++) {
// NOTE: input_traj_start/end_idx is calculated for efficient index calculation
const int input_traj_end_idx = [&]() {
const size_t input_traj_end_idx = [&]() {
double sum_segment_length = 0.0;
for (size_t j = input_traj_start_idx + 1; j < segment_length_vec.size(); ++j) {
sum_segment_length += segment_length_vec.at(j);
Expand Down

0 comments on commit b48f980

Please sign in to comment.