Search found 2262 matches

by JackZ
Wed Oct 11, 2023 1:20 pm
Forum: General Instrument Help
Topic: Trying to simulate instrument errors in a VSI
Replies: 18
Views: 4636

Re: Trying to simulate instrument errors in a VSI

Yeah. IVSI Have INSTANTANEOUS written on the face of the Gauge somewhere
by JackZ
Wed Oct 11, 2023 11:39 am
Forum: General Instrument Help
Topic: Trying to simulate instrument errors in a VSI
Replies: 18
Views: 4636

Re: Trying to simulate instrument errors in a VSI

Good proof of concept, but I am afraid that’s a bit of a hair pull. Most if not all of the modern aircrafts are equipped with IVSI (instantaneous vertical speed indicator), built to counteract the effect you’re trying to implement by using counterweights and small pistons. https://www.mcico.com/reso...
by JackZ
Tue Sep 19, 2023 7:30 am
Forum: Cockpit building
Topic: Source for low profile rotary encoder and housing
Replies: 1
Views: 1612

Re: Source for low profile rotary encoder and housing

Flat encoders which were used mainly in old mouses with ball are a good solution. Only 1.2 mm width you have to add a shaft though and there’s no pushbutton
by JackZ
Wed Sep 13, 2023 2:41 pm
Forum: Air Manager
Topic: Generic Hardware?
Replies: 7
Views: 1912

Re: Generic Hardware?

phxflyer wrote: Tue Sep 12, 2023 10:33 pm I recently purchased Air Manager 4.1 and can only find 6 items in the generic hardware items.

A youtube video by Russ Barlow, suggests 60 plus items are there.

anyone know how to get the rest?
Hello, Thank you, maybe?
by JackZ
Thu Sep 07, 2023 10:32 am
Forum: General Instrument Help
Topic: Trying to simulate instrument errors in a VSI
Replies: 18
Views: 4636

Re: VSI and altitude

The calibration hole is mainly here to introduce a certain lag in the indication so it’s more realistic, instead of showing an instant rate of climb/descent where the needle literally jumps to the max ROC/ROD. A slight delay if a couple of seconds is introduced.
by JackZ
Thu Sep 07, 2023 1:55 am
Forum: General Instrument Help
Topic: Trying to simulate instrument errors in a VSI
Replies: 18
Views: 4636

Re: VSI and altitude

I “think” you are probably overthinking this. In the standard atmosphere model the pressure decreases “almost” linearly with altitude since density is derived from temperature that changes linearly with altitude. The real formula is here: http://fisicaatmo.at.fcen.uba.ar/practicas/ISAweb.pdf Integra...
by JackZ
Wed Sep 06, 2023 9:06 pm
Forum: Air Manager Help
Topic: ((autopilot_state >> 4) & 1 == 1) )
Replies: 12
Views: 681

Re: ((autopilot_state >> 4) & 1 == 1) )

Interesting question.
Not sure if in Lua true is equal to 1 and false equal to 0 as in other languages. Not a Lua specialist to be honest, just using the normal stuff, never used bitwise operations.

Take care my friend!
by JackZ
Wed Sep 06, 2023 11:03 am
Forum: Air Manager Help
Topic: ((autopilot_state >> 4) & 1 == 1) )
Replies: 12
Views: 681

Re: ((autopilot_state >> 4) & 1 == 1) )

Hi guys if ((autopilot_state >> 4) & 1 == 1 basically is shifting right the bits of autopilot_state so by shifting 4 places and then 'anding' with 1 means we are looking specifically at the bit 4 in autopilot_state. the & 1 == 1 could simply be & 1 as far as I can see as this is operati...
by JackZ
Wed Sep 06, 2023 5:58 am
Forum: Air Manager Help
Topic: ((autopilot_state >> 4) & 1 == 1) )
Replies: 12
Views: 681

Re: ((autopilot_state >> 4) & 1 == 1) )

1==1 is always true AFAIK. I don’t know what’s the point with this part of the code. And without the surrounding code it is difficult to understand what it is doing. Where autopilot_state gets its value from? Is it for MSFS? Which addon? The best is to tell which autopilot instrument the code extrac...
by JackZ
Sun Sep 03, 2023 5:08 pm
Forum: General Instrument Help
Topic: Trying to simulate instrument errors in a VSI
Replies: 18
Views: 4636

Re: VSI and altitude

Hi. What you described is the principle for an altimeter. The aneroid capsule is sealed and submitted to the ambient static pressure taken from the static port. Less ambient pressure outside the capsule, inflates the capsule and moves the needle through a set of reduction gear. A VSI in its principl...