Commit Graph

154 Commits

Author SHA1 Message Date
Matthew Kennedy 86019ef085 don't pass around a scheduler to all PWM, get it from engine 2025-03-02 12:31:30 -08:00
Matthew Kennedy e93050fa11 lua hook to read idle position 2025-02-26 22:07:20 -08:00
Matthew Kennedy a034cd59eb remove EFI_ERROR_CODE 2024-12-28 15:21:47 -08:00
Matthew Kennedy 744f0ff2f0 if (auto x = foo()) 2024-12-26 00:25:20 -08:00
Matthew Kennedy cf58ece693 nix on SENT 2024-12-23 22:06:05 -08:00
Matthew Kennedy e4d6e61a78 remove pid_s::periodMs, the user shouldn't set this 2024-12-23 13:12:31 -08:00
Matthew Kennedy 8312686f22 AC state change uses a timer 2024-09-12 23:52:10 -07:00
Matthew Kennedy ff5e47c95d
Engine modules participate in the build system (#452)
* infrastructure for engine modules in the build

* fully move fuel pump

* fan

* gear detector

* gear detect

* fan control cleanup

* trip odometer

* shuffle makefiles around a little

* minor format
2024-07-23 18:05:43 -07:00
Matthew Kennedy dd8dea61c0 rename Executor -> Scheduler 2024-07-11 17:03:13 -07:00
Matthew Kennedy 80358ad54e setTimeNowUs(): replace global fiddling with a functino call 2024-04-27 01:59:38 -07:00
dynfer 79aaec84de
Lua idle rpm adder (#409)
* lua idle rpm adder

* idle target fix
2024-04-09 22:40:31 -07:00
Matthew Kennedy e5efd5ab1b put it in the right spot duh 2024-01-23 10:49:11 -08:00
Matthew Kennedy 6a92e0cc69 happy non-firmware 2024-01-23 10:23:15 -08:00
Matthew Kennedy b81c30bd4a getAuxDigital #351 2024-01-23 10:15:58 -08:00
Matthew Kennedy c814e6fc29 unused lua parameter 2024-01-06 18:55:39 -08:00
Matthew Kennedy 2b519d13e8 fix MRE 2023-11-03 15:18:47 -07:00
Matthew Kennedy 97c084cc24 fix simulator 2023-11-03 15:08:28 -07:00
Matthew Kennedy 1310eb4e29 lua and scheduler shadowing 2023-11-01 13:46:22 -07:00
Matthew Kennedy 408862d69f strongly type can bus index so we can't have the same bug again 2023-10-30 23:33:59 -07:00
Matthew Kennedy 733c0b10c6 add lua odometer reset function 2023-10-03 01:11:35 -07:00
Matthew Kennedy 727f3a7a76 boost is engine module 2023-09-07 12:41:56 -07:00
Matthew Kennedy 588ad5c5e2 only get outputs in non-test land 2023-07-01 20:50:21 -07:00
Matthew Kennedy 349d3a9b48 completely unused CanCategory 2023-05-30 22:13:54 -07:00
Matthew Kennedy a03d9ad3c9 missed a spot 2023-05-15 17:23:44 -07:00
Matthew Kennedy 82794403f8 gear detection in to the sensor model 2023-04-01 23:08:06 -07:00
Matthew Kennedy caa16abcd4 wideband on second can (#5108) 2023-02-20 11:29:25 -05:00
rusefillc 12969bc596 https://rusefi.com/forum/viewtopic.php?f=2&t=2484 luaIgnCut 2023-01-02 18:06:38 -05:00
rusefillc 6aa1a1251b getGlobalConfigurationVersion 2022-12-20 21:13:34 -05:00
rusefillc 32d28d878b Add setBoostDutyAdd function to control only boost duty #4900 2022-12-19 12:05:06 -05:00
Andrey fe780d477e kinetis asking for guard, also I've must have messed up something 2022-12-17 18:04:54 -05:00
rusefillc d951f36794 guards 2022-12-17 14:36:27 -05:00
Matthew Kennedy 9e60b52ed4 fix warnings (#4840)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 10:11:14 -05:00
rusefi 4997dcde9d minor clean-up 2022-11-26 21:53:31 -05:00
Andrey Gusakov 355f0c51fb LUA/SENT: hook to get RAW sig0 and sig1 (WIP)
TODO: how to return two (N) values from LUA hook?
2022-11-17 16:17:27 -05:00
rusefi 21f063e278 copy-paste bad 2022-11-15 12:28:31 -05:00
rusefillc 545734f944 would need to stop the buzzing at PRI. 2022-11-15 11:01:56 -05:00
rusefi 80e02de00b https://rusefi.com/forum/viewtopic.php?p=46603#p46603
calling 'setTimeout' on bad self (cpp class not export)
2022-11-06 20:09:01 -05:00
rusefillc 1aea98fd26 Lua to enable self stimulation #4712 2022-10-29 21:26:42 -04:00
rusefillc e3d27f33e8 Lua to enable self stimulation #4712 2022-10-28 19:52:16 -04:00
rusefillc c0ab0c7de3 minor move of code around 2022-10-28 19:31:17 -04:00
rusefi 8f5abb88af GM SENT ETB bench test in NJ #4688 2022-10-26 17:33:10 -04:00
rusefillc deb38e8003 GM SENT ETB bench test in NJ #4688 2022-10-26 12:46:50 -04:00
rusefi ea9e172ced GM SENT ETB bench test in NJ #4688 2022-10-26 12:17:14 -04:00
rusefi 9a21fdbb40 GM SENT ETB bench test in NJ #4688 2022-10-26 09:29:04 -04:00
Andrey G 6411ef2021 SENT glue to LUA (#4700)
* use tabs

* SENT: Lua glue: getSentValue returns ETB position now

Can be tested with following LUA script:
setTickRate(100)
function onTick()
	pos = getSentValue(1)
	setLuaGauge(1, 10000 * pos)
	print(pos)
end
2022-10-26 06:42:14 -04:00
rusefi 0f21808d21 GM ETB bench test in NJ #4688
SENT to Lua integration
2022-10-22 22:46:37 -04:00
rusefillc 367d2ec324 Lua aux gauge #4672 2022-10-17 20:01:46 -04:00
rusefillc 1a9baedd49 Mark is asking for VIN number field fix #3967 2022-10-05 18:26:12 -04:00
Andrey 3d329639ea Mark is asking for VIN number field #3967 2022-10-04 21:12:51 -04:00
rusefillc d83833076a moving confusing around 2022-09-19 12:32:45 -04:00