Matthew Kennedy
b558469d0e
check the real RPM at the instant the injector is about to open
2025-02-09 01:33:42 -08:00
Matthew Kennedy
212200d078
extract isHardRevLimit
2025-02-09 01:25:40 -08:00
Matthew Kennedy
2d96259667
move output channel fuel/spark cut update to limp
2025-01-18 16:03:07 -08:00
Matthew Kennedy
1d9efc95f2
int rpm -> float rpm
2024-09-24 23:40:49 -07:00
Matthew Kennedy
e94920f932
don't segfault lol #489
2024-09-17 18:58:29 -07:00
Matthew Kennedy
05e5456830
jam detect ignore button #489
2024-09-17 18:44:18 -07:00
Matthew Kennedy
51a23364e2
Odd cylinder engine wasted spark ( #479 )
...
* allow wasted spark spin-up
* allow firing without phase sync on odd cyl engines
* support odd cyl wasted spark
* changelog
* unit test it
* wow, it's easy to support odd-fire too
2024-08-31 02:22:31 -07:00
Matthew Kennedy
e4b8aa3747
oil pressure protection (while running) ( #460 )
...
* config
* implement
* defaults
* check array bins
* gauge
* test the new behavior
2024-08-06 13:10:10 -07:00
Matthew Kennedy
8680b22816
move a bunch of tables out of engine_configuration_s #371
2024-03-17 12:06:14 -07:00
Matthew Kennedy
ce2198270e
avoid some misc shadowing
2023-11-01 13:58:39 -07:00
Matthew Kennedy
38c873252e
smarter injector duty cycle limiting ( #215 )
...
* config for duty cycle limiting
* implement timeout duty cycle limiting
* comment
* make overlapping injections actually work!
* missed one
* test
* call addFuelEvents from fast callback
* update comment about why we call it again in main trigger callback
* one more extra call
* undo addFuelEvents change
* cleanup
* minor encapsulation
* fix
* changelog
* dead obd code
2023-10-14 14:27:19 -07:00
Matthew Kennedy
c41ebafc59
prep for small can board
2023-08-29 00:57:57 -07:00
Matthew Kennedy
a63930a5c4
lambda monitor wiring
2023-06-28 23:49:50 -07:00
Matthew Kennedy
489c308c8b
comment
2023-04-10 11:45:52 -07:00
Matthew Kennedy
5e7a6dab90
rpm limit hysteresis
2023-04-10 11:37:20 -07:00
Matthew Kennedy
f090a97b0b
remove specs_s struct, flatten config
2023-03-27 00:58:18 -07:00
Matthew Kennedy
a861d76da6
pause closed loop fuel after cuts
2023-03-02 11:42:55 -08: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
Matthew Kennedy
1440647ba5
better self stim behavior: allow sync w/ NB trigger
2023-02-22 23:16:01 -08:00
rusefillc
12969bc596
https://rusefi.com/forum/viewtopic.php?f=2&t=2484 luaIgnCut
2023-01-02 18:06:38 -05:00
rusefillc
6628541024
guards
2022-12-17 14:58:10 -05:00
rusefillc
484f21aeba
random getOrZero clean-up
2022-12-14 19:48:07 -05:00
rusefillc
df7c014350
docs
2022-11-28 14:01:23 -05:00
rusefillc
b73ef09f23
better method name
2022-11-27 18:17:08 -05: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
Andrey
e6b8b08853
refactoring: encapsulation
2022-09-28 22:42:08 -04:00
Andrey
b439f27284
inline method to reduce confusion
2022-09-14 01:34:52 -04:00
Matthew Kennedy
1efe511be8
add hysteresis to limp rpm, boost, injector duty ( #4541 )
...
* add hysteresis
* changelog
2022-09-05 20:56:32 -04:00
Andrey
341447c82d
refactoring: moving method closer to usage
2022-09-05 00:32:36 -04:00
rusefillc
4c18b43aea
poke
2022-08-24 18:31:50 -04:00
rusefillc
101d597d9a
// todo: migrate to engineState->desiredRpmLimit to get this variable logged
2022-08-22 18:23:48 -04:00
Matthew Kennedy
ccec58446b
clt based rpm limit ( #4267 )
2022-06-22 16:49:24 -04:00
Matthew Kennedy
8274b1e4ee
only check if youhave a sensor ( #4223 )
2022-05-31 21:40:00 -04:00
rusefillc
394d1fe961
refactoring: bringing method names up to date
2022-05-08 09:04:27 -04:00
rusefillc
1ce5be5629
m_hasSynchronizedSymmetrical handling improvements #4099 ( #4101 )
2022-04-23 19:45:29 -04:00
rusefillc
e16117f6ce
very random progress
2022-04-16 17:04:35 -04:00
rusefillc
5f288d88dc
do not control VVT during cranking fix #3443
2022-04-10 19:22:39 -04:00
Matthew Kennedy
f0013f71b5
limp mangaer handles more stuff ( #3983 )
2022-03-20 09:28:17 -04:00
rusefillc
ddbe2987b0
helping master
2022-03-11 13:07:11 -05:00
Benas Brazdziunas
dbcc165a11
Launch fuel and spark cut issue ( #3988 )
...
* Launch fual and spark cut issue
* moved launch cuts to limp_manager
* Applied recomendations
* Auto-generated configs and docs
* Added recomendations
* Auto-generated configs and docs
Co-authored-by: GitHub build-firmware Action <action@github.com>
Co-authored-by: Benas <bbrazdziunas@gavea.co.uk>
2022-03-11 09:27:42 -05:00
rusefillc
3be2fcaa80
Limp shutdown rebase ( #3879 )
...
* limp manager handles engine stop
* use timer
* dead relevant fsio
* this stuff needs its own ticket
* if we can comment out 'business logic' and tests do not fail it's not a great sign :(
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-02-01 20:47:17 -05:00
rusefillc
dafe6c16e1
did it catch wrong %type?
2022-01-08 23:38:40 -05:00
rusefillc
8a20033148
limp ClearReason
2022-01-08 22:52:45 -05:00
rusefillc
9b38a7d445
limp ClearReason
2022-01-08 22:13:20 -05:00
rusefi
652c73cd90
helping master - undoing limp_manager change
2021-12-04 12:49:43 -05:00
rusefillc
0d3853878f
bringing code up-to-date
2021-12-04 12:18:52 -05:00
Andrei
9357e171ce
fix engine stop for MAIN_RELAY_CONTROL
2021-12-04 11:55:03 -05:00
Scott Smith
80091498a6
Programmatically replace ENGINE() and CONFIG() with engine-> etc ( #3565 )
...
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"
git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
rusefillc
0f379ed17d
docs
2021-10-07 09:31:34 -04:00
Matthew Kennedy
dab377d15d
getOrZero ( #3319 )
2021-10-05 19:59:07 -04:00