aircraft:tmd:inputs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
aircraft:tmd:inputs [2019/07/20 17:07] – jh | aircraft:tmd:inputs [2022/07/19 21:00] – jh | ||
---|---|---|---|
Line 22: | Line 22: | ||
E.g. you don't need to come up with different names for the graphics section than for the physics. Just re-use the same one everywhere. Much easier. | E.g. you don't need to come up with different names for the graphics section than for the physics. Just re-use the same one everywhere. Much easier. | ||
- | E.g. In the GraphicObjects section you can **re-use the same name for the graphic object**, e.g. the hingedbodygraphics LandingLightSwitch can use the AngleID | + | E.g. In the GraphicObjects section you can **re-use the same name for the graphic object**, e.g. the hingedbodygraphics LandingLightSwitch can use the InputID |
**...Knob, ...Switch** | **...Knob, ...Switch** | ||
Line 79: | Line 79: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 107: | Line 107: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
- | < | + | |
> | > | ||
</ | </ | ||
Line 207: | Line 206: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 236: | Line 235: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 277: | Line 276: | ||
The typical chain consists of '' | The typical chain consists of '' | ||
- | The setup is similar to the toggle switch only with minor differences like the use of '' | + | The setup is similar to the toggle switch only with minor differences like the use of '' |
=== ControlObjects === | === ControlObjects === | ||
Line 329: | Line 328: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 362: | Line 361: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 431: | Line 430: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 464: | Line 463: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 528: | Line 527: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 553: | Line 552: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 612: | Line 611: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 644: | Line 643: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 654: | Line 653: | ||
< | < | ||
- | < | + | < |
- | < | + | < |
< | < | ||
< | < | ||
Line 668: | Line 667: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 677: | Line 676: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 698: | Line 697: | ||
< | < | ||
- | < | + | < |
< | < | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 718: | Line 717: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 724: | Line 723: | ||
</ | </ | ||
- | ===== Digital States | + | ===== Other Inputs |
==== input_binary ==== | ==== input_binary ==== | ||
Line 733: | Line 732: | ||
< | < | ||
- | < | + | < |
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 755: | Line 754: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 763: | Line 762: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 772: | Line 771: | ||
The input_discrete has an output to the tmd only ('' | The input_discrete has an output to the tmd only ('' | ||
- | ==== input_event | + | ==== input_discrete_cyclic |
- | Receives messages and then fires events | + | The input_discrete_cyclic works exactly like the '' |
- | * '' | + | < |
- | * '' | + | < |
- | * All events in the '' | + | < |
- | + | < | |
- | The use of the '' | + | < |
- | + | <[bool][Toggle][true]> | |
- | < | + | |
- | < | + | |
- | < | + | |
- | > | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <[string8][Events][ DEV0.Trigger | + | |
> | > | ||
</ | </ | ||
- | ==== input_active | + | ==== input_discrete_momentary |
- | Outputs 1.0 to the tmd as long as a lever is grabbed | + | Again very similar to the '' |
+ | |||
+ | > Used for the magneto switch and starter | ||
- | < | + | < |
- | < | + | < |
- | < | + | < |
+ | < | ||
+ | < | ||
+ | < | ||
> | > | ||
</ | </ | ||
- | |||
- | ===== Other Inputs ===== | ||
==== input_cyclic ==== | ==== input_cyclic ==== | ||
Line 817: | Line 811: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 842: | Line 836: | ||
< | < | ||
- | < | + | < |
- | < | + | < |
< | < | ||
< | < | ||
Line 851: | Line 845: | ||
> | > | ||
< | < | ||
- | < | + | < |
- | < | + | < |
< | < | ||
< | < | ||
Line 864: | Line 858: | ||
</ | </ | ||
- | ==== input_discrete_cyclic | + | ==== input_event |
- | The input_discrete_cyclic works exactly like the '' | + | Receives messages and then fires events |
- | < | + | * '' |
- | < | + | * '' |
- | < | + | * All events in the '' |
- | < | + | |
- | < | + | The use of the '' |
- | <[bool][Toggle][true]> | + | |
+ | < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <[string8][Events][ DEV0.Trigger | ||
> | > | ||
</ | </ | ||
- | ==== input_discrete_momentary | + | ==== input_active |
- | Again very similar to the '' | + | Outputs 1.0 to the tmd as long as a lever is grabbed or a button |
- | > Used for the magneto switch and starter or a hold-to-test switch. | + | > Typically this is only used to make a light illuminate as long as a button is pressed or to give visual feedback that a control is grabbed. Don't use this for every single button in combination with an event_edge, this should be done with the '' |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | |
- | < | + | |
- | < | + | |
> | > | ||
</ | </ | ||
- | |||
aircraft/tmd/inputs.txt · Last modified: 2022/07/19 21:02 by jh