UDP Output

From Silent Wings Wiki
Revision as of 23:08, 19 December 2007 by Thomas (talk | contribs) (New page: ''Note: This feature is implemented in Silent Wings 1.08. It will not work with earlier versions'' Silent Wings can output various flight data to a configurable UDP socket. This can be us...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: This feature is implemented in Silent Wings 1.08. It will not work with earlier versions

Silent Wings can output various flight data to a configurable UDP socket. This can be useful for add-on developers and cockpit builders. Specifically, we support the Simkits protocol for output of flight data to SimKits instrument panels. In addition, we support the Condor format and our own binary format.

use_output_udp      = false
output_udp_protocol = simmeters
output_udp_address  = localhost
output_udp_port     = 6060
output_udp_rate     = 30
    • Simkits Protocol **
    • Condor Protocol **
    • Binary Protocol **

The binary protocol is the most compact, and gives the best precision, but can be harder to program and debug.

   unsigned int timestamp;                // [ 0 ... 0x7FFFFFFF  ] Millisec  Timestamp
   double position_latitude;        // [ -90   ... 90      ] Degrees   Position latitude,
   double position_longitude;       // [ -180  ... 180     ] Degrees            longitude,
   double position_altitude_QNH;    // [ -200  ... 120000  ] m                  altitude - relative to Sea-level
   float  altitude_ground;          // [ 0     ... 120000  ] m          Altitude above gnd
   float  altitude_ground_45;       // [ 0     ... 10000   ] m          gnd 45 degrees ahead (NOT IMPLEMENTED YET),
   float  altitude_ground_forward;  // [ 0     ... 10000   ] m          gnd straight ahead
   float  flpos_roll;               // [ -180  ... 180     ] Degrees
   float  flpos_pitch;              // [ -180  ... 180     ] Degrees
   float  flpos_yaw;                // [ -180  ... 180     ] Degrees
   float  d_roll
   float  d_pitch
   float  d_yaw
   float  vx                        // m/sec. Speed vector in body-axis
   float  vy 
   float  vz                
   float  vx_wind                   // m/sec. Speed vector in body-axis, relative to wind
   float  vy_wind
   float  vz_wind 
   float  v_eas                     // m/sec. Equivalent (indicated) air speed. 
   float  angle_of_attack;          // [ -180  ... 180     ] Degrees   Angle of attack
   float  angle_sideslip;           // [ -180  ... 180     ] Degrees   Sideslip angle
   float  vario                     // m/s. TE-compensated variometer.
   float  heading                   // Degrees. Compass heading.
   float  rate_of_turn              // Deg/sec. Rate of turn.
   float  airpressure               // [ 0     ... 1000000 ] pascal    Local air pressure (at aircraft altitude).
   float  density                   // Air density at aircraft altitude.
   float  temperature               // Celcius. Air temperature at aircraft altitude.