Commit Graph

1271 Commits

Author SHA1 Message Date
Andrey aafa7f78ab Override trigger gaps feature #2734 2021-05-23 20:45:01 -04:00
Andrey cbb6ca0c7c Override trigger gaps feature #2734 2021-05-23 19:58:03 -04:00
Andrey 17f07b6b0e Override trigger gaps feature #2734 2021-05-23 19:51:00 -04:00
rusefillc 3fecc15d91 cranking timing not costant #2733 2021-05-23 14:14:51 -04:00
rusefillc 590f5e4f99 cranking timing not costant #2733 2021-05-23 13:54:49 -04:00
rusefillc 267ac511e3 Tooltip and UI updates #2714
cherry-pick
2021-05-21 15:25:49 -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 b373c03db8
Lua script editor in console (#2699)
* stub

* implement reset

* console

* just use the console command

* cleanup

* s

* s

* ui

* write in chunks

* fix write

* tab size, script read

* parse script properly

* put lua script in flash, tiny for now

* generated fields
2021-05-18 20:58:39 +03:00
Matthew Kennedy 84368cae10
Config generator jar (#2716)
* fix test

* jar

* kick config

* guard stuff

* nmea

* nmea

* nmea

* c++ is type safe, which is good

* c++ is type safe
2021-05-17 12:32:59 +03:00
Matthew Kennedy 0ea1f15ca3
compile gpiochips as cpp (#2702)
* rename

* core

* structing

* more

* makefile

* structing

* 6240 compiles

* explicit cast instead of implicit narrowing

* 8888

* no extern C

* fix tests build

* extern "C"

* 33810

* 8860

* 33810

* linker

* unbreak master

* don't need that if compiling as C++

* bump config

* fix test

* tests

* unit tests bad merge

* build

* move subaru logic to cpp file

* cpp goodness

* hpp include

* this is probably the right thing to do

* simulator
2021-05-17 08:42:56 +03:00
Matthew Kennedy da6518dcb1
remove deprecated getEngineLoadT (#2676)
* remove

* few more
2021-05-10 08:30:41 -04:00
Matthew Kennedy 4474f9f1c2
Maf in sensor model (#2672)
* init

* consumers

* hasMafSensor

* consumers

* remove

* remove

* s

* guard

* tiny bit of ram

* ram
2021-05-09 20:59:06 -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 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 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 773ed96a95 2021 is the year of Hellen 2021-05-02 18:18:24 -04:00
rusefillc 56f11bdc9e useFordRedundantTps 2021-04-30 10:57:38 -04:00
rusefillc 0594a5b305 field type into header comment 2021-04-26 17:51:29 -04:00
rusefi fadaf2bf49 support multiple VVT sensors #885 2021-04-25 21:53:56 -04:00
rusefi 4da74ddf52 support multiple VVT sensors #885 2021-04-25 21:31:34 -04:00
rusefillc 02d4cde3c4 https://rusefi.com/forum/viewtopic.php?f=16&t=1996 2021-04-25 09:18:35 -04:00
rusefillc 61c6b70516 more correct tachPulseDurationAsDutyCycle tooltip and other boring details 2021-04-19 23:48:03 -04:00
rusefillc dcc76e9fff tachPulseDurationAsDutyCycle tooltip 2021-04-19 23:34:07 -04:00
rusefillc 60609eb7b6 trigger_type_e 2021-04-18 09:35:52 -04:00
Matthew Kennedy 15a8dab795
gppwm zero option (#2557)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-15 01:08:34 -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 a59afd30d7 Kawasaki KX450F trigger wheel #2538 2021-04-08 22:07:15 -04:00
rusefi 26038daf90 trigger and VVT duty cycle integration into limp manager #2523 2021-04-07 16:44:21 -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 f05b8ba675
More gppwm and fsio (#2509)
* gppwm aux temp

* fsio fuel flow rate and oil pressure

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-29 08:57:37 -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 8b3aa6c40d
goodbye ignitionOffset (#2503)
* remove

* set the timing map to do what the offset used to do

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 08:00:09 -04:00
rusefillc f071aea463 Shall we drop "ignitionOffset" feature? #2500
dead code and TS progress
2021-03-27 19:00:35 -04:00
Matthew Kennedy 59ffc57adc
fix (#2485) 2021-03-23 20:27:10 -04:00
Matthew Kennedy c33d225d19
vvt ui (#2484) 2021-03-23 15:18:36 -04:00
Matthew Kennedy 5e88376e2c
barra vvt cam pattern (#2483)
* barra vvt cam pattern

* two tooth sync

* I think this needs to be here too
2021-03-22 07:48:29 -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
rusefillc 72aa619353 VAG MQB 2021-03-14 17:27:26 -04:00
rusefillc 7fb8d7f883 is gen_config invoked too often now? #2387 2021-03-12 23:15:18 -05:00
rusefillc f5ae646aa9 is gen_config invoked too often now? #2387 2021-03-12 22:27:16 -05: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
slowriot 881c3739a2
Add two new V8 firing orders (#2423)
* fix typos, spelling

* add two V8 firing orders

* use the available number of CPU cores, not just 4

* add new firing orders to config

* updating generated files to include new v8 firing orders

* reverting update of auto-generated files

* correct firing order labels for new firing orders
2021-03-05 19:28:17 -05:00
rusefillc 5fa4e8cd1c typo 2021-02-21 11:01:35 -05:00
rusefillc 9a84c4e7e5 aux valve to CI 2021-02-17 23:50:57 -05:00
rusefillc e80f9b62a7 RPM hard limit depending on CLT #455 2021-02-17 17:33:08 -05:00
Alexey Shkil b7b4df0168
[WIP] RPM hard limit depending on CLT #455 (#2268)
* [WIP] RPM hard limit depending on CLT #455

* [WIP] RPM hard limit depending on CLT #455

* [WIP] RPM hard limit depending on CLT #455

* [WIP] RPM hard limit depending on CLT #455
2021-02-17 17:30:05 -05:00
rusefi 1233fa7d9f https://rusefi.com/forum/viewtopic.php?p=39775#p39775 2021-02-14 22:35:59 -05:00
rusefillc fa04ac1d73 Gather Nissan CAN data #2278 2021-02-12 20:47:12 -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 ad5ba8b378 M62T vanos support #2243 2021-02-09 13:58:05 -05:00
rusefillc f65df4f24f M62T vanos support #2243
still trying to fix Kinetis
2021-02-09 00:25:02 -05:00
rusefillc 9fbf16ce08 code generator: better handing of array size 1 2021-02-08 23:47:48 -05:00
rusefillc d5aa951a49 trying to help kinetis by reducing RAM usage back to where it was 2021-02-08 23:21:34 -05:00
rusefillc 2d99e77c95 M62T vanos support #2243 2021-02-08 21:50:31 -05:00
rusefillc b40d1f0547 M62T vanos support #2243 2021-02-08 16:39:21 -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
rusefillc 953990d10b Trigger pattern request Škoda Favorit fix #2302 2021-02-06 20:53:30 -05:00
rusefillc c024d6d52a Trigger pattern request Škoda Favorit #2302 2021-02-06 19:49:02 -05: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 9f0ebaac49
Proteus analog input ci (#2271)
* test vbatt

* test proteus vbatt

* tolerance

* these don't work on proteus

* new engine type

* test analog input

* more test points, less tolerance

* console build needs this file generated

* only include for hw ci builds

* wiring info

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 13:34:48 -06:00
Brenton Hewitt 9d9c3c266d
Gm map sensors (#2265)
* GM 2 and 1 Bar Map Sensors

* GM MAP Sensor Selection Options
2021-02-02 08:15:28 -06:00
rusefillc 5a52713be9 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:20:04 -05:00
rusefillc 9a2cc6b3c9 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 22:49:49 -05:00
rusefillc 02f08808ef spaces into multiplication 2021-02-01 12:11:00 -05:00
rusefillc 98049d326c M62T vanos support #2243 2021-02-01 05:39:25 -05:00
rusefillc fd9dcb3e6e M62T vanos support #2243 2021-02-01 05:31:33 -05:00
rusefillc 6cdfec3014 M62T vanos support #2243 2021-02-01 00:42:53 -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
Matthew Kennedy bed6819d8b
normalize configuration grammar (#2240)
* modify grammar

* add missing typedefs

* these typedefs are easier to handle in the parser

* make the existing parser work with the changed format

* grumble grumble jar

* we can deal with this part later

* handle later

* deal with this later
2021-01-26 21:56:47 -05:00
rusefillc 845de71a54 M62T vanos support #2243 2021-01-26 20:46:50 -05:00
rusefi baff5d745e 10k docs 2021-01-18 19:18:24 -05:00
rusefi bb1ae49534 https://refactoring.com/catalog/replaceMagicLiteral.html 2021-01-18 18:54:18 -05:00
rusefi 94ae9fdef2 https://refactoring.com/catalog/replaceMagicLiteral.html 2021-01-18 18:44:31 -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
Matthew Kennedy 571122d461
Start support for multi-bank closed loop fueling (#2184)
* cfg

* cell

* N banks

* tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-10 08:10:49 -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
andreika-git 11c358f65c
Hellen72 config (#2200)
* Hellen72 config

* Hellen72 files

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-01-08 12:50:13 -05:00
Matthew Kennedy 5f1a13aed4
Fix fan bench (#2198)
* fix fan, complain if missing bench mode

* more complaining about unexpected codes

* unused
2021-01-07 08:23:31 -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 7393f13b8a TS bench test trans solenoid buttons #2191
fix?
2021-01-06 13:55:57 -05:00
rusefillc 6ff69df710 TS bench test trans solenoid buttons #2191
reducing pin conflict
2021-01-06 13:47:01 -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 0143802d45 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 23:50:50 -05:00
rusefillc 592799a965 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 13:06:09 -05:00
rusefillc 040a704ebf reducing magic constants 2021-01-02 16:43:08 -05:00
Matthew Kennedy a2f8600717
cfg (#2176)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 09:14:55 -05:00
rusefillc 2e3d4f1fe8 hellen 2021-01-01 11:17:17 -05:00
rusefillc 39ce53f098 hellen 2021-01-01 00:57:19 -05:00
shadowm60 d49fc7fc71
Haltech as dash option (#2165)
* Haltech as dash option

* Update build-firmware.yaml

added generate enums for build-primary-bundle
2020-12-31 12:22:01 -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
Matthew Kennedy 3d13d03424
Purge e34 config (#2127)
* remove

* enums

* s

* func test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:31:25 -05:00
Matthew Kennedy ba9de3a604
Purge fiesta config (#2117)
* config

* this had a feature flag?

* enums

* goodbye, fiesta
2020-12-22 17:22:05 -05:00
Matthew Kennedy 8737ba62c2
Purge rover v8 config (#2116)
* bye

* goodbye, rover v8

* that snuck in

* use a different config for that test
2020-12-22 10:05:54 -05:00
rusefillc 65e282f693 ET_PROTEUS_QC_TEST_BOARD 2020-12-22 07:24:30 -05:00
rusefillc e7471c28f2 ET_PROTEUS_QC_TEST_BOARD 2020-12-21 22:19:50 -05:00
rusefillc 1965510f7e https://github.com/rusefi/rusefi/issues/2102 2020-12-18 12:40:08 -05:00
Matthew Kennedy 6151f8c334
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
rusefillc bd279edd8e pnp progress 2020-12-15 00:09:35 -05:00
rusefillc e98dcfd2f8 more PnP 2020-12-14 23:16:50 -05:00
shadowm60 9d36bab793
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 c97e850c8d "Wastegate position sensor" into logs 2020-12-13 23:00:39 -05:00
rusefillc 49ee4ad78e trigger decode should pay to attention to what wheel signal is coming from #2073 2020-12-13 17:49:24 -05:00
rusefillc 314e9ef580 TT_SUBARU_7_WITHOUT_6 2020-12-13 17:46:48 -05:00
rusefi f8ba72cf8a subi 2020-12-13 16:17:31 -05:00
rusefi c16b72d820 "Subaru" 2020-12-12 22:22:29 -05:00
David Holdeman 1b59375425
Fix table (#2062)
* try

* try

* swap labels

* switch axes in code
2020-12-12 15:41:27 -05:00
Matthew Kennedy fadfc8d09b
config for second lambda (#2047)
* config

* size

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 14:30:51 -05:00
rusefillc 034cb0d173 trigger lifecycle 2020-12-09 12:08:38 -05:00
shadowm60 adf0a97ffc
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
rusefillc 8f5a4e4dae basic hw in the loop - pwm self validation #2028 2020-12-08 05:14:27 -05:00
rusefillc 36f72b56ef basic hw in the loop - pwm self validation #2028 2020-12-08 04:41:07 -05:00
rusefillc 8ed1df4841 basic hw in the loop - pwm self validation #2028 2020-12-07 20:31:02 -05:00
rusefillc 5192ffc64f docs 2020-12-06 17:39:33 -05:00
rusefillc 9f13d39003 MRE_SUBARU_EJ18 2020-12-06 14:16:40 -05:00
rusefillc edce475841 suby 2020-12-05 22:04:07 -05:00
rusefillc 479dc8598d all triggers should be documented way nicer #2001 2020-12-04 11:37:15 -05:00
rusefillc 49bf25318a 6.1 Hemi V8 decoder #2010 2020-12-04 00:18:40 -05:00
rusefillc accdb6ee6a FORD ST170 CAM TRIGGER PATTERN #2009 2020-12-03 23:23:32 -05:00
rusefillc c55120372b DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:31:58 -05:00
rusefillc 745038c4a7 more dead code 2020-12-03 10:49:20 -05:00
rusefillc 92fe2e5fb9 all triggers should be documented way nicer #2001 2020-12-03 08:42:25 -05:00
rusefillc e7e706b88d all triggers should be documented way nicer #2001 2020-12-03 01:31:52 -05:00
rusefillc 00e85f1409 all triggers should be documented way nicer #2001 2020-12-03 01:19:02 -05:00
rusefillc 7855847a3f all triggers should be documented way nicer #2001 2020-12-03 01:02:17 -05:00
rusefillc 479fcf0174 all triggers should be documented way nicer #2001 2020-12-03 00:19:18 -05:00
rusefillc 1443900c6b all triggers should be documented way nicer #2001 2020-12-02 20:30:47 -05:00
rusefillc 6019672d00 all triggers should be documented way nicer #2001 2020-12-02 20:19:47 -05:00
rusefillc 18cc2e6bac time to bump TS_OUTPUT_SIZE! 2020-12-02 14:10:08 -05:00
rusefillc d5f0948a39 time to bump TS_OUTPUT_SIZE! 2020-12-02 13:38:02 -05:00
rusefi 6f3faaf808 PnP miata 2020-11-30 00:10:29 -05:00
rusefillc c93ba7f3a5 MRE 94 2020-11-28 22:15:13 -05:00
rusefillc 60a785ee76 Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 17:27:56 -05:00
rusefillc 46d9eacc7c build-in virtual dyno #1987 2020-11-25 13:16:13 -05:00
Matthew Kennedy f8a6462967
change to output pin (#1981) 2020-11-22 18:29:41 -05:00
rusefi 0d3267e3a5 GDI Epic #1448 2020-11-22 00:43:45 -05:00
rusefi daf1ec83a7 GDI Epic #1448 2020-11-22 00:09:36 -05:00
rusefillc b4e9aba0da GDI Epic #1448 2020-11-21 21:58:56 -05:00
rusefillc 5ad36e655f DC not ETB refactoring 2020-11-16 19:51:36 -05:00