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 16:10] – 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 686: | Line 683: | ||
===== Flight Controls ===== | ===== Flight Controls ===== | ||
+ | |||
+ | ==== input_default ==== | ||
+ | |||
+ | The input_default is used for all non-discrete (floating point) inputs. | ||
+ | |||
+ | Typically these are found for light dimmers, trim inputs, etc. which are typically operated with a joystick or with a cockpit dimmer or trim-wheel, etc. but button inputs are also possible with this generic input. | ||
+ | |||
+ | The '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | </ | ||
==== input_control ==== | ==== input_control ==== | ||
Line 694: | Line 715: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 700: | Line 721: | ||
</ | </ | ||
- | ===== Digital States | + | ===== Other Inputs |
==== input_binary ==== | ==== input_binary ==== | ||
- | < | + | The input_binary either outputs 1.0 (true) or 0.0 (false). With messages from the controls it can either be toggled (qualifier '' |
+ | |||
+ | Using [[aircraft: | ||
+ | |||
+ | <code> < | ||
+ | < | ||
+ | > | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | | ||
</ | </ | ||
==== input_discrete ==== | ==== input_discrete ==== | ||
- | < | + | There are several types of inputs that are represented by an input_discrete, |
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | The '' | ||
+ | |||
+ | <code> < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | | ||
</ | </ | ||
+ | |||
+ | The input_discrete has an output to the tmd only ('' | ||
==== input_discrete_cyclic ==== | ==== input_discrete_cyclic ==== | ||
- | < | + | The input_discrete_cyclic works exactly like the '' |
+ | |||
+ | <code> < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | | ||
</ | </ | ||
==== input_discrete_momentary ==== | ==== input_discrete_momentary ==== | ||
- | < | + | Again very similar to the '' |
- | </ | + | |
- | ==== input_event ==== | + | > Used for the magneto switch and starter or a hold-to-test switch. |
- | < | + | <code> < |
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | | ||
</ | </ | ||
- | ==== input_active ==== | ||
- | |||
- | < | ||
- | </ | ||
==== input_cyclic ==== | ==== input_cyclic ==== | ||
- | < | + | The input_cyclic is an input that loops back around to the beginning when it reaches the end of the '' |
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | <code> < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | | ||
</ | </ | ||
==== input_pair ==== | ==== input_pair ==== | ||
- | < | + | This is the typical frequency input that can be found in all kinds of aircraft. The frequency input has two values at the same time, an active and a standby value. The standby value is adjustable and can be set without having an immediate impact. Then the frequency is transferred (swapped) to the active frequency and the previously active frequency is now the standby frequency. |
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | For optional automatic frequency tuning (autotuning): | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | <code> < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | | ||
</ | </ | ||
- | ==== input_default | + | ==== input_event |
- | < | + | Receives messages and then fires events with the received message value. |
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * All events in the '' | ||
+ | |||
+ | The use of the '' | ||
+ | |||
+ | <code> < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | | ||
</ | </ | ||
- | ==== input_scratchpad | + | ==== input_active |
- | < | + | Outputs 1.0 to the tmd as long as a lever is grabbed or a button is depressed. |
+ | |||
+ | > 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 '' | ||
+ | |||
+ | <code> < | ||
+ | < | ||
+ | < | ||
+ | | ||
</ | </ | ||
+ |
aircraft/tmd/inputs.txt · Last modified: 2022/07/19 21:02 by jh