I am using dlux global planner with nav_core_adpater with "move_base_flex"
As I set the goal point with "move_base_simple/goal" and the path is blocked by obstacle(no plan path found), it returns with succeed("move_base_flex/move_base/status" - Action "move_base" succeeded!" msg came out) and can not get to goal even if the obstacle is move away(sending the exact same goal point, It only returns move_base succeeded message).
I think global planner is caching the path and it does not consider updated costmap.
nav_2d_msgs::Path2D DluxGlobalPlanner::makePlan(const nav_2d_msgs::Pose2DStamped& start,
const nav_2d_msgs::Pose2DStamped& goal)
{
previous_plan_successful_ = false; // reset the variable
.
.
.
other codes
.
.
.
// If there is a cached path available and the new path cost has not sufficiently improved
if (cached_plan_available && !shouldReturnNewPath(path, path_cost))
{
return cached_path_;
}
cached_path_cost_ = path_cost;
cached_path_ = path;
if (!path.poses.empty()) previous_plan_successful_ = true;
return path;
}
I am using dlux global planner with nav_core_adpater with "move_base_flex"
As I set the goal point with "move_base_simple/goal" and the path is blocked by obstacle(no plan path found), it returns with succeed("move_base_flex/move_base/status" - Action "move_base" succeeded!" msg came out) and can not get to goal even if the obstacle is move away(sending the exact same goal point, It only returns move_base succeeded message).
I think global planner is caching the path and it does not consider updated costmap.
what would be the problem?
below is my dlux global planner params.
Or Can I just resolve this isssue with flag ?