Skip to content

Commit

Permalink
adding final pose in analytic expansion to check (ros-navigation#4353)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMacenski authored and Quasi Developers committed Oct 22, 2024
1 parent a0b1a49 commit 62cf956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_smac_planner/src/analytic_expansion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ typename AnalyticExpansion<NodeT>::AnalyticExpansionNodes AnalyticExpansion<Node
node_costs.reserve(num_intervals);

// Check intermediary poses (non-goal, non-start)
for (float i = 1; i < num_intervals; i++) {
for (float i = 1; i <= num_intervals; i++) {
state_space->interpolate(from(), to(), i / num_intervals, s());
reals = s.reals();
// Make sure in range [0, 2PI)
Expand Down

0 comments on commit 62cf956

Please sign in to comment.