--------------------------------------------------
From: "Torsten Dreyer" <tors...@t3r.de>
Sent: Sunday, June 26, 2011 9:49 PM
To: "FlightGear developers discussions" 
<flightgear-devel@lists.sourceforge.net>
Subject: Re: [Flightgear-devel] Data flow from controls to FDM

> Am 26.06.11 21:59, schrieb Alan Teeder:
>> I have some questions regarding how data gets from the joystick, keypad 
>> etc
>> to the fdm. No doubt I will feel foolish when it is pointed out that it 
>> is
>> documented somewhere, but to date I have had to rely on experimentation 
>> and
>> copying of XML/Nasal code from existing aircraft.
>>
>>
>>
>> 1. How is data moved from the controls property tree (e.g
>> /controls/flight/aileron, /controls/flight/aileron-trim) to the fdm 
>> (e.g.
>> fcs/aileron-cmd-norm,  fcs/roll-trim-cmd-norm).
>>
>> 2. Is there any scaling, limiting or other filtering ?
>>
>> 3. Is there a list of which properties are copied ?
>>
>> TIA
>>
>> Alan
> Hi Alan,
>
> I don't know of any location where this might be documented, except the
> source itself - no need to feel foolish ;-)
>
> 1. the values are copied every frame.
> 2. No. At least not for surface or engine controls.
> 3. Not really a list, but all the involved code is in JSBSim.cxx method
> FGJSBSim::copy_to_JSBSim() starting line 576 (today's git). It's not too
> freaky code and probably as good as a list ;-)
>
> Torsten


Torsten

That looks like a useful section of code which should answer a  lot of my 
problems.

Many thanks

Alan 


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to