Commit Graph

2250 Commits

Author SHA1 Message Date
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
Matthew Kennedy 14953c55dd
new parser handles enum values (#3492)
* simplify

* poke to force generate

* enums

* jar

* jar

* poke

* prepends formatted

* prepends

* eol

* eol

* allow no endl at eof

* Revert "eol"

This reverts commit 022029faef338281b1a3551f82e46c4b6a7578a5.

* Revert "eol"

This reverts commit 6274502db740569235210916fde4ec84863d7fb3.
2021-11-11 23:09:39 -05:00
Andrey 562ab174d7 Bench Test IAC Valve fails #3534
that's not even funny
2021-11-11 20:39:01 -05:00
Andrey 0a7d276110 https://rusefi.com/forum/viewtopic.php?f=13&t=2206 2021-11-11 18:31:54 -05:00
rusefillc 2794a85ff8 Idle valve outputs not available in TS #3523 2021-11-10 20:40:42 -05:00
Andrey 84b6a744b0 names for tables similar to curve names 2021-11-07 09:58:35 -05:00
Matthew Kennedy 899795e712
simplify signature.h generation (#3480)
* simplify

* poke to force generate
2021-11-06 23:19:53 -04:00
rusefillc 79b598342c Bench test problem - Coil 1 test error #3490 2021-11-06 21:11:43 -04:00
rusefillc e9e88ff763 simplify signature.h generation #3480
part two: unused variables
2021-11-06 18:09:14 -04:00
rusefillc 03107424d7 simplify signature.h generation #3480
step 1 - access values directly
2021-11-06 15:10:50 -04:00
Matthew Kennedy a38b3f00c3
Remove array typedef syntax (#3477)
* remove array typedef support completely

* extraneous semicolon

* binary
2021-11-06 09:12:43 -04:00
Scott Smith f9e36f5ea4
Configuration for HPFP control algorithm. (#3475) 2021-11-05 23:15:35 -04:00
Scott Smith 16378dcf59
Convert existing tables to use the simpler 3d table definition style in rusefi_config.txt (#3473)
This fixes #3465.
2021-11-05 21:55:33 -04:00
Scott Smith eb781f38b4
Determine the correct mul/div for autoscale from the TS config line instead of specifying it twice. (#3470) 2021-11-05 19:26:25 -04:00
Matthew Kennedy 3348c0404b
configurable etb maximum (#3469)
* etb maximum

* update tests and test new behavior
2021-11-05 18:16:19 -04:00
Matthew Kennedy 2b9696442e
nissan MR18DE VVT cam pattern (#3466)
* refactoring nissan trigger

* comments

* plumbing

* b

* enums

* image

* image

* implement decoder

* reshuffle

* don't case unused

* dead trigger enums
2021-11-05 15:33:22 -04:00
Scott Smith 8e5d65978a
Add 3d table support to the java config file parser. (#3464)
This removes the need to use custom for 3d tables.  Syntax (to avoid changing the ANTLR parser) is
to use 'x' instead of separate [], i.e.:
        uint16_t[HPFP_TARGET_SIZE x HPFP_TARGET_SIZE] hpfpTarget;;"kPa", 1, 0, 0, 65000, 0
2021-11-05 14:27:32 -04:00
Matthew Kennedy 365691cb37
nissan 4yl crank pattern (#3462)
* refactoring nissan trigger

* comments

* plumbing

* b
2021-11-05 07:15:03 -04:00
rusefillc 0d0a9bbe5e more curves! also names for curves 2021-11-04 23:27:48 -04:00
rusefillc 77be92e2c3 more curves! also names for curves 2021-11-04 23:22:37 -04:00
rusefillc 423d61ec45 more curves! also names for curves 2021-11-04 22:56:54 -04:00
rusefi 433d526ee5 turbo speed turbospeed input #2935 2021-11-04 19:43:22 -04:00
Matthew Kennedy 24224729a3
support autoscale on table axes (#3452)
* scale map Y axis

* allow different row/col types

* scaled channel detector

* interpolation

* looks like this actually works

* tests, no manual scaling

* comment
2021-11-03 19:53:26 -04:00
rusefillc ea5296bf5e pieces of Ts tips update2 #3446 2021-11-03 16:56:21 -04:00
rusefillc b80f802196 docs 2021-11-03 16:56:21 -04:00
Matthew Kennedy 980a7cc833
autoscale fields in generated structs (#3444)
* add to grammar

* parser

* parser

* example consumer

* build config tool

* commit the right jar
2021-11-02 18:59:19 -04:00
Matthew Kennedy 5b35aa8f21
log vvt targets (#3417)
* log vvt target

* java

* make java happy probably

* sensorlogger
2021-11-02 15:03:57 -04:00
Andrey d4ba9b78d2 TPS decel is pretty weird?! 2021-10-30 21:46:15 -04:00
rusefillc 5166b55d37 file was renamed 2021-10-30 16:45:39 -04:00
rusefillc c62fedbe34 Override trigger gaps feature #2734 2021-10-30 10:45:32 -04:00
Matthew Kennedy 59e7c34fac
tooltip (#3428) 2021-10-29 15:45:03 -04:00
rusefillc 5f4fa50682 VVT is no longer aux pid 2021-10-28 23:51:46 -04:00
Andrey a1d2da7f4b https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 14:18:08 -04:00
rusefi 123b91a6e7 Merge remote-tracking branch 'origin/master' 2021-10-26 17:02:21 -04:00
rusefi 8c32625eb8 Honda K cam wheels #3405 2021-10-26 17:02:09 -04:00
Matthew Kennedy 8ed6d3bfa2
idle closed loop vs open loop ui, etc (#3413)
* open + closed

* put idle solenoid first

* actually hide etb pins

* missed a few prepends
2021-10-26 15:04:09 -04:00
Matthew Kennedy 558a6d01fc
etb pwm limit (#3408)
* etb pwm limit

* missed an arg

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-25 15:35:23 -04:00
rusefillc e5c364d6eb generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-25 12:18:46 -04:00
Andrey 08684e4d18 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 23:41:12 -04:00
Andrey 0d4057ba17 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 23:23:06 -04:00
rusefi 0f4c726aa0 https://www.rusefi.com/forum/viewtopic.php?f=18&t=2170 2021-10-24 18:22:01 -04:00
Andrey e0a67896c5 Honda K cam wheels #3405 2021-10-24 16:10:56 -04:00
rusefillc 4eb08b43bc progress 2021-10-24 15:30:10 -04:00
Andrey 0cc81374cf generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 12:54:42 -04:00
rusefillc de6388b254 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 09:06:38 -04:00
rusefillc 628be34e99 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 08:25:40 -04:00
rusefillc 923f5d1a6c generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:42:22 -04:00
rusefillc 29faddf338 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:40:14 -04:00
rusefillc 7a50126d46 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:02:41 -04:00
rusefillc c45003060c generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:00:04 -04:00
rusefillc 3f3a17e366 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 21:47:03 -04:00
rusefillc cd86102042 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 20:24:21 -04:00
Matthew Kennedy 7da3a8116d
basic knock response params (#3330)
* basic params

* retard angle -> aggression

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-22 15:23:28 -04:00
rusefillc f215dfdf51 respond to 'Q follow-up #3383 2021-10-20 15:44:45 -04:00
rusefillc eb05f4594e very old very dead code 2021-10-20 12:57:07 -04:00
rusefillc 0d5e605f75 Aux analog inputs via CAN #3378 2021-10-19 20:04:03 -04:00
rusefillc 3a7013a72c Aux analog inputs via CAN #3378 2021-10-19 19:48:18 -04:00
rusefillc 55a6de05ba validate field name duplicates at least sometimes 2021-10-16 23:02:06 -04:00
rusefillc 7d7da0f4f5 poke 2021-10-16 22:46:17 -04:00
rusefillc 456b6618b5 Remove engine load acceleration enrichment fix #3357 2021-10-16 22:07:06 -04:00
rusefillc 61e2b3d5db Remove engine load acceleration enrichment fix #3357 2021-10-16 21:24:05 -04:00
rusefillc 4cc1c352c2 better file locations 2021-10-16 20:17:01 -04:00
rusefillc 970d8f7f84 Whatever we call it, whatever we implement it - we need live data / remote view into rusEFI actual state #3353
progress
2021-10-14 18:50:03 -04:00
rusefillc 4393988599 Whatever we call it, how ever we implement it - we need live data / remote view into rusEFI actual state #3353 2021-10-14 15:55:47 -04:00
rusefillc 01d4b7ef7a Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353
progress
2021-10-14 15:18:13 -04:00
rusefillc ff864ec0bf Whatever we call it, how ever we implement it - we need live data / remote view into rusEFI actual state #3353 2021-10-14 00:47:26 -04:00
rusefillc 6f3a453dc9 Whatever we call it, whatever we implement it - we need live data / remote view into rusEFI actual state #3353 2021-10-14 00:30:54 -04:00
rusefillc a882b72170 Whatever we call it, whatever we implement it - we need live data / remote view into rusEFI actual state #3353 2021-10-14 00:21:29 -04:00
Matthew Kennedy eb5024d6d8
mpxh6400 (#3347)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-12 16:01:04 -04:00
rusefillc 2a87208380 hyundai 2021-10-11 12:37:24 -04:00
rusefi 7682ba7417 Hyundai 2021-10-09 23:35:28 -04:00
rusefi 5eeae65d37 Hyundai 2021-10-09 16:24:38 -04:00
Andreika bc4a068c9c
[DRAFT] IAC H-Bridge Microstepping (#3213)
* fix for stepperHbridgeHardware

* new config fields for microstepping

* add stepper dir pin mode to the dialog

* refactor stepper hw dialog & add microstepping panel

* microstepper modes enum

* stepperDcInvertedPins needed by Hellen

* add sleep() for stepper and divisor for pause()

* microstepping impl.

* make unit-tests more happy

* small progress

* fix etb-stepper dlg conflict

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-10-06 13:57:04 -04:00
Andreika d917cc8cc2
[DRAFT] Fix cranking->idling taper phase for useSeparate*ForIdle tables (#3168)
* Rename Phase::CrankToRunTaper -> CrankToIdleTaper

* Change isIdling() to isIdlingOrTaper()

* test_idle_controller.cpp

* useSeparateIdleTablesForCrankingTaper setting

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-10-06 12:05:20 -04:00
rusefillc f32a49825d miata 36-1 trigger basemap (#3126) 2021-10-06 00:33:29 -04:00
rusefillc 49e87825f9 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 00:19:33 -04:00
rusefillc 8682f4dfe7 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-05 16:10:29 -04:00
Matthew Kennedy a3bc507f9b
clean up debug channels in status_loop.cpp (#3317)
* FSIO is going away eventually

* dead modes

* rx8 hmm

* break out tps debug
2021-10-05 15:27:08 -04:00
Matthew Kennedy 9806373dac
dead map (#3316) 2021-10-04 18:33:10 -04:00
rusefillc 88b66ebe82 https://rusefi.com/forum/viewtopic.php?f=5&t=2143 Suzuki G13B tooth pattern 2021-10-04 11:06:54 -04:00
Matthew Kennedy f6d492121e
shrink multi cylinder map average buffer (#3315)
* halve

* add tooltip, rename UI
2021-10-04 07:50:17 -04:00
rusefillc b2f3108ea9 rusEFI console logs are missing some fields #3314 2021-10-03 23:48:01 -04:00
rusefillc db2717093e rusEFI console logs are missing some fields #3314 2021-10-03 22:29:41 -04:00
rusefillc ac9e86fa00 proteus adapters 2021-10-02 11:31:05 -04:00
Andrey 8e26002462 proteus adapters 2021-10-02 11:19:09 -04:00
Matthew Kennedy 114109bd83
dead mock iat/clt (#3293)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-01 09:20:08 -04:00
rusefillc f4dbcbf84f MPXH6400 CALIBRATION #3288 2021-09-30 21:53:31 -04:00
rusefillc f9f15e28d6 MPXH6400 CALIBRATION fix #3288 2021-09-30 21:44:50 -04:00
rusefillc aedc586017 MPXH6400 CALIBRATION #3288 2021-09-30 21:34:23 -04:00
rusefi 760bbb707b some cheap used junkyard Accelerometer #2225 2021-09-30 15:18:40 -04:00
Matthew Kennedy 4b6a67f8f0
bye frequency map (#3285)
* bye freq map

* map.cpp

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-09-30 00:20:21 -04:00
rusefillc c01ed3e916 individual cylinder fuel trims #3284 2021-09-29 23:51:00 -04:00
rusefillc bb721e14a4 individual cylinder fuel trims #3284 2021-09-29 23:46:30 -04:00
rusefi 62b712be5c multi spark: random bursts of CUSTOM_OBD_SKIPPED_SPARK = 9009 error code at Abricos's #3223 2021-09-27 17:11:04 -04:00
rusefillc 40ff37d9b7 GPPWM usability: no one remembers which one does what fix #3270 2021-09-26 23:19:31 -04:00
rusefillc f458279a35 h-bridge dialog is disabled in TS when it should be enabled 2021-09-26 18:32:15 -04:00
rusefillc f4541f3fb7 h-bridge dialog is disabled in TS when it should be enabled 2021-09-26 17:58:02 -04:00
rusefillc eae541f2d0 wow that was a bad setting name 2021-09-26 17:52:29 -04:00
Matthew Kennedy 8cd132b8a8
dead knock code (#3255)
* more unification

* hip stub

* comment

* guard

* channel idx

* include

* hip

* move in to engine

* hip9011

* dead stuff

* dead

* fsio

* lcd

* more dead
2021-09-21 20:40:20 -04:00
rusefillc 0d01faf37c refactoring: not a magic constant 2021-09-18 21:11:04 -04:00
rusefillc c4ff0cd19d more firing orders! 2021-09-18 00:18:06 -04:00
rusefillc 092cca03ab merc128: engine config defaults #3236 2021-09-17 23:10:36 -04:00
rusefillc 67026ee8ea merc128: engine config defaults #3236 2021-09-17 22:14:12 -04:00
Matthew Kennedy 520d81d75c
Dwell voltage correction (#3234)
* cfg + impl

* ui

* value_or

* changelog

* fix
2021-09-15 08:07:33 -04:00
rusefi c37e6cc9b4 refactoring: VR magic constant, should be 3 anyway 2021-09-13 11:07:41 -04:00
Andrey 301f5e7ec4 https://rusefi.com/forum/viewtopic.php?f=5&t=2117 2021-09-12 11:56:12 -04:00
rusefi 48c516f9f7 https://rusefi.com/forum/viewtopic.php?f=5&t=2117
Ford TFI PIP
2021-09-11 23:16:22 -04:00
rusefillc 5341b18b05 SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 21:02:56 -04:00
rusefillc a0ef90985d SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 20:52:11 -04:00
rusefillc 1828dd9ba4 SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 20:45:52 -04:00
rusefillc fa397fb078 refactoring: reducing code duplication 2021-09-06 10:57:04 -04:00
rusefillc 16bf7e9b0e Smart ECU: misfire detection #936 2021-09-06 10:03:26 -04:00
rusefillc 58c2bf8930 hysteresis for GPPWM #3222 2021-09-05 20:16:57 -04:00
Andrey f666e78466 SD-card log fields improvement (warning counter & last code) #3162 2021-09-03 06:30:21 -04:00
Andrey e7f731d405 SD-card log fields improvement (warning counter & last code) #3162 2021-09-03 06:22:06 -04:00
rusefillc 22a0b88872 my first Lua 2021-09-01 07:47:50 -04:00
rusefillc bf8a6f9b40 my first Lua 2021-09-01 02:43:03 -04:00
rusefillc b917394354 my first Lua 2021-09-01 02:37:36 -04:00
rusefillc 3edbf6af95 Subaru svx vvt #3210
helping or not
2021-08-31 04:15:01 -04:00
Matthew Kennedy 6407e74ae2
disable closed loop boost below MAP threshold (#3206)
* boost minimum map

* changelog
2021-08-27 17:54:08 -04:00
rusefillc 3ff56adcee less confusing name for vag hellen preset 2021-08-24 16:07:20 -04:00
rusefillc 24ff3a5cd5 firing order for some 911 2021-08-24 07:28:56 -04:00
Matthew Kennedy d2b54428c0
cleanup missing fsio stuff (#3189) 2021-08-24 08:19:03 +03:00
Andrey 49faaaff03 Lua analog inputs 2021-08-22 00:05:51 -04:00
rusefillc bedf692e99 SD-card log fields improvement (warning counter & last code) #3162 2021-08-16 20:54:41 -04:00
rusefillc ebc1842b8e enlarging Lua script in configuration 2021-08-16 06:52:29 -04:00
rusefillc 528b5d939f enlarging Lua script in configuration 2021-08-16 04:22:51 -04:00
rusefillc 22e24da6c0
reducing FSIO in order to enlarge Lua (#3160)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2021-08-15 22:27:07 +03:00
rusefillc 5db8254eb7 dead FSIO 2021-08-15 02:28:10 -04:00
rusefillc 2ee27df8bb Nissan progress 2021-08-14 11:21:56 -04:00
Matthew Kennedy 2ad4a9df1e
actually remove FSIO idle stuff (#3150)
* debug mode

* pid cleanup

* more dead

* more dead

* wow more dead

* much dead many death wow
2021-08-14 09:48:45 +03:00
rusefillc 36bb91f93f dead idle FSIO 2021-08-13 15:01:14 -04:00
rusefillc e91702c656 Pavel says there are issues 2021-08-10 15:57:34 -04:00
rusefillc 4d12224590 NB2 36 2021-08-10 02:17:33 -04:00
rusefillc f9dfcc8b9a Implement auto knock threshold sampling #3033 2021-08-09 16:27:31 -04:00
rusefillc 1c8fd98036 https://rusefi.com/forum/viewtopic.php?p=41803#p41803 2021-08-09 16:07:38 -04:00
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