Results 1 to 3 of 3

Thread: GPWS Offsets

  1. #1
    10+ Posting Member
    Join Date
    Sep 2014
    Location
    US
    Posts
    20
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    GPWS Offsets

    Hello again Nico,

    Sorry to keep nagging you but you've been helpful so I must call upon you again.
    Besides, you literally know the Level-D 767 inside and out.

    I've used your recent suggestions to use FSUIPC offsets for items that were not implemented in the SDK.

    Now I'm scratching my head regarding the GPWS.

    Im using EPIC so I must rely upon other means than Lekseecon SIOC version.

    Can you please provide any ideas how I might implement a way to trigger my physical annunciators such as " PULL UP", "GND PROX G/S INHB".

    Any help would be greatly appreciated.

    thank you,

    Mitch

  2. #2
    10+ Posting Member
    Join Date
    Sep 2014
    Location
    US
    Posts
    20
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: GPWS Offsets

    ??? Anyone...

  3. #3
    2000+ Poster - Never Leaves the Sim kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    2,202
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: GPWS Offsets

    Hi Mitch,
    Quote Originally Posted by Fan of Flying View Post
    Can you please provide any ideas how I might implement a way to trigger my physical annunciators such as " PULL UP", "GND PROX G/S INHB".
    I programmed a complete GPWS system in C++ in lekseecon for SIOC. To do this in EPIC is way too complicated. To give you an example of a small part of it, here the code for Mode3.
    Code:
    void lf_Mode3(void) {    
      const int32_t delay{5};  
      static int32_t count{delay};   
      static int32_t altitude_p{g_dbf.radio_altitude};
      static int32_t initial_alert_altitude{0};
      const int32_t loss{altitude_p - g_dbf.radio_altitude};   // loss in feet per second
      if (l_caut_annuns[static_cast<size_t>(VisualAlertBit::GND)]) {  
        count--;
        if (count <= 0) {
          count = delay;
          if (loss > 0) {
            if (lf_belowLineMode3(loss)) {
              if (g_dbf.radio_altitude < initial_alert_altitude) {
                l_GND = true;
                l_PROX = true;
                lf_addAural(AuralAlertBit::TooLowTerrain);
              }
            }
          }
        } else {
          l_GND = true;
          l_PROX = true;
        }
      } else if ((g_dbf.radio_altitude > 50) && (g_dbf.airspeed > 80)) {
        if (loss > 0) {
          if (lf_belowLineMode3(loss)) {
            l_GND = true;
            l_PROX = true;
            initial_alert_altitude = g_dbf.radio_altitude;
            lf_addAural(AuralAlertBit::DontSink);   
          }
        }
      }
      altitude_p = g_dbf.radio_altitude;
    }
    I was reffering to FSUIPC offset for simple annuns such as Overspeed. You won't find GPWS offsets.

    Regards,
    Nico
    P.S Please post you questions in the right Sub-Forum.
    Last edited by kiek; 06-25-2015 at 07:03 AM.