File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
include/nav2_smac_planner Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ class NodeHybrid
406406 static float getObstacleHeuristic (
407407 const Coordinates & node_coords,
408408 const Coordinates & goal_coords,
409- const double & cost_penalty);
409+ const float & cost_penalty);
410410
411411 /* *
412412 * @brief Compute the Distance heuristic
Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ float NodeHybrid::adjustedFootprintCost(const float & cost)
559559float NodeHybrid::getObstacleHeuristic (
560560 const Coordinates & node_coords,
561561 const Coordinates & goal_coords,
562- const double & cost_penalty)
562+ const float & cost_penalty)
563563{
564564 // If already expanded, return the cost
565565 const unsigned int size_x = sampled_costmap->getSizeInCellsX ();
You can’t perform that action at this time.
0 commit comments