Skip to content

Commit

Permalink
get costmap on computePathToPose
Browse files Browse the repository at this point in the history
  • Loading branch information
bpwilcox committed May 31, 2019
1 parent c4cc919 commit fcbf46f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nav2_navfn_planner/src/navfn_planner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ NavfnPlanner::computePathToPose(const std::shared_ptr<GoalHandle> goal_handle)

try {
// Get the current pose from the robot
getCostmap(costmap_);
auto start = std::make_shared<geometry_msgs::msg::PoseWithCovarianceStamped>();

if (!robot_->getCurrentPose(start)) {
Expand Down

0 comments on commit fcbf46f

Please sign in to comment.