Commit Graph

1319 Commits

Author SHA1 Message Date
rusefillc 5959a2e0ac Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 17:49:31 +03:00
rusefillc 0764ba66e1 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 17:47:33 +03:00
Andrey 08dff4ceb6 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 06:16:19 -04:00
Andrey 2541b70c30 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:06:13 -04:00
rusefillc 4372c2a298 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:00:51 -04:00
rusefillc f3b29de32f hellen-nb-1 2021-08-05 18:05:53 -04:00
Andrey 54b3a40c50 hellen154hyundai 2021-08-03 05:24:09 -04:00
Andrey e9faf06bfd Honda K CAN packets #3098 2021-08-02 13:30:51 -04:00
Matthew Kennedy ab49f61a83
gppwm vbatt axis (#3088) 2021-07-31 21:20:19 -04:00
rusefillc cf0fe81e32 genesis coupe 2021-07-28 14:51:29 -04:00
Matthew Kennedy 5373594bb7
discrete VR threshold control (#3061)
* vr pwm

* rename

* scaling and ui

* hellen pin

* s

* math

* ooh, pch

* happy test

* not magic
2021-07-28 07:44:44 -04:00
rusefillc 3f36e73dd7 turbo speed turbospeed input #2935 2021-07-27 17:32:11 -04:00
rusefillc 577fb0f4af poke atlas 2021-07-26 12:22:53 -04:00
rusefillc 8f203efdba pedal logic #3063 2021-07-25 21:33:43 -04:00
Andrey a63c55e394 Clutch switch inverted options do not invert detected pedal position
#3044
2021-07-24 19:20:59 -04:00
rusefillc 09e7aa2160 Clutch switch inverted options do not invert detected pedal position #3044 2021-07-24 13:24:53 -04:00
rusefillc 366e9caed0 Rename "2 wire wasted" in TS ignition settings #3048 2021-07-24 10:33:42 -04:00
rusefillc 754571e386 Rename "2 wire wasted" in TS ignition settings #3048 2021-07-24 10:30:38 -04:00
Matthew Kennedy 2368e90ae7
dead (#3016) 2021-07-23 08:31:23 -04:00
rusefi 2e58611e4f More human approach to boolean fields #2613 2021-07-21 23:41:34 -04:00
rusefi e0512e4284 nissan vvt 2021-07-21 20:27:23 -04:00
Andrey 1b4f0fb11f trailing spark outputs #2931 2021-07-21 19:08:57 -04:00
Matthew Kennedy 0f0b84a6db
remove TS file read (#3004)
* remove

* more defines

* test

* lots of java

* s
2021-07-21 14:24:53 -04:00
Matthew Kennedy 6f80bc72ae
fan indicators + test buttons (#3002)
* sd bits

* rusefi.input

* second fan bit

* fans
2021-07-20 23:26:06 -04:00
Andrey 7c6d280c9c VH41DE (Japaneese Y32 Variant) firing order 2021-07-20 21:42:38 -04:00
rusefillc 0f694205fd flipping presets logic in order to reduce duplication 2021-07-20 11:44:48 -04:00
Andrey 0dc99a3124 kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 02:11:09 -04:00
Andrey d16d6dd58d kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 00:46:39 -04:00
Andrey 277bb7a907 kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-16 23:17:45 -04:00
Matthew Kennedy e830a99275
lua hooks for custom airmass model (#2697)
* lua airmass

* not const any more

* bad merge

* don't change the position of others

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-16 00:49:14 -04:00
rusefi bf957a05a0 helping console parser 2021-07-13 22:23:55 -04:00
Andrey fb1a60e0ba TS progress and todo :( 2021-07-13 14:39:02 -04:00
Andrey a260cc007d trigger signal debug pins - logic level output #2959 2021-07-13 14:34:59 -04:00
Andrey 3bfd3d7e55 trigger signal debug pins - logic level output #2959 2021-07-13 14:30:46 -04:00
rusefillc 5156c9e5d1 trigger signal debug pins - logic level output #2959 2021-07-13 13:53:06 -04:00
Andrey 0aa83dffbf progress - reducing code duplication 2021-07-12 22:22:01 -04:00
Andrey 775a66fad6 vvt input but no mode should be a fatal #2955
a bit of a relevant improvement?
2021-07-12 20:54:36 -04:00
Andrey 74e3da0813 trailing spark outputs #2931 2021-07-09 10:06:51 -04:00
Matthew Kennedy 86683afca2
trailing spark scheduling (#2932)
* enable bit

* implement trailing sparks

* test trailing spark

* it helps to call the correct function

* add pins

* gobblin ram
2021-07-09 08:37:46 -04:00
rusefi 7785a508b2 extra state validation is needed 2021-07-09 00:31:21 -04:00
Andrey b6ebc7c23e VAG canned tunes 2021-07-08 20:06:40 -04:00
rusefillc da613e65dc fix vvt indication #2926
TS project part of the change
2021-07-08 09:37:56 -04:00
Matthew Kennedy d10ba3ddfa
injector nonlinearity (#2916)
* nonlinear polynomial

* make existing tests work again

* test that nonlinearity is called

* s

* fix enum

* ui

* fix and test

* comment

* changeloggy
2021-07-07 23:46:44 -04:00
Matthew Kennedy 9377a01aec
store cylinder count as plain number (#2915)
* update test framework

* eh

* hey look it's fewer warnings

* unwind

* fix

* config

* configs

* logic

* even java had some

* no need to be a typedef

* paste in actual cylinder count
2021-07-07 08:31:05 -04:00
Andrey 3ffd340409 Option to log VVT target #2913
boring details
2021-07-06 20:54:39 -04:00
Matthew Kennedy 2eb0b2a631
Unified cyl count macro (#2914)
* update test framework

* eh

* hey look it's fewer warnings

* unwind

* fix

* config

* configs

* logic

* even java had some

* console needs help
2021-07-06 20:14:08 -04:00
Andrey aabdea4140 Option to log VVT target #2913 2021-07-06 20:00:53 -04:00
rusefi 0c9d4fd5d8 Nissan 2021-07-05 19:53:55 -04:00
rusefi 0393b038db Nissan 2021-07-05 17:57:25 -04:00
Matthew Kennedy 007a390f2b
Gate closed loop idle on road speed (#2901)
* implement

* test

* b

* config
2021-07-04 09:35:12 -04:00
Matthew Kennedy 142e44d82b
misc (#2899)
* dead fields

* defaults

* ui

* configs
2021-07-04 09:22:42 -04:00
Andrey 116aba739e https://github.com/rusefi/rusefi/issues/2848
per-board URL into project help
2021-07-03 23:47:23 -04:00
Andrey 492076f95c Nissan VVT trigger decoder #2887 2021-07-03 12:06:47 -04:00
Andrey e888d7e561 Nissan VVT trigger decoder #2887 2021-07-03 11:20:06 -04:00
Andrey 31c611d7a9 Nissan VVT trigger decoder #2887 2021-07-03 11:12:16 -04:00
Andrey 50e25605b8 Nissan VVT trigger decoder #2887 2021-07-01 17:28:52 -04:00
Andrey f11bd1544b Nissan VVT trigger decoder #2887 2021-07-01 17:03:17 -04:00
Matthew Kennedy 32f5ce6fb4
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
Matthew Kennedy cd5eb6a77c
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 c5dc371abb fan2 bench 2021-06-23 16:58:58 -04:00
Andrey b82110555f more bench commands into .txt 2021-06-23 14:48:42 -04:00
Andrey 35c8c9ac6b TS Burned All Data engine stop #2839
preparing test case
2021-06-20 23:32:31 -04:00
Matthew Kennedy aa8bfe0020
parse enums (#2832)
* enums and definitions

* bad merge

* txt format

* endBit

* handle 1-size arrays

* strings

* fix auto enum

* hard code 0 and 1

* jar

* jar
2021-06-20 17:35:31 -04:00
Matthew Kennedy 0d80a781e6
more config cleanup: get rid of extra spaces (#2836)
* oh boy

* double space between sentences
2021-06-18 22:53:39 -04:00
Matthew Kennedy d57ea124a1
cleanup for easier ini compare (#2830)
* remove dot zero

* don't parse as double

* minor formatting

* Revert "don't parse as double"

This reverts commit f2427927f7df0f5fa27ed66c888009e3a3da8412.

* expect integer "1"

* jar
2021-06-18 15:43:16 -04:00
Matthew Kennedy e7e9ab0d5c
Antlr 2 (#2823)
* grammar and libs

* gitignore

* parsing

* allow empty line as root statement

* tolerate #if

* config def changes

* s

* ant build

* workaround

* compiled tool

* grammar for unions

* parse unions

* layout logic

* fix union alignment

* union in config

* jar

* comment

* jar

* jar

* no prefix on root struct

* stray space

* normalize some enums
2021-06-18 12:31:23 -04:00
rusefillc 2fead8f1b3 typo & clarification 2021-06-17 11:38:36 -04:00
rusefillc dc7b1fc401 engine_load_mode_e clarification 2021-06-17 09:49:15 -04:00
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 2c6b8ae3c6
parse with antlr (#2747)
* grammar and libs

* gitignore

* parsing

* allow empty line as root statement

* tolerate #if

* config def changes

* s

* ant build

* workaround

* compiled tool

* console should not build config def tool

* ugh the dependency tree is insane

* this should fix hw ci

* console build

* console jenkins script

* test

* Revert "test"

This reverts commit 73f2da50f990bee9b51a1f919e8fcc6b06327d9a.

* throw on parse failure

* jar

* fix #2821

* comment
2021-06-16 17:07:05 -04:00
rusefillc 5c5ec16c13 docs 2021-06-16 11:20:14 -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 a1fa9719c9 Review default H64 tune #2815 2021-06-13 20:40:28 -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
Andrey 158296f990 reverting TCU cherry pick 2021-06-12 13:52:18 -04:00
Andrey 0432d689b4 helping build 2021-06-12 07:26:16 -04:00
Andrey 6b6034234f helping build 2021-06-12 07:00:26 -04:00
rusefillc f83c0b3b61 TCU cherry 2021-06-12 00:15:19 -04:00
rusefillc 61f5f3b93e TCU cherry 2021-06-12 00:10:06 -04:00
rusefillc df4bc3f720 TCU cherry 2021-06-11 23:41:23 -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
Andrey 24131cdc0e s/controlPin1/controlPin/ 2021-06-05 16:19:01 -04:00
Andrey a13634ba13 https://github.com/rusefi/hellen121vag/issues/38 2021-06-05 16:07:30 -04:00
Matthew Kennedy 790ac08a2e
Cranking defaults (#2787)
* defaults

* more

* cranking fuel

* cranking timing

* cranking time digits

* ugh these tests shouldn't depend on defaults
2021-06-02 08:21:36 +03: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
Matthew Kennedy 58b274c80c
safe boost duty (#2764) 2021-05-30 14:04:04 +03:00
Matthew Kennedy 2667810942
add pedal to gppwm (#2748)
* add pedal to gppwm

* string
2021-05-28 03:38:45 -04:00
Matthew Kennedy 8ce2057a89
parser rewrite prep: normalize config (#2741)
* cleanup 1

* cleanup 2

* impl

* fix
2021-05-27 08:23:28 -04:00
Andrey 4ebc018980 AFR tooltip 2021-05-26 14:11:05 -04:00
Andrey 61bcc73e14 ET_HELLEN_121_VAG_*_CYL 2021-05-25 18:16:03 -04:00
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