Commit Graph

199 Commits

Author SHA1 Message Date
rusefi 1d4f82deab 2JZ cam trigger is unfinished #5557 2023-09-10 00:22:38 -04:00
Andrey 63295873b4 reducing/moving technical debt 2023-08-29 16:53:49 -04:00
Andrey d2f899e737 reducing/moving technical debt 2023-08-29 16:46:04 -04:00
Matthew Kennedy 053311fc23 default prime pulse 2023-08-27 09:09:38 -04:00
rusefillc 7906d5125b only: more on setInline4 2023-07-24 02:41:45 -04:00
rusefillc e0e711450d only:injection phase docs 2023-07-23 12:47:53 -04:00
rusefi b1e3907516 ignition timing clamping settings
only:default
2023-07-21 23:20:50 -04:00
andreyb 18a4a65bf3 only: proteus_f4
that's how much I do not like copy-paste
2023-07-19 10:58:43 -07:00
andreyb 75b122d6a3 only: proteus_f4
that's how much I do not like copy-paste
2023-07-19 10:50:51 -07:00
andreyb deb3c8207f only: proteus_f4
that's how much I do not like copy-paste
2023-07-19 10:36:30 -07:00
rusefi 28bb70e94c only:slingshot 2023-07-12 11:34:25 -04:00
rusefillc dcb6312a8f
only:Create readme.md 2023-07-10 14:33:03 -04:00
Matthew Kennedy 7bd97bea13 lambda protect defaults #75
(cherry picked from commit 242d9e1e7d5d1a0e9fca6c8c3c82f249cf9d5674)
2023-06-29 17:55:44 -04:00
rusefillc edc390bf29 Better defaults based on some real tunes #5344 2023-06-19 11:03:09 -04:00
rusefillc 2cc359d095 Better defaults based on some real tunes #5344 2023-06-18 23:02:38 -04:00
rusefillc 5c7c833284 Dashpot for return-to-idle from coasting fix #5303 2023-06-15 00:57:28 -04:00
rusefillc d3d2a3aad7 GDI defaults: -400 is wrong and you risk serious injector damage
set injection phase control mode to "center of injection" and whole injection phase table to -200
2023-06-12 19:42:52 -04:00
rusefillc 96bad7a392 PB 2023-06-10 12:46:39 -04:00
rusefi 1908896598 Technical debt: ENUM_32_BITS #3874
poking the bear
2023-06-01 10:29:05 -04:00
rusefillc 725256d7e3 better code guard? 2023-05-24 10:00:58 -04:00
rusefillc 39c3af285a only:hellen-honda-k
configurable CAN terminator
2023-05-09 19:33:47 -04:00
andrey c7b750936a boostCutPressureHyst default 2023-05-05 17:42:07 -04:00
Nathan Schulte 7b4f49ace6 set default MAP estimate axis values (#96)
move to default_fuel

fixes #93

(cherry picked from commit 166a08d1b5e4b637a809f59844d0dd32f8820a3d)
2023-05-04 17:19:56 -04:00
Matthew Kennedy 3d1dc5a442 table-only map fallback (#46)
* table-only map fallback

* InSequence

(cherry picked from commit 4cd08fbc4b8205028c6f4aaa359264f672dd3798)
2023-05-04 11:02:39 -04:00
Andrey 067cba5b30 defaults are nice 2023-04-29 10:43:53 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Matthew Kennedy 2857e9527d remove specs_s struct, flatten config
(cherry picked from commit f090a97b0b7771dfe02e4b4bb9919d50a6a11ef5)
2023-04-28 20:59:11 -04:00
rusefillc 0b95cfb2b2 GDI goes mainstream 2023-04-25 00:56:59 -04:00
rusefillc 481d971666 GDI goes mainstream 2023-04-25 00:41:25 -04:00
Andrey d3462f2fd6 only:one-step-back 2023-04-22 14:22:39 -04:00
rusefillc 9ad6ec2382 only:mre_f4 2023-04-22 11:57:07 -04:00
rusefillc f05a5fcd70 refactoring, fancy: extract magic constant 2023-03-30 10:01:51 -04:00
rusefi 0f9e6e25a6 8chan Official well known idle stepper configuration #5197
only:alphax-8chan
2023-03-27 22:04:54 -04:00
rusefi 3e3a7440cf 8chan Official well known idle stepper configuration #5197
only:alphax-8chan
2023-03-27 21:33:49 -04:00
rusefillc fd55cbd997 k-line 2023-03-03 21:27:48 -05:00
rusefi fb648f0fb8 only:hellen-honda-k 2023-03-03 10:35:06 -05:00
rusefillc 760eb889a6 Revert "Feb20: 3rd ticket for 4g9x mess #5111"
This reverts commit 61eefa205b.
2023-02-21 21:43:05 -05:00
rusefillc 61eefa205b Feb20: 3rd ticket for 4g9x mess #5111
something is really weird
2023-02-20 19:05:45 -05:00
rusefillc 2a7db23708
Als timer smaller (#5041)
* Update default_base_engine.cpp

(cherry picked from commit 8ac64e2a16f18b7497c3fa1993a4d3e31a161332)

* als timer meta

---------

Co-authored-by: TurboMarian <podgajnymariusz@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-02-06 19:05:38 -04:00
Matthew Kennedy e5d199272d
improve iat ignition table (#4948)
* iat ignition table

* changelog
2023-01-06 21:59:34 -05:00
Andrey db09833774 test coverage for antilag #4920
better default
2022-12-31 14:48:25 -05:00
rusefillc 12d79d09de TurboMarian is the ALS boss 2022-12-16 23:51:50 -05:00
rusefillc d0584d344f antilag and anti-lag #2403 2022-12-14 22:25:06 -05:00
Andrey a0c2689aa9 RPM correction/multiplier for Accel Enrich fix #4760 2022-12-14 21:51:41 -05:00
rusefillc 40738fad12 smarter template 2022-12-13 16:47:35 -05:00
rusefillc 7b3423a7b5 RPM correction/multiplier for Accel Enrich #4760 2022-12-13 16:36:38 -05:00
Matthew Kennedy 151416b005
default fuel cleanup and injection phase change (#4836)
* default fuel cleanup and injection phase change

* happy tests

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-29 23:41:49 -05:00
rusefillc a331cfa2c9 simpler SENT for now 2022-11-19 09:38:39 -05:00
rusefi 37194dfe56 Ford SENT ETB bench test in NJ #4745 2022-11-13 11:23:54 -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
rusefi bf3357cc61 nicer defaults API 2022-11-04 13:27:40 -04:00
rusefi 954e4650ba nicer defaults API 2022-11-04 12:37:28 -04:00
Andrey G e7b06cbfca
compile warnings: signed vs unsigned and unused (#4713) 2022-10-30 09:47:53 -04:00
rusefillc 959c738c24 refactoring: helper method 2022-10-30 00:17:42 -04:00
rusefillc 2715cc1b8b refactoring: helper method 2022-10-29 23:55:14 -04:00
rusefillc 13c9de1c80 refactoring: helper method 2022-10-29 23:04:24 -04:00
rusefi a74fc3c3c2 refactoring: extracting useful method 2022-10-25 21:55:54 -04:00
rusefi 1804b40485 need Proteus QC 2022-10-01 22:34:08 -04:00
rusefi 0a8cdf3f47 need Proteus QC 2022-10-01 22:07:44 -04:00
rusefillc 83dc351435 documenting biquad or else concerns 2022-09-19 12:06:00 -04:00
Matthew Kennedy b6bb5f148d
set a default, detect error (#4504) 2022-08-31 20:32:37 -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 a2af7895bb TS injector bench test pulse is too short fix #4192 2022-05-22 09:43:09 -04:00
rusefillc df7a6d1367 default VR curve is needed not just by hellen, we have Proteus adapters with it now! 2022-05-17 17:54:11 -04:00
rusefillc 3b3f62b24f Make ETB low limit configurable fix #4119 2022-05-02 05:24:50 -04:00
Andrey e62877964a Move curves out of engineConfiguration in order to reduce RAM usage #4127 2022-05-01 23:43:43 -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
rusefillc 442d829f8a [EPIC] [Feature Request] Transmission Control #1454 2022-04-25 17:42:19 -04:00
rusefillc 3ea21ba4bf [EPIC] [Feature Request] Transmission Control #1454 2022-04-25 17:20:56 -04:00
rusefillc 14e37e3cf4 FasterEngineSpinUp should be enabled by default fix #4094 2022-04-23 09:51:47 -04:00
rusefillc d2205a7fd6 Set sensible default for dwell by voltage multiplier table fix #4067 2022-04-13 15:21:44 -04:00
rusefillc a90ca2b200 Hellen NB2 default tune #4038 2022-04-10 19:11:34 -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
Matthew Kennedy 289122c0b7
fix 4032 (#4034)
* fix 4032

* board defaults should not set these things
2022-04-03 06:58:25 -04:00
Andrey cc9a1136c4 Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-03 02:21:37 -04:00
Andrey 6aa948a666 Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-03 00:43:28 -04:00
Andrey a43aec4e60 Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-02 23:50:39 -04: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
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
rusefi bb54fb346d but we need valid default 2022-01-21 15:22:11 -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 0810198185
clean up timing table defaults (#3705)
* less crazy configs

* cleanup

* make that test happy
2021-12-20 08:02:38 -05:00
rusefillc 66f82a0cdb 2 byte table axis #3045 2021-12-19 22:43:10 -05:00
Scott Smith 69d36dad6e
Final cleanup of ENGINE macros (#3567)
Fix some uses of ENGINE() not detected by regex due to parenthesis.
Remove now empty engine_ptr.h
Don't worry about EFI_* not being defined, the compiler defaults to 0 if they aren't.
2021-11-17 13:45:10 -05:00
Scott Smith 823d9a07e0
Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy 8cdac4cac0
remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05: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 d008b0f8c3
static (#3381) 2021-10-20 15:19:48 -04:00
rusefillc 61e2b3d5db Remove engine load acceleration enrichment fix #3357 2021-10-16 21:24:05 -04:00
Matthew Kennedy b52d50bbf2
Use pch in lots of files (#3066)
* most engine.h

* most engine_configuration

* more

* more

* more

* more

* more

* moooooore

* ok I'm done for now

* oops
2021-07-26 01:05:17 -04:00
rusefi 07c3cc09d4 Red test mule cranking to idling is weird #3050 2021-07-24 23:25:00 -04:00
Matthew Kennedy 2ce7777865
don't require EXTERN_ENGINE in every file (#2969)
* move enginePins

* no more extern engine

* uses

* more

* extern config too

* put this where it belongs

* include correct header

* merge
2021-07-16 18:13:33 -04:00
Andrey b8857f5ba8 trailing spark outputs #2931 2021-07-09 10:14:00 -04:00
Matthew Kennedy 0c5f4f5179
target lambda table (#2879)
* move function

* put that back

* fancy lamba table
2021-06-30 06:56:43 -04:00
Matthew Kennedy 097bf85faf
dual fans (#2806)
* remove fsio

* hard code impl

* test it

* enable fan with AC

* make commented stuff match

* second fan config

* second fan ui

* defaults

* impl
2021-06-13 08:06:45 -04:00
Matthew Kennedy 7d2057e74a
remove cranking dwell angle (#2814)
* config & impl

* settings

* engines & boards

* this test doesn't do anything interesting
2021-06-13 07:52:07 -04:00
Matthew Kennedy e7f17b0365
move ign & cranking defaults (#2791)
* ignition defaults

* cranking

* s
2021-06-03 14:40:19 -04:00
Matthew Kennedy 981e8f5047
defaults cleanup: base engine & fuel (#2790)
* build

* fuel and base

* fix build

* cleanup

* extern

* tps/tps

* alternator

* tps

* iat timing

* cranking RPM

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-03 00:50:07 +03:00