The simulation is a bit of a red herring, in this case. What operated in
simulation was not the neural net but a different algorithm. The article calls
it a "simulated expert" and my guess is that it was most likely a classical
planner. This "simulated expert" was given all the information and, crucially,
all the _time_ it needed to fly through a simulated environment (or possibly
many more than one). The neural net was then trained on examples of the
"simulated expert's" behaviour. Then the trained model was loaded onto the drone
and was used to pilot the drone, essentially predicting the path the "simulated
expert" would have taken in a similar situation.
In short the "trick" is that they generated a plan offline and then learned to
approximate it to avoid having to re-generate it for every flight, which is very
time-consuming and wouldn't allow fast flight.
It's clever and as the authors are quoted to say in the article, it doesn't rely
on a very precise simulation, since the neural net doesn't have to be trained in
a simulator and a classical planner doesn't need very granular detail (it's just
slow). On the other hand, it's difficult to know how well it works in practice
because "flying through a forest" is not really an objective measure, insofar as
there is no ISO standard for what "forest" means. Sparse forest? Dense forest?
Conifers? Other...? The news item above says that the approach was tested on
"previously unseen" environments, but that, too, is a very fuzzy expression. So
while this is very impressive news (without having read the original work) keep
an open mind about whether this will really work in arbitrary environments in
the real world.