Commit Graph

2135 Commits

Author SHA1 Message Date
Andrey 442fa56438 proper location for camResyncCounter 2023-12-06 14:43:24 -05:00
Andrey 93684f1b46 vvt gap override
only:f407-discovery
2023-11-30 19:24:14 -05:00
rusefillc 6ecef25de6 vvt gap override
only:f407-discovery
2023-11-30 18:21:02 -05:00
rusefillc e2c2980335 making ACR quicker
only:proteus_f7
2023-11-13 17:25:07 -05:00
rusefillc 04c4623fd4 Please no physical sensors in CAM by MAP mode
only:proteus_f7
2023-11-13 16:55:17 -05:00
rusefillc a9a7a60bea ACR
only:proteus_f7
2023-11-13 01:10:14 -05:00
Andrey efed3a7a74 6G72 Trigger Pattern #5593 2023-11-08 15:29:07 -05:00
rusefillc 49e2f91a70 only: dead enum since VVT_MITSUBISHI_6G75 uses TT_NISSAN_MR18_CAM_VVT 2023-11-08 15:18:27 -05:00
rusefillc 27e479f447 only: 6G72 Trigger Pattern #5593 2023-11-08 14:59:38 -05:00
Andreika 84f7508701
Trigger emulator: support for cam/vvt (#5642)
* tiny refactoring

* add cam/vvt support to trigger_emulator

* fix

* fix unit-tests

* fix

* CAM sensor simulator #5640
only: assertHappyTrigger

* fix?

* better fix?

* only:alphax-8chan

* progress!

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
Co-authored-by: Andrey <rusefillc@gmail.com>
2023-11-02 21:57:01 -04:00
rusefillc bb44f565b6 only:cam/shadow 2023-11-02 15:51:25 -04:00
Andrey d97a73e05c clean-up 2023-11-02 10:39:18 -04:00
Andrey c403a86f9b only:helping non-EFI_ENABLE_ASSERTS compilation 2023-11-02 09:55:22 -04:00
Matthew Kennedy 78655a168a dead line 2023-11-02 01:18:13 -04:00
rusefillc 35e57475a4 only:variable shadowing should be avoided #5676 2023-11-01 12:12:50 -04:00
rusefillc b3d921d961 only:variable shadowing should be avoided #5676 2023-11-01 12:00:08 -04:00
rusefillc 850d79d89d shall we be just a little less Toyota 2023-11-01 09:48:33 -04:00
rusefi 2708114905 HW CI instability: handleShaftSignal unexpected loop fix #5661
shoot from the hip?
2023-10-29 13:26:21 -04:00
rusefillc bcd41c0df1 only: CAM sensor simulator #5640
one step back
2023-10-26 18:17:02 -04:00
rusefillc c091270d19
T2 5 (#5650)
* fix

* add cam/vvt support to trigger_emulator

---------

Co-authored-by: andreika-git <andrei.home@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-10-26 16:06:50 -04:00
rusefillc 9c54180bf6
T2 (#5647)
* fix unit-tests

* add cam/vvt support to trigger_emulator

---------

Co-authored-by: andreika-git <andrei.home@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-10-26 14:10:51 -04:00
rusefillc 2507d4e467
tiny refactoring (#5646)
Co-authored-by: andreika-git <andrei.home@gmail.com>
2023-10-26 13:04:30 -04:00
rusefillc 0ce7bf586b Revert "future home of quick&dirty VVT simulation only:mre_f4"
This reverts commit dfd3fde5
2023-10-25 13:04:25 -04:00
rusefillc 9fa20ad0a8 CAM sensor simulator #5640 2023-10-25 12:57:07 -04:00
Matthew Kennedy 6b8aaa8e30 default params for happy test 2023-10-24 15:35:55 -04:00
rusefillc ba1ea253a3 dead code 2023-10-21 18:14:52 -04:00
Matthew Kennedy 2b392307e4 make wrapAngle a function not macro 2023-10-19 22:59:43 -04:00
rusefi a7b9603b9c docs 2023-10-19 22:54:24 -04:00
Matthew Kennedy 28fd3c59ac remove wrapAngle2, wrapAngle does fine 2023-10-19 22:53:09 -04:00
Matthew Kennedy 883336ff30 fixAngle -> wrapAngle 2023-10-19 22:42:50 -04:00
rusefillc a3050bba86 subaru 36-2-2-2
https://rusefi.com/forum/viewtopic.php?p=48444#p48444
2023-10-08 10:59:59 -04:00
Andrey 3b1fe9da7f only: VVT refactoring reducing magic index math 2023-10-07 12:34:32 -04:00
rusefillc 0921a303d0 cam input into logs
only:proteus_f4
2023-10-07 11:03:53 -04:00
Matthew Kennedy 22a10cc0eb minor pwm logic cleanup 2023-10-06 19:41:40 -04:00
Andrey be3a7a4ef6 per-tooth cam position accounting for offset 2023-10-06 14:38:27 -04:00
GitHub gen-configs Action e189430666 Auto-generated configs and docs 2023-10-06 17:26:49 +00:00
rusefillc 36789d7133 only:individual cam teeth positions 2023-10-06 13:22:33 -04:00
rusefillc 5b22465023 only:6G72 Trigger Pattern #5593 2023-09-29 23:21:48 -04:00
rusefi eda6435b18 better enum name 2023-09-29 21:18:19 -04:00
GitHub gen-configs Action c14c289419 Auto-generated configs and docs 2023-09-28 03:25:53 +00:00
rusefi 7624c91bec we already have vvtCamCounter doing same exact thing 2023-09-27 23:22:18 -04:00
rusefillc c0f8477692 36/2/2/2 is confusing #5566 2023-09-17 11:49:08 -04:00
Andrey 10563925d0 TT_MITSU_4G63_CRANK fix 2023-09-16 00:44:37 -04:00
Andrey 0a459fa9f5 36/2/2/2 is confusing #5566
only: code comments
2023-09-15 23:40:31 -04:00
Andrey 2f9f693665 only: adding some code clarity, actually no hacking here 2023-09-15 23:04:25 -04:00
Matthew Kennedy bc637c4e6b rename 2jz -> toyota 3 tooth 2023-09-14 17:42:27 -04:00
rusefillc 1c154f6ee7 2JZ cam trigger configuration is much easier to adjust #5557
only:proteus_f4
2023-09-10 10:34:06 -04:00
rusefi 1d4f82deab 2JZ cam trigger is unfinished #5557 2023-09-10 00:22:38 -04:00
GitHub gen-configs Action 37bd489600 Auto-generated configs and docs 2023-09-10 01:31:24 +00:00
Andrey 8391bc4dee only: 2JZ cam trigger is unfinished #5557 2023-09-09 21:10:37 -04:00
GitHub gen-configs Action 8cc2a2b080 Auto-generated configs and docs 2023-09-10 01:03:22 +00:00
Andrey 768eefbb36 https://rusefi.com/forum/viewtopic.php?f=4&t=2613 2023-09-09 20:27:53 -04:00
Andrey b5fd6ea044 spelling is important 2023-09-09 19:53:18 -04:00
Andrey a2a5fda3ce spelling is important 2023-09-09 19:51:09 -04:00
Andrey G 14333cb139
eg33 fixes (#5556)
* subaru-eg33: fix comments

* trigger_subaru: eg33: reuse defines

* subaru_eg33: enable LSE kills PC14, PC15 used for ignition

ChibiOS init code enabes LSE oscilator on this pins.
2023-09-09 16:44:14 -04:00
Andrey ba66fdcf82 reducing code duplication around assert 2023-09-05 21:28:39 -04:00
Andrey c8302be4ae type clean-up to avoid nasty cast 2023-09-05 15:33:05 -04:00
rusefi 78e48d3718 only:timer.h goes to libfirmware! 2023-08-30 23:11:24 -04:00
Andrey c5966f4fee 4G69 Cam pattern #5541 2023-08-25 11:00:35 -04:00
Andrey 4fbccca850 4G69 Cam pattern #5541 2023-08-25 01:10:08 -04:00
Andrey 49a270e3a3 4G69 Cam pattern #5541 2023-08-24 22:50:16 -04:00
rusefi e8c45a2e7d refactoring: reducing code duplication. Also, do we even care for critical error codes?! 2023-08-20 22:23:44 -04:00
Andrey ee83fea7e0 Renault F 60-2-2 trigger wheel fix #5513 2023-08-15 12:50:54 -04:00
Andrey 1774a75732 docs & extracing constant 2023-08-15 12:25:53 -04:00
rusefillc 8ddb59db32 Renault F3R trigger #5513 2023-08-15 08:49:20 -04:00
rusefillc 17026dbb3d MAP Sync not working #5503
additional data points
2023-08-09 05:49:06 -04:00
GitHub gen-configs Action f889aa76b6 Auto-generated configs and docs 2023-08-09 09:41:01 +00:00
rusefillc 1a7d9b0f43 MAP Sync not working #5503
additional data points
2023-08-09 05:35:14 -04:00
Andrey 5f686c302d "Single Tooth" renamed to "Half Moon", more proper "Single Tooth" crank trigger as a new trigger fix #5488 2023-08-05 23:49:32 -04:00
Andrey f3a5586e36 Custom Trigger Tooth with 1+0 causes endless loop fix #5471 2023-08-05 12:59:11 -04:00
Andrey 0787b4f4a0 Custom Trigger Tooth with 1+0 causes endless loop #5471
only:test
2023-08-05 12:44:16 -04:00
rusefillc 77ef4db8ab
Simplified VVT single tooth cam modes. (#5483)
* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-08-03 20:24:22 -04:00
Andrey 6ccf1fe426 only:mre_f4
honda 600 https://rusefi.com/forum/viewtopic.php?f=16&t=2572
2023-07-03 10:25:04 -04:00
Matthew Kennedy 7f67ecd02d simplify adjustCrankPhase
(cherry picked from commit 7ae11160d9bfb31a664130e66586e849b8201c8a)
2023-06-28 21:49:51 -04:00
rusefillc c20963d302 proteus F7 hard fault on "enable self stimulation" #5354
i feel lucky so I make random changes
2023-06-25 02:21:38 -04:00
rusefillc bc2a2b9ab9 only:better method name 2023-06-25 02:08:53 -04:00
rusefi cf7642b737 https://rusefi.com/forum/viewtopic.php?f=16&t=2572 2023-06-23 19:25:53 -04:00
AvatarSD 087a1c2ccd
Trigger: "Single 60deg tooth before TDC" for Saruman, Sovek ignition (#5347)
* Trigger: "Single 60deg tooth before TDC" for Saruman, Sovek ignition triggers has been added

* Cosmetic: added usefull notions from https://github.com/rusefi/rusefi/pull/5347

---------

Co-authored-by: Denys Sobchuk <d.sobchuk@perenio.com>
2023-06-22 21:10:29 -05:00
Andrey 632912d265 extra checks 2023-06-22 14:45:55 -05:00
rusefi f77f356e6d reducing code duplication 2023-06-11 23:17:13 -04:00
rusefi 731fd89ef7 reducing magic constant 2023-06-11 23:13:36 -04:00
Matthew Kennedy 81682d1a55 oop 2023-06-05 14:15:21 -04:00
Matthew Kennedy f7e6ccd9e2 de-pointerize outputMode #49 2023-06-05 10:25:00 -04:00
Matthew Kennedy 71799f3f3d better error message
(cherry picked from commit f9541aa1d160ca4be8d5da7f83593738d602f649)
2023-06-01 23:02:11 -04:00
Matthew Kennedy 0d1705599a multiple assignments in one line is confusing
(cherry picked from commit 22553992579adb93caea3b138d7660c7ee6145a9)
2023-06-01 23:01:36 -04:00
rusefi 4d0abac889 Technical debt: ENUM_32_BITS #3874
poking the bear
2023-06-01 10:29:05 -04:00
rusefi 1908896598 Technical debt: ENUM_32_BITS #3874
poking the bear
2023-06-01 10:29:05 -04:00
rusefillc ad52947775 it's going to be p 2023-05-31 16:20:54 -04:00
Matthew Kennedy f12cab93aa looks like initialState was dead #55
(cherry picked from commit daaf50c2e45de84b9a47716ff253d744caeb34b8)
2023-05-31 16:11:05 -04:00
Matthew Kennedy 12a29232cc tooth_logger.h -> pch
(cherry picked from commit ad3ea57276361b6da69eb920dd056a662f6f5c70)
2023-05-31 15:59:02 -04:00
Mingjie Shen 495f0ea8c4 Fix invoking virtual functions from constructors
Virtual functions should not be invoked from a constructor or destructor
of the same class. Confusingly, virtual functions are resolved
statically (not dynamically) in constructors and destructors for the
same class. The call should be made explicitly static by qualifying it
using the scope resolution operator.
2023-05-24 15:27:09 -04:00
rusefillc 80d88604ff fix https://github.com/rusefi/alphax-4chan/issues/135 2023-05-16 23:07:34 -04:00
rusefillc 86c1a9f8e0 fix https://github.com/rusefi/alphax-4chan/issues/135 2023-05-16 23:00:18 -04:00
Andrey 51def75f8d Ford Coyote VVT Decoder #5275
only:alphax-8chan
2023-05-13 16:08:23 -04:00
Andrey b69d846384 trigger refactoring: we are long overdue for better api, also reducing CRANK_MODE_MULTIPLIER crazy 2023-05-13 15:43:53 -04:00
Andrey 5d8eef1782 trigger refactoring: we are long overdue for better api, also reducing CRANK_MODE_MULTIPLIER crazy 2023-05-13 15:34:59 -04:00
Andrey 5e491306cf trigger refactoring: we are long overdue for better api, also reducing CRANK_MODE_MULTIPLIER crazy 2023-05-13 15:20:40 -04:00
Andrey 56f4d89e33 trigger refactoring: we are long overdue for better api, also reducing CRANK_MODE_MULTIPLIER crazy 2023-05-13 15:16:38 -04:00
Andrey 56a327c6be trigger refactoring: we are long overdue for better api, also reducing CRANK_MODE_MULTIPLIER crazy 2023-05-13 14:59:17 -04:00
Andrey 8b84b83e1a trigger refactoring: we are long overdue for better api, also reducing CRANK_MODE_MULTIPLIER crazy 2023-05-13 14:46:32 -04:00
Andrey d13610e1f1 trigger refactoring: we are long overdue for better api, also reducing CRANK_MODE_MULTIPLIER crazy 2023-05-13 14:26:31 -04:00
Andrey da1f4f25c3 todo? 2023-05-13 13:51:22 -04:00
Andrey a0408549f5 todo? 2023-05-13 13:40:47 -04:00
rusefi 409bf4b2ce Ford Coyote VVT Decoder #5275
helping build?
2023-05-13 13:27:37 -04:00
rusefillc fd736254ae Ford Coyote VVT Decoder #5275
enum/header
2023-05-13 11:39:54 -04:00
Matthew Kennedy 71a032a61b rename triggerSimulatorFrequency -> triggerSimulatorRpm
(cherry picked from commit d1246174d283ae775444a0e183be9cace88219a9)
2023-04-30 00:44:53 -04:00
Matthew Kennedy 9ae8e18757 only: cherry picking: it's going to be painful 2023-04-29 15:14:58 -04:00
Andrey 51d0f6e347 it's going to be painful 2023-04-29 00:44:00 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
rusefillc fee6bd2ded vvtChannel2 #5207
only:proteus_f7
2023-04-22 08:32:30 -04:00
rusefi f3279c108e proteus F7 QC build is broken #5242 2023-04-19 22:09:57 -04:00
rusefi 3cf43bb0a2 proteus F7 QC build is broken #5242 2023-04-19 20:45:23 -04:00
rusefillc f7ec60d32d Clean-up all the 4g drama #5213 2023-04-01 16:52:48 -04:00
Andrey ad634a7ddc Clean-up all the 4g drama #5213 2023-04-01 16:01:48 -04:00
rusefillc 9f7199950e Clean-up all the 4g drama #5213 2023-04-01 15:19:59 -04:00
Andrey 6c1a8d501e 4g is symmetrical crank not just four stroke crank #5211
only:alphax-4chan
2023-03-30 23:31:47 -04:00
Andrey 080dfb034a 4g is symmetrical crank not just four stroke crank #5211
only:alphax-4chan
2023-03-30 23:11:15 -04:00
Andrey 3d31058cc5 4g is symmetrical crank not just four stroke crank #5211 2023-03-30 22:52:36 -04:00
GitHub gen-configs Action a7fcc72de2 Auto-generated configs and docs 2023-03-31 02:46:09 +00:00
rusefillc 79a15d8da5 nice prefix 2023-03-30 22:42:53 -04:00
Andrey f53937ae87 K
only:hellen-honda-k
2023-03-29 22:57:31 -04:00
GitHub gen-configs Action 157c6fd982 Auto-generated configs and docs 2023-03-29 00:39:11 +00:00
rusefi 7bd39719c4 Poor man categories for logs #5153?
only:hellen-honda-k
2023-03-28 20:35:42 -04:00
GitHub gen-configs Action 5af0aad5e7 Auto-generated configs and docs 2023-03-29 00:35:11 +00:00
rusefi 5ec6f523f3 Poor man categories for logs #5153
only:hellen-honda-k
2023-03-28 20:12:30 -04:00
rusefillc 3031818f3e weird: happy running car shows repetitive pattern of unrealistic vvtSyncGapRatio fix #5152 2023-03-21 19:39:39 -04:00
GitHub gen-configs Action aa088a1c43 Auto-generated configs and docs 2023-03-21 13:46:54 +00:00
Andreika 134d34385e
vvttoothDurations0 NT2US #5193 (#5194)
* vvttoothDurations0 NT2US #5193

* vvttoothDurations0 NT2US #5193
2023-03-21 09:45:08 -04:00
rusefi 033c2e2bb9 https://rusefi.com/forum/viewtopic.php?p=47378#p47378
Subaru EZ30 tdcPosition is now 240
2023-03-11 10:15:59 -05:00
GitHub gen-configs Action fca9f93fa2 Auto-generated configs and docs 2023-03-08 00:52:41 +00:00
rusefillc 929011bb0e Poor man categories for logs #5153 2023-03-07 19:49:06 -05:00
rusefillc 32e8de134f weird: happy running car shows unrealistic vvtSyncGapRatio #5152 2023-03-04 14:58:31 -05:00
GitHub gen-configs Action 3b669fd0d3 Auto-generated configs and docs 2023-03-04 19:08:02 +00:00
rusefillc 641780b2b5 weird: happy running car shows unrealistic vvtSyncGapRatio #5152 2023-03-04 14:06:07 -05:00
Andrey dfd3fde581 future home of quick&dirty VVT simulation
only:mre_f4
2023-03-03 00:36:17 -05:00
Andrey e08cdf0fb6 trigger refactoring
only:mre_f4
2023-03-03 00:21:40 -05:00
Andrey 057b067db0 trigger refactoring
only:mre_f4
2023-03-03 00:02:26 -05:00
Andrey 5949d92483 trigger emulator refactoring
only:mre_f4
2023-03-02 23:54:42 -05:00
Andrey 30a96f0b03 refactoring: better variable name
only:mre_f4
2023-03-02 23:24:59 -05:00
rusefillc 760eb889a6 Revert "Feb20: 3rd ticket for 4g9x mess #5111"
This reverts commit 61eefa205b.
2023-02-21 21:43:05 -05:00
Andrey 9a5b2b1fd3 test
only:alphax-4chan
2023-02-21 18:48:24 -05:00
Andrey 247108def3 Feb20: 3rd ticket for 4g9x mess #5111
random shit at this point

only: alphax-4chan
2023-02-21 17:30:05 -05:00
Andrey d8a8f78010 Revert "Feb20: 3rd ticket for 4g9x mess #5111"
This reverts commit a8141a5f68.
2023-02-21 16:49:53 -05:00
Andrey a8141a5f68 Feb20: 3rd ticket for 4g9x mess #5111
random shit at this point

only: alphax-4chan
2023-02-21 16:30:36 -05:00
rusefillc 8e268a3542 Feb20: 3rd ticket for 4g9x mess #5111
something is really weird

only: alphax-4chan
2023-02-21 15:04:29 -05:00
Andrey be69eecf8e yes, this thing works nicely 2023-02-21 00:08:22 -05:00
Andrey 9d41bc7d56 typo 2023-02-20 23:40:31 -05:00
rusefillc 76a0f6e682 poke 2023-02-20 19:17:38 -05:00
rusefillc 61eefa205b Feb20: 3rd ticket for 4g9x mess #5111
something is really weird
2023-02-20 19:05:45 -05:00
rusefillc 3c3a584607 Feb20: 3rd ticket for 4g9x mess #5111
minor mess reduction: only changing internal naming
2023-02-20 16:51:56 -05:00