How to configure Gyro Drift or avoid Gyro Drift?

Dear Asobo, What parameters do we need to set to either cause or avoid Gyro
Drifting? which in consequence would make the HSI/CDI in the Garmin units to
starts loosing precision until the user performs a reset via key bind D. I
have an user reporting one of my products is suffering from Gyro Drift, but it
shouldn;t since it is a modern aircraft using G3X units, so wondering what
configuration I need to tweak to correct this issue. Thanks, Raul

Hello @Simbol This is done via events. The doc is
not very clear on this and is being updated but from what I understand:
GYRO_DRIFT_SET will add the passed value to the current drift. The name is
not great, it should rather be named GYRO_DRIFT_ADD. GYRO_DRIFT_SET_EX1
where you want to pass the value of heading + drift as a parameter
HEADING_GYRO_SET to reset to 0 drift @Nocturne
FYI Regards, Sylvain

@FlyingRaccoon, Thank you, however there are types of aircraft which should
not suffer from Gyro Drift since it is an electrical one, where as older
models made from vaccun system would do so. So my question is trying to
clarify what we do to configure it one way or another to force our airplanes
to avoid the drift or instead have a drift being injected by MSFS core sim. I
noticed the Working Title NXi 1000 is reseting the drift manually every 3
seconds to zero, however none of the Asobo Garmin units is doing this… so is
a bit confusing at the moment. Best, Raul

What simvar are you using? HEADING_INDICATOR? For a glasscockpit, we tend
to use PLANE_HEADING_DEGREES_MAGNETIC or PLANE_HEADING_DEGREES_
TRUE.

This is the default G3X from Asobo, and 1 user reported gyro drift
situations… which seems odd. So I was thinking I had to configure something
on one of the .cfg files to avoid it… R.

If you send the events I mentioned above, do you witness any heading
indication changes in the G3X? If so, I need to investigate more.

Hi Sylvain, Not me, but some users, however I will implement a correction
drift code every 5 seconds like Working Title is doing inside their G1000
Garmin mod. I will do mine via model behaviours .xml GT_UPDATE. So If you have
something more urgent in your plate move this to the back burner, I was just
curios if we could configure this via .cfg files and could not find anything
on the SDK, the only relevant information I found was the events you posted.
Thanks for the quick response. Best, Raul

@FlyingRaccoon it seems that the gyro drift
inc/dec events are not indexed. I.e. if I use 2 (>K:GYRO_DRIFT_INC) it will
adjust drift on all gyroscopes. Is there a chance to fix this?