Commit Graph

2250 Commits

Author SHA1 Message Date
rusefillc 9c890e17fb new pin type: sent_input_pin_e #5158
only:mre_f4
2023-03-07 18:09:02 -05:00
rusefillc c9d44c866e "different user levels in TS" idea #5154 2023-03-07 10:40:56 -05:00
rusefillc 2de77a3e66 gdi
only:proteus_f7
2023-03-06 19:28:15 -05:00
rusefillc c65d02c676 https://rusefi.com/forum/viewtopic.php?p=47307#p47307
only:proteus_f7
2023-03-05 22:59:46 -05:00
rusefillc f974df0da7 Poor man categories for logs #5153 2023-03-05 11:49:57 -05:00
Andrey 0136c5211f dead-ish code
only:hellen-honda-k
2023-03-05 02:01:11 -05:00
rusefillc b9bc6a5012 CAN GPIO #4096
only:proteus_f4
2023-03-04 19:02:20 -05:00
rusefillc 812b22f979 k-line 2023-03-03 20:39:11 -05:00
rusefillc 9dbd7f7257 only:mre_f4 2023-03-01 18:48:18 -05:00
rusefi dc9268a5ee Native SENT TPS input 5079
only:mre_f4
2023-03-01 16:09:23 -05:00
rusefillc 92e62ba604 coasting detection threshold 2023-02-25 11:26:43 -05:00
Andrey 60a0c31788 https://github.com/rusefi/rusefi/pull/5040 2023-02-24 22:18:16 -05:00
rusefillc 2010487dfc hide hip9011 we shall 2023-02-22 19:03:56 -05:00
rusefillc 9310dab802 Revert "Feb20: 3rd ticket for 4g9x mess #5111"
This reverts commit 76a1876eeb.
2023-02-21 21:43:14 -05:00
rusefillc f8bd0d7159 Revert "Feb20: 3rd ticket for 4g9x mess #5111"
This reverts commit 2a84c514d4.
2023-02-21 21:42:31 -05:00
rusefillc 8e268a3542 Feb20: 3rd ticket for 4g9x mess #5111
something is really weird

only: alphax-4chan
2023-02-21 15:04:29 -05:00
rusefillc 2a84c514d4 Feb20: 3rd ticket for 4g9x mess #5111 2023-02-20 19:48:28 -05:00
rusefillc 76a1876eeb Feb20: 3rd ticket for 4g9x mess #5111
something is really weird
2023-02-20 19:04:58 -05:00
rusefillc aa30546479 Feb20: 3rd ticket for 4g9x mess #5111 2023-02-20 15:22:12 -05:00
rusefillc 48a259f949 Native SENT TPS input #5079 2023-02-20 11:57:21 -05:00
rusefillc beb62d146d Native SENT TPS input #5079 2023-02-20 11:52:10 -05:00
Matthew Kennedy 12c899ddca
wideband on second can (#5108) 2023-02-20 11:29:25 -05:00
Andrey d4a104b4bf DC is not ETB 2023-02-18 22:50:33 -05:00
Matthew Kennedy 325417caa7
fix 4g63 vs 9x naming, add cam-only test (#5093) 2023-02-16 23:22:34 -05:00
Nathan Schulte c26ff3c9de
update Toyota ETCS-i partial redundancy secondary-max values (#5086) 2023-02-16 08:02:35 -05:00
Matthew Kennedy 1b02c8e1b0 min gap tracking override length is actually 1 2023-02-15 18:50:47 -05:00
rusefi 108ca61ffb Native SENT TPS input #5079 2023-02-14 19:54:22 -05:00
rusefillc c1a8102dd1 Native SENT TPS input #5079 2023-02-14 13:20:18 -05:00
rusefi 9f1fe789be https://rusefi.com/forum/viewtopic.php?p=47157#p47157 2023-02-13 19:22:40 -05:00
Andrey a75b7056af Nick wonders if DC wastegate is still FUBAR #5075 2023-02-13 18:01:54 -05:00
Matthew Kennedy 28babe5cc2
add 50/83.3/125kbit CAN (#5072)
* fix CAN

* add 83/125 too

* bump config version
2023-02-13 17:13:57 -05:00
rusefi 0e502fed76 ETB gauges automation and progress 2023-02-13 00:57:19 -05:00
rusefi e567b36f77 ETB gauges automation and progress 2023-02-12 21:15:45 -05:00
Matthew Kennedy 632cf9dd2d
remove useETBforIdleControl (#5054)
* remove useETBforIdleControl

* etb integrated

* jni weirdness
2023-02-12 16:49:12 -05:00
rusefillc 412e64c1c5 Split ConfigGenerator around trigger_defines.txt #5051 2023-02-11 15:30:01 -05:00
rusefillc 620af07ba9 Antilag switch pin mode was ignored fix #5036 2023-02-08 07:33:04 -05:00
rusefillc 2a7db23708
Als timer smaller (#5041)
* Update default_base_engine.cpp

(cherry picked from commit 8ac64e2a16f18b7497c3fa1993a4d3e31a161332)

* als timer meta

---------

Co-authored-by: TurboMarian <podgajnymariusz@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-02-06 19:05:38 -04:00
Matthew Kennedy 6e89e71d0a
more flexible GPPWM (#5032)
* gppwm improvements!

* test

* ui

* autoscale
2023-02-06 08:53:31 -04:00
rusefillc 432f575888 poke 2023-02-02 20:13:57 -05:00
Benas Brazdziunas f7aed24da9
dual ADC wideband support (#5007)
* Initial work on dual ADC wideband

* Added FunctionPointerSensor lambdaSensor2 and registered second sensor

* removed second sensor heater output. Only used for NB and probably can be shared with sensor 1

---------

Co-authored-by: benas-gavea <bbrazdziunas@gavea.co.uk>
2023-01-29 05:01:39 -05:00
rusefillc 728db11c56 Alternator Duty Cycle Adder for AC Fan fix #4973 2023-01-24 10:29:08 -05:00
rusefillc 0cb7b9d7fb Alternator Duty Cycle Adder for AC Fan #4973 2023-01-24 09:55:35 -05:00
rusefillc 8f2465428d Alternator Duty Cycle Adder for AC Fan #4973 2023-01-24 09:53:10 -05:00
Matthew Kennedy 9630edfbf8
mitsu 4g63 (#5001)
* mitsu 4g63

* file header
2023-01-24 06:53:40 +05:30
rusefillc f3ed5159b7 Default binary should have more relaxed pinout: FATAL pin #5002
only UI here
2023-01-23 10:14:52 -05:00
rusefillc 124493efeb Default binary should have more relaxed pinout: serial fix #4998
we can now simplify code a bit
2023-01-23 08:16:30 -05:00
Matthew Kennedy 71d35343d9
renumber airmass mode enum to start at 0 (#4986)
* #1690

* hw ci tests
2023-01-21 08:12:27 +05:30
Matthew Kennedy d92b90c0a5
emit v2 mlg (#4979)
* emit v2 mlg

* missed a spot

* s

* s

* binary log unit test

* sd generator test

* oop

* getcategory

* write zeroes instead of null pointer in case of no category
2023-01-21 07:31:40 +05:30
Matthew Kennedy ab7640493c
dead (#4985) 2023-01-21 06:49:05 +05:30
rusefillc 72713de50a helping kinetis 2023-01-16 16:39:08 -05:00
rusefillc 806b644b73 progress on boost logging and gauges 2023-01-16 16:10:14 -05:00
Andrey 35f0af7240 TS gauges section should be auto-generated #4972 2023-01-16 08:39:58 -05:00
Andrey b6dbb5479e TS gauges section should be auto-generated #4972 2023-01-16 00:24:42 -05:00
Andrey 6588e813ae totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-15 08:26:38 -05:00
Andrey 6653b9861a totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-15 08:12:32 -05:00
rusefillc c68beda49f totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-15 06:26:22 -05:00
Andrey 9abdab795d totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-14 23:21:23 -05:00
rusefillc 785f1c4263 IAC PID Multiplier Table Rounding Issue fix #4963 2023-01-11 02:13:01 -05:00
rusefillc 2fea898f2f IAC PID Multiplier Table Rounding Issue fix #4963 2023-01-11 01:59:23 -05:00
rusefillc 6ab09f3cda Merge branch 'master' of https://github.com/rusefi/rusefi into master 2023-01-10 16:12:13 -05:00
rusefillc ee5c9db9a8 detect and ignore doubled trigger edges #4656 2023-01-10 16:11:50 -05:00
Matthew Kennedy 15d41c31c7
support Toyota ETCS-i tps/pps (#4898)
* cfg

* cfg

* configurable "ford tps" mode for TPS + PPS

* comments

* comment

* fix deinit RedundantFordTps

unregister sensor in case useFordRedundant* changes, avoiding ECU config error

* better validation

* use activeConfiguration on deinit path

* use define

* use smaller unused hole

* s

Co-authored-by: Nathan Schulte <nmschulte@desmas.net>
2023-01-10 14:10:30 -05:00
Andrey 0f1d46238f Mitsubishi 4G93 Trigger issues #4918 2023-01-07 16:28:57 -05:00
Matthew Kennedy e5d199272d
improve iat ignition table (#4948)
* iat ignition table

* changelog
2023-01-06 21:59:34 -05:00
rusefillc d6d6df568c Ignition IAT Corr Load Bins Range fix #4941 2023-01-05 12:30:53 -05:00
rusefillc 279f570cb7 reducing misinformation 2023-01-05 07:23:51 -05:00
rusefillc a73d0636f8 rollingLaunchEnabled is dead for now 2023-01-04 21:14:46 -05:00
rusefillc 7826816ecc getDigital only works for 4 specific pins. Can it be made to work with generic digital pins? #4861 2023-01-04 21:12:14 -05:00
Andrey def809aa39 Mitsubishi 4G93 Trigger issues #4918
adding more info on the trigger images
2023-01-03 15:44:13 -05:00
rusefillc 4ac81bbc83 ALS fuel fix 2022-12-31 14:12:17 -05:00
rusefillc 5d11b01262 freedom 2022-12-26 23:44:42 -05:00
rusefillc b434529c95 antilag and anti-lag #2403
TurboMarian is the ALS boss
2022-12-21 19:19:47 -05:00
rusefillc 86d8380390 TurboMarian is the ALS boss 2022-12-21 18:26:56 -05:00
rusefillc f82f604a3f ohhh we already have FO_1_2_3_4_5_6_7_8 2022-12-20 21:23:25 -05:00
rusefillc 4e61d92099 FO_1_2_3_4_5_6_7_8 2022-12-20 21:13:33 -05:00
rusefillc 8fb88197dd GDI progress 2022-12-20 17:40:15 -05:00
rusefillc 7071d25cfb TurboMarian is the ALS boss 2022-12-17 00:07:44 -05:00
rusefillc 12d79d09de TurboMarian is the ALS boss 2022-12-16 23:51:50 -05:00
rusefillc e7ce34ff37 TurboMarian is the ALS boss 2022-12-16 23:32:04 -05:00
rusefillc b3954122d6 TurboMarian is the ALS boss 2022-12-16 20:22:48 -05:00
Matthew Kennedy 52884c64cb
SD card tooth log (#4897)
* adjust tooth logger api

* mmc card writes tooth log

* changelog
2022-12-15 08:34:10 -04:00
Andrey 0b260b3e9f antilag and anti-lag #2403 2022-12-14 22:38:14 -05:00
rusefillc d0584d344f antilag and anti-lag #2403 2022-12-14 22:25:06 -05:00
rusefillc 28b635653b Jammed ETB detection #4873 2022-12-13 22:32:43 -05:00
Matthew Kennedy cfe2ca690b
Trigger scope uses full buffer (#4893)
* trigger scope uses full buffer

* channels swapped on 4chan

* UI has custom names for boards
2022-12-13 19:55:36 -04:00
rusefillc e2a0f64c99 RPM correction/multiplier for Accel Enrich #4760 2022-12-13 14:58:55 -05:00
Matthew Kennedy 2a372b6da1
tooth logger uses big buffer (#4883)
* big buffer

* mostly hooked up big buffer

* bad merge

* s

* sneak preview of trigger scope

* s

* constness

* channel limits

* s

* unnecessary

* efilib

* TcpServerSandbox

* includes fix

* binary format

* tooth logger uses big buffer

* dead config
2022-12-10 17:17:15 -05:00
Matthew Kennedy 9f76dc4c6b
Use a shared buffer for "high memory" operations (#4878)
* big buffer

* mostly hooked up big buffer

* bad merge

* s

* sneak preview of trigger scope

* s

* constness

* channel limits

* s

* unnecessary

* efilib

* TcpServerSandbox

* includes fix

* binary format
2022-12-10 07:35:39 -05:00
rusefillc 92bd9c2e35 reducing aux/lua mess 2022-12-04 12:51:57 -05:00
rusefillc 9b4fbc0006 getDigital only works for 4 specific pins. Can it be made to work with generic digital pins? #4861 2022-12-04 12:45:27 -05:00
Andrey 9a38d23b61 ETB duty cycle jitter: only monitoring within this ticket fix #4833 2022-11-30 19:49:16 -05:00
rusefi 511a6be63c ETB overheats due to constant isTpsError true/false/true/false jitter: this seems obvious enough to disable ETB at least on non running engine #4832
better default for 16 bit fields
2022-11-30 13:23:19 -05:00
rusefi 9132e85565 ETB duty cycle jitter #4833
brain fart :(
2022-11-29 22:11:41 -05:00
rusefi b3a3c97b87 ETB duty cycle jitter #4833
still totally dead on real hardware and I've already fixed two defects! time for an indicator
2022-11-29 22:01:15 -05:00
rusefillc 1190d64156 ETB duty cycle jitter #4833 2022-11-28 20:01:26 -05:00
Matthew Kennedy 0be3312bfe
fuel computer in SD logs (#4828)
* remove duplicate target lambda/afr

* names on fuel computer

* remove more copies

* sensor.java

* everybody loves hard dependencies on generated fields

* target afr gauge fix

* constexpr fuel computer

* status loop

* happier test

* gone test is happy test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-28 19:25:49 -05:00
Matthew Kennedy ef53ff0104
period -> frequency (#4837)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 08:10:05 -05:00
rusefillc 268a89a05d ETB duty cycle jitter #4833 2022-11-27 00:45:02 -05:00
rusefi 3375648612 usability progress: conditional ETB button enable. TODO: make logic consistent with other instances of same buttons 2022-11-26 14:26:29 -05:00
rusefillc 80f2cc12c8 Full Optimized – High Speed #4818 2022-11-23 21:30:50 -05:00
rusefillc 3688fdb006 Full Optimized – High Speed #4818 2022-11-21 22:08:16 -05:00
rusefillc aceb37ff97 Full Optimized – High Speed #4818
one step back
2022-11-21 20:45:37 -05:00
rusefillc 2fa47dfe3e Full Optimized – High Speed #4818 2022-11-21 20:20:14 -05:00
Nathan Schulte 471bcf063c Full Optimized – High Speed #4818 2022-11-21 20:12:13 -05:00
rusefillc dbfb52cda8 Boost is it actually "open+closed"? fix #4803 2022-11-20 00:03:40 -05:00
rusefillc a331cfa2c9 simpler SENT for now 2022-11-19 09:38:39 -05:00
Andrey ce550aaa3d new trigger wheel shape for Benelli 3-cylinder engines #4744 2022-11-16 15:45:32 -05:00
rusefillc 32d3669a35 new trigger wheel shape for Benelli 3-cylinder engines #4744 2022-11-16 11:35:00 -05:00
rusefi 0f9ce300fb sentErrorRate digits 2022-11-15 19:53:25 -05:00
rusefillc d25f37ea0e Show cams in TS trigger logger #2496
oops
2022-11-14 23:42:10 -05:00
rusefillc 1e42eafed5 high-speed composite logger #416 2022-11-14 18:32:26 -05:00
rusefi 3f4165fc17 Add fuel adder to launch #4777
only UI for now
2022-11-13 19:55:46 -05:00
rusefi 0e71535727 Ford SENT ETB bench test in NJ #4745 2022-11-11 18:07:13 -05:00
rusefi b1967de1cc minor naming consistency, should this be taken further? 2022-11-10 15:09:52 -05:00
Matthew Kennedy 5c50ad2db4
infer useOnlyRisingEdge by trigger type (#4621)
* most of the plumbing

* easy tests

* trigger types that are rise only

* configs

* change mode of various triggers

* vvt

* 898 test is now impossible 🥳

* s

* instant rpm test

* actually remove useOnlyRisingEdgeForTrigger

* remove vvtCamSensorUseRise

* s

* print

* one happy test

* another test

* happy testSomethingWeird

* happy testCamInput

* maybe fix it a different way

* better

* quad cam

* nb2 happy

* bad merge

* vvt test

* trigger.test1995FordInline6TriggerDecoder

* hellen gm e67

* changelog
2022-11-08 21:48:39 -05:00
Matthew Kennedy 1269428044
remove idle timing deadzone (#4731)
* remove idle timing deadzone

* test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-04 15:02:20 -04:00
rusefillc 8faa664703 todo: better names 2022-11-02 11:16:42 -04:00
rusefillc 53649f73f1 Too long field comment becomes log field name #4716 2022-11-01 16:51:51 -04:00
rusefillc 30b41eb6a2 SD card log fields list should be auto-generated #3985 2022-10-28 10:28:38 -04:00
rusefillc bdb9c54baf SD card log fields list should be auto-generated #3985 2022-10-26 22:07:24 -04:00
Matthew Kennedy f967231bb9
bigger blocking factor (#4703) 2022-10-26 16:49:55 -04:00
Matthew Kennedy f8a4d35d25
dual MAF sensors (#4697)
* add second MAF

* output channesl

* move them around

* ok let's try at the very end

* is the logic wrong, or something else?

* ooh it's the sensor order
2022-10-24 12:41:05 -04:00
Matthew Kennedy 071796db92
allow all pins for inputs on default builds (#4693) 2022-10-23 15:29:12 -04:00
Matthew Kennedy 24650f6460
implement "ford mode" injector correction (#4686)
* implement "ford mode"

* missed the enum value
2022-10-20 22:25:39 -04:00
rusefillc c5a078e7fe SENT protocol capture implementation #4631 2022-10-19 15:21:13 -04:00
Matthew Kennedy 2bc8fbce7d
VE blend tables (#4640)
* blendy ve too

* ui

* small optimizations

* save kinetis memory

* changelog
2022-10-19 06:42:22 -04:00
rusefillc e16c8f9120 Lua aux gauge #4672 2022-10-17 21:21:23 -04:00
rusefi 5df4a196af Lua aux gauge #4672 2022-10-16 23:38:24 -04:00
rusefillc 311af3ffbc triggerImage: todo: support symmetrical crank 2022-10-16 02:29:30 -04:00
Matthew Kennedy 09ad5a738c
allow SD logging non-scaled_channel (#4657)
* allow SD logging non-scaled_channel

* comments and kick ci
2022-10-11 20:58:43 -04:00
rusefillc 3acc8af0b4 SD card log fields list should be auto-generated #3985 2022-10-10 21:25:35 -04:00
rusefillc 4dbc7cb5bb VVT minimum RPM #4545
typo :(
2022-10-07 11:58:13 -04:00
Matthew Kennedy a773b3249a
remove 2jz trigger that's really 12 tooth crank (#4637)
* remove 2jz trigger that's really 12 tooth crank

* triggerimage hardcoded name
2022-10-05 21:59:17 -04:00
rusefillc 3788d6e9f3 there is no third trigger simulator channel right? 2022-10-03 10:59:03 -04:00
rusefillc 565bad8953 CAN side of automated testing #4630 2022-09-29 20:55:38 -04:00
rusefillc 28f7d9cfb9 VVT minimum RPM #4545 2022-09-27 22:17:43 -04:00
rusefillc 7475ad9ddf engineSyncCam to be a drop-down not a number value #4611 2022-09-27 12:37:13 -04:00
rusefillc 58b05a1192 ;+ is no longer needed 2022-09-26 06:06:55 -04:00
rusefillc 2e7fe6fe40 ;+ is no longer needed 2022-09-26 05:44:52 -04:00
rusefillc 9f1210229e engineSyncCam to be a drop-down not a number value #4611
the easy part
2022-09-26 05:26:52 -04:00
Andrey 2ec9cca5e2 Honda K cam wheels #3405 2022-09-24 23:49:41 -04:00
Matthew Kennedy 16fd12f74d
up the table axis limits (#4609) 2022-09-23 19:11:24 -04:00
rusefillc 6e543355a7 useBiQuadOnAuxSpeedSensors 2022-09-19 12:13:20 -04:00
rusefillc 83dc351435 documenting biquad or else concerns 2022-09-19 12:06:00 -04:00
Matthew Kennedy 57a22fd713
gppwm load axis can be another GPPWM channel (!!!!!) (#4587)
* gppwm load axis can be another GPPWM channel (!!!!!)

* explicit cast

* efiAssert not void

* kick
2022-09-17 21:38:06 -04:00
Matthew Kennedy 8ea31909a3
add ignition adder tables (#4586)
* ign blend tables

* tweaks

* iterate

* tweaks

* axis values

* changelog
2022-09-16 20:07:04 -04:00
Matthew Kennedy 87649b9f72
more gppwm options (#4585)
* more gppwm options

* fix ui

* gppwm list size
2022-09-16 16:04:03 -04:00
rusefillc 73537bd387 kick Start Cranking mode #4569 2022-09-13 02:18:49 -04:00
rusefillc 6936aed5e4 a bit of dead code 2022-09-11 01:02:56 -04:00
rusefillc 37e65e159a Mark is asking for VIN number field #3967
GM says Hi
2022-09-10 01:05:31 -04:00
rusefillc 7b4a5c9be6 vvtBooleanForVerySpecialCases, tempBooleanForVerySpecialLogic 2022-09-09 17:52:54 -04:00
Matthew Kennedy 72299bd1ba
only report vvt position if we have full sync (#4547)
* only report vvt position if we have full sync

* comments

* make it selectable, since that makes the test useful
2022-09-08 16:15:36 -04:00
Andrey dab9e04b25 remove alternator on/off mode fix #4548 2022-09-07 22:46:42 -04:00
rusefi f399e275b2 servo is truly not alive 2022-09-06 16:29:12 -04:00
rusefillc 17f2a8e638 customTotalToothCount has to be positive and realistic 2022-09-05 19:25:06 -04:00
rusefillc 64152a4620
step forward (#4519) 2022-09-01 23:38:33 -04:00
Andrey db9d4c8201 tear down Engine god object #4511
just trying different things
2022-09-01 19:05:40 -04:00
Matthew Kennedy ca4936d3fe
rename and fix skyactiv cam mode (#4505) 2022-08-31 22:12:45 -04:00
Matthew Kennedy b6bb5f148d
set a default, detect error (#4504) 2022-08-31 20:32:37 -04:00
Matthew Kennedy bf85db1c9b
AC delay (#4502)
* AC delay

* changelog
2022-08-31 19:01:42 -04:00
Matthew Kennedy ee97e2a7d0
knock retard limit table (#4498)
* add max retard table

* ui

* s

* better naming

* s

* test can use base class
2022-08-30 01:57:37 -04:00
Matthew Kennedy cbe70f8dec
idle always uses instant rpm (#4499)
* idle always uses instant rpm

* configs

* fully inject rpm
2022-08-29 22:18:06 -04:00
Matthew Kennedy 921ac51944
fixes (#4497) 2022-08-29 20:32:07 -04:00
Matthew Kennedy 553b549b95
idle coasting table is RPM, not clt (#4487)
* idle coasting table is RPM, not clt

* default

* autoscale

* changelog
2022-08-29 08:15:04 -04:00
rusefillc 4b0c8c9ff2 TT_VVT_MAZDA_MYSTERY 2022-08-28 21:54:24 -04:00
Matthew Kennedy ca60dc17bb
trim table for throttle #2 (#4472)
* add table and wire it up

* trim table ui

* initialization

* changelog

* add a test
2022-08-28 08:28:20 -04:00
rusefillc 95b9ee3191 TinerStudio: no need to have 3s timeout, 300mS is ok for single-back devices. fix #4360 2022-08-27 18:19:47 -04:00
Matthew Kennedy 4d66dff87c
dfco delay (#4482)
* dfco delay

* config

* using a function that doesn't exist? who does that

* test new behavior

* clearer test
2022-08-25 21:26:17 -04:00
Matthew Kennedy 73abcb044d
log the state of hasSynchronizedPhase() (#4478)
* s

* log whether we've synced phase

* trigger_state_primary

* need that file

* engine state is not the right spot
2022-08-24 18:11:05 -04:00
rusefi 349e07d554 refactoring 2022-08-24 12:11:11 -04:00
Andrey 090ad8e9fc Revert "Revert "Revert "Pavel Xenon is asking for EGT limping mode #3172"""
This reverts commit c826955e98.
2022-08-22 23:44:51 -04:00
Andrey c826955e98 Revert "Revert "Pavel Xenon is asking for EGT limping mode #3172""
This reverts commit ea69126b76.
2022-08-22 23:06:45 -04:00
Andrey ea69126b76 Revert "Pavel Xenon is asking for EGT limping mode #3172"
This reverts commit be63c4fd52.
2022-08-22 20:08:24 -04:00
rusefillc be63c4fd52 Pavel Xenon is asking for EGT limping mode #3172
let's lower expectations for now
2022-08-22 18:10:32 -04:00
Andrey a4a9a2c182 Revert "Revert "Revert "small step forward? (#4450)"""
This reverts commit 3fb0cb2516.
2022-08-21 15:23:20 -04:00
Andrey 3fb0cb2516 Revert "Revert "small step forward? (#4450)""
This reverts commit c97f86e8a7.
2022-08-21 14:43:50 -04:00
rusefillc 2b51761434 Extra Idle Air if Throttle is Pressed behavior #3940 2022-08-18 21:19:55 -04:00
rusefillc 2da7ed51f0 Extra Idle Air if Throttle is Pressed behavior #3940 2022-08-18 21:10:19 -04:00
rusefillc db8a965288 unconditional VVT PID logging 2022-08-17 00:47:31 -04:00
Matthew Kennedy 01386be06d
quad cam on kinetis, for science (#4452)
* for science

* more
2022-08-16 22:33:29 -04:00
rusefillc 0785bc6e86 romraider is gone part 3 2022-08-16 22:32:21 -04:00
rusefillc d396a07f0f poke just in case 2022-08-16 21:00:59 -04:00
Andrey c97f86e8a7 Revert "small step forward? (#4450)"
This reverts commit 10c3d5080a.
2022-08-16 19:43:46 -04:00
rusefillc 10c3d5080a
small step forward? (#4450)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-08-16 18:57:40 -04:00
rusefillc ac39e7e555 Revert "VVT target to allow negative values #4424"
This reverts commit e5633131a2.
2022-08-14 17:03:21 -04:00
rusefillc e5633131a2 VVT target to allow negative values #4424
baby step towards VVT pid logging
2022-08-14 15:59:44 -04:00
Matthew Kennedy e9e6df6d7f
add option to invert vvt control (#4425)
* add option to invert vvt control

* s

* s

* s

* one bit per cam type

* move the space

* I don't spelling good

* changelog
2022-08-09 16:22:55 -04:00
rusefillc 53c83ff0f8 VVT target to allow negative values #4424
ooooops
2022-08-09 15:41:02 -04:00
rusefillc c7c443ea24 https://github.com/rusefi/hellen154hyundai/issues/57 2022-08-09 13:26:11 -04:00
rusefillc 7b5eedf6bc ISO-TP does not work on real car #4427 2022-08-09 12:29:26 -04:00
rusefillc 5d0aac56e9 VVT target to allow negative values #4424 2022-08-08 22:48:13 -04:00
Andrey G bd44357129
config: options to enable OpenBLT on CAN interfaces (#4423) 2022-08-07 17:56:11 -04:00
rusefillc 8a1812efd2 [SECURITY] Cheap password protection against tune modification #4243 2022-07-30 12:07:04 -04:00
rusefillc dc2d613cd8 [SECURITY] Cheap password protection against tune modification #4243 2022-07-30 11:29:13 -04:00
rusefillc 6f14073963 [SECURITY] Cheap password protection against tune modification #4243
actually the area at the end is way safer for a new lock field
2022-07-30 11:18:10 -04:00
rusefillc b518498994 [SECURITY] Cheap password protection against tune modification #4243 2022-07-30 09:56:04 -04:00
rusefillc c953cdf37c [SECURITY] Cheap password protection against tune modification #4243 2022-07-30 09:31:53 -04:00
Matthew Kennedy 6b83ec8c08
boost control thresholds (#4392) 2022-07-28 09:45:16 +03:00
Matthew Kennedy d4b8a036af
Log gppwm output values (#4385)
* remove debug option

* purpose built output channels

* name

* embiggen sd log buffer

* Revert "embiggen sd log buffer"

This reverts commit 37432a56535b24c221ae92e9aaded23de4d4a579.

* embiggen SD log buffer
2022-07-27 12:10:00 +03:00
rusefillc 4987a0b93c Launch control bug? "range" thing is confusing #4348
a typo and configurable behaviour without UI
2022-07-20 18:48:55 -04:00
rusefillc a03d927638 Launch control bug? "range" thing is confusing #4348
bug or dead code? at least making it a bit more obvious
2022-07-20 18:30:20 -04:00
rusefillc 15c81ca90c Launch control bug? "range" thing is confusing #4348
minor tooltip progress
2022-07-20 18:27:44 -04:00
Matthew Kennedy d413b28a77
GDI: add min/max boost time config (#4343)
* add min/max boost time config

* add cast

* generated

* UI
2022-07-16 02:23:05 -04:00
rusefillc 082b7a23ea FSIO is dead 2022-07-14 07:46:10 -04:00
rusefillc 4f7262c3bd Make hard-coded gap ratios visible on trigger documentation images #4172 2022-07-11 12:36:41 -04:00
rusefillc 2f0db8b7c4 Make hard-coded gap ratios visible on trigger documentation images #4172 2022-07-11 04:21:17 -04:00
rusefillc 9e26fe007e debug is set to idle mode, but none of the debug fields show anything #4335
reducing confusion
2022-07-07 23:04:19 -04:00
Matthew Kennedy aecacc6aa1
Rewrite tooth logger buffer management (#4317)
* s

* make it work

* put back enough maybe

* fix console composite log

* unit tests can just use a vector, why not

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-07-04 16:57:17 -04:00
Matthew Kennedy 8e107cc477
more generous script table axis limits (#4309)
* script table axis limits

* curves too, why not

* s

* s

* table type
2022-07-01 06:51:47 -04:00
Matthew Kennedy 3284282be7
rescale RPM values (#4300)
* rpm configs

* fix

* s

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-06-29 18:48:30 -04:00
rusefillc d30dc7245b startUpFuelPumpDuration tooltip fix 2022-06-29 13:15:34 -04:00
rusefillc c48af1456a startUpFuelPumpDuration tooltip fix 2022-06-29 10:48:36 -04:00
Andrey 19aad9f51d logging of live data structs was: data points #3614 2022-06-29 03:21:25 -04:00
rusefillc 241f2765e9 logging of live data structs was: data points #3614 2022-06-29 01:49:59 -04:00
rusefillc b231b458a1 usability confustion: ediatble fields with board overrides fix #4295 2022-06-27 13:35:22 -04:00
rusefillc e053f0b9eb verboseQuad 2022-06-26 19:47:58 -04:00
rusefillc 5a2b430183 visiting "live data" tab causes fatal error on ECU fix #4271 2022-06-25 19:48:48 -04:00
Matthew Kennedy 29420c76aa
wideband live data (#4276)
* wideband live data magic

* test build happy

* test even happier
2022-06-23 20:04:26 -04:00
Matthew Kennedy b92c0149d6
get rid of setSerialConfigurationOverrides (#4274)
* get rid of setSerialConfigurationOverrides

* missed a few

* kinetis
2022-06-23 19:42:09 -04:00
Matthew Kennedy 9d62aeb81f
force o2 heating (#4275) 2022-06-23 14:32:34 -04:00
Matthew Kennedy 11d58f8d5a
clt based rpm limit (#4267) 2022-06-22 16:49:24 -04:00
rusefillc d639a42621 https://rusefi.com/forum/viewtopic.php?f=5&t=2353 2022-06-20 07:43:23 -04:00
Matthew Kennedy 7e8ae7c8a3
Write output channels with new parser (#4219)
* let the new parser run

* s

* support for output channels

* usages reader uses new parser for output channels

* better debugging configuration

* bad merge

* test it a bit too

* more tests

* copy/paste the same content from other file

* s

* fix bugs where even the existing logic tries to write as an enum (?)

* jar

* print stream always unix

* print stream always unix

* use typedefs correctly

* jar

* stub support for multiple of each type

* s

* s

* name some more datas
2022-06-19 09:52:23 -04:00
Matthew Kennedy 606e04364b
new parser TS output fixes, config file fixes (#4261)
* new parser TS output fixes, config file fixes

* jar
2022-06-18 17:24:50 -04:00
rusefi ff477f59d0 verbose trigger sync should reuse engineSnifferRpmThreshold #4259
unused field & updated tooltip
2022-06-18 14:46:31 -04:00
Matthew Kennedy ca775ef489
no trailing invalid (#4257)
* don't pad

* test & jar

* do it in the new parser too

* remove from config txt

* minor file format cleanups while we're at it
2022-06-17 21:23:42 -04:00
rusefillc b6bf3bc37c refactoring 2022-06-06 17:04:44 -04:00
rusefi 2f3bd4b923 new autoscale constraint #4111 2022-06-03 01:05:48 -04:00
Matthew Kennedy 41dbf51d06
use yaml like you're supposed to (#4233)
* use yaml like you're supposed to

* parse output names (but don't use it yet)
2022-06-03 01:02:16 -04:00
rusefi 61e01f3bc1 breaking things for sake of autoscale, would this pass CI? 2022-06-03 00:15:17 -04:00
rusefi faa4683556 refactoring: extract constant 2022-06-03 00:14:46 -04:00
rusefi 1f266dff51 triggerComp scale issues #4235 2022-06-03 00:09:13 -04:00
Matthew Kennedy 4ada633206
Remove third trigger channel (#4226)
* remove third trigger

* clean up the honda mess

* there was nothing novel about this engine config

* include

* missed a few

* s

* x

* changelog

* don't set the third trigger input

* don't redefine the same thing 3 times

* only two inputs!

* test
2022-06-01 21:24:20 -04:00
Matthew Kennedy 9445e73dfd
500 byte blocking factor (#4227) 2022-06-01 20:27:20 -04:00
rusefillc 0b0227dce2 hard requirement for console version match #4187 2022-06-01 10:21:22 -04:00
Matthew Kennedy d5a4804993
remove dead useOnlyFirstChannel (#4211)
* This field was ignored.

* move pad out

* gone
2022-05-30 07:03:40 -04:00
rusefillc 71fe722b31 lazy docs 2022-05-28 17:47:08 -04:00
rusefillc 1e61639f55 TS refactoring 2022-05-28 10:48:07 -04:00
rusefillc 97def4b01f TS injector bench test pulse is too short #4192 2022-05-22 11:08:34 -04:00
rusefillc 6256e10fd2 hiding second VR threshold 2022-05-19 12:35:04 -04:00
Matthew Kennedy fe77f5127e
12 tooth crank mode (#4179)
* 12 tooth crank

* comment

* s

* rusefi config
2022-05-17 21:38:24 -04:00
rusefillc c326ab1ca0 dead code 2022-05-15 10:16:07 -04:00
rusefillc 696d2b5145 cute typo! it's actually https://en.wikipedia.org/wiki/Toyota_JZ_engine 2022-05-12 04:56:23 -04:00
Matthew Kennedy 907adc6583
remove 360 trigger (#4165)
* remove 360

* s

* simplify that mess
2022-05-11 06:15:06 -04:00
rusefillc 26233a3957 firmware update via CAN #3362 2022-05-10 06:14:57 -04:00
Matthew Kennedy 5eb5b7cfbb
phase resolution rpm limit (#4156) 2022-05-10 07:22:50 +03:00
rusefillc c537a1ed44 Remove value copy from controller into outputChannels #4095 2022-05-09 05:34:37 -04:00
rusefillc 392188f2c6 Hide pin mode from well-known boards #3397 2022-05-08 15:11:28 -04:00
Andrey ed267c2d09 helping build 2022-05-08 08:59:14 -04:00
rusefillc c2763e82cd An option to disable semi-random ignition #4151 2022-05-08 07:58:19 -04:00
rusefillc 7df4f36f88 Revert "Ford Mustang firing order 1-5-4-2-6-3-7-8 fix #4150"
This reverts commit 76243afa9c.
2022-05-08 07:10:54 -04:00
rusefillc 76243afa9c Ford Mustang firing order 1-5-4-2-6-3-7-8 fix #4150 2022-05-08 07:07:34 -04:00
Matthew Kennedy b650bbe46c
Trigger gm 3 vs 5 (#4140)
* add parameter

* two modes

* add new mode to list

* format

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-05-06 08:25:44 -04:00
Matthew Kennedy 2a204b9b8f
binary log knock count and retard (#4139) 2022-05-05 07:41:41 +03:00
rusefillc 59913999ad https://github.com/rusefi/rusefi/issues/4119 2022-05-03 02:49:26 -04:00
rusefillc ca2f4f8685 int32 scaled_channel has float precision #4128
unblocking master for now
2022-05-02 05:25:30 -04:00
rusefillc 3b3f62b24f Make ETB low limit configurable fix #4119 2022-05-02 05:24:50 -04:00
Andrey f3b7e1ae25 Move curves out of engineConfiguration in order to reduce RAM usage fix #4127 2022-05-02 05:04:58 -04:00
Andrey beee828b6f Technical debt: ENUM_32_BITS #3874
one step back
2022-05-02 04:38:04 -04:00
rusefillc 7db9361487
Next steps 4 (#4130)
* Technical debt: ENUM_32_BITS #3874

* Make ETB low limit configurable #4119

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-02 04:13:59 -04:00
rusefillc a71b9bc807 Make ETB low limit configurable #4119 2022-05-02 01:25:32 -04:00
Andrey e62877964a Move curves out of engineConfiguration in order to reduce RAM usage #4127 2022-05-01 23:43:43 -04:00
rusefillc e98f331cda Technical debt: ENUM_32_BITS #3874 2022-05-01 23:07:12 -04:00
rusefillc 20d1977bc1
Technical debt: ENUM_32_BITS #3874 (#4125)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-01 21:57:50 -04:00
rusefillc 7eaf282983
Technical debt: ENUM_32_BITS #3874 (#4124)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-01 21:03:42 -04:00
rusefillc 34cc49769d Technical debt: ENUM_32_BITS #3874
hmm one step back
2022-05-01 15:13:01 -04:00
rusefillc a04da5c19d Technical debt: ENUM_32_BITS #3874 2022-05-01 13:51:36 -04:00
rusefillc 05f8d4600b
Next steps (#4120)
* Technical debt: ENUM_32_BITS #3874

* Technical debt: ENUM_32_BITS #3874

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-01 08:02:51 -04:00
rusefillc 6798a74f3d Technical debt: ENUM_32_BITS #3874 2022-04-30 12:54:12 -04:00
rusefillc 571211501e
2 byte pin index #4097 (#4102)
* 2 byte pin index #4097

* 2 byte pin index #4097

good time to defragment configuration

* 2 byte pin index #4097

new fancy way

* 2 byte pin index #4097

smart comment

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-04-29 19:35:31 -04:00
rusefillc 236d8c91ac knock reaction #202 2022-04-29 11:57:48 -04:00
rusefillc 07201ae979 knock reaction #202 2022-04-29 11:22:24 -04:00
Matthew Kennedy e4a0979dc2
Brain pin is enum class (#4108)
* change most usages to Gpio::

* board configs

* engine configs etc

* isBrainPinValid, smart gpio

* generator

* generator

* generator

* connector yamls

* kinetis enums

* cypress txt

* kinetis config

* frankenso

* config generator

* actually do it for the others

* disable skips for pr ci

* fix tle8888

* misc

* weird cast from int

* needs this operator too

* this can be an unsigned subtract

* happy tests

* s

* kinetis isConfigurationChanged weirdness

* missed J/K

* cypress efifeatures

* build script mistake (!)

* mistake in smart gpio

* debounce

* eg33

* kinetis, so needy

* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
Matthew Kennedy 38213bbc00
more missing autoscale (#4112)
* autoscale m_config->timeConstant

* min/max afr

* more

* dwell voltage

* closed loop fuel

* knock

* map estimate

* applyNonlinearBelowPulse

* fix

* add a test while we're at it for un-covered code

* test fallback MAP since we touched that

* always compute fallback MAP even if sensor is OK
2022-04-28 08:16:02 -04:00
Matthew Kennedy 1329537dc9
missed autoscale (#4105) 2022-04-26 19:00:37 -04:00
Andrey 8cce36f7cf we no longer need those! 2022-04-25 21:23:50 -04:00
rusefillc c795d93c46 2 byte pin index #4097
preparation - making things simpler
2022-04-25 00:51:27 -04:00
rusefillc ad2a38ced9 rusEFI 2022-04-23 20:55:52 -04:00
rusefi f9c7a48369 Lua is new FSIO 2022-04-23 17:15:34 -04:00
rusefi e5d666a968 Lua is new FSIO 2022-04-23 17:02:50 -04:00
rusefillc 4968406083 docs 2022-04-23 09:29:58 -04:00
David Holdeman 49f8daae14
More untested transmission features (#4093)
* use ISS for gearbox ratio, add gauge for TC ratio

* measure shift time

* add shift time gauge, todo notes for pc

* do conversion in the right direction

* switch to Timer and seconds

* try fixing build

* try fixing build again

* try defines, remove include

* use shift pcs

* add 3-2 pct curve

* control 3-2 solenoid

* move 3-2 to persistent config

* fix param
2022-04-23 07:34:39 -04:00
rusefillc f8bddd661b docs 2022-04-22 22:54:53 -04:00
rusefillc f80e48fce2 docs 2022-04-22 22:48:07 -04:00
David Holdeman 1747b6a6e6
Add ISS sensor, rearrange some transmission config (#4089)
* move other solenoids to new dialog

* change name of menu item

* move buttonshift to new dialog

* add ISS config

* add some iss code

* add iss output

* de-init ISS
2022-04-21 09:07:52 -04:00
rusefillc e5009f1492 https://github.com/rusefi/alphax-2chan/issues/50 2022-04-19 19:52:44 -04:00
rusefillc 451b4a766c Three names of the same thing fix #4085 2022-04-19 19:47:43 -04:00
rusefillc 91c721a695 https://github.com/rusefi/alphax-2chan/issues/50 2022-04-19 10:39:13 -04:00
David Holdeman 7de7ea6ad0
TCU features and fixes (#4082)
* add tcc pwm freq field

* add pc fields, make trans fields conditional

* make button shift fields conditional, remove duplicates

* add 3-2 solenoid fields

* add PC curves

* try combining tcc curves

* try combining pc curves

* use airmass instead of tps for pc

* reduce airmass axis

* increase axis digits

* duplicate for per shift, change names

* add pc per shift arrays

* try moving tables

* move more tables

* init solenoid pins

* start adding pwm stuff, change some array names

* fix gear issue

* fix multiple shift issue

* fix transmission controllers not working

* fix transmission controllers not working 2

* rearrange and virtual some things

* make getMode const

* fix pwm
2022-04-18 20:09:27 -04:00
Matthew Kennedy 16de438ab8
knock threshold table fix (#4077)
* fix knock threshold table

* defaults

* knock controller is engine module

* testable

* test builds

* knock tests work

* s

* format

* everyone loves changelogs
2022-04-18 08:03:16 -04:00
rusefillc 0428058215 logging of live data structs was: data points #3614
one less thing to worry about
2022-04-17 13:35:21 -04:00
Andrey 15d3172bb7 logging of live data structs was: data points #3614
better solution for total model buffer size
2022-04-16 20:34:17 -04:00
rusefillc 080d8a3f5e logging of live data structs was: data points #3614 2022-04-16 19:18:03 -04:00
rusefillc 9e05a64192 logging of live data structs was: data points #3614 2022-04-16 13:24:17 -04:00
rusefillc f5b0094ed3 docs 2022-04-15 22:56:38 -04:00
Matthew Kennedy 497e7ffe77
allow setting injection phase by start or center of injection (#4068)
* allow SOI/COI

* other change

* renames and simplify

* clean up ownIndex

* double check in spark logic
2022-04-15 10:22:36 -04:00
rusefillc 007396003e logging of live data structs was: data points #3614
unification with outputs
2022-04-14 21:01:26 -04:00
rusefillc 435ecc413c logging of live data structs was: data points #3614
unification with outputs
2022-04-14 15:46:01 -04:00
rusefillc 084685c747 logging of live data structs was: data points #3614
ETB
2022-04-14 15:25:01 -04:00
rusefillc 4834683dc6 logging of live data structs was: data points #3614
progress & more consistent convention
2022-04-13 20:46:55 -04:00
rusefillc 14781cc611 docs 2022-04-13 17:29:44 -04:00
rusefillc b889470cd3 Set sensible default for dwell by voltage multiplier table #4067 2022-04-13 15:43:05 -04:00
David Holdeman fe39f58022
Some untested TCC control (#4066)
* rebase

* save changes

* save changes

* fix whitespace

* try enum class

* change field name

* Add TCC pin fields

* add TCC tables

* add a bit of TCC control logic
2022-04-12 19:15:09 -04:00
David Holdeman e427d1dbe7
overhaul some docs surrounding rusefi_config.txt (#4064)
* overhaul some docs surrounding rusefi_config.txt

* move a little bit more from Dev Tips

* reflect change to output_channels.txt
2022-04-11 18:00:08 -04:00
rusefillc 98c10a64cd they say useful link?! 2022-04-11 13:54:31 -04:00
Matthew Kennedy baef88d1c7
make the vss fliter parameter work again (#4056)
* vss has adjustable filter

* tooltip and validate

* s
2022-04-09 09:00:19 -04:00
Matthew Kennedy f0b810a81c
Gear detection implementation (#4052)
* gear detect improvements

* ui

* ui for gear ratios

* ui

* output channel

* output channels etc

* implement gear detection

* name

* s

* status loop

* missing function

* ui tweaking

* s
2022-04-07 09:21:11 -04:00
David Holdeman f305db2575
Add interface for selecting GearController and TransmissionController classes (#4048)
* save changes

* save changes

* save changes

* fix mistakes

* try adding empty method

* copy simpleTransmissionController to GM 4L6X controller

* Import 4l6x header

* add to makefile

* fix whitespace

* try enum class

* change field name

* change field name in rusefi.input

* check for gear controller mode

* add mode fields to catch if mode was changed
2022-04-06 17:37:30 -04:00
Matthew Kennedy ad368b2031
Gear detection improvements (#4047)
* gear detect improvements

* ui

* ui for gear ratios

* ui
2022-04-06 16:15:58 -04:00
rusefillc 08c80c8035 Gear detection based on RPM to VSS ratio #3779 2022-04-04 20:18:09 -04:00
Matthew Kennedy dfe6bfb8a9
Flex fuel cranking improvements (#4043)
* improve flex cranking

* call it e85

* don't re-warn

* warning name

* ui
2022-04-04 17:41:36 -04:00
Andrey 6eefe48099 reducing trigger confusion 2022-04-03 17:44:32 -04:00
Andreika 21a12eb9d0
Alphax4ch better config (#4036)
* AlphaX-4ch: better yaml

* AlphaX-4ch: better config

* remove main.yaml
2022-04-03 09:02:30 -04:00
Andrey d3c6c5863d Trigger setup in TS is highly confusing: hide operation mode from users? fix #4031 2022-04-03 02:46:00 -04:00
rusefillc be21105b7f Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-02 22:08:33 -04:00
rusefillc e9aade8219 Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-02 21:01:29 -04:00
rusefillc 577b30c74a Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2022-04-02 21:01:29 -04:00
rusefillc 086739d20a Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2022-04-02 19:08:22 -04:00
rusefillc 12cb86ec03 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2022-04-02 18:32:40 -04:00
rusefillc 32b99720f5 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2022-04-01 21:11:32 -04:00
rusefillc 4d92ee1d51 [EPIC] [Feature Request] Transmission Control #1454 2022-03-28 23:00:33 -04:00
Matthew Kennedy f1742c44ff
output channel tweaks (#4023)
* shuffle around output channels

* postState should take a ref

* s

* s

* patch input file

* limits

* accel bad bounds check

* units

* units

* Revert "accel bad bounds check"

This reverts commit b2bb493be331d5d2cf40b9ed01363a53182c883e.

* missed an autoscale
2022-03-24 08:58:55 -04:00
Andrey 14076471eb https://rusefi.com/forum/viewtopic.php?p=44732 2022-03-23 19:15:39 -04:00
Andrey b3fdd790b5 new VVT trigger shape? #1847 2022-03-22 06:34:22 -04:00
rusefillc 689d720039 prep for aux linear sensors #4005 2022-03-20 10:55:32 -04:00
rusefillc c4979f8d49 prep for aux linear sensors #4005 2022-03-20 10:49:32 -04:00
Andrey e6d7773cf7 Clarify trigger names to avoid confusion #4012 2022-03-19 22:35:03 -04:00
Andrey 402f36aad6 Mitsubishi 3A92 Support - 3 cylinder #4011 2022-03-19 22:06:19 -04:00
Andrey b30720c504 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2022-03-19 19:35:26 -04:00
rusefillc aa7624950a Mitsubishi 3A92 Support (Issue #4011) 2022-03-19 12:01:57 -04:00
rusefillc 49798aa7f0 AlphaX 2chan new EN lines #3990 2022-03-13 11:54:17 -04:00
rusefillc e7f55f3dc6 AlphaX 2chan new EN lines #3990 2022-03-12 10:01:57 -05:00
Matthew Kennedy 307b33837d
core 8 overrides and stepper-as-brain-pin (#3962)
* core 8 overrides and stepper-as-brain-pin

* oops, change the pin not the mode

* a little bit of #3963 makes everyone happy
2022-02-26 09:14:37 -05:00
rusefillc bd90fe86bb BMW 6HP gatewy #3954 2022-02-25 20:28:09 -05:00
Matthew Kennedy 35c4c0bfba
move allowLongResponse option to ECU side (#3917)
* executeCommand knows about opcodes

* kick

* remove allowLongResponse

* add api in firmware instead

* test size

* bad merge

* firmware missed a spot

* fix logic

* haha we have to disable it
2022-02-11 16:03:20 -05:00
rusefillc 5eeac56f52 per-bus verbose flag 2022-02-10 10:12:48 -05:00
rusefi 6fbdafa1ae I2C EEPROM support #3860 2022-02-06 18:58:31 -05:00
Matthew Kennedy 88d51a0c25
tiny piece of mock adc remove (#3890)
* tiny piece

* remove commands
2022-02-03 19:32:56 -05:00
Matthew Kennedy 06437f304f
dead StartupFuelPumping (#3883)
* dead

* test

* dead config too
2022-02-03 08:01:21 -05:00
Matthew Kennedy 10be2d5f40
Remove FSIO, byeeeeeeeee (#3865)
* vestigial config

* replace last functionality

* engine/board configs include

* files that didn't need to include this

* remove FSIO implementation

* stragglers

* random little bits

* s

* s

* ConfigDefinition

* jar

* s
2022-02-02 02:03:31 -05:00
Matthew Kennedy c2eab94534
flex cranking math (#3791)
* flex cranking math

* simplify

* s

* simplify
2022-02-01 20:53:14 -05:00
rusefillc 5b63faafa0 Technical debt: ENUM_32_BITS #3874 2022-02-01 16:41:23 -05:00
Matthew Kennedy 0514f76899
SD card UI cleanup (#3870)
* dead config bit

* hide sd pin options

* #3868
2022-02-01 15:42:23 -05:00
rusefillc 042d0405a6 Console should be smarter about total configuration size #3827 2022-01-31 18:39:17 -05:00
Matthew Kennedy c6f45c5022
warnings fixes (#3851)
* unused things

* !!! actual bug !!!

* dead

* unused

* unused

* multi-bus lua RX was just broken

* make the compiler angry about it

* dead config

* alphax 2

* just call, no store

* compiler too angry
2022-01-31 18:37:42 -05:00
rusefillc 1d64929f33 Remove Miata MX5 NB1 trigger fix #3488 2022-01-31 18:20:43 -05:00
Matthew Kennedy 40e96a03d5
table for tcharge interpolation (#3855)
* extract getTChargeCoefficient

* new table
2022-01-30 08:45:11 -05:00
Matthew Kennedy 28950acf3e
disable fuel trim shortly after DFCO (#3847)
* vss based dfco

* fix digits while we're here

* fix some other digits for fun

* don't use custom assert

* simplify test

* less than or equal, test vss behavior

* disable closed loop fuel after dfco1

* I can't type

* correct comparison helps

* poke
2022-01-28 21:35:23 -05:00
rusefillc acc6bb6e0b this stuff is dead 2022-01-28 19:52:12 -05:00
Matthew Kennedy 62794ba105
complex wall wetting model (#3849)
* extract logic

* extract interface

* explicitly test wall fuel

* complex wall model tables

* fix unused chunk

* defaults

* doesn't like constexpr scaled_channel
2022-01-28 00:32:36 -05:00
rusefillc 146d386d4e pedal calibration 2022-01-27 20:10:55 -05:00
Matthew Kennedy 2444090933
vss based dfco (#3845)
* vss based dfco

* fix digits while we're here

* fix some other digits for fun

* don't use custom assert

* simplify test

* less than or equal, test vss behavior

* even better than comments are tooltips
2022-01-27 14:05:18 -05:00
Matthew Kennedy df1635b5a0
dfco checks driver throttle intent (#3832) 2022-01-24 14:26:39 -05:00
Matthew Kennedy cb5af4842c
blah (#3831) 2022-01-24 07:32:00 -05:00
Matthew Kennedy b5232ab5e6
decouple TPS accel enrichment from trigger (#3825)
* move call site

* move thresholding out of fast path

* adjust config

* test
2022-01-23 15:31:39 -05:00
rusefillc 41aaf5d9b6 GM 2 BAR MAP sensor values wrong #3828
3 bar rename
2022-01-22 21:40:30 -05:00
Matthew Kennedy 9c0e1bb551
swapped wall wetting channels (#3824)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-01-21 18:09:28 -05:00
rusefillc 2f25329ca4 https://rusefi.com/forum/viewtopic.php?p=44146#p44146 2022-01-21 13:09:42 -05:00
Andrey 506cf9b746 do not control VVT during cranking #3443 2022-01-20 20:28:51 -05:00
Matthew Kennedy 76fdb4063e
XY Idle VE Table (#3781)
* config & ui

* implement

* test idle VE switching behavior

* use the interface where we can

* s

* re-bump flash version
2022-01-20 14:08:54 -05:00
Matthew Kennedy 07024f4c3b
add option to always use instant RPM (#3813)
* option to always use instant RPM

* duh
2022-01-19 07:34:22 -05:00
rusefillc 48239c002e Bosch Quick Start on B6 Passat is confused about phase #3812
preparation
2022-01-19 00:48:39 -05:00
rusefillc ec35615f93 AlphaX 2022-01-16 12:54:00 -05:00
rusefillc e87c96b0e9 Gear detection based on RPM to VSS ratio #3779 2022-01-15 17:30:08 -05:00
rusefillc a31b56c1e0 Gear detection based on RPM to VSS ratio #3779 2022-01-13 22:32:21 -05:00
Matthew Kennedy c9350fc3cb
Revert "forced 4 byte thing is actually no longer needed so much" (#3785)
* Revert "forced 4 byte thing is actually no longer needed so much"

This reverts commit 364783f658.

* bump flash version to force a re-write
2022-01-12 21:59:21 -05:00
Matthew Kennedy 7d341cfc9d
improve maf output channels and logging (#3743)
* maf channels

* s

* binary log

* if only I could type

* can

* instant RPM too

* s

* test

* graceful zero rpm

* test works

* float near
2022-01-12 15:41:35 -05:00
rusefillc 373d619c16 L9779WD driver #3768 2022-01-10 16:53:38 -05:00
rusefi ec281d4e35 some dead stuff & minor progress 2022-01-08 20:35:12 -05:00
rusefillc 2756742898 AlphaX 2022-01-08 20:16:01 -05:00
rusefi 1a8b6d24fc disablePrimaryUart for MRE for GDI 2022-01-08 19:38:02 -05:00
Andrey G e3ece9ea34
Add settings for Stepper driven by Push-Pull outputs (#3749)
With no H-bridge and no special stepper IC
2022-01-06 19:34:20 -05:00
rusefillc 32086b58a8 Live Data progress 2022-01-06 15:20:58 -05:00
rusefillc ed59d225ca live data progress 2022-01-05 01:34:48 -05:00
rusefillc 58c3f99b4d GDI Epic #1448 2022-01-03 23:30:34 -05:00
rusefillc 598f9d052f benchTest flexibility 2022-01-03 03:08:57 -05:00
rusefillc e9498f64db GDI/HPFP: Set HPFP current/timing params on MC33816 #3736 follow-up 2022-01-03 02:13:47 -05:00
Scott Smith 83d6919c62
GDI/HPFP: Tunerstudio config params (#3735) 2022-01-02 21:26:43 -05:00
rusefillc 8f68e8e646 refactoring - enum has more usages now 2021-12-26 14:53:27 -05:00
Matthew Kennedy 6b6fd5e6e8
fix dual CAN init, update UI (#3719)
* CAN init sequence

* config & UI cleanup

* ui

* simplify
2021-12-24 23:33:54 -05:00
rusefi 7b0a3174a1 Second CAN #3687 2021-12-22 11:03:39 -05:00
Matthew Kennedy a4871c703c
Autoscale all the things! (#3713)
* Map3D accepts any scaled_channel type

* consistency

* reinstate test

* fix ratio

* throttle, boost, gppwm

* scale ignition and VE

* tests
2021-12-22 08:09:41 -05:00
Matthew Kennedy c176bbebc1
ui & config for fuel/ign trim tables (#3704)
* ui & config

* bump flash version

* compaction

* s

* make things happy

* fsio too

* OK, well those defaults were insane

* b

* why are these defaults insane

* adjust cylinder offset ui

* s

* cleanup
2021-12-20 21:58:53 -05:00
rusefillc aa30e57d55 torque ops it goes above 255 :) 2021-12-20 14:03:29 -05:00
rusefillc 2db6ea3622 torque 2021-12-20 13:54:37 -05:00
Matthew Kennedy 3a4a0ba18d
simplify some table lookups (#3692)
* simplify

* expand interpolation test
2021-12-20 08:14:30 -05:00
rusefillc 47cde8801c 2 byte table axis #3045 2021-12-20 02:07:03 -05:00
Andrey f0297d946f 2 byte table axis #3045 2021-12-20 01:38:48 -05:00
rusefillc c9f3bb95d5 2 byte table axis #3045 2021-12-20 01:24:57 -05:00
rusefillc 0ec7338941 2 byte table axis #3045 2021-12-20 00:50:18 -05:00
rusefillc 37ade50269 2 byte table axis #3045 2021-12-20 00:32:08 -05:00
rusefillc 699467fe5d 2 byte table axis #3045 2021-12-20 00:16:26 -05:00
rusefillc 66f82a0cdb 2 byte table axis #3045 2021-12-19 22:43:10 -05:00
rusefillc e21fd6349c 2 byte table axis #3045 2021-12-19 22:34:22 -05:00
rusefillc 4292c2fb1d MAP phase sensing fix #3544
removing dead implementation
2021-12-16 21:28:27 -05:00
rusefillc f685bab9eb live data for wastegate and launch control #3588 2021-12-16 16:19:33 -05:00
Matthew Kennedy 479ae44cd7
remove etb status option (#3695)
* remove

* ui

* settings cpp
2021-12-15 08:20:14 -05:00
Matthew Kennedy 8f7344079e
charge temperature estimation UI help (#3693)
* ui

* those too

* format help

* s
2021-12-14 15:44:20 -04:00
Matthew Kennedy 4148ee76bf
smarter priming logic (#3674)
* ignition controller detects rising edge on voltage

* update test

* comment

* ignore negative transients

* tweak

* test

* priming happens on ignition-on

* priming has its own scheduling

* config & UI

* dead config

* implementation

* look, the test caught a bug

* keep the watchdog happy

* bad merge

* changelog

* easier to read the test

* test naming
2021-12-08 16:20:19 -05:00
Matthew Kennedy c83e8ae5a5
AiM dash (#3673)
* aim dash

* enum
2021-12-08 07:04:59 -05:00
Matthew Kennedy 0e1b690be3
idle threshold tooltip (#3670) 2021-12-07 19:15:30 -05:00
rusefillc b4c07798b5 MAP phase sensing #3544 2021-12-07 08:57:23 -05:00
rusefillc d38e9498b6 why so many channels are hidden in debug ? #3614 2021-12-06 21:52:12 -05:00
rusefillc 1dd3370b56 https://rusefi.com/forum/viewtopic.php?f=18&t=2236 2021-12-06 21:31:49 -05:00
rusefillc f0184caa5a https://rusefi.com/forum/viewtopic.php?f=18&t=2236 2021-12-06 20:17:26 -05:00
rusefillc 87bc1b7467 lua is like a virus but not really 2021-12-05 18:19:01 -05:00
rusefillc 2f45ed205c MAP phase sensing #3544
option to look for high and low peaks
2021-12-05 14:25:26 -05:00
rusefillc 6384b12f48 lua is like a virus but not really 2021-12-05 14:25:26 -05:00
rusefillc 8d20854ba3 tune via CAN #3361
better constant name
2021-12-04 22:29:53 -05:00
rusefillc 241f0402bd tune via CAN #3361
one step back - sandbox reads signature again!
2021-12-04 21:57:45 -05:00
rusefillc 5fc9daa46e tune via CAN #3361
better way to reuse constants between C++ and java
2021-12-04 19:12:51 -05:00
rusefillc 5896a5d8c5 MAP phase sensing #3544
need to skip
2021-12-04 17:49:04 -05:00
rusefillc 004f28a60a MAP phase sensing #3544 2021-12-04 17:19:35 -05:00
rusefillc 7a7a89ae78 poke for Matt 2021-12-02 01:09:55 -05:00
rusefillc 98a0fc3d07 why so many channels are hidden in debug ? #3614
space for new sensor
2021-11-28 20:55:16 -05:00
rusefillc 51f16894d0 docs 2021-11-28 20:19:05 -05:00
Matthew Kennedy a071e2a168
verbose CAN bits picker (#3628)
* verbose bits picker

* s
2021-11-28 14:59:26 -05:00
Matthew Kennedy 71aff73081
not industrial (#3627) 2021-11-27 19:27:57 -05:00
Matthew Kennedy d5363b814a
better VSS configuration (#3542)
* vss uses real values

* some defaults

* test and correct math

* km, not miles!

* comment

* tooltip

* that macro went away

* 100hz and default settings gives 9kph

* changelog

* order of operations safety

* make the test like the pwm test

* housekeeping

* this is why we need sensor automation

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-27 08:49:07 -05:00
rusefillc cbd5650dcf automation around outputs section #197 2021-11-26 15:53:01 -05:00
Andrey 0ec8b8d46c reliable 32/2 trigger shape 2021-11-25 20:45:58 -05:00
Andrey ca17ba34df proper vvt name 2021-11-25 20:08:18 -05:00
Matthew Kennedy 992689ced5
bye (#3609) 2021-11-24 22:03:17 -05:00
Andrey 1f019c434e MAP phase sensing #3544 2021-11-24 21:28:49 -05:00
rusefillc f6c88cf4e9 fixing broken test? 2021-11-24 13:25:29 -05:00
rusefillc 794ec5e2b8 well Lua wants to be BIG 2021-11-23 16:40:04 -05:00
rusefillc a369e7e3d3 unusedLogFormat 2021-11-22 13:37:06 -05:00
rusefillc 66043a5daf automation around outputs section #197 2021-11-21 09:35:37 -05:00
rusefillc 907c955625 automation around outputs section #197 2021-11-20 14:38:50 -05:00
rusefillc 8cc775e6b6 automation around outputs section #197 2021-11-20 14:27:21 -05:00
rusefillc 0e89992c38 automation around outputs section #197 2021-11-20 13:30:25 -05:00
Scott Smith 5bc1949aef
Basic framework for high pressure fuel pump control (#3476)
* Basic framework for high pressure fuel pump control

* Many changes

Move calculations to fast callback
Move main object into Engine
Respond to pin changes without requiring a reboot

* Use EngineModule for HpfpController
Schedule pin off after executing pin on so we are sure it ends, even if the motor stops.
Test scheduling.
Less RAM use by only having one event and reordering fields.

* Make scheduling test actually useful - need non-0 activation angle.

Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-11-19 23:06:51 -05:00
rusefillc 684622e476 debug mode for skipped count for 4 cylinders #3570 2021-11-19 07:02:21 -05:00
Matthew Kennedy caee2a5439
delimeter is not comma (#3533)
* delimeter is not comma

* do it in config txt

* use txt

* s

* string

* compat

* also, spelling is hard

* use new name

* use new name

* generate enough for happy console

* use an even less common character

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-19 12:01:45 +03:00
rusefillc b16f970dcb automation around outputs section #197 2021-11-18 19:46:17 -05:00
rusefillc 12fda6be9f automation around outputs section #197 2021-11-18 19:34:46 -05:00
rusefillc 5c20e1d52c automation around outputs section #197 2021-11-18 00:05:27 -05:00
rusefillc 29469f02d0 automation around outputs section #197 2021-11-17 23:51:58 -05:00
Andrey 0cc88ec6e2 Not all launch control options are used #3554 2021-11-15 21:13:01 -05:00
rusefi 89ab20c35c Epic: Remove FSIO #2928 2021-11-14 14:14:43 -05:00
rusefillc e01aa6139b script settings need names! 2021-11-14 11:45:37 -05:00
rusefillc f279f3275d script settings need names! 2021-11-14 11:40:33 -05:00
rusefillc 297f01444d Epic: Remove FSIO #2928 2021-11-14 10:47:40 -05:00
rusefillc c22215cea7 Epic: Remove FSIO #2928 2021-11-14 10:39:47 -05:00
rusefillc 9ce65aa6cb Epic: Remove FSIO #2928 2021-11-14 09:34:45 -05:00
rusefillc f755bff2a1 Epic: Remove FSIO #2928 2021-11-14 09:34:19 -05:00
rusefillc 60841f4486 Epic: Remove FSIO #2928 2021-11-14 09:21:04 -05:00
rusefillc f0b1971908 Epic: Remove FSIO #2928 2021-11-14 08:38:11 -05:00
rusefillc a9bcce88d0 script settings need names! 2021-11-13 22:47:46 -05:00
Matthew Kennedy d591a5ad26
mercedes two lobe trigger testing (#3543)
* mercedes

* config

* break;

* I did the gap ratio math wrong

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-13 21:50:04 -05:00