]> git.mxchange.org Git - flightgear.git/commitdiff
Updated note about specifying the initial state of a connector's switch.
authorcurt <curt>
Mon, 3 Feb 2003 22:19:36 +0000 (22:19 +0000)
committercurt <curt>
Mon, 3 Feb 2003 22:19:36 +0000 (22:19 +0000)
docs-mini/README.electrical

index 5c3c409c58767d9ef1af847258e1b46fce98246c..e37ffe56ecad8bd23b5dba8b87f3bb46bf9f7567 100644 (file)
@@ -121,6 +121,7 @@ An connector entry could look like the following:
     <input>Alternator 1</input>
     <output>Virtual Bus 1</output>
     <switch>/controls/switches/master-alt</switch>
+    <initial-state>off</initial-state>  <!-- optional tag -->
   </connector>
 
 A connector specifies and input, and output, and any number of
@@ -138,6 +139,18 @@ You can have an arbitrary number of <switch> entries.  The switches
 are wired in series so all of them need to be on (i.e. true) in order
 for current to pass to the output.
 
+Note: by default the system forces any listed switches to be true.
+The assumption is that not every aircraft or cockpit may impliment
+every available switch, so rather than having systems be switched off,
+with no way to turn them on, we default to switched on.
+
+This is a problem however with the starter switch which we want to be
+initialized to "off".  To solve this problem you can specify
+<initial-state>off</initial-state> or
+<initial-state>on</initial-state> Switches default to on, so you
+really only need to specify this tag if you want the connector's
+switch to default to off.
+
 
 Summary
 =======