Commit Graph

1580 Commits

Author SHA1 Message Date
rusefillc 11d111a980 Hide pin mode from well-known boards #3397 2022-05-08 15:11:28 -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
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
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
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
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