Skip to content

Commit

Permalink
trying to fix transform issue
Browse files Browse the repository at this point in the history
  • Loading branch information
eprager0 committed May 14, 2024
1 parent 0f0dec2 commit e45c052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AirLib/include/sensors/imu/ImuSimple.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ namespace airlib
output.orientation = ground_truth.kinematics->pose.orientation;

//acceleration is in world frame so transform to body frame
output.linear_acceleration = VectorMath::rotateVector/*transformToBodyFrame*/(output.linear_acceleration,
output.linear_acceleration = VectorMath::transformToBodyFrame(output.linear_acceleration,
ground_truth.kinematics->pose.orientation,
true);

Expand Down

0 comments on commit e45c052

Please sign in to comment.