Page 1 of 1

Question about the UDP Output

Posted: Thu Jan 19, 2023 8:29 pm
by LeNinjaHD

I have a few Questions about the UDP output.

1) "ax", "ay", "az" - These Values dont seem to be Aircraft relative, but rather world relative. Im also not sure what direction exactly is x, y and z?
2) Ground Speed - It would be nice to also have Ground Speed as an Output

Cheers :)

Re: Question about the UDP Output

Posted: Mon Jan 30, 2023 6:19 pm
by Dirty
I'm gonna leave this here for future tinkerers to stumble across :-)

As far as I can see, this is the reference system that Condor2 uses:

X = West
Y = North
Z = Up

X = Forward
Y = Right
Z = Up

Both left-hand systems.

The accelerations provided in the UDP export interface (ax, ay, az) are indeed world referenced.
They are provided in [m/s^2] and are linear accelerations only! No proper accelerations availabe directly.
Caution: They contain a bug that makes them unusable while standing still on the ground, but are correct while vehicle is in motion. At least as far as I could test.

Reverse engineering ax, ay, az from velocities and then converting them to proper accelerations does work! It causes an extra frame of latency in the data, but at least you get correct accelerations. Shoot me a PM if you need more info or sample code for the conversion.

Happy soaring :-)