Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Twin Otter HDG hold fix

Featured Replies

This is just a little fix to the Twin Otter Extended module. I noticed (eventually) that the behaviour of the HDG hold function is inconsistent with how it works in the VC and also with the real-world AP-106 manual. This is because it uses the standard AP_HDG_HOLD toggle function. Evidently that function syncs the heading bug to the current heading before activating HDG hold, which is incorrect behaviour. Using the ON/OFF functions works properly (i.e. without syncing the bug). Here's a version that works properly:

 

function TW_AP_HDG_hold ()

--    _AP_HDG_HOLD ()

    if ipc.readLvar("FDR_AP_HDG_Mode") == 0 then
        _AP_HDG_HOLD_ON()
    else
        _AP_HDG_HOLD_OFF()
    end

--    ipc.writeLvar("L:AP_HDG_Anim", 1)
--   _sleep(50,100)
--    ipc.writeLvar("L:AP_HDG_Anim", 0)
--    Twotter_Switchsound_2 ()
end

 

MarkH

https://www.youtube.com/@AlmostAviation
AMD Ryzen 7 9800X3D / 64Gb DDR5 / Zotac RTX 5070 Ti / 2560 x 1440 display

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.