Skip to content

Commit

Permalink
fix(simple_sensor_simulator): fix eigen variable definition
Browse files Browse the repository at this point in the history
  • Loading branch information
MertClk committed Jul 9, 2024
1 parent f6781c6 commit 0894570
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ auto EgoEntitySimulation::getCurrentPose(const double pitch_angle = 0.) const
-> geometry_msgs::msg::Pose
{
using math::geometry::operator*;
const auto relative_position =
const Eigen::Vector3d relative_position =
math::geometry::getRotationMatrix(initial_pose_.orientation) * world_relative_position_;
const auto relative_orientation = math::geometry::convertEulerAngleToQuaternion(
geometry_msgs::build<geometry_msgs::msg::Vector3>()
Expand Down

0 comments on commit 0894570

Please sign in to comment.