• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSXA GYRO_DRIFT_SET

Messages
1,749
Country
unitedstates
I could use some help on gyro drift increase and decrease functions.

I have a slave/free switch and have slave assigned to "HEADING_GYRO_SET" (Sets heading indicator to 0 drift error.)
and for free i have assigned "GYRO_DRIFT_SET" (Sets heading indicator drift angle (degrees).)

Then i have a spring loaded switch for L and R assigned to "GYRO_DRIFT_INC" "GYRO_DRIFT_DEC" (Increments heading indicator) (Decrements heading indicator).

According to my manual slave has zero drift and free allows you to use the spring loaded switch L and R to manually correct the drift error.

I have this all set up like i posted but the gyro drift inc and dec does nothing and not sure what values to use for gyro drift set. Heading gyro set i assume does not need a value as it's already set for zero drift.

Any help would be very much appreciated!
 
Go with L:Vars and do it how you want. The commands do work but probably not how you want them to.
 
I would prefer to learn how the default system works just having trouble testing as nothing moves. Someone must have done this type of setup!
 
I tried using "GYRO_DRIFT_INC" "GYRO_DRIFT_DEC" and they don't work for me either.
 
Ok, there's quite a bit more to this than just those event IDs. What variable are you using to drive the heading display value? There is no 'free' vs 'slaved' mode for the gyro heading variables. GYRO_DRIFT_SET will physically set a drift error value while GYRO_DRIFT_INC and GYRO_DRIFT_DEC will change the error value in increments. The error value is available in GYRO_DRIFT_ERROR and PLANE_HEADING_DEGREES_GYRO is the variable that is prone to gyro drift, whereas PLANE_HEADING_DEGREES_MAGNETIC is not.
 
Ok, there's quite a bit more to this than just those event IDs. What variable are you using to drive the heading display value? There is no 'free' vs 'slaved' mode for the gyro heading variables. GYRO_DRIFT_SET will physically set a drift error value while GYRO_DRIFT_INC and GYRO_DRIFT_DEC will change the error value in increments. The error value is available in GYRO_DRIFT_ERROR and PLANE_HEADING_DEGREES_GYRO is the variable that is prone to gyro drift, whereas PLANE_HEADING_DEGREES_MAGNETIC is not.
I am using PLANE_HEADING_DEGREES_GYRO. And your post now explains why the card does not move. I now understand that the error value can be increased or decreased. So i would need to create a custom Lvar to move the card and use slave to set the error to zero and free would use a error value.

Here is my plan:
1. Make the slave mode keep the error value set to zero.
2. Make the free mode have some error value.
3. When you press the L or R slave switch which normally rotates the card i will use the directional reset to reset the error and have no animation for the card as this would throw the accuracy off and the CDI needle would not be accurate if i used a custom Lvar to adjust the card.
 
Last edited:
I set the free mode to 10 degrees and slave to 0.
I setup a test window using GYRO DRIFT ERROR variable.
I have gyro enabled in realism.
I found there is a cfg setting. Directional_indicators must be not set to slaved.

When i set the slave/free switch to free the heading card spins constantly. Still trying to figure this out!

Code:
(L:SLAVE_FREE1,bool) 1 == if{ 10 (>K:GYRO_DRIFT_SET) }
(L:SLAVE_FREE1,bool) 0 == if{ 0 (>K:GYRO_DRIFT_SET) }

    (L:SLAVE_LR1,bool) -1 ==
    (L:SLAVE_LR2,bool) -1 == or
    (L:SLAVE_LR1,bool) 1 == or
    (L:SLAVE_LR2,bool) 1 == or if{ (>K:HEADING_GYRO_SET) }
 
Last edited:
SOLVED!:yikes:

I found that gyro drift set does rotate the heading card and is not for how much error value is set. The value for error is a standard value.

You must have these settings:
1. Gyro enabled in realism.
2. Aircraft cfg setting. Directional_indicators set to 2.

Code:
<!--          SLAVE MODE NO ERROR             -->
(L:SLAVE_FREE1,bool) 0 == if{ (>K:HEADING_GYRO_SET) }

<!--          FREE MODE / ROTATES CARD LEFT FOR MANUAL CORRECTION             -->
    (L:SLAVE_LR1,bool) -1 ==
    (L:SLAVE_LR2,bool) -1 == or (L:SLAVE_FREE1,bool) 1 == and if{ (>K:GYRO_DRIFT_DEC) }

<!--          FREE MODE / ROTATES CARD RIGHT FOR MANUAL CORRECTION             -->
    (L:SLAVE_LR1,bool) 1 ==
    (L:SLAVE_LR2,bool) 1 == or (L:SLAVE_FREE1,bool) 1 == and if{ (>K:GYRO_DRIFT_INC) }

Thanks everyone for posting to keep this topic alive as i have now have it all worked out!
 
Last edited:
Back
Top