Skip to content

Commit

Permalink
hot patch to fix transform error in MPPI caused by ros-navigation#3425 (
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMacenski authored Mar 8, 2023
1 parent 34f18d9 commit d429143
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nav2_mppi_controller/src/path_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ PathHandler::getGlobalPlanConsideringBoundsInCostmapFrame(
// Transform from global plan frame to costmap frame
geometry_msgs::msg::PoseStamped costmap_plan_pose;
global_plan_pose->header.stamp = global_pose.header.stamp;
global_plan_pose->header.frame_id = global_plan_.header.frame_id;
transformPose(costmap_->getGlobalFrameID(), *global_plan_pose, costmap_plan_pose);

// Check if pose is inside the costmap
Expand Down

0 comments on commit d429143

Please sign in to comment.