Skip to content

Commit 03db622

Browse files
authored
Merge pull request #32 from RosProBridge/hotfix/imu-rotation
Fix IMU rotation conversion
2 parents dec92b8 + 8f85d70 commit 03db622

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Runtime/Tx/ImuTx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ protected override ProBridge.ProBridge.Msg GetMsg(TimeSpan ts)
8181
data.orientation = orientationWithNoise.ToRos();
8282
}
8383

84-
data.angular_velocity = _angularVelocity.ToRos();
84+
data.angular_velocity = _angularVelocity.ToRosAngular();
8585
data.linear_acceleration = acceleration.ToRos();
8686
data.orientation = transform.rotation.ToRos();
8787

0 commit comments

Comments
 (0)