Skip to content

Commit d3806cd

Browse files
authored
Merge pull request #320 from magazino/fix_wrong_initial_global_planner_cost
fix wrong (initial) global planner path cost
2 parents 9ccecd1 + 9d34ce0 commit d3806cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbf_abstract_nav/src/abstract_planner_execution.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ void AbstractPlannerExecution::run()
251251
{
252252
// call the planner
253253
std::vector<geometry_msgs::PoseStamped> plan;
254-
double cost;
254+
double cost = 0.0;
255255

256256
// lock goal start mutex
257257
goal_start_mtx_.lock();

0 commit comments

Comments
 (0)