Recently I am required to use DJI vehicle with QGC, the function I want to achieve is display the trajectory of my DJI and send some commands to DJI, and when DJI receive certain msg, I can use their SDK to do somethings. However, when I tried to send mavlink msg(heartbeat, global position, attitude, local position) to QGC from DJI onboard computer, QGC has succeeded in receiving those msgs, and onboard computer has received heartbeat from QGC, but the the UI of QGC never shows it is connected. I don’t know if there is a way to make it work.
Or I can go another way, which is to simply realize my minimum function, display trajectory and send certain commands. Can I jump the instantiation of the Vehicle and some part of the communication flow between Vehicle and QGC, and change code to enable QGC display vehicle is connected when I receive heartbeat and global position and simply draw trajectory based on the global position msgs?