Skip to content

Commit

Permalink
fix(image_projection_based_fusion): fix input to quaternion (autoware…
Browse files Browse the repository at this point in the history
…foundation#1933)

Signed-off-by: yukke42 <yusuke.muramatsu@tier4.jp>

Signed-off-by: yukke42 <yusuke.muramatsu@tier4.jp>
  • Loading branch information
yukke42 authored and boyali committed Oct 3, 2022
1 parent 90f58f4 commit bc84443
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void boundingBoxToVertices(

const auto position = Eigen::Vector3d(pose.position.x, pose.position.y, pose.position.z);
const auto orientation = Eigen::Quaterniond(
pose.orientation.x, pose.orientation.y, pose.orientation.z, pose.orientation.w);
pose.orientation.w, pose.orientation.x, pose.orientation.y, pose.orientation.z);

for (const auto & corner : corners_template) {
Eigen::Vector3d corner_point(
Expand Down

0 comments on commit bc84443

Please sign in to comment.