Matthew Kennedy
99b45960b4
remove idle blip "feature"
2025-02-27 14:10:43 -08:00
Matthew Kennedy
c932c55693
overdwell test with IgnitionContext instead of event
2025-02-13 23:18:30 -08:00
Matthew Kennedy
5110c5bb85
pass mode in to computeInjectionAngle
2025-02-12 10:30:42 -08:00
Matthew Kennedy
3c6e91c71c
guard against bootloader
2025-01-18 16:03:53 -08:00
Matthew Kennedy
2aa9b72955
guard against bootloader
2025-01-18 15:39:46 -08:00
Matthew Kennedy
810c392bb2
OneCylinder::getSparkAngle
2025-01-18 02:51:15 -08:00
Matthew Kennedy
0a24ab8cde
comment
2025-01-18 02:44:36 -08:00
Matthew Kennedy
67d41ea65e
put injection mass inside OneCylinder
2025-01-18 02:42:51 -08:00
Matthew Kennedy
0d2ceefde3
move injection SOI function to OneCylinder
2025-01-18 02:35:06 -08:00
Matthew Kennedy
64eb875b12
each cylinder calculates its own offset
2025-01-18 01:54:48 -08:00
Matthew Kennedy
73edd28251
cylinders know their own index and number
2025-01-18 01:40:18 -08:00
Matthew Kennedy
0e2709cd91
start refactoring towards OneCylinder
2025-01-18 01:03:44 -08:00
Matthew Kennedy
d35d734a7f
crust cleanup
2025-01-02 22:15:34 -08:00
Matthew Kennedy
f71e3df50e
pauseCANdueToSerial debt
2025-01-02 22:09:14 -08:00
Matthew Kennedy
f81dff184e
enableOverdwellProtection
2025-01-02 22:04:56 -08:00
Matthew Kennedy
6d549802d0
cleaning
2024-12-24 02:53:18 -08:00
Matthew Kennedy
9bb98ab237
shuffle around ignition-related files
2024-12-24 02:21:13 -08:00
Matthew Kennedy
cf58ece693
nix on SENT
2024-12-23 22:06:05 -08:00
Matthew Kennedy
8455a3c050
format
2024-09-25 14:05:08 -07:00
Matthew Kennedy
05e5456830
jam detect ignore button #489
2024-09-17 18:44:18 -07:00
Matthew Kennedy
64108b67cf
only check throttle jam while ignition is on #489
2024-09-17 18:33:32 -07:00
Matthew Kennedy
01a397094d
execute critical tasks on one big thread ( #462 )
...
* wire up main loop
* remove PeriodicTimerController
* patch up defines, comments
* happy simulator
* format
* simulator
* ETB runs via main loop
* happy tests
* protection against invalid LoopPeriod
* stack size
* ccm
* fix |= operator
* move perf trace
* ordering
* ordering
2024-09-17 15:27:38 -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
45a6b5d134
blink the comm LED slightly instead of static
2024-06-27 17:56:21 -07:00
Matthew Kennedy
71dfd5d354
refactor LEDs out of PeriodicTimerController
2024-06-27 17:42:48 -07:00
Matthew Kennedy
cc74d09ba7
controller does warning LED
2024-06-27 12:53:58 -07:00
Matthew Kennedy
7a9bfc763c
rename task to LED blinking
2024-06-27 12:39:47 -07:00
Matthew Kennedy
897a730de7
EngineStateBlinkingTask -> EngineModule
2024-06-26 13:00:46 -07:00
Matthew Kennedy
e6442f06f0
main relay bench test uses a timer
2024-04-25 16:22:16 -07:00
Matthew Kennedy
8e4994627d
default init is ok for these
2024-04-25 15:49:27 -07:00
Matthew Kennedy
af4ec4ab19
add std::function hooks to ignition
2024-04-12 11:11:44 -07:00
Nathan Schulte
bfb8cf1f89
GCC 13 simulator build, console->simulator on Linux ( #378 )
...
* engine: variable engine is: constexpr Engine
* can: rename CanRead::start to not hide
* console: support launching simulator on Linux
* console: fully encapsulate simulator binary name
* console: simplify simulator binary wrangling
* console: cleaner java code-style
2024-03-09 00:11:20 -08:00
Matthew Kennedy
9673ff01f3
implement staged injection ( #331 )
...
* output channel
* duty cycle etc math for second stage
* action_s utility
* basic enable switch
* staging fraction math
* implement staging logic
* wire up pins for second stage injectors
* staging UI
* Improve staged injection test, check scheduler arguments for other injection tests
* Stage 2 last pulse output channel, correct fuel consumption logic
* wall wet on the whole shot
* int vs size_t
* use a define instead of function so we get line numbers
* fix batch injection
* gauges
* bad test merge
* stub out secondary injector model
2024-01-07 15:22:39 -08:00
rusefillc
7ad5b00f2e
refactoring: vvt is not aux ( #263 )
...
* refactoring: vvt is not aux
(cherry picked from commit 6b4c4a583316a32d7723c2cfa16cda39fa9afb1b)
* this repo has VVT conditional at small-can-board
2023-09-27 00:59:04 -07:00
Matthew Kennedy
a0d64ea0ad
use onConfigurationChange instead of version holder
2023-09-26 17:49:33 -07:00
Matthew Kennedy
4b354f047b
trip odometer ( #260 )
2023-09-25 13:16:17 -07:00
Matthew Kennedy
727f3a7a76
boost is engine module
2023-09-07 12:41:56 -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
e2550105b8
vvt is engine module ( #202 )
...
* vvt refactoring
* vvt constexpr livedata
* format
* fix null deref
2023-07-19 22:16:29 -07:00
Matthew Kennedy
cef8b61c7c
sprinkle in some constexpr
2023-07-01 20:41:44 -07:00
Matthew Kennedy
a63930a5c4
lambda monitor wiring
2023-06-28 23:49:50 -07:00
Matthew Kennedy
57263be2fe
mockable throttle model
2023-05-11 14:37:48 -07:00
Matthew Kennedy
4e619c5494
stub throttle model generated
2023-03-14 20:12:35 -07:00
Matthew Kennedy
073d662228
basic harley acr ( #48 )
...
* acr
* cleanup
* handle m_hasPinMode
* output channel
* ui
* wrap phase
* don't inject during ACR
* skip extra calculation
---------
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2023-02-25 00:13:51 -08:00
rusefillc
55a8761a85
we have two methods of very similar purpose?
2023-02-20 19:05:31 -05:00
rusefi
2e274c8fe7
Native SENT TPS input #5079
2023-02-14 20:39:25 -05:00
Andrey
8887eff573
Nick wonders if DC wastegate is still FUBAR #5075
2023-02-13 17:59:45 -05:00
Andrey
3d096b2ac1
totalFuel and totalIgnition correction gauges in Tunerstudio #4955
2023-01-15 08:26:38 -05:00