Creation and validation of a simulation environment for machine learning with drones