Commit Graph

969 Commits

Author SHA1 Message Date
Matthew Kennedy 9d41a19adc misc (#2899)
* dead fields

* defaults

* ui

* configs
2021-07-04 09:22:42 -04:00
Andrey 92d652dc2e https://github.com/rusefi/rusefi/issues/2848
per-board URL into project help
2021-07-04 00:08:02 -04:00
Andrey b474a6685f https://github.com/rusefi/rusefi/issues/2848
per-board URL into project help
2021-07-03 23:47:23 -04:00
Andrey d2470f820e human readable warning codes into TS #2898 2021-07-03 21:15:48 -04:00
Andrey f1b5ca218b human readable warning codes into TS #2898 2021-07-03 21:15:19 -04:00
Andrey ed170f7c98 Nissan VVT trigger decoder #2887 2021-07-03 12:06:47 -04:00
Andrey c8059f0337 dialog header fix 2021-07-02 19:13:31 -04:00
Matthew Kennedy 0defaccb15 no fan if stopped engine (#2822)
* no fan if stopped engine

* config

* use config

* more tests

* merge

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-28 08:52:54 -04:00
Andrey ab0556382d TS project: fixing cmd_* definition 2021-06-27 21:04:39 -04:00
Matthew Kennedy fe6f123be5 Move AC logic out of FSIO (#2872)
* new impl

* remove fsio

* inject "is ac active" to fan

* include the correct code

* include

* test

* more AC features

* AC switch vs. actual AC indicators

* include

* duh
2021-06-27 18:51:34 -04:00
Andrey a91d67947a fan2 bench 2021-06-23 17:03:55 -04:00
Andrey 526c436d19 TS Burned All Data engine stop #2839
preparing test case
2021-06-20 23:32:31 -04:00
Matthew Kennedy c77686ce3b gauges for raw TPS (#2831)
* ecu part

* gauges

* debug info for ford throttle

* sensible order
2021-06-18 16:27:44 -04:00
Matthew Kennedy f1a95123fb 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 f15a017402 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 63524c3f34 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 1965de7c1e Review default H64 tune #2815 2021-06-13 21:28:57 -04:00
Matthew Kennedy 172b11bfe9 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 322f69474f 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 41104dcca8 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 338ca9477b ETB: do not disable control pins in two wire mode fix #2802 2021-06-08 14:27:04 -04:00
Andrey 2b5611ef62 s/controlPin1/controlPin/ 2021-06-05 16:40:16 -04:00
Andrey 17c07a0828 s/controlPin1/controlPin/ 2021-06-05 16:19:01 -04:00
Matthew Kennedy f21fa3e652 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 3157642934 cranking dwell minor progress 2021-05-31 08:12:11 -04:00
Matthew Kennedy 37ada8bf53 simplify/clarify cranking UI (#2778)
* simplify/clarify cranking

* dwell

* ign

* tweak idle
2021-05-31 11:09:13 +03:00
rusefillc 4267b7dfc9 Maybe split advanced cranking settings #2771
progress
2021-05-30 20:01:11 -04:00
rusefillc 69d6aabd98 Maybe split advanced cranking settings #2771
grouping fuel stuff a bit better
2021-05-30 19:54:10 -04:00
Matthew Kennedy 4e8574beca safe boost duty (#2764) 2021-05-30 14:04:04 +03:00
Andrey 079db30d37 Override trigger gaps feature #2734 2021-05-24 09:52:06 -04:00
Andrey 9865b04bf7 Override trigger gaps feature #2734 2021-05-23 20:52:18 -04:00
rusefillc 9b4d8ee320 cranking timing not costant #2733 2021-05-23 13:54:49 -04:00
David Holdeman 68da5c279e Doxygen titles (#2728)
* move addRow call

* undo submo bump

* add header titles
2021-05-22 22:10:58 +03:00
rusefillc 95df055379 Tooltip and UI updates #2714
cherry-pick
2021-05-21 15:18:11 -04:00
Matthew Kennedy 6bfaed64db 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 ad505bfb1b idle indicators (#2692)
* add coasting bit

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

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

* cleaning

* output channels

* output channels
2021-05-08 17:41:50 -04:00
rusefillc a64ea533cb NA6 ini is not uploaded fix #2649 2021-05-07 19:19:20 -04:00
rusefillc 6ba32c65a6 NA6 ini is not uploaded fix #2649 2021-05-07 19:18:43 -04:00
BeerMoneyMotorsports da880911ef Update rusefi.input (#2631)
poke @dbh97
2021-05-06 15:00:42 -04:00
rusefillc 2da748b489 poke 2021-05-06 09:47:29 -04:00
rusefillc ee62134957 More human approach to boolean fields #2613 2021-05-05 10:49:47 -04:00
rusefillc 6a8d1e619b More human approach to boolean fields #2613 2021-05-05 10:02:35 -04:00
Matthew Kennedy 29244dbdde clarify ego enable switch (#2622)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-05-04 15:11:26 -04:00
Matthew Kennedy 892b03524b Lua debug channels (#2620)
* setdebug hook

* add debug mode

* memory size debug channel

* default script
2021-05-04 10:05:39 -04:00
rusefillc 888a0b65ef h121 poke 2021-05-01 20:26:09 -04:00
rusefillc c2721985b0 config definition better error handling 2021-05-01 15:12:39 -04:00
rusefillc 1b62525871 h64 progress 2021-05-01 14:51:04 -04:00
rusefillc 7de4a3bcfe h64 is asking for a poke #3 2021-04-29 23:10:36 -04:00
rusefillc bcb7ca4171 h64 is asking for a poke 2021-04-29 23:00:22 -04:00
rusefillc 412f476dfa h64 is asking for a poke 2021-04-29 22:36:21 -04:00
rusefillc a577968dd9 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-04-29 17:35:50 -04:00
Matthew Kennedy 1bd789a5a5 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 58572c0d9c support multiple VVT sensors #885 2021-04-25 23:10:21 -04:00
rusefi 52f11638db support multiple VVT sensors #885 2021-04-25 21:53:56 -04:00
Matthew Kennedy ebf3da3f6b s (#2559) 2021-04-15 16:42:30 -04:00
Matthew Kennedy d7e95cd31f 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 cc8c28f7d2 dfco (#2544)
* dfco

* tool tip
2021-04-12 08:17:17 -04:00
rusefillc c886394947 trigger and VVT duty cycle integration into limp manager #2523 2021-04-07 12:16:23 -04:00
Matthew Kennedy 7782ebd7b4 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 e6b7bf2e8d 'displayLogicLevelsInEngineSniffer' on VVT input reports too much into engine sniffer #2528 2021-04-04 19:56:08 -04:00
Matthew Kennedy b20ead8d18 More binary log fields (#2518)
* gauge names

* binary log

* it only takes scaled channel
2021-04-03 20:28:55 -04:00
Matthew Kennedy fddd376a3f 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 9b5ec4bdef vvt ui (#2484) 2021-03-23 15:18:36 -04:00
Matthew Kennedy 2bf833a1ee 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 5e6746c3aa 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 4171ab2d11 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 72214b8b77 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 ce3878949c 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 8ce70479f6 TS does not support zero length arrays? #2366 2021-02-16 17:25:52 -05:00
rusefillc 363feb43c6 .ini fixed, TPS/ETB and dead property 2021-02-16 11:14:24 -05:00
Matthew Kennedy 0ccb2e2a43 tps cal wording (#2359) 2021-02-15 22:02:28 -05:00
rusefillc 5742b32be1 no way to change bluetooth serial speed on MRE fix #2338 2021-02-12 20:40:50 -05:00
rusefillc b83139744f no way to change bluetooth serial speed on MRE fix #2338 2021-02-12 20:27:09 -05:00
rusefillc 9ad4cf9ebd M62T vanos support #2243 2021-02-10 21:46:52 -05:00
rusefillc 66cfa9eb68 M62T vanos support #2243 2021-02-10 20:21:05 -05:00
rusefillc e3512eb5ab M62T vanos support #2243
bugfix - vvt .ini
2021-02-10 18:55:24 -05:00
rusefillc e21cfd6131 M62T vanos support #2243 2021-02-10 12:23:06 -05:00
rusefillc e1dabdfb6a M62T vanos support #2243 2021-02-08 15:27:58 -05:00
rusefillc c020aed330 M62T vanos support #2243 2021-02-08 14:10:57 -05:00
Matthew Kennedy 353929450a add cfg for lps25 (#2307)
* cfg field

* ui
2021-02-07 07:46:17 -06:00
Matthew Kennedy 9b5fa40d16 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 f4592541dd Gather Nissan CAN data #2278 2021-02-05 11:27:51 -05:00
Matthew Kennedy ace0f4e78c 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 654bf0d698 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 d702c96176 poke 2021-01-27 19:23:42 -05:00
rusefillc bdbe855ede naming consistency 2021-01-26 23:45:11 -05:00
rusefillc 48ebc6466e InstantRpm 2021-01-26 23:07:41 -05:00
rusefillc 3a77f3cf8e knock9 2021-01-22 01:54:20 -05:00
rusefillc b33faf5d22 viva v12 2021-01-19 16:09:34 -05:00
rusefi 56cec4fa1e SD card debug field 2021-01-18 23:03:24 -05:00
Matthew Kennedy 4e6c841729 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 5e1a94ef1e cmd_test_main_relay 2021-01-10 23:46:50 -05:00
rusefi 6ac9888425 cmd_test_main_relay 2021-01-10 20:11:46 -05:00
shadowm60 d415c3b790 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 6fef10bd6d Revert "Revert "rpm rate of change (#2159)""
This reverts commit d3c49578
2021-01-09 20:06:19 -05:00
rusefillc d3c49578b7 Revert "rpm rate of change (#2159)"
This reverts commit eecb7ce9

#2207 yes, this makes no sense but just to confirm
2021-01-09 19:45:07 -05:00
David Holdeman 7bf5dce671 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 129641b66b poke 2021-01-08 13:39:53 -05:00
Matthew Kennedy 86d3746453 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 b8f296e60f whitespaces fix? 2021-01-06 14:41:20 -05:00
David Holdeman 3aaa461132 TS bench test trans solenoid buttons (#2191)
* maybe

* semicolon stupid

* whoops

* whoops 2
2021-01-05 22:30:38 -05:00
Matthew Kennedy 8608df5450 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 eba6ae2e8f 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 3b4811bd29 funny progress 2021-01-03 23:52:31 -05:00
rusefi 35482fd21e progress 2021-01-03 17:58:00 -05:00
Matthew Kennedy eecb7ce97f 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 8aa8b98e08 Unknown placement constraint 2021-01-02 17:32:33 -05:00
rusefillc 4c47983a4b questionable progress 2021-01-02 16:51:14 -05:00
Matthew Kennedy fbe2f189cd cfg (#2176)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 09:14:55 -05:00
Matthew Kennedy 8492f99b91 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 c1713414d3 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 3d3b5706d3 HW_CHECK_SPARK_FSIO 2020-12-26 16:16:40 -05:00
rusefi e876f6eaed cmd_test_fsio3 2020-12-26 13:41:25 -05:00
rusefi 5f48b3789d FSIO bench 2020-12-26 01:18:22 -05:00
Matthew Kennedy a44f5217ab fix (#2128)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:35:10 -05:00
rusefillc b2fa433727 up/down shift to all pins 2020-12-23 16:51:15 -05:00
rusefi 99b5281454 nicer layout 2020-12-18 23:05:44 -05:00
rusefi d66bbab377 ET_PROTEUS_MIATA_NB2 2020-12-18 15:21:11 -05:00
rusefillc 4e83514e83 More explicit handling of CPU exhaustion #2093 2020-12-17 22:21:12 -05:00
Matthew Kennedy 1a14746e97 extra data for rusEfi wideband controller (#2082)
* add config

* logic

* remove old

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 18:25:11 -05:00
Matthew Kennedy 91d1acb50e prototype wideband firmware update (#2074)
* add submodule for firmware

* ts

* add updater

* add bench_test

* don't collide idx

* feature flag

* send acks

* fix timeout logic

* ui

* do it on the bench thread

* guard

* guard

* only do twice

* guard

* bump version

* update

* file name

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 08:28:53 -05:00
rusefillc 126a219e08 pnp progress 2020-12-15 00:17:09 -05:00
shadowm60 480af8b38b Debug channel updates (#2078)
* Debug channel updates

Renamed DBG_44 to Dyno_View
added DBG_LOGIC_ANALYZER
DBG_46..48 are  buffers for new features
corrected ini error: [mainController.ini]:[Line:2593]:    entry = wastegatePosition, "Wastegate position sensor",       float,  "%.3f"

* enum_regeneration

fix build issue?
2020-12-14 08:29:43 -05:00
rusefillc 7b3366cd67 "Wastegate position sensor" into logs 2020-12-13 23:03:22 -05:00
rusefi 7f5b70f78c subi 2020-12-13 13:16:39 -05:00
David Holdeman 6ff2a1bd54 Fix table (#2062)
* try

* try

* swap labels

* switch axes in code
2020-12-12 15:41:27 -05:00
rusefillc 9e269a94a8 Cranking debug 2020-12-11 20:09:36 -05:00
rusefillc 0b2ee4ee4e throttlePedalPositionSecondAdcChannel to "all pins" 2020-12-11 19:51:01 -05:00
rusefillc 1d2dfddbc2 TS, .ini: "Idle position sensor" missing label in "Wastegate and idle position sensors" menu #2056 2020-12-11 10:04:07 -05:00
Matthew Kennedy cf91351c4a config for second lambda (#2047)
* config

* size

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 14:30:51 -05:00
shadowm60 180bba574d Prepare configurations for SW knock detection (#2046)
* Prepare configurations

- Configurations needed for base noise
- TS usability for base noise definition

* Update rusefi_config.txt

wrong data ype used for base noise
2020-12-08 21:08:59 -05:00
Matthew Kennedy 9d2471e9ff add indicator for tps2 fail (#2016)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 00:01:24 -05:00
shadowm60 05affee65a Update rusefi.input (#2000)
vssacceleration should be signed 16bit value
2020-12-02 15:06:36 -05:00
Matthew Kennedy ed42eb0c4e disable legacy temp units (#1998)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-02 14:47:08 -05:00
rusefillc ea1a0a8212 fixing two unrelated typos 2020-12-02 14:15:44 -05:00
shadowm60 1725efc7e3 introduce vehicle acceleration in TS (#1997)
* introduce vehicle acceleration in TS

* Update rusefi.input

added gauge as well
2020-12-02 11:12:19 -05:00
shadowm60 b014023560 Launch Control refactoring (#1992)
* refactor

- called from periodicFastCallback
- removed defines

* Update rusefi.input

removed unused configurations.
added clutch inversion option

* Added new tests

fixed limiting only in case we have launch condition and rpm outside of window

* Update launch_control.cpp

Unintialized config update, now it is working fine with VSS and with clutch as well.

* small fixes

updated after review findings

* Fix breaking engine rev limiter

applyLaunchControlLimiting should not overwrite booleans to false!

* Delay timer in seconds

timer uses ms, so convert seconds to ms
2020-12-01 13:03:42 -05:00
rusefillc aa709d2eba docs 2020-11-29 18:12:16 -05:00
rusefillc d199302b83 miata 94 2020-11-28 22:49:28 -05:00
rusefi a853d99d1a start/stop debug process 2020-11-25 16:44:08 -05:00
rusefillc 19df8628c5 build-in virtual dyno #1987 2020-11-25 13:16:13 -05:00
rusefi d1de459d0d GDI Epic #1448 2020-11-22 00:09:36 -05:00
rusefillc 621e8e851f GDI Epic #1448 2020-11-21 22:56:47 -05:00
rusefillc c3e6bfb5ea GDI Epic #1448 2020-11-21 21:58:56 -05:00
rusefillc 49105703cc GDI Epic #1448 2020-11-20 20:36:48 -05:00
rusefi 65a1847505 refactoring: TS to match C 2020-11-16 19:09:05 -05:00
rusefi f3ea723843 GDI Epic #1448
typo
2020-11-15 16:05:10 -05:00
Matthew Kennedy 605269c358 remove idle thread; just call from periodicSlowCallback (#1924)
* remove thread

* remove ui
2020-11-11 21:47:19 -05:00