Commit Graph

1866 Commits

Author SHA1 Message Date
rusefillc c68d4f1a94 Revert "VVT target to allow negative values #4424"
This reverts commit 723845f145.
2022-08-14 17:03:21 -04:00
rusefillc 723845f145 VVT target to allow negative values #4424
baby step towards VVT pid logging
2022-08-14 15:59:44 -04:00
Matthew Kennedy 66b4523575 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 949bf5f474 VVT target to allow negative values #4424
ooooops
2022-08-09 15:41:02 -04:00
rusefillc 87389f152e https://github.com/rusefi/hellen154hyundai/issues/57 2022-08-09 13:26:11 -04:00
rusefillc 0ed57a1d93 ISO-TP does not work on real car #4427 2022-08-09 12:29:26 -04:00
rusefillc 68ce7c1254 VVT target to allow negative values #4424 2022-08-08 22:48:13 -04:00
Andrey G 8b78097ed1 config: options to enable OpenBLT on CAN interfaces (#4423) 2022-08-07 17:56:11 -04:00
rusefillc bba019af44 [SECURITY] Cheap password protection against tune modification #4243 2022-07-30 12:07:04 -04:00
rusefillc 70698e6952 [SECURITY] Cheap password protection against tune modification #4243 2022-07-30 11:29:13 -04:00
rusefillc f035d834c8 [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 930af1de7a [SECURITY] Cheap password protection against tune modification #4243 2022-07-30 09:56:04 -04:00
rusefillc 6e951a21c3 [SECURITY] Cheap password protection against tune modification #4243 2022-07-30 09:31:53 -04:00
Matthew Kennedy c46c34ead6 boost control thresholds (#4392) 2022-07-28 09:45:16 +03:00
Matthew Kennedy 4865213537 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 2bc4fd909d Launch control bug? "range" thing is confusing #4348
a typo and configurable behaviour without UI
2022-07-20 18:48:55 -04:00
rusefillc 2ba07e975e 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 99d8bf0ac1 Launch control bug? "range" thing is confusing #4348
minor tooltip progress
2022-07-20 18:27:44 -04:00
Matthew Kennedy ba8a84e5ce 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 04e47532ef FSIO is dead 2022-07-14 07:46:10 -04:00
rusefillc dd094ad543 Make hard-coded gap ratios visible on trigger documentation images #4172 2022-07-11 12:36:41 -04:00
rusefillc cc3cbdabc0 Make hard-coded gap ratios visible on trigger documentation images #4172 2022-07-11 04:21:17 -04:00
rusefillc c51881a80d 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 ab24c5eb35 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 26e08632a1 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 67439afb96 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 98949ba517 startUpFuelPumpDuration tooltip fix 2022-06-29 13:15:34 -04:00
rusefillc cb72ae6b12 startUpFuelPumpDuration tooltip fix 2022-06-29 10:48:36 -04:00
Andrey 71716793e0 logging of live data structs was: data points #3614 2022-06-29 03:21:25 -04:00
rusefillc 2e28537776 logging of live data structs was: data points #3614 2022-06-29 01:49:59 -04:00
rusefillc 0f66f562aa usability confustion: ediatble fields with board overrides fix #4295 2022-06-27 13:35:22 -04:00
rusefillc 74383e6b3b verboseQuad 2022-06-26 19:47:58 -04:00
rusefillc e8777995be visiting "live data" tab causes fatal error on ECU fix #4271 2022-06-25 19:48:48 -04:00
Matthew Kennedy 840bf6fb27 wideband live data (#4276)
* wideband live data magic

* test build happy

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

* missed a few

* kinetis
2022-06-23 19:42:09 -04:00
Matthew Kennedy 98e0297987 force o2 heating (#4275) 2022-06-23 14:32:34 -04:00
Matthew Kennedy ccec58446b clt based rpm limit (#4267) 2022-06-22 16:49:24 -04:00
rusefillc 22e3ab8220 https://rusefi.com/forum/viewtopic.php?f=5&t=2353 2022-06-20 07:43:23 -04:00
Matthew Kennedy 40106224f0 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 aa7a404a44 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 2dcdc7ed60 verbose trigger sync should reuse engineSnifferRpmThreshold #4259
unused field & updated tooltip
2022-06-18 14:46:31 -04:00
Matthew Kennedy 945fd58657 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 bc72a70992 refactoring 2022-06-06 17:04:44 -04:00
rusefi 23172930ba new autoscale constraint #4111 2022-06-03 01:05:48 -04:00
Matthew Kennedy e274fba799 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 0549e7af33 breaking things for sake of autoscale, would this pass CI? 2022-06-03 00:15:17 -04:00
rusefi 811cc4eee7 refactoring: extract constant 2022-06-03 00:14:46 -04:00
rusefi db74c8723a triggerComp scale issues #4235 2022-06-03 00:09:13 -04:00
Matthew Kennedy c2f61dc95f 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 c185771362 500 byte blocking factor (#4227) 2022-06-01 20:27:20 -04:00
rusefillc 7c072198c7 hard requirement for console version match #4187 2022-06-01 10:21:22 -04:00
Matthew Kennedy b5d212dcd8 remove dead useOnlyFirstChannel (#4211)
* This field was ignored.

* move pad out

* gone
2022-05-30 07:03:40 -04:00
rusefillc 1b3631f199 lazy docs 2022-05-28 17:47:08 -04:00
rusefillc d7c389e012 TS refactoring 2022-05-28 10:48:07 -04:00
rusefillc 5f94fd330a TS injector bench test pulse is too short #4192 2022-05-22 11:08:34 -04:00
rusefillc 649c56fe22 hiding second VR threshold 2022-05-19 12:35:04 -04:00
Matthew Kennedy eb257b2335 12 tooth crank mode (#4179)
* 12 tooth crank

* comment

* s

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

* s

* simplify that mess
2022-05-11 06:15:06 -04:00
rusefillc 99c29d624f firmware update via CAN #3362 2022-05-10 06:14:57 -04:00
Matthew Kennedy dede3f8215 phase resolution rpm limit (#4156) 2022-05-10 07:22:50 +03:00
rusefillc c8ec2f6f3b Remove value copy from controller into outputChannels #4095 2022-05-09 05:34:37 -04:00
rusefillc 11d111a980 Hide pin mode from well-known boards #3397 2022-05-08 15:11:28 -04:00
Andrey ccfeba24e5 helping build 2022-05-08 08:59:14 -04:00
rusefillc 4b95671ac0 An option to disable semi-random ignition #4151 2022-05-08 07:58:19 -04:00
rusefillc c557b4ec30 Revert "Ford Mustang firing order 1-5-4-2-6-3-7-8 fix #4150"
This reverts commit 086b4885c9.
2022-05-08 07:10:54 -04:00
rusefillc 086b4885c9 Ford Mustang firing order 1-5-4-2-6-3-7-8 fix #4150 2022-05-08 07:07:34 -04:00
Matthew Kennedy 997565ac22 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 597c9b0256 binary log knock count and retard (#4139) 2022-05-05 07:41:41 +03:00
rusefillc 2cb1f6426a https://github.com/rusefi/rusefi/issues/4119 2022-05-03 02:49:26 -04:00
rusefillc 2cf24282e2 int32 scaled_channel has float precision #4128
unblocking master for now
2022-05-02 05:25:30 -04:00
rusefillc 0ed0702536 Make ETB low limit configurable fix #4119 2022-05-02 05:24:50 -04:00
Andrey 473d82491f Move curves out of engineConfiguration in order to reduce RAM usage fix #4127 2022-05-02 05:04:58 -04:00
Andrey 1f6e09de84 Technical debt: ENUM_32_BITS #3874
one step back
2022-05-02 04:38:04 -04:00
rusefillc c84a32f194 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 3329bc77c4 Make ETB low limit configurable #4119 2022-05-02 01:25:32 -04:00
Andrey 03662e48c4 Move curves out of engineConfiguration in order to reduce RAM usage #4127 2022-05-01 23:43:43 -04:00
rusefillc 78ca563cc4 Technical debt: ENUM_32_BITS #3874 2022-05-01 23:07:12 -04:00
rusefillc c6dd08a9be Technical debt: ENUM_32_BITS #3874 (#4125)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-01 21:57:50 -04:00
rusefillc b6b5f6238a Technical debt: ENUM_32_BITS #3874 (#4124)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-01 21:03:42 -04:00
rusefillc d8fc872fba Technical debt: ENUM_32_BITS #3874
hmm one step back
2022-05-01 15:13:01 -04:00
rusefillc 6aa2c54768 Technical debt: ENUM_32_BITS #3874 2022-05-01 13:51:36 -04:00
rusefillc 2b11b54003 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 1ae5625801 Technical debt: ENUM_32_BITS #3874 2022-04-30 12:54:12 -04:00
rusefillc f341ce561e 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 32cd5dd1e0 knock reaction #202 2022-04-29 11:57:48 -04:00
rusefillc 5f80ba1f65 knock reaction #202 2022-04-29 11:22:24 -04:00
Matthew Kennedy 83caf1ea1b 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 2d033df11b 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 8f2d8dbc41 missed autoscale (#4105) 2022-04-26 19:00:37 -04:00
Andrey db344016c1 we no longer need those! 2022-04-25 21:23:50 -04:00
rusefillc fefd7f6a8b 2 byte pin index #4097
preparation - making things simpler
2022-04-25 00:51:27 -04:00
rusefillc adb99480ef rusEFI 2022-04-23 20:55:52 -04:00
rusefi 3e6bc71e99 Lua is new FSIO 2022-04-23 17:15:34 -04:00
rusefi 0b74e9db49 Lua is new FSIO 2022-04-23 17:02:50 -04:00
rusefillc b6bbd271ef docs 2022-04-23 09:29:58 -04:00
David Holdeman b4e8dfb05a 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 07ac587587 docs 2022-04-22 22:54:53 -04:00
rusefillc 8d0819925b docs 2022-04-22 22:48:07 -04:00
David Holdeman 918224fbc1 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 db68cf730a https://github.com/rusefi/alphax-2chan/issues/50 2022-04-19 19:52:44 -04:00
rusefillc 0c7f359912 Three names of the same thing fix #4085 2022-04-19 19:47:43 -04:00
rusefillc 4b33334d29 https://github.com/rusefi/alphax-2chan/issues/50 2022-04-19 10:39:13 -04:00
David Holdeman d7ac0c1db8 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 8650686ab7 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 93e9ac9952 logging of live data structs was: data points #3614
one less thing to worry about
2022-04-17 13:35:21 -04:00
Andrey 7b91041261 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 fc128e1954 logging of live data structs was: data points #3614 2022-04-16 19:18:03 -04:00
rusefillc 16bec07b82 logging of live data structs was: data points #3614 2022-04-16 13:24:17 -04:00
rusefillc 2d0546ee15 docs 2022-04-15 22:56:38 -04:00
Matthew Kennedy 735b4899e2 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 d9fccb4383 logging of live data structs was: data points #3614
unification with outputs
2022-04-14 21:01:26 -04:00
rusefillc 06f2006626 logging of live data structs was: data points #3614
unification with outputs
2022-04-14 15:46:01 -04:00
rusefillc 28b0b8d460 logging of live data structs was: data points #3614
ETB
2022-04-14 15:25:01 -04:00
rusefillc 57be5a2147 logging of live data structs was: data points #3614
progress & more consistent convention
2022-04-13 20:46:55 -04:00
rusefillc 4671ff812a docs 2022-04-13 17:29:44 -04:00
rusefillc 02599a439d Set sensible default for dwell by voltage multiplier table #4067 2022-04-13 15:43:05 -04:00
David Holdeman ae24cbf70e 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 2d4468df01 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 c0c7187da8 they say useful link?! 2022-04-11 13:54:31 -04:00
Matthew Kennedy e57a1b4f08 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 88ff526764 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 410a9ffbef 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 405f7f3b43 Gear detection improvements (#4047)
* gear detect improvements

* ui

* ui for gear ratios

* ui
2022-04-06 16:15:58 -04:00
rusefillc b2403968d3 Gear detection based on RPM to VSS ratio #3779 2022-04-04 20:18:09 -04:00
Matthew Kennedy 72dabf4057 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 d0c3999ab7 reducing trigger confusion 2022-04-03 17:44:32 -04:00
Andreika b10da9ce42 Alphax4ch better config (#4036)
* AlphaX-4ch: better yaml

* AlphaX-4ch: better config

* remove main.yaml
2022-04-03 09:02:30 -04:00
Andrey 3246e29245 Trigger setup in TS is highly confusing: hide operation mode from users? fix #4031 2022-04-03 02:46:00 -04:00
rusefillc 3ef96e1f74 Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-02 22:08:33 -04:00
rusefillc e8bfec7942 Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-02 21:01:29 -04:00
rusefillc 7f4650fcf4 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2022-04-02 21:01:29 -04:00
rusefillc 3dbee88f53 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2022-04-02 19:08:22 -04:00
rusefillc cb6c1bfcdd Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2022-04-02 18:32:40 -04:00
rusefillc 1eadeda672 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2022-04-01 21:11:32 -04:00
rusefillc f335b9847b [EPIC] [Feature Request] Transmission Control #1454 2022-03-28 23:00:33 -04:00
Matthew Kennedy 4c2518c4c0 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 b8cc59631f https://rusefi.com/forum/viewtopic.php?p=44732 2022-03-23 19:15:39 -04:00
Andrey 63adb09089 new VVT trigger shape? #1847 2022-03-22 06:34:22 -04:00
rusefillc 12dffd7ea2 prep for aux linear sensors #4005 2022-03-20 10:55:32 -04:00
rusefillc a9728e8ed4 prep for aux linear sensors #4005 2022-03-20 10:49:32 -04:00
Andrey 307350884b Clarify trigger names to avoid confusion #4012 2022-03-19 22:35:03 -04:00
Andrey ef3248c245 Mitsubishi 3A92 Support - 3 cylinder #4011 2022-03-19 22:06:19 -04:00
Andrey 5d22028783 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2022-03-19 19:35:26 -04:00
rusefillc d6b1c9faf2 Mitsubishi 3A92 Support (Issue #4011) 2022-03-19 12:01:57 -04:00
rusefillc 0e42cec874 AlphaX 2chan new EN lines #3990 2022-03-13 11:54:17 -04:00
rusefillc cf1e639247 AlphaX 2chan new EN lines #3990 2022-03-12 10:01:57 -05:00
Matthew Kennedy a48809b6be 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 da36d0ca5a BMW 6HP gatewy #3954 2022-02-25 20:28:09 -05:00
Matthew Kennedy 53ae63df09 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 9a73601020 per-bus verbose flag 2022-02-10 10:12:48 -05:00
rusefi a4f68c66d7 I2C EEPROM support #3860 2022-02-06 18:58:31 -05:00
Matthew Kennedy 8e2c6208f3 tiny piece of mock adc remove (#3890)
* tiny piece

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

* test

* dead config too
2022-02-03 08:01:21 -05:00
Matthew Kennedy 57525283ac 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 c9e1b9a79a flex cranking math (#3791)
* flex cranking math

* simplify

* s

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

* hide sd pin options

* #3868
2022-02-01 15:42:23 -05:00
rusefillc 74c3c64dfc Console should be smarter about total configuration size #3827 2022-01-31 18:39:17 -05:00
Matthew Kennedy fe6cdf60e3 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 9d8c316aff Remove Miata MX5 NB1 trigger fix #3488 2022-01-31 18:20:43 -05:00
Matthew Kennedy eab4c50f77 table for tcharge interpolation (#3855)
* extract getTChargeCoefficient

* new table
2022-01-30 08:45:11 -05:00
Matthew Kennedy 6a46c60d75 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 4ba8c966d8 this stuff is dead 2022-01-28 19:52:12 -05:00
Matthew Kennedy 15d30ad22c 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 bdcc9ad067 pedal calibration 2022-01-27 20:10:55 -05:00
Matthew Kennedy 60b9ddeb1e 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 1a0682aa0e dfco checks driver throttle intent (#3832) 2022-01-24 14:26:39 -05:00
Matthew Kennedy 7434fc230f blah (#3831) 2022-01-24 07:32:00 -05:00
Matthew Kennedy b07127614b 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 79c0275fb8 GM 2 BAR MAP sensor values wrong #3828
3 bar rename
2022-01-22 21:40:30 -05:00
Matthew Kennedy 5ee6a353f8 swapped wall wetting channels (#3824)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-01-21 18:09:28 -05:00
rusefillc 31561ec870 https://rusefi.com/forum/viewtopic.php?p=44146#p44146 2022-01-21 13:09:42 -05:00
Andrey f224fcffd3 do not control VVT during cranking #3443 2022-01-20 20:28:51 -05:00
Matthew Kennedy 6fc4503ee2 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 4c693ff3ca add option to always use instant RPM (#3813)
* option to always use instant RPM

* duh
2022-01-19 07:34:22 -05:00
rusefillc 54ade66c22 Bosch Quick Start on B6 Passat is confused about phase #3812
preparation
2022-01-19 00:48:39 -05:00
rusefillc 72e6b55991 AlphaX 2022-01-16 12:54:00 -05:00
rusefillc f2261618ba Gear detection based on RPM to VSS ratio #3779 2022-01-15 17:30:08 -05:00
rusefillc ab1a696285 Gear detection based on RPM to VSS ratio #3779 2022-01-13 22:32:21 -05:00
Matthew Kennedy e240905df6 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 6b280043c7.

* bump flash version to force a re-write
2022-01-12 21:59:21 -05:00
Matthew Kennedy 78119b7df4 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 cc13519e6d L9779WD driver #3768 2022-01-10 16:53:38 -05:00
rusefi c7bb0d6c28 some dead stuff & minor progress 2022-01-08 20:35:12 -05:00
rusefillc 8edaedf0a9 AlphaX 2022-01-08 20:16:01 -05:00
rusefi 553d63b620 disablePrimaryUart for MRE for GDI 2022-01-08 19:38:02 -05:00
Andrey G 9c344363cb 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 e7c28e685e Live Data progress 2022-01-06 15:20:58 -05:00
rusefillc 7fa58f61be live data progress 2022-01-05 01:34:48 -05:00
rusefillc 06fd71992c GDI Epic #1448 2022-01-03 23:30:34 -05:00
rusefillc c4e4091877 benchTest flexibility 2022-01-03 03:08:57 -05:00
rusefillc c2b5c7ce52 GDI/HPFP: Set HPFP current/timing params on MC33816 #3736 follow-up 2022-01-03 02:13:47 -05:00
Scott Smith fddf93be03 GDI/HPFP: Tunerstudio config params (#3735) 2022-01-02 21:26:43 -05:00
rusefillc 2219e55a22 refactoring - enum has more usages now 2021-12-26 14:53:27 -05:00
Matthew Kennedy a6ef26a1d5 fix dual CAN init, update UI (#3719)
* CAN init sequence

* config & UI cleanup

* ui

* simplify
2021-12-24 23:33:54 -05:00
rusefi a880760aa2 Second CAN #3687 2021-12-22 11:03:39 -05:00
Matthew Kennedy 5642ef07be 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 c92f6b832b 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 670986a34a torque ops it goes above 255 :) 2021-12-20 14:03:29 -05:00
rusefillc caa21342c0 torque 2021-12-20 13:54:37 -05:00
Matthew Kennedy 2ba4c7844d simplify some table lookups (#3692)
* simplify

* expand interpolation test
2021-12-20 08:14:30 -05:00
rusefillc c8e1bde986 2 byte table axis #3045 2021-12-20 02:07:03 -05:00
Andrey 7f3ec053b9 2 byte table axis #3045 2021-12-20 01:38:48 -05:00
rusefillc 206a2fafd5 2 byte table axis #3045 2021-12-20 01:24:57 -05:00
rusefillc de7ac0cfca 2 byte table axis #3045 2021-12-20 00:50:18 -05:00
rusefillc 5c282295fc 2 byte table axis #3045 2021-12-20 00:32:08 -05:00
rusefillc dbe25565ac 2 byte table axis #3045 2021-12-20 00:16:26 -05:00
rusefillc 7eca4d663b 2 byte table axis #3045 2021-12-19 22:43:10 -05:00
rusefillc 433a549ec2 2 byte table axis #3045 2021-12-19 22:34:22 -05:00
rusefillc b0c1a8fb2e MAP phase sensing fix #3544
removing dead implementation
2021-12-16 21:28:27 -05:00
rusefillc 5f3de0d69c live data for wastegate and launch control #3588 2021-12-16 16:19:33 -05:00
Matthew Kennedy 77ab5ed323 remove etb status option (#3695)
* remove

* ui

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

* those too

* format help

* s
2021-12-14 15:44:20 -04:00
Matthew Kennedy bdf6583306 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 ba8ac5f595 AiM dash (#3673)
* aim dash

* enum
2021-12-08 07:04:59 -05:00
Matthew Kennedy 88962c3921 idle threshold tooltip (#3670) 2021-12-07 19:15:30 -05:00
rusefillc c38ae9f148 MAP phase sensing #3544 2021-12-07 08:57:23 -05:00
rusefillc 289a5531a2 why so many channels are hidden in debug ? #3614 2021-12-06 21:52:12 -05:00
rusefillc ebc24cd71b https://rusefi.com/forum/viewtopic.php?f=18&t=2236 2021-12-06 21:31:49 -05:00
rusefillc e0b3016760 https://rusefi.com/forum/viewtopic.php?f=18&t=2236 2021-12-06 20:17:26 -05:00
rusefillc 226adebec6 lua is like a virus but not really 2021-12-05 18:19:01 -05:00
rusefillc 2b465be253 MAP phase sensing #3544
option to look for high and low peaks
2021-12-05 14:25:26 -05:00
rusefillc 89ca3581f7 lua is like a virus but not really 2021-12-05 14:25:26 -05:00
rusefillc 0a13200527 tune via CAN #3361
better constant name
2021-12-04 22:29:53 -05:00
rusefillc cb9c1fe19c tune via CAN #3361
one step back - sandbox reads signature again!
2021-12-04 21:57:45 -05:00
rusefillc 57e8759ac2 tune via CAN #3361
better way to reuse constants between C++ and java
2021-12-04 19:12:51 -05:00
rusefillc c8bf360ca8 MAP phase sensing #3544
need to skip
2021-12-04 17:49:04 -05:00
rusefillc af70aacde2 MAP phase sensing #3544 2021-12-04 17:19:35 -05:00
rusefillc d4cb8c63e9 poke for Matt 2021-12-02 01:09:55 -05:00
rusefillc b6c0d0fb7d why so many channels are hidden in debug ? #3614
space for new sensor
2021-11-28 20:55:16 -05:00
rusefillc 7e4a1beac8 docs 2021-11-28 20:19:05 -05:00
Matthew Kennedy 2dda9bedb8 verbose CAN bits picker (#3628)
* verbose bits picker

* s
2021-11-28 14:59:26 -05:00
Matthew Kennedy c73f7d7623 not industrial (#3627) 2021-11-27 19:27:57 -05:00
Matthew Kennedy aed334f9ac 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 95a28e0dda automation around outputs section #197 2021-11-26 15:53:01 -05:00
Andrey e3920a3159 reliable 32/2 trigger shape 2021-11-25 20:45:58 -05:00
Andrey 02704421e4 proper vvt name 2021-11-25 20:08:18 -05:00
Matthew Kennedy 5752b4ba92 bye (#3609) 2021-11-24 22:03:17 -05:00
Andrey b04efc4b61 MAP phase sensing #3544 2021-11-24 21:28:49 -05:00
rusefillc 8ed1825696 fixing broken test? 2021-11-24 13:25:29 -05:00
rusefillc 09ed871dad well Lua wants to be BIG 2021-11-23 16:40:04 -05:00
rusefillc 5d55b8538f unusedLogFormat 2021-11-22 13:37:06 -05:00
rusefillc ee9fef1024 automation around outputs section #197 2021-11-21 09:35:37 -05:00
rusefillc df7ea34864 automation around outputs section #197 2021-11-20 14:38:50 -05:00
rusefillc e10067da93 automation around outputs section #197 2021-11-20 14:27:21 -05:00
rusefillc fe3f8233d6 automation around outputs section #197 2021-11-20 13:30:25 -05:00
Scott Smith 07d30285fc 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 c441d7dd89 debug mode for skipped count for 4 cylinders #3570 2021-11-19 07:02:21 -05:00
Matthew Kennedy a0a1b5e6a0 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