Indexing into an array type Dataref

Guest

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.

Answers 1 Answers

Jump to latest
Pro Member Chief Captain
RadarMan Chief Captain

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...

Search

Search our questions and answers...

Be sure to search for your question from existing posted questions before asking a new question as your question may already exist from another user. If you're sure your question is unique and hasn't been asked before, consider asking a new question.

Related Questions

Flight Sim Questions that are closely related to this...