HIL with APM 2.5 + X-Plane HIL

I am trying to use APM 2.5+ DX8 with X-plane as HIL. 1 year ago I spent many times to fly in x-plane 10, I succeed to fly but x-plane have had some latencies to respond my commands.So I couldnt try planning a mission and then made an autonomus flight.

My aim is to generate a simulation environment that shows me the output of my calibration results with my APM and dx8. I tried flight gear or aerosim(not sure which of them) and it worked but it didnt have GPS position in the flight planned zone contrary to X-plane.

That would be grreat if somebody can point me for a solution. There are many gossips about those. I need to clarify which are really worth to try.