Skip to content

Commit d429143

Browse files
hot patch to fix transform error in MPPI caused by #3425 (#3458)
1 parent 34f18d9 commit d429143

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nav2_mppi_controller/src/path_handler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ PathHandler::getGlobalPlanConsideringBoundsInCostmapFrame(
7575
// Transform from global plan frame to costmap frame
7676
geometry_msgs::msg::PoseStamped costmap_plan_pose;
7777
global_plan_pose->header.stamp = global_pose.header.stamp;
78+
global_plan_pose->header.frame_id = global_plan_.header.frame_id;
7879
transformPose(costmap_->getGlobalFrameID(), *global_plan_pose, costmap_plan_pose);
7980

8081
// Check if pose is inside the costmap

0 commit comments

Comments
 (0)