[RESOLVED] getting wind forces and environmental conditions for external engine

For topics related to the creation of simulation objects (SimObjects). This includes development of aircraft, ground, and maritime vehicles.
Locked
shimasteama
Posts: 2
Joined: Mon Sep 04, 2017 5:55 am

[RESOLVED] getting wind forces and environmental conditions for external engine

Post by shimasteama »

I consider to make a external FDM engine for helicopters.
In the API, what is the proper method to get the current wind force and its vector on the fuselage?
Concerning Simconnect: do methods of getting
state of being on the ground or not
altitude/height of the helo above the current object below (house, tree, etc)
ground consistence (mud, concrete)
also apply to Simconnect API?
Thanks
Harry
Mike Schroeter
Lockheed Martin
Posts: 341
Joined: Thu Jan 12, 2012 7:05 pm

Re: getting wind forces and environmental conditions for external engine

Post by Mike Schroeter »

The following methods in the IBaseObjectV400 interface should give you most of this information:

virtual HRESULT GetSurfaceInformation (__out SurfaceInfoV400 &SurfaceInfo, __in const FXYZ *pvOffsetFeet) PURE
virtual HRESULT GetWeatherInformation (__out WeatherInfoV400 &WeatherInfo) PURE

Hope this helps,
Mike
shimasteama
Posts: 2
Joined: Mon Sep 04, 2017 5:55 am

Re: getting wind forces and environmental conditions for external engine

Post by shimasteama »

Thank you very much for your precise answer.
Best regards
Harry
Locked