Skip to content

Commit

Permalink
Use linear() instead of rotation()
Browse files Browse the repository at this point in the history
  • Loading branch information
azeey committed Apr 1, 2019
1 parent 985a44e commit dcb25ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eigen3/include/ignition/math/eigen3/Conversions.hh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ namespace ignition
{
ignition::math::Pose3d pose;
pose.Pos() = convert(Eigen::Vector3d(_tf.translation()));
pose.Rot() = convert(Eigen::Quaterniond(_tf.rotation()));
pose.Rot() = convert(Eigen::Quaterniond(_tf.linear()));

return pose;
}
Expand Down

0 comments on commit dcb25ac

Please sign in to comment.