Fly Away Simulation
SearchSearch 

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.

Pro Member Chief Captain
RadarMan Chief Captain
All times are GMT Page 1 of 1 You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related Topics