[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.
shimasteama
Posts: 2
Joined: Mon Sep 04, 2017 5:55 am

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

Postby shimasteama » Mon Sep 04, 2017 6:12 am

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: 230
Joined: Thu Jan 12, 2012 7:05 pm

Re: getting wind forces and environmental conditions for external engine

Postby Mike Schroeter » Wed Sep 06, 2017 4:39 am

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

Postby shimasteama » Thu Sep 14, 2017 7:07 am

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


Return to “Simulation Object Development Questions”

Who is online

Users browsing this forum: No registered users and 1 guest