ArduCopter SITL with Simulator

Hi Guys

Apologies if this turns out to be a duplicate post but I was wondering if anyone has managed to run synthetic testing with ArduPilot and DroneKit.

I have selected DroneKit-Python to communicate with my drone but I would like to test my flight logic in a virtual environment before testing it live with my model.
I have sucessfully managed to run a 2D simulation with my code but would like a 3D representation of my logic.
I am currently using AirSim as the simulator with an Unreal Engine environment because it can be customised and can be made to look to the place my drone will be flying.

Thanks in advance for any help and support.


Yes, it can be done and works fine.

Do you have any clues or how to do this?

yes, we did this a couple of years ago. Just read the dronekit python docs. Nowadays we are using Mavros instead.