From: Erik Andresen Date: Wed, 18 Oct 2017 20:17:39 +0000 (+0200) Subject: wt_node odom: Also set z velocity to 0 X-Git-Url: https://defiant.homedns.org/gitweb/?a=commitdiff_plain;h=0b33908062c01bd1e6ee4b2b50229d7c83cbbb0c;p=ros_wild_thumper.git wt_node odom: Also set z velocity to 0 --- 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