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 <antoine.gennart@quimesis.be>
Co-authored-by: agennart <antoine.gennart@quimesis.be>
Signed-off-by: Joseph Duchesne <josephgeek@gmail.com>
  • Loading branch information
2 people authored and josephduchesne committed Dec 10, 2024
1 parent a0e935f commit bfe0bb6
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 bfe0bb6

Please sign in to comment.