Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cockpit shaking when carb icing affects aircraft performance #1526

Open
wlbragg opened this issue Jan 15, 2025 · 2 comments
Open

Add cockpit shaking when carb icing affects aircraft performance #1526

wlbragg opened this issue Jan 15, 2025 · 2 comments

Comments

@wlbragg
Copy link
Collaborator

wlbragg commented Jan 15, 2025

Currently there is little evidence that there is carb icing taking place. It's been stated that the aircraft runs "rough" when this condition causes ice to build up and restrict fuel flow. This fix will add a shaking effect that is meant to simulate "running rough".

See https://forum.flightgear.org/viewtopic.php?f=25&t=42734&start=15#p426780

This is a very simple addition to Nasal/engine.nas

if ( carb_ice > 0.149 ) shake_view();

....
      # since the carb_icing_rate gives an arbitrary final value, the rate is then scaled down by 0.00001 to ensure ice
       # accumulates as slowly as expected
       #carb_ice = carb_ice + carb_icing_rate * 0.00001;
       carb_ice = carb_ice + carb_icing_rate * 0.00001 * carb_rate_mult;
       carb_ice = std.max(0.0, std.min(carb_ice, 1.0));
       if ( carb_ice > 0.149 ) shake_view();
...
@hbeni
Copy link
Contributor

hbeni commented Jan 15, 2025

Cool!
However, I interpreted "running rough" not as shaking, but as the RPM and power not stable.
What exactly is a rough engine?

What I think to remember from my years old memory of running a carbureted car:
when I had icing, the power would drop significantly, like letting go of the gas pedal (despite pressing it). Pressing the pedal made things worse. I don't recall shaking or such, but rises and drops in power, like when i shortly press and let go of the pedal.

I feel we need some footage from reality here?
Probably David Megginson can tell us something.

@wlbragg
Copy link
Collaborator Author

wlbragg commented Jan 16, 2025

I agree, the main purpose is to get an indicator that we can notice in the sim. Falling out of the sky is a rather rude indicator that something is wrong. :) I don't think vibration is out of the question, but a real shake like when starting the engine may be too much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants