Skip to content

Commit

Permalink
Fix imu frameid (#323)
Browse files Browse the repository at this point in the history
* add missing frame_id to IMUComponent
  • Loading branch information
yuokamoto committed Dec 2, 2024
1 parent 4beb390 commit 0db5bc5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ void URRROS2IMUComponent::SensorUpdate()
if (dt > 1e-10)
{
const float _dt = 1.0 / dt;
Data.Header.FrameId = FrameId;
Data.Header.Stamp = URRConversionUtils::FloatToROSStamp(currentTime);

const FTransform dT = currentTransform * LastTransform.Inverse();
Expand Down

0 comments on commit 0db5bc5

Please sign in to comment.