User Tools

Site Tools


aircraft:tmd:logic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
aircraft:tmd:logic [2019/07/12 21:23] – [Dynamic Systems] jhaircraft:tmd:logic [2022/07/19 21:04] (current) – [input_active] jh
Line 8: Line 8:
  
 Together with the powerful [[aircraft:tmd:events|event programming]] even complex menu systems, iterations, integrations, delays and a lot more are possible to create. Together with the powerful [[aircraft:tmd:events|event programming]] even complex menu systems, iterations, integrations, delays and a lot more are possible to create.
 +
 +> All of the following components have an ''Output'' function. This makes it very easy to set up and chain together. Few of them have more than one output.
 ===== Simple Algebra ===== ===== Simple Algebra =====
  
 +Let us introduce the simple mathematical building blocks one at a time.
 ==== constant ==== ==== constant ====
  
Line 28: Line 31:
                 <[string8][Input][A.Output]>                 <[string8][Input][A.Output]>
                 <[float64][Scaling][1.0]>                 <[float64][Scaling][1.0]>
-                <[string8][Offset][0.0]>+                <[float64][Offset][0.0]>
             >             >
 </code> </code>
Line 168: Line 171:
 Integrating over the rotation speed give the total rotation angle. Integrating 1.0 gives the total time that the simulation run. Integrating the on ground sensor output gives the total time on ground. Integrating over the rotation speed give the total rotation angle. Integrating 1.0 gives the total time that the simulation run. Integrating the on ground sensor output gives the total time on ground.
  
-The integral can be reset to 0.0 with an [[tmd:aircraft:events|event]].+The integral can be reset to 0.0 with the ''Reset'' event.
  
 <code>            <[integral][LeftEngineFanRotationAngle][] <code>            <[integral][LeftEngineFanRotationAngle][]
Line 343: Line 346:
  
 Returns 1.0 as long as a button is depressed. Returns 0.0 if not. Returns 1.0 as long as a button is depressed. Returns 0.0 if not.
-Incoming messages are filtered with the InputValue (see [[tmd:aircraft:inputs|Inputs]].+Incoming messages are filtered with the InputValue (see [[aircraft:tmd:inputs|Inputs]]).
  
 <code>            <[input_active][ButtonDepressed][] <code>            <[input_active][ButtonDepressed][]
aircraft/tmd/logic.1562959396.txt.gz · Last modified: 2019/07/12 21:23 by jh