Commit Graph

1781 Commits

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