Skip to content

Commit 6a5ac08

Browse files
authoredSep 22, 2022
fix(image_projection_based_fusion): fix input to quaternion (#1933)
Signed-off-by: yukke42 <yusuke.muramatsu@tier4.jp> Signed-off-by: yukke42 <yusuke.muramatsu@tier4.jp>
1 parent 1bbf9cd commit 6a5ac08

File tree

1 file changed

+1
-1
lines changed
  • perception/image_projection_based_fusion/src/utils

1 file changed

+1
-1
lines changed
 

‎perception/image_projection_based_fusion/src/utils/geometry.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void boundingBoxToVertices(
122122

123123
const auto position = Eigen::Vector3d(pose.position.x, pose.position.y, pose.position.z);
124124
const auto orientation = Eigen::Quaterniond(
125-
pose.orientation.x, pose.orientation.y, pose.orientation.z, pose.orientation.w);
125+
pose.orientation.w, pose.orientation.x, pose.orientation.y, pose.orientation.z);
126126

127127
for (const auto & corner : corners_template) {
128128
Eigen::Vector3d corner_point(

0 commit comments

Comments
 (0)
Please sign in to comment.