wt_node odom: Also set z velocity to 0
authorErik Andresen <erik@vontaene.de>
Wed, 18 Oct 2017 20:17:39 +0000 (22:17 +0200)
committerErik Andresen <erik@vontaene.de>
Wed, 18 Oct 2017 20:17:39 +0000 (22:17 +0200)
scripts/wt_node.py

index ab58496..663a4f1 100755 (executable)
@@ -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