Skip to content

Commit 4e16d3c

Browse files
[Iron] Fixing 3240
Signed-off-by: Steve Macenski <[email protected]>
1 parent 33d605c commit 4e16d3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nav2_mppi_controller/src/critics/path_align_critic.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ void PathAlignCritic::score(CriticData & data)
9898
traj_integrated_distance = 0.0f;
9999
summed_path_dist = 0.0f;
100100
num_samples = 0.0f;
101+
path_pt = 0u;
101102
const auto T_x = xt::view(data.trajectories.x, t, xt::all());
102103
const auto T_y = xt::view(data.trajectories.y, t, xt::all());
103104
for (size_t p = trajectory_point_step_; p < time_steps; p += trajectory_point_step_) {

0 commit comments

Comments
 (0)