Commit Graph

531 Commits

Author SHA1 Message Date
Matthew Kennedy 3f8a2894c7 formatting: (void) and trailing whitespace 2024-09-17 15:38:29 -07:00
Matthew Kennedy ee093ab434 Merge branch 'master' into main-loop 2024-09-17 00:45:00 -07:00
Matthew Kennedy 8312686f22 AC state change uses a timer 2024-09-12 23:52:10 -07:00
Matthew Kennedy e00bc56666 tachometer onFastCallback 2024-09-03 16:32:22 -07:00
Matthew Kennedy c3e1435f39 move tachometer to modules dir 2024-09-03 16:28:54 -07:00
Matthew Kennedy 761efd862c
MAP avg uses engine module callbacks (#475)
* use engine module callbacks

* happy tests

* happy small-can-board

* interact with map avg via module

* simplify map avg init

* tweaks

* omit module to disable it instead!

* unnecessary guard

* minor cleanups

* unnecessary branch - lookups for these tables are fine at 0 rpm

* oop
2024-08-29 22:38:30 -07:00
Matthew Kennedy 12321d4325 map averaging includes 2024-08-29 13:29:53 -07:00
Matthew Kennedy 96e1df05af move perf trace 2024-08-12 22:17:04 -07:00
Matthew Kennedy e4e0824f57 misc format/comment cleanups 2024-08-07 12:01:08 -07:00
Matthew Kennedy f3045af367 AE is engine module 2024-08-01 21:45:54 -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 f4ddf26313 for loop formatting 2024-07-03 00:26:17 -07:00
Matthew Kennedy cf87e64119 compile-time enforcement of printf strings 2024-06-10 00:51:14 -07:00
Matthew Kennedy e70d4c7528 implement mazda L cam 2024-05-27 21:07:57 -07:00
Matthew Kennedy f6f20f96d7 fix main relay 2024-04-25 16:45:36 -07:00
Matthew Kennedy e6442f06f0 main relay bench test uses a timer 2024-04-25 16:22:16 -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 97c084cc24 fix simulator 2023-11-03 15:08:28 -07:00
Matthew Kennedy 7b955cb1b3 fixAngle -> wrapAngle 2023-10-19 14:34:29 -07:00
Matthew Kennedy ad6c5af975
speedo output (#269)
* speedo output

* s

* fix init
2023-10-15 14:59:39 -07:00
Matthew Kennedy d734d2d116
remove warning message from configuration (#259)
* remove warning_message

* dead type

* don't zero a field that isn't there
2023-09-25 02:07:42 -07:00
Matthew Kennedy 4ddd1ffbdb rename 2jz -> toyota 3 tooth 2023-09-14 13:53:16 -07:00
Matthew Kennedy 727f3a7a76 boost is engine module 2023-09-07 12:41:56 -07:00
Matthew Kennedy cb498f726a boost control runs in fast callback 2023-09-07 12:32:21 -07:00
Matthew Kennedy 94c29d4cfb
simplify cam input single tooth modes (#178) 2023-08-03 00:52:19 -07:00
Matthew Kennedy fb8cb4987e
fan control is engine module (#203)
* fan is engine module

* mockable AC

* mockable AC

* mock AC controller in fan test

* constexpr fan livedata

* isPtr
2023-07-21 01:28:25 -07:00
Matthew Kennedy 3337510d11 #35 2023-06-05 14:28:50 -07:00
Matthew Kennedy 06b39dbb07
trigger and engine types -> enum class (#113)
* trigger type is enum class

* java tooling

* enum class engine_type_e

* enum class engine_type_e
2023-06-01 13:47:49 -07:00
Matthew Kennedy 8b5825adc4 indent formatting 2023-06-01 11:10:58 -07:00
Matthew Kennedy d5f9479f28
ObdCode is enum class (#77)
* change ObdCode to enum class builds firmware

* test builds

* don't need this line at all

* can we go down to uint16_t?
2023-04-12 23:44:33 -07:00
Matthew Kennedy 404c0a8550 cleanup 2023-02-26 17:16:13 -08:00
Matthew Kennedy 5d7a30ce2b no qc 2023-02-22 14:53:31 -08:00
Matthew Kennedy 959f14fae6 more dead 2023-02-21 11:54:24 -08:00
Matthew Kennedy 4b5fa68d13 fix 4g63 vs 9x naming, add cam-only test (#5093) 2023-02-16 23:22:34 -05:00
Matthew Kennedy dc4cbb9c37 mitsu 4g63 (#5001)
* mitsu 4g63

* file header
2023-01-24 06:53:40 +05:30
rusefillc 91e70738f4 refactoring: inside the boost controller instead of depending on the engine god object 2023-01-22 07:40:42 -05:00
rusefillc 6cc92c25bc https://rusefi.com/forum/viewtopic.php?f=2&t=2484 luaIgnCut 2023-01-02 17:46:56 -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 41a8a90b3d guards 2022-12-17 14:43:51 -05:00
TurboMarian 428b887cb4 LUA FuelAdd update
(cherry picked from commit a54cdbb0771b1a48aa8e24bffbaf554e10d55f3a)
2022-12-16 20:22:48 -05:00
rusefillc 484f21aeba random getOrZero clean-up 2022-12-14 19:48:07 -05:00
rusefi 4bc9b25214 reducing ugly 2022-11-06 20:47:57 -05:00
Andrey 65f5c00616 trigger refactoring: instance RPM #4740 2022-11-06 11:56:18 -05:00
Andrey 153a454472 trigger refactoring: instance RPM #4740 2022-11-06 11:47:23 -05:00
rusefillc 2d96fb3ef6 minor trigger refactoring 2022-11-06 00:32:38 -04:00
Matthew Kennedy 58a5569006 require ignition on for firing (#4628)
* require ignition on for firing

* too much havoc for a unit test

* patch up references

* last one

* fix changelog mangling

* fix the changelog template too

* bad merge

* fix the template again

* s

* fake battery voltage on hw ci

* ugh merge

* ugh merge
2022-10-04 20:36:03 -04:00
rusefi 2b686c6724 need Proteus QC 2022-10-01 22:00:25 -04:00
Andrey e6b8b08853 refactoring: encapsulation 2022-09-28 22:42:08 -04:00
Andrey 3350ad6fbe Honda K cam wheels #3405 2022-09-24 23:49:41 -04:00