Commit Graph

800 Commits

Author SHA1 Message Date
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