The document proposes a testbed called NUAV for developing autonomous unmanned aerial vehicles (UAVs). NUAV integrates the flight simulator FlightGear with machine learning algorithms. It allows simulating UAVs for various scenarios. A simple experiment uses a neural network optimized by a genetic algorithm to fly a simulated aircraft. The testbed aims to enable training UAVs to perform user-defined tasks and developing fleets of cooperative autonomous UAVs.