2022-04-11, 04:13 PM
Managed to get the fuel consumption to work correctly. It must already have a multiplier somewhere in the code so I've updated github, value changed in the lines below from 60 to 6 and now the fuel consumption is as expected.
sensor->connect_to(new Frequency(6))
// times by 6 to go from Hz to RPM
->connect_to(new FuelInterpreter("/Engine Fuel/curve"))
->connect_to(new SKOutputFloat("propulsion.engine.fuelconsumption", "/Engine Fuel/sk_path"));
All wired in now too, so its starts with the engine ignition.
sensor->connect_to(new Frequency(6))
// times by 6 to go from Hz to RPM
->connect_to(new FuelInterpreter("/Engine Fuel/curve"))
->connect_to(new SKOutputFloat("propulsion.engine.fuelconsumption", "/Engine Fuel/sk_path"));
All wired in now too, so its starts with the engine ignition.