From 0b33908062c01bd1e6ee4b2b50229d7c83cbbb0c Mon Sep 17 00:00:00 2001 From: Erik Andresen Date: Wed, 18 Oct 2017 22:17:39 +0200 Subject: [PATCH] wt_node odom: Also set z velocity to 0 --- scripts/wt_node.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/wt_node.py b/scripts/wt_node.py index ab58496..663a4f1 100755 --- a/scripts/wt_node.py +++ b/scripts/wt_node.py @@ -267,6 +267,7 @@ class MoveBase: odom.child_frame_id = "base_footprint" odom.twist.twist.linear.x = speed_trans odom.twist.twist.linear.y = 0.0 + odom.twist.twist.linear.z = 0.0 odom.twist.twist.angular.z = speed_rot odom.twist.covariance = odom.pose.covariance -- 2.39.5