def send_control(self, robot_pub, vel, yaw): msg = Twist() msg.linear.x = vel msg.angular.z = 0 robot_pub.publish(msg)