Skip to content

Commit

Permalink
[RotationShimController] fix: rotate to goal heading (#4724)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
gennartan and agennart authored Oct 17, 2024
1 parent c7ef3be commit 44a69cc
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 44a69cc

Please sign in to comment.