aircraft:tmd:inputs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
aircraft:tmd:inputs [2019/07/20 17:07] – jh | aircraft:tmd:inputs [2022/07/19 21:02] (current) – 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: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
- | < | + | |
> | > | ||
</ | </ | ||
- | '' | + | '' |
- | In the example the button moves by 0.001 meter or 1 mm. To increase the amount of translation change | + | In the example the button moves by 0.001 meter or 1 mm. To increase the amount of translation change |
- | + | ||
- | > This may be changed in the future to be less confusing. | + | |
=== SoundObjects === | === SoundObjects === | ||
Line 207: | Line 204: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 236: | Line 233: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 277: | Line 274: | ||
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 326: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 362: | Line 359: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 431: | Line 428: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 464: | Line 461: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 528: | Line 525: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 553: | Line 550: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 612: | Line 609: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 644: | Line 641: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 654: | Line 651: | ||
< | < | ||
- | < | + | < |
- | < | + | < |
< | < | ||
< | < | ||
Line 668: | Line 665: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 677: | Line 674: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 698: | Line 695: | ||
< | < | ||
- | < | + | < |
< | < | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 718: | Line 715: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 724: | Line 721: | ||
</ | </ | ||
- | ===== Digital States | + | ===== Other Inputs |
==== input_binary ==== | ==== input_binary ==== | ||
Line 733: | Line 730: | ||
< | < | ||
- | < | + | < |
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 755: | Line 752: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 763: | Line 760: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 772: | Line 769: | ||
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 or a button | + | Again very similar to the '' |
- | < | + | > Used for the magneto switch and starter or a hold-to-test switch. |
- | < | + | |
- | < | + | < |
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
> | > | ||
</ | </ | ||
- | |||
- | ===== Other Inputs ===== | ||
==== input_cyclic ==== | ==== input_cyclic ==== | ||
Line 817: | Line 809: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 842: | Line 834: | ||
< | < | ||
- | < | + | < |
- | < | + | < |
< | < | ||
< | < | ||
Line 851: | Line 843: | ||
> | > | ||
< | < | ||
- | < | + | < |
- | < | + | < |
< | < | ||
< | < | ||
Line 864: | Line 856: | ||
</ | </ | ||
- | ==== 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.1563635255.txt.gz · Last modified: 2019/07/20 17:07 by jh