Add "isAcClutchEngaged" to Lua #5256

This commit is contained in:
Andrey 2023-06-11 22:24:51 -04:00
parent a361d52489
commit 442e490fcb
2 changed files with 34 additions and 0 deletions

View File

@ -904,6 +904,39 @@ float getOutputValueByName(const char *name) {
case -1712045196:
return engine->boostController.boostControlTarget;
#endif
// acButtonState
case -1809939546:
return engine->module<AcController>()->acButtonState;
// m_acEnabled
case 449790048:
return engine->module<AcController>()->m_acEnabled;
// engineTooSlow
case 1183441554:
return engine->module<AcController>()->engineTooSlow;
// engineTooFast
case 1182962523:
return engine->module<AcController>()->engineTooFast;
// noClt
case 268704037:
return engine->module<AcController>()->noClt;
// engineTooHot
case 1467505752:
return engine->module<AcController>()->engineTooHot;
// tpsTooHigh
case 249515182:
return engine->module<AcController>()->tpsTooHigh;
// isDisabledByLua
case 1199244598:
return engine->module<AcController>()->isDisabledByLua;
// acCompressorState
case -1015278697:
return engine->module<AcController>()->acCompressorState;
// latest_usage_ac_control
case 1630756809:
return engine->module<AcController>()->latest_usage_ac_control;
// acSwitchLastChangeTimeMs
case -954065340:
return engine->module<AcController>()->acSwitchLastChangeTimeMs;
// isPrime
case -1429286498:
return engine->module<FuelPumpController>()->isPrime;

View File

@ -75,6 +75,7 @@ Usages:
folder: controllers/actuators
prepend: integration/rusefi_config_shared.txt
output_name: ac
engineModule: AcController
- name: fan_control
java: FanControl.java