connecting PX4 with XPlain

hi folks,

I have a pixhawk PX4 and am developing a control program for fixed wing plane and wanna to test it with simulator XPlain 10. I found manual for connecting QGroundControl with XPlain (in attachment). But in that manual QGroundControl v. 2.0.0 is used, but actual version of QGroundControl now is 2.9.4. In 2.9.4 i cannot find settings, pictured in manual. QGC v. 2.0.0 isn't available now, so im confused what to do.

I can read XPlain's plane parameters using "Analyze" widget of QGC so i guess that connection between XPlain and QGC is set correctly. But how make QGC to accept simulator parameters as actual flight parameters?

Help please)

Hardware_in_the_Loop_Simulation.pdf

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • hi again,

    As i suppose, after connecting XPlain and PX4 one could read XPlane's plane parameters using HIL_STATE, which is deprecated now and HIL_STATE_QUATERNION messages. But PX4 dont send these messages.

    i've googled a little bit and find APM parameters list. in that list there is a HIL_MODE parameter. I supposed that this parameter can make PX4 accept simulator parameters and send HIL messages. Using QGS i set this parameter to 1, restarted PX4 and try to get XPlain data through MAVLink. But neither SIM_STATE nor HIL_STATE_QUATERNION i don't receive from PX4. But i receive new message #253 STATUSTEXT with text "waiting for first HIL_STATE message". What does it mean? Who should send this message to PX4? 

    • ty for help guys

This reply was deleted.

Activity