User:Callahanp/Snippets

From FlightGear wiki
< User:Callahanp
Revision as of 18:38, 30 November 2017 by Callahanp (talk | contribs) (→‎Cockpit User Actions:)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Cockpit User Actions:
Action Effect Applies To
Turn of an instrument Adjustment that directly changes a dial position The dial position is read by a magnetic encoder and conveyed to the cockpit system. The cockpit system will apply calibration adjustments and forward the resulting dial position to the simulation software for update. Altimeter Barometric Pressure, CDI, ADF & Heading Indicator Dial and Heading Bug.
Turn of an instrument Adjustment that changes a dial position offset The rotational change of the knob measured using a magnetic encoder and is conveyed to the cockpit system. Depending on a design choice,
  • The cockpit system responds by simply modifying the offset value and allowing the simulation software to re-calculate the position of the dial
  • The cockpit system recalculates the new position of the dial using the current dial position and offset data from the simulator and the change in the offset. This value is sent back down to the instrument to move the dial to the correct position and offset and new heading data is sent back to the simulation software.|| Heading Indicator
Closing or Opening a Switch or change in Rotary Switch Position A controller polls a multiplexer to which an array of switches is connected. The change in a switch triggers a message forwarded to the Cockpit System that the switch has changed. The Cockpit System will calculate any value required by the simulation software as a result of the change in the switch and forward the information to the Flight Simulation Software. In some cases the switch may control the state of one or more indications on a radio or instrument. If such a change is possible, the cockpit software must obtain the new changed values from the flight simulator and update the cockpit displays Master Start, Circuit Breakers, Flaps, Audio Switches, On/Off Switches on Radios, Mode change buttons on ADF, Autopilot and Nav Radios.
Volume/Lighting Control Knob Turned An ADC will produce a voltage which changes when the knob is turned. When it changes significantly, the new voltage is forwarded to the cockpit system. The cockpit system converts the voltage reading into a number within a numeric range. The number is forwarded to the Flight Simulation Software to affect the affected volume or lighting.
Frequency Change Knob Turned A rotary encoder captures the direction and amount of movement. The display of frequency is directly modified by the change using a positive or negative increment. The resulting frequency is transmitted back to the Flight Simulation Software to update the simulated radio.
Simulator Display Actions
Changes to Header text Header text
needle position Example All instruments and gauges have at least one
Instrument Rotation Instrument Rotation is monitored by the cockpit software and updated when it changes in an observable amount. The cockpit software uses a table of calibrated values to drives a small servo motor to rotate the instrument through two PWM channels Attitude Indicator
Dial Position Dial Position that must be driven by a change in value within the simulation software is updated regularly by the Cockpit System. It uses a table of calibrated values to drive a small servo motor to rotate the dial using two PWM channels Heading Indicator
Display of a Number Example Example
Display of Letter As a result of pressing a button on the Autopilot, Different Letters are displayed. Pressing the button triggers a change forwarded to the , followed Example
Display of an on/off visual indication The cockpit obtains changes in the state of the indicator, forwarding the data to the cockpit hardware to turn on or turn off a specific LED From/To in a CDI, ADF, FRQ etc in the ADF Receiver, Miles/Minutes in a DME, HDG, NAV etc in an Autopilot.