I am using Cube Black, X-plane 11, QGC 4.1.2
I am trying to make quadrotor HITL on X-plane 11.
I made a software, which converts MAVLink packets to UDP datagrams for Xplane and vice versa. Now i am trying to use my HITL configuration w/ QGroundControl. Connection between QGroundControl and my CubeBlack is okay but i can’t command takeoff or any kind of mission.
First of all, which messages are enough to fly my vehicle ?
I am able to send HIL_SENSOR + HIL_GPS or HIL_STATE_QUATERNION messages with frequencies around 80-120 hz.
Secondly, I can control the system with joystick via qground or I can embed a flight route by hard coding to my system, but I cannot send a full mission via qgroundcontrol.
When I send a takeoff command, I can see in the mavlinkinspector of qground that I sent an invalid (NaN) position_target_local_ned message.
Can you help me about this issue?