def set_speed(self, linear, angular): movecmd = Twist() movecmd.linear.x = linear movecmd.angular.z = angular self.cmd_vel.publish(movecmd)