From 8f85d7077bf94bcea0afcb5f0dc7400dd4d17b41 Mon Sep 17 00:00:00 2001 From: Sherif Nafee Date: Fri, 7 Mar 2025 09:54:49 +0300 Subject: [PATCH] Fix imu rotation conversion --- Runtime/Tx/ImuTx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Tx/ImuTx.cs b/Runtime/Tx/ImuTx.cs index 81409b4..3c0fccd 100644 --- a/Runtime/Tx/ImuTx.cs +++ b/Runtime/Tx/ImuTx.cs @@ -81,7 +81,7 @@ protected override ProBridge.ProBridge.Msg GetMsg(TimeSpan ts) data.orientation = orientationWithNoise.ToRos(); } - data.angular_velocity = _angularVelocity.ToRos(); + data.angular_velocity = _angularVelocity.ToRosAngular(); data.linear_acceleration = acceleration.ToRos(); data.orientation = transform.rotation.ToRos();