Skip to content

Commit

Permalink
Fix index out of bounds in VTS for real
Browse files Browse the repository at this point in the history
  • Loading branch information
camearle20 committed Feb 12, 2024
1 parent 4d1a258 commit 802c31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trajectory_native/src/trajectory_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class VehicleTrajectoryService final
angle);
}

segment_start_offset = last_waypoint_idx;
segment_start_offset += last_waypoint_idx + 1;
}

builder.ControlIntervalCounts(std::move(control_intervals));
Expand Down

0 comments on commit 802c31c

Please sign in to comment.