Question about the UDP Output

Moderators: Uros, Tom, OXO

Post Reply
LeNinjaHD
Posts: 1
Joined: Sun Sep 18, 2022 7:38 pm

Question about the UDP Output

Post by LeNinjaHD » Thu Jan 19, 2023 8:29 pm

Hi,

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 :)

Dirty
Posts: 2
Joined: Sat Jan 21, 2023 11:21 am

Re: Question about the UDP Output

Post by Dirty » Mon Jan 30, 2023 6:19 pm

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:

WORLD:
X = West
Y = North
Z = Up

VEHICLE:
X = Forward
Y = Right
Z = Up

Both left-hand systems.

ACCELERATIONS:
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 :-)

Post Reply