aircraft:tmd:logic
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
aircraft:tmd:logic [2019/07/12 21:11] – jh | aircraft:tmd:logic [2022/07/19 21:04] (current) – [input_active] jh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Math ====== | + | ====== Math And Logic in Aerofly FS 2 ====== |
+ | Aerofly FS 2 [[aircraft: | ||
+ | |||
+ | There is a wide range of objects available for you to set up your digital systems or simulate new physical system within the tmd. | ||
+ | |||
+ | From simple scaling to complex logic circuits and even flight controller programming, | ||
+ | |||
+ | Together with the powerful [[aircraft: | ||
+ | |||
+ | > All of the following components have an '' | ||
+ | ===== Simple Algebra ===== | ||
+ | |||
+ | Let us introduce the simple mathematical building blocks one at a time. | ||
==== constant ==== | ==== constant ==== | ||
Line 19: | Line 31: | ||
< | < | ||
< | < | ||
- | <[string8][Offset][0.0]> | + | <[float64][Offset][0.0]> |
> | > | ||
</ | </ | ||
Line 147: | Line 159: | ||
</ | </ | ||
- | ===== Dynamic | + | ===== Dynamic |
+ | Moving on from the basic functions, let's get into the more advanced mathematics. | ||
==== integral ==== | ==== integral ==== | ||
Line 158: | 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: | + | The integral can be reset to 0.0 with the '' |
< | < | ||
Line 225: | Line 238: | ||
</ | </ | ||
- | ====== Logic Circuits ====== | + | ===== Binary / Discretization |
- | + | ||
- | ===== Any value to binary | + | |
==== logic_greater ==== | ==== logic_greater ==== | ||
Line 330: | Line 341: | ||
</ | </ | ||
- | ===== Discrete and Binary Operations | + | ===== Logic Gates ===== |
==== input_active ==== | ==== input_active ==== | ||
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: | + | Incoming messages are filtered with the InputValue (see [[aircraft:tmd: |
< | < |
aircraft/tmd/logic.1562958686.txt.gz · Last modified: 2019/07/12 21:11 by jh