Asked

Hi,

I am unclear as to how to index into the sim/flightmodel2/wing/aileron1_deg Dataref. It is a float array of 32 elements. The description for the wing category says "The wings are indexed as: wing 1 left, wing 1 right .. wing 4 left, wing 4 right, left hstab, right hstab, rudders 1 and 2, then the 20 misc wings, for 32 indices".
The description for aileron1_deg says it is the "Deflection of the aileron from set #1 on this wing". What do these indices and set #'s correspond to the control surfaces on a simple airplane like Cessna 172?

Thanks.

Still does not answer your question? Ask a new question!

If the question and answers provided above do not answer your specific question - why not ask a new question of your own? Our community and flight simulator experts will provided a dedicated and unique answer to your flight sim question. And, you don't even need to register to post your question!

Ask New Question...