Commit Graph

828 Commits

Author SHA1 Message Date
Matthew Kennedy 3a30f038ce
kill engine if no oil pressure (#2800)
* min oil pressure for crank

* do it time-based

* rename field

* include

* fix existing test

* tests

* fix logic

* more test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-16 17:20:28 -04:00
Matthew Kennedy 93adb8ea76
Etb rev limit (#2820)
* cfg

* impl

* a test

* don't break the ts channel

* text
2021-06-16 08:44:48 -04:00
Matthew Kennedy a4973a6f3d
fan/AC idle improvements (#2818)
* fan 2 open loop bump

* we had an AC target bump all this time?!

* format

* enable test

* I can't type
2021-06-15 17:30:35 -04:00
Andrey 3cf8244d46 Review default H64 tune #2815 2021-06-13 21:28:57 -04:00
Matthew Kennedy 097bf85faf
dual fans (#2806)
* remove fsio

* hard code impl

* test it

* enable fan with AC

* make commented stuff match

* second fan config

* second fan ui

* defaults

* impl
2021-06-13 08:06:45 -04:00
Matthew Kennedy 7d2057e74a
remove cranking dwell angle (#2814)
* config & impl

* settings

* engines & boards

* this test doesn't do anything interesting
2021-06-13 07:52:07 -04:00
Matthew Kennedy c27549b2e8
hard coded fan logic (#2805)
* remove fsio

* hard code impl

* test it

* enable fan with AC

* make commented stuff match
2021-06-11 06:25:12 -04:00
rusefillc 7b78196409 ETB: do not disable control pins in two wire mode fix #2802 2021-06-08 14:27:04 -04:00
Andrey c596f85ab3 s/controlPin1/controlPin/ 2021-06-05 16:40:16 -04:00
Andrey 24131cdc0e s/controlPin1/controlPin/ 2021-06-05 16:19:01 -04:00
Matthew Kennedy f3c5ff6d54
idle fan/AC open loop bump (#2785)
* idle open loop ui section

* idle bump logic

* test fan/ac bump
2021-06-01 00:45:04 +03:00
Andrey f9d799e390 cranking dwell minor progress 2021-05-31 08:12:11 -04:00
Matthew Kennedy 562f82cacc
simplify/clarify cranking UI (#2778)
* simplify/clarify cranking

* dwell

* ign

* tweak idle
2021-05-31 11:09:13 +03:00
rusefillc ff40cdf3db Maybe split advanced cranking settings #2771
progress
2021-05-30 20:01:11 -04:00
rusefillc 87beeb23e0 Maybe split advanced cranking settings #2771
grouping fuel stuff a bit better
2021-05-30 19:54:10 -04:00
Matthew Kennedy 58b274c80c
safe boost duty (#2764) 2021-05-30 14:04:04 +03:00
Andrey a69b8e80f7 Override trigger gaps feature #2734 2021-05-24 09:52:06 -04:00
Andrey cd5653ff84 Override trigger gaps feature #2734 2021-05-23 20:52:18 -04:00
rusefillc 590f5e4f99 cranking timing not costant #2733 2021-05-23 13:54:49 -04:00
rusefillc 636fbbc393 Tooltip and UI updates #2714
cherry-pick
2021-05-21 15:18:11 -04:00
Matthew Kennedy 5cb659a7b0
lua pwm hooks (#2687)
* pwm hook

* dedicated pins

* write hook

* UI

* more info

* zero based, clamp

* memory

* don't compile lua in bootloader at all
2021-05-20 19:01:17 -04:00
Matthew Kennedy 13d2ee03bc
idle indicators (#2692)
* add coasting bit

* remove useless bit
2021-05-13 17:35:00 -04:00
Matthew Kennedy da6518dcb1
remove deprecated getEngineLoadT (#2676)
* remove

* few more
2021-05-10 08:30:41 -04:00
Matthew Kennedy 3968204dfa
Hook up multi bank fuel trim (#2532)
* multi bank trim

* cleaning

* output channels

* output channels
2021-05-08 17:41:50 -04:00
rusefillc 4975a637c9 NA6 ini is not uploaded fix #2649 2021-05-07 19:19:20 -04:00
BeerMoneyMotorsports a6f910d7a4
Update rusefi.input (#2631)
poke @dbh97
2021-05-06 15:00:42 -04:00
rusefillc 7b870d128f poke 2021-05-06 09:47:29 -04:00
rusefillc 726ce5160d More human approach to boolean fields #2613 2021-05-05 10:49:47 -04:00
rusefillc cd1763b0c9 More human approach to boolean fields #2613 2021-05-05 10:02:35 -04:00
Matthew Kennedy 35d0ec1ca7
clarify ego enable switch (#2622)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-05-04 15:11:26 -04:00
Matthew Kennedy 9d4bd0d6fe
Lua debug channels (#2620)
* setdebug hook

* add debug mode

* memory size debug channel

* default script
2021-05-04 10:05:39 -04:00
rusefillc f30f6b8493 h121 poke 2021-05-01 20:26:09 -04:00
rusefillc 2181b05013 config definition better error handling 2021-05-01 15:12:39 -04:00
rusefillc 04a929cea9 h64 progress 2021-05-01 14:51:04 -04:00
rusefillc bd8b211d88 h64 is asking for a poke #3 2021-04-29 23:10:36 -04:00
rusefillc 6c6d7f7cf9 h64 is asking for a poke 2021-04-29 23:00:22 -04:00
rusefillc 6c6dd5c8bb h64 is asking for a poke 2021-04-29 22:36:21 -04:00
rusefillc b0d2a7b8bd Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-04-29 17:35:50 -04:00
Matthew Kennedy f3a2af9c74
make wideband log fields match what it's actually sending (#2593)
* make log fields match what it's actually sending

* update wb firmware

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-28 18:28:29 -04:00
rusefillc 35358e110a support multiple VVT sensors #885 2021-04-25 23:10:21 -04:00
rusefi fadaf2bf49 support multiple VVT sensors #885 2021-04-25 21:53:56 -04:00
Matthew Kennedy 2b9352fe7f
s (#2559) 2021-04-15 16:42:30 -04:00
Matthew Kennedy 5e2e18d2b9
improve sensor chart flush behavior (#2545)
* disable sensor chart

* type signature, guards

* we can't log the message as that confuses the parser

* dead

* this syntax was technically illegal

* more

* turn it back on

* remove config

* api

* implement

* ui

* java ui
2021-04-12 14:05:52 -04:00
Matthew Kennedy 2a754c6e3f
dfco (#2544)
* dfco

* tool tip
2021-04-12 08:17:17 -04:00
rusefillc 40c50adf88 trigger and VVT duty cycle integration into limp manager #2523 2021-04-07 12:16:23 -04:00
Matthew Kennedy 46e38447e5
Ford redundant ETB tps (#2519)
* ford tps

* configurable maximum

* initialization

* check consistency when in the low range

* print info

* default

* config field

* config parameter

* test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-05 15:57:03 -04:00
rusefillc 386df8fe7d 'displayLogicLevelsInEngineSniffer' on VVT input reports too much into engine sniffer #2528 2021-04-04 19:56:08 -04:00
Matthew Kennedy 22bcbf7444
More binary log fields (#2518)
* gauge names

* binary log

* it only takes scaled channel
2021-04-03 20:28:55 -04:00
Matthew Kennedy 4bede41364
various TS project improvements, dead config fields (#2504)
* after start enrichment limits

* rework menus and VVT page

* multispark language

* dead fuel pressure field

* vw

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 08:39:26 -04:00
Matthew Kennedy c33d225d19
vvt ui (#2484) 2021-03-23 15:18:36 -04:00
Matthew Kennedy 650d148008
Usable fuel consumption data/gauges (#2474)
* fuel consumption

* gauge names

* consumers

* obd

* binary logging

* doesn't need explicit constructor

* getters

* it works

* correct for injections per cycle

* datalog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 17:04:42 -04:00
Matthew Kennedy 95b08c433f
Implement nonlinear fuel level sender (#2473)
* table function

* config fields

* sensor type

* switch consumers

* init the sensor

* ui

* 1mv resolution

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 08:39:08 -04:00
Matthew Kennedy 831d272be3
Add set wideband index buttons (#2455)
* update wideband firmware

* implement index set

* bench test, error on failure

* guard wideband
2021-03-14 17:20:50 -04:00
Matthew Kennedy b087f328f7
default config, UI tweaks (#2444)
* s

* fix this while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-12 00:16:24 -05:00
Matthew Kennedy e0763c6994
stop trigger emulator PWM when disabled (#2443)
* simplify trig emulator

* spelling is hard

* fix various builds

* spelling again

* add command/button for external stimulation

* enable hw stim for HW-in-loop test

* s

* I does spelling good

* clear flag when disabled

* generate enough for console build

* don't disable that

* this test needs external stimulation enabled

* import

* ui improvements

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-11 08:38:52 -05:00
rusefi 40e9c4174f TS does not support zero length arrays? #2366 2021-02-16 17:25:52 -05:00
rusefillc 1d38e4d9cc .ini fixed, TPS/ETB and dead property 2021-02-16 11:14:24 -05:00
Matthew Kennedy aa86674be8
tps cal wording (#2359) 2021-02-15 22:02:28 -05:00
rusefillc c7a8da8acf no way to change bluetooth serial speed on MRE fix #2338 2021-02-12 20:40:50 -05:00
rusefillc 2a563c4d5c no way to change bluetooth serial speed on MRE fix #2338 2021-02-12 20:27:09 -05:00
rusefillc ec9dffb804 M62T vanos support #2243 2021-02-10 21:46:52 -05:00
rusefillc 8fbdfa51e3 M62T vanos support #2243 2021-02-10 20:21:05 -05:00
rusefillc 17e12f780f M62T vanos support #2243
bugfix - vvt .ini
2021-02-10 18:55:24 -05:00
rusefillc e329acc19f M62T vanos support #2243 2021-02-10 12:23:06 -05:00
rusefillc 70b493ae99 M62T vanos support #2243 2021-02-08 15:27:58 -05:00
rusefillc 7e25202712 M62T vanos support #2243 2021-02-08 14:10:57 -05:00
Matthew Kennedy c71a31e313
add cfg for lps25 (#2307)
* cfg field

* ui
2021-02-07 07:46:17 -06:00
Matthew Kennedy 870857df36
add option to disable ETB if engine not spinning (#2280)
* config/ui

* trigger central mods

* implement
2021-02-05 17:19:57 -06:00
rusefillc 0090dc04ee Gather Nissan CAN data #2278 2021-02-05 11:27:51 -05:00
Matthew Kennedy 0e70d08a22
Add fallback map table (#2248)
* table

* sd math

* config

* debug channel name

* ptr vs not ptr

* actually use return value

* memory

* less magic
2021-01-31 17:19:06 -05:00
Matthew Kennedy e0b2802a43
Map fallback logic, TS cleanup (#2247)
* add new field

* UI

* set default

* consume new parameter

* some cleanup while we're at it
2021-01-27 20:31:29 -05:00
rusefillc 1109c879a5 poke 2021-01-27 19:23:42 -05:00
rusefillc bc7f9379e1 naming consistency 2021-01-26 23:45:11 -05:00
rusefillc bdc2de9ee6 InstantRpm 2021-01-26 23:07:41 -05:00
rusefillc 2060dd6cfe knock9 2021-01-22 01:54:20 -05:00
rusefillc a91b9a676e viva v12 2021-01-19 16:09:34 -05:00
rusefi 51c8e77790 SD card debug field 2021-01-18 23:03:24 -05:00
Matthew Kennedy fa30efbc94
boost fixes (#2230)
* fix boost pin reinit

* call boost from periodic slow

* ui

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-18 07:04:14 -05:00
rusefillc 4416d1c7dc cmd_test_main_relay 2021-01-10 23:46:50 -05:00
rusefi f1f6c329a0 cmd_test_main_relay 2021-01-10 20:11:46 -05:00
shadowm60 8d1610a7a3
Vss filter configuration field and param (#2210)
Prep work to introduce biquad filter on vss input to reduce noise on logs and for dynoview as well
2021-01-10 10:14:50 -05:00
rusefillc 1cbb0c5680 Revert "Revert "rpm rate of change (#2159)""
This reverts commit 538b3ac6
2021-01-09 20:06:19 -05:00
rusefillc 538b3ac649 Revert "rpm rate of change (#2159)"
This reverts commit f73b7123

#2207 yes, this makes no sense but just to confirm
2021-01-09 19:45:07 -05:00
David Holdeman 52e88ade01
Add TCU Solenoid debug fields (#2202)
* try adding debug fields

* oops

* include

* add labels

* add enum

* add more solenoid

* whoops

* ifdef
2021-01-09 14:12:45 -05:00
rusefillc 03777db548 poke 2021-01-08 13:39:53 -05:00
Matthew Kennedy 7a90692187
Idle timing uses phase logic, remove falloff (#2169)
* use phase computation

* move & simplify implementation

* test

* bad merge

* initialize

* wonderful changelog

* now unused parameter

* put back deadzone

* ui

* test deadzone

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 08:06:36 -05:00
rusefillc 62e6b6aee6 whitespaces fix? 2021-01-06 14:41:20 -05:00
David Holdeman 7117c6f5aa
TS bench test trans solenoid buttons (#2191)
* maybe

* semicolon stupid

* whoops

* whoops 2
2021-01-05 22:30:38 -05:00
Matthew Kennedy eabb5c7366
flex fuel AFR interpolation (#2190)
* config

* implement flex

* secondary fuel default

* test

* test works

* rename

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 16:27:23 -05:00
Matthew Kennedy edee10ee1c
Flex fuel stubs (#2187)
* config & ui

* stub sensor

* stub init

* output channel, gauge, SD log

* linky linky

* fix

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 07:57:26 -05:00
rusefillc 22ad3ab8d3 funny progress 2021-01-03 23:52:31 -05:00
rusefi a935bf97f4 progress 2021-01-03 17:58:00 -05:00
Matthew Kennedy f73b7123bb
rpm rate of change (#2159)
* compute rpm rate of change

* fix units on gauge

* oops

* correct order

* scaling and limits

* correct for engine cycle length

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-03 09:55:44 -05:00
rusefi 3893f67f9c Unknown placement constraint 2021-01-02 17:32:33 -05:00
rusefillc d213c01ca5 questionable progress 2021-01-02 16:51:14 -05:00
Matthew Kennedy a2f8600717
cfg (#2176)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 09:14:55 -05:00
Matthew Kennedy 342414a5f7
show when idle is closed loop (#2160)
* show when idle is closed loop

* semicolon

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:42:40 -05:00
Matthew Kennedy 890d014679
update idle UI (#2157)
* redo idle UI

* tooltip update

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:36:07 -05:00
rusefi 2fac4cd732 HW_CHECK_SPARK_FSIO 2020-12-26 16:16:40 -05:00
rusefi 7a91f9a4eb cmd_test_fsio3 2020-12-26 13:41:25 -05:00