Skip to content

Commit

Permalink
[RotationShimController] fix: rotate to goal heading (ros-navigation#…
Browse files Browse the repository at this point in the history
…4724)

Add frame_id to goal when rotating towards goal heading, otherwise the
transform would fail. This bug was introduced in 30e2cde by not setting
the frame_id.

Signed-off-by: agennart <[email protected]>
Co-authored-by: agennart <[email protected]>
Signed-off-by: Tony Najjar <[email protected]>
  • Loading branch information
2 people authored and tonynajjar committed Dec 9, 2024
1 parent c92f2ad commit dd3f0af
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ geometry_msgs::msg::PoseStamped RotationShimController::getSampledPathGoal()
}

auto goal = current_path_.poses.back();
goal.header.frame_id = current_path_.header.frame_id;
goal.header.stamp = clock_->now();
return goal;
}
Expand Down

0 comments on commit dd3f0af

Please sign in to comment.