I need aircraft Velocity (N,E,D), and Velocity (u,v,w), and Aircraft Pitch, Roll, Heading. I don't see any way to get this information without using SimConnect in addition to the camera PDK.
Thanks in advance for any information you can provide.
How do I get aircraft state from PDK without using SimConnect
-
- Posts: 36
- Joined: Tue Aug 04, 2015 7:51 pm
- Brady Butler
- Lockheed Martin
- Posts: 965
- Joined: Tue May 09, 2017 5:31 pm
Re: How do I get aircraft state from PDK without using SimConnect
Hello,
Take a look at GetPosition here: https://www.prepar3d.com/SDKv4/sdk/pdk_ ... _isim.html
Regards,
Brady
Take a look at GetPosition here: https://www.prepar3d.com/SDKv4/sdk/pdk_ ... _isim.html
Regards,
Brady
Brady Butler
Prepar3D® Software Engineer
Prepar3D® Software Engineer
-
- Posts: 36
- Joined: Tue Aug 04, 2015 7:51 pm
Re: How do I get aircraft state from PDK without using SimConnect
Great!
What is vPHBVel? what frame is it in? And what units?
Thanks
What is vPHBVel? what frame is it in? And what units?
Thanks
- Brady Butler
- Lockheed Martin
- Posts: 965
- Joined: Tue May 09, 2017 5:31 pm
Re: How do I get aircraft state from PDK without using SimConnect
Hello srgriffiths,
If you click on the blue "GetPosition" link it should bring you here: https://www.prepar3d.com/SDKv4/sdk/pdk_ ... dbc06c7243
vPHBVel Pitch, heading, bank velocity (radians / second)
I believe it is the current frame.
Regards,
Brady
If you click on the blue "GetPosition" link it should bring you here: https://www.prepar3d.com/SDKv4/sdk/pdk_ ... dbc06c7243
vPHBVel Pitch, heading, bank velocity (radians / second)
I believe it is the current frame.
Regards,
Brady
Brady Butler
Prepar3D® Software Engineer
Prepar3D® Software Engineer