Newbie Q: will AP_Mission_test make the drone actual fly, or it's just simulation?

Hi,

If I build this test and upload to my drone, will it actually fly? Or the test run is just a simulation?

Sorry for the silly newbie question, since I am study the material indoor, I really do not want to see my drone hit something indoor.

And if it make the drone actually fly, how much time I have after the upload is done and before the drone take off? At least I need time to unplug the USB cable.

Thanks.

You can test your mission in MissionPlanner SITL - just click on the Simulation button along the top and select a vehicle type at the bottom

The part of the code you link to is not for general/stand/alone use.

Thanks, I know MissionPlanner. But I am more interested in writing direct cpp code to achieve a mission (for a very specific purpose).

That is why I want to try that code, hence the question.

(But I guess from your tone: that test will actually make the drone fly? Is my guess right?)

Sorry, I’m not sure what that code will do.
It looks a bit like it would run a mission of sorts…