Commit Graph

2749 Commits

Author SHA1 Message Date
GitHub gen-configs Action 165bdbc7fe Trigger wheel definitions 2024-08-06 22:19:57 +00:00
GitHub gen-configs Action 9ea47063b4 Trigger wheel definitions 2024-08-06 20:56:45 +00:00
Andrey c7568ebc17 only: bore2frequency unit test 2024-08-06 13:04:39 -04:00
Matthew Kennedy 515ad299f4 only: firmware shouldn't write config at runtime 2024-08-05 21:02:46 -04:00
rusefi ffea0a23a0 Knock inputs to be bore diameter and checkbox #6767
only: only bore logic
2024-08-04 13:47:17 -04:00
Andrey bca0459339 only:SUPPRESS_FUEL_MATH_FUEL_TRIM_TEST 2024-08-04 01:27:36 -04:00
rusefillc acf97cc55c https://sourceware.org/bugzilla/show_bug.cgi?id=9687 Weak symbols not working on mingw32 2024-08-03 12:24:06 -04:00
Matthew Kennedy cfa7ad9741 AE is engine module 2024-08-03 10:41:50 -04:00
rusefillc 9fcefd26ae only:order of imports is important 2024-08-02 20:00:59 -04:00
kifir 4c349de3d1 Now we use `Coolant Temperature Boost Adder` and `Intake Air Temperature Boost Adder` in close loop target calculation #6424 2024-08-02 13:47:59 -04:00
Andrey cf3479d45d only: thank you macos :( 2024-08-02 13:26:19 -04:00
Andrey c503bf3e29 only: unit tests are getting BOARDINC 2024-08-02 03:19:24 -04:00
Andrey da7c55ee6e only: board_unit_tests 2024-08-02 03:07:21 -04:00
rusefillc 70f32ce81a only:board_unit_tests.mk 2024-08-01 16:45:04 -04:00
kifir 02359f54ef Now we use `Coolant Temperature Boost Multiplier` and `Intake Air Temperature Boost Multiplier` in open loop duty calculation #6424 2024-07-30 20:36:26 -04:00
kifir d223ec9a4d now we wrap advance angle after lua timing parameters are applied 2024-07-25 13:44:22 -04:00
rusefi cc093aad5b cisnan progress 2024-07-23 12:51:07 -04:00
Andrey 4de096129c isnan 2024-07-22 23:56:21 -04:00
Andrey 4434b691fd Better validation of thermistor configuration fix #6724 2024-07-17 17:07:20 -04:00
Andrey 2e5c3e6504 wow is this some sort of precision limitation for Steinhart-Hart? 2024-07-16 16:35:14 -04:00
kifir 966637aee0 implement AlternatorVoltageTargetSetPointTest.CustomAlternatorVoltageTargetTable #6523 2024-07-16 09:34:35 -04:00
kifir c3bc57b673 implement AlternatorVoltageTargetSetPointTest.DefaultAlternatorVoltageTargetTable #6523 2024-07-16 09:34:35 -04:00
kifir 0abc36521d only: refactoring #6523 2024-07-16 09:34:35 -04:00
kifir 8c3588a78b rename Alternator.TestSetPoint into AlternatorVoltageTargetSetPointTest.HomogeneousAlternatorVoltageTargetTable #6523 2024-07-16 09:34:35 -04:00
kifir 2797e722e2 extract Alternator.TestSetPoint into separated file #6523 2024-07-16 09:34:35 -04:00
kifir 4ccf40d477 now we use alternatorVoltageTargetTable instead of targetVBatt #6523 2024-07-16 09:34:35 -04:00
Andrey 59bf19ede3 only:removing scheduleByTimestamp, making API simpler 2024-07-15 10:51:35 -04:00
Andrey db0b61cd6c only:inlining scheduleByTimestamp 2024-07-15 09:59:06 -04:00
Matthew Kennedy f874f97b1f don't use scheduleByTimestamp 2024-07-15 09:42:05 -04:00
Matthew Kennedy 5b1e70f422 only:removing scheduleForLater, making API simpler 2024-07-15 09:41:44 -04:00
GitHub gen-configs Action 1d929c1e68 Trigger wheel definitions 2024-07-04 19:45:00 +00:00
Andrey 9e49e26fbf Ford Coyote Exhaust VVT position error #6402
only:alphax-8chan
2024-07-04 15:37:43 -04:00
GitHub gen-configs Action 9d2f48318d Trigger wheel definitions 2024-07-04 18:19:43 +00:00
Matthew Kennedy e1d29141dc only: wow, all of this was dead code 2024-07-03 10:16:24 -04:00
Matthew Kennedy f4965b0983 fix sensor mock tests
(cherry picked from commit d907e6123f8a3b435206cd1c4f74bae8af135f2c)
2024-06-28 20:38:21 -04:00
Andrey 5b49a81cb7 dead 2024-06-24 13:49:54 -04:00
kifir 400fb7a3ac get rid of redundant acDelay initialization (actually it is not needed for this test) #6570 2024-06-20 13:23:19 -04:00
Andrey 7bdbf5bfdf only:wow FuncChain templating 2024-06-19 19:15:41 -04:00
kifir 497663ccc6 implement default values for minAcPressure and maxAcPressure settings #6570 2024-06-19 17:15:04 -04:00
kifir af8f0ab58f enhance AcPressureTest #6570 2024-06-19 17:15:04 -04:00
kifir edaa711fba refactoring: extraact AcController::PRESSURE_DEADBAND_WIDTH constant #6570 2024-06-19 14:33:43 -04:00
kifir 8fbbde4368 implement AcPressureTest #6570 2024-06-19 14:33:43 -04:00
kifir f264a2bdd0 refactoring: extract part of functionality into TestBase class 2024-06-19 14:33:43 -04:00
Andrey 3b988d02f9 only:getCurrentTarget getter into interface 2024-06-17 21:46:56 -04:00
Andrey 37085b9196 only:Some sort of AFR smoothing for some reason #6579 2024-06-15 10:31:03 -04:00
kifir 23f1466a85 get rid of hysteresis functionality - see https://github.com/rusefi/rusefi/issues/6566#issuecomment-2166719232 (#6566) 2024-06-13 17:35:51 -04:00
kifir e004111d40 add test cases 2024-06-12 18:19:09 -06:00
kifir 2434f3a14b light refactoring 2024-06-12 18:19:09 -06:00
kifir b4098fed2c refactoring: part of functionality is extracted into LaunchTestBase class 2024-06-12 18:19:09 -06:00
kifir 8f58eca581 refactoring: reuse LaunchTestBase class functionality 2024-06-12 18:19:09 -06:00
kifir 0c7a862f1d refactoring: part of functionality is extracted into LaunchTestBase class 2024-06-12 18:19:09 -06:00
kifir 7e4b2661d6 now we retard ignition only on pre-launch or launch conditions (#5611) 2024-06-11 13:52:17 -06:00
kifir 0165585afa rename rpmCondition indicator to rpmLaunchCondition 2024-06-11 12:50:42 -06:00
kifir 8055596c43 rename isLaunchPreCondition indicator to isPreLaunchCondition 2024-06-11 10:10:37 -06:00
kifir be17496d53 now we skip spark only on pre-launch condition (#6566) 2024-06-11 09:00:03 -06:00
kifir 373c8b35b4 support isLaunchPrecondition indicator (#6566) 2024-06-11 09:00:03 -06:00
kifir 455a30247b get rid of delay on activation launch mode - it looks like launchActivateDelay setting is always zero, because there is no way to configure this setting 2024-06-11 09:00:03 -06:00
kifir 61e18829f4 fix test for RPM inside spark skip RPM window (#6566) 2024-06-11 06:57:13 -06:00
kifir 05cdaa7fb7 refactor test (#6566) 2024-06-10 10:00:08 -06:00
Matthew Kennedy f1e21697d6 warn about fuel pressure sensor instead of error
only:f407-discovery
2024-06-09 13:33:42 -04:00
rusefillc 41563266a6 validateConfigOnStartUpOrBurn 2024-06-09 13:19:44 -04:00
rusefillc d706537893 refactoring: removing validateConfiguration by moving logic into another similar method 2024-06-09 11:33:17 -04:00
kifir eabaae9491 enhance test (#6566) 2024-06-08 13:10:00 -07:00
Andrey 12c2d39607 only:Cranking Cycle Multiplier Map to be 3d with Coolant Temp as the additional axis. #6584 2024-06-07 20:32:41 -04:00
kifir c039f64c3c move launch controller update before updating spark limiters and calculation of advance, because we use launch controller for these operations 2024-06-07 11:37:46 -04:00
kifir fdc60e4bff implement launch spark skip functionality (#6566) 2024-06-07 11:09:29 -04:00
kifir 3e4d1db28b now we use updateTargetSkipRatio method instead of setTargetSkipRatio (#6566) 2024-06-07 11:09:29 -04:00
Matthew Kennedy 3015876003 TS cleanup: ts_response_format_e 2024-06-03 16:24:27 -04:00
Andrey af8afafdb8 only: lua_biquad.h 2024-06-03 08:31:09 -04:00
Andrey 577620e478 only:making things less weird 2024-06-03 08:27:25 -04:00
Andrey 70747b7edd only:making things less weird 2024-06-02 12:28:29 -04:00
kifir fb47bb2bca add tests for disabled launch control #6571 2024-05-30 14:08:55 -04:00
Andrey 8bc5fbfbaa time for VCS_VERSION to go 2024-05-29 18:10:01 -04:00
kifir b67564c6aa rename smoothRetardEndRpm to launchCorrectionsEndRpm #6566 2024-05-29 14:59:58 -04:00
GitHub gen-configs Action 729ed2fdac Trigger wheel definitions 2024-05-29 12:54:22 +00:00
kifir afe0721858 add references to requirements in test
closes #5611
2024-05-29 06:38:26 -04:00
kifir e60038f8ca now timing stays at the "ignition retard" after the end RPM for smooth timing retard #5611 2024-05-28 18:55:27 -04:00
GitHub gen-configs Action 48bdbd80e2 Trigger wheel definitions 2024-05-28 21:13:58 +00:00
kifir 025d45ec62 fix retard threshold rpm #6533 2024-05-27 18:03:58 -04:00
kifir 68ba4ed096 add test_ignition_angle_advance #5611 2024-05-27 16:03:41 -04:00
GitHub gen-configs Action 4665afc4ca Trigger wheel definitions 2024-05-25 02:57:58 +00:00
kifir 9f053cf4b7 enhance hysterisis detection: now we use isAfterLaunch indicator on launch_control_state panel instead of hidden class field #5610 2024-05-21 13:29:49 -04:00
kifir 3405205dee tests for rpmCondition with hysterisis #5610 2024-05-21 10:08:56 -04:00
kifir af6786e237 implement hysterisis functionality for ignition and fuel cut #5610 2024-05-21 10:08:56 -04:00
kifir 8a4f53214b refactoring: LaunchControlBase::isInsideRPMCondition method returns bool again 2024-05-21 10:08:56 -04:00
kifir fee1602fd9 add tests for targetSkipRatio calculation #6528 2024-05-17 13:31:52 -04:00
kifir f46cbe6c12 fix check of Detected Gear sensor #4778 2024-05-16 10:03:50 -04:00
kifir 2990354bfc uncomment working checks in BoostControl.BoostOpenLoopYAxis test #4778 2024-05-16 10:03:50 -04:00
kifir c5a4ca08ef implement BoostControl.BoostOpenLoopYAxis test #4778 2024-05-15 17:01:35 -04:00
kifir f4b3b00d4d interpret value from openLoopMap according to boostOpenLoopYAxis constant (fixes #4778) 2024-05-15 12:58:27 -04:00
Andrey 6eaf9b117d only: unique variable name so that nice IDE would not be needed 2024-05-10 23:09:52 -04:00
GitHub gen-configs Action d575827375 Trigger wheel definitions 2024-05-10 00:45:18 +00:00
GitHub gen-configs Action ea85ad0a80 Trigger wheel definitions 2024-05-10 00:04:41 +00:00
Andrey 525570f896 start/stop button improvements #6483
only: progress
2024-05-08 23:08:49 -04:00
Andrey 1d249dc4ca start/stop button improvements #6483
only: global bad, let's carefully reset
2024-05-08 22:52:31 -04:00
rusefi bb92146147 start/stop button improvements #6483
only: a bit of encapsulation, only preparations for now
2024-05-08 22:14:54 -04:00
rusEFI LLC d8f3e2c5f9 only: syncEnginePhaseAndReport better method name 2024-05-06 13:44:12 -04:00
Andrey Gusakov 909a17caef adc: fix unit tests 2024-05-05 13:26:24 -04:00
kifir 61ed0f6dfa extract test preparation into prepareToScheduleOverdwellSparkDown function #6373 2024-05-05 13:11:34 -04:00
kifir 51533eb975 extract testOverdwellProtection into separated file 2024-05-05 13:11:34 -04:00
kifir 517ddbf36a enhance minimal unit test for existing overdwell mechanism #6373 2024-05-05 13:11:34 -04:00
rusefi 44900dab30 only: isEtbMode const 2024-05-04 12:42:43 -04:00
rusefi 3ddcc4b99d only: code style 2024-05-04 11:54:42 -04:00
3er0.1ive a6ef504813 - fix tests 2024-05-04 10:51:46 -04:00
rusefi a3a492d46f Map3D should not be silently return 0 if not initialized #6461
preparation: giving tables names
2024-05-03 22:31:53 -04:00
rusefi 85f8598932 unit tests run in US with a loss of precision from NT #6450
only: follow-up
2024-05-03 10:53:22 -04:00
kifir 526445547b minimal unit test for existing overdwell mechanism #6373 2024-05-03 10:40:33 -04:00
rusefi a223196231 unit tests run in US with a loss of precision from NT #6450
this being just one test I am comfortable to assume it's legit to adjust it due to change in timing precision
2024-05-03 09:07:24 -04:00
rusefi 7934108ae2 unit tests run in US with a loss of precision from NT #6450
only: hiding skeletons deeper in the closet
2024-05-03 09:07:24 -04:00
rusefi 9226101732 let's use Nt for EventQueue in unit tests same as prod code 2024-05-03 09:07:24 -04:00
rusefi dffc579acf unit tests run in US with a loss of precision from NT #6450
only: first skeleton from the closet!
2024-05-02 23:32:25 -04:00
rusefi 687c23e0b8 Ford Coyote Exhaust VVT position error #6402
only: unit test. weird how it shows same values
2024-05-02 12:12:36 -04:00
rusefi c422337b55 better error handling 2024-05-02 12:11:49 -04:00
kifir23917 b84a4d13e1
move US_TO_NT_MULTIPLIER macro definition to Makefile (#6445)
* only:unit test time mess

* move US_TO_NT_MULTIPLIER macro definition in Makefile

---------

Co-authored-by: rusefi <rusefillc@gmail.com>
2024-05-01 19:33:39 -04:00
rusEFI LLC cd5b546770 only:Ford Coyote Exhaust VVT position error #6402 2024-05-01 13:48:06 -04:00
rusEFI LLC 03bfb6ce9e only:Ford Coyote Exhaust VVT position error #6402 2024-05-01 13:16:56 -04:00
rusefi 71e1397a5a only:unit test time mess 2024-05-01 12:32:06 -04:00
rusefi b693a0af74 only:unit test time mess 2024-05-01 12:10:52 -04:00
rusefi 5c866bc020 only:unit test time mess 2024-05-01 11:32:17 -04:00
rusefi f5c0bbfb57 only:docs 2024-05-01 11:31:30 -04:00
rusefi 74345aedef only:unit test time mess 2024-05-01 11:29:21 -04:00
rusefi 217243da5c only:docs 2024-05-01 11:27:54 -04:00
rusefi 66d8d6db9f only:unit test time mess 2024-05-01 11:18:44 -04:00
kifir 79983f79a3 fix PWM.testPwmGenerator test 2024-05-01 11:00:20 -04:00
kifir 7c8acef2bb fix misc.testRpmCalculator test 2024-05-01 11:00:12 -04:00
rusefi 0b5495e191 only: limits for unit tests 2024-04-30 18:55:55 -04:00
rusefi 141b177d85 only: timing im unit tests is a complete mess :( 2024-04-30 16:40:44 -04:00
rusefi bc34164672 only: docs 2024-04-30 16:22:05 -04:00
rusefi 42fe092d8d only: renaming .cpp 2024-04-30 16:15:13 -04:00
rusefi 3b8cd592c1 only: renaming header 2024-04-30 16:05:13 -04:00
rusefi 12ad7548ec only: better test file name 2024-04-30 16:02:24 -04:00
rusEFI LLC ee67c5b652 only: docs 2024-04-29 15:28:12 -04:00
rusEFI LLC fdd46ddf8b only: something dead? 2024-04-29 14:57:56 -04:00
rusEFI LLC bc404fb1ca only: https://sourceforge.net/p/rusefi/tickets/299/ 2024-04-29 14:26:06 -04:00
kifir 7f7c372bcd minimum test for bailed-on owerdwell #6373 2024-04-28 23:16:52 -04:00
rusefi 47269c20bf only: setTimeNowUs(): replace global fiddling with a function call 2024-04-27 11:00:55 -04:00
rusefi 3f45fd63c5 only: setTimeNowUs(): replace global fiddling with a function call 2024-04-27 10:46:22 -04:00
rusefi a42092826a only: setTimeNowUs(): replace global fiddling with a function call 2024-04-27 10:10:59 -04:00
rusefi 302b11abee only: setTimeNowUs(): replace global fiddling with a function call 2024-04-27 10:06:14 -04:00
Matthew Kennedy b5e3694647 no need for getTimeNowUs on ETH 2024-04-27 09:55:49 -04:00
rusEFI LLC aed124bae2 Usability: critical error in case of unneeded second channel #6419
only: unit tests
2024-04-26 22:18:01 -04:00
Matthew Kennedy 32172801cc only: minor cleanup 2024-04-26 21:39:47 -04:00
GitHub gen-configs Action 6792783237 Trigger wheel definitions 2024-04-26 15:32:36 +00:00
Matthew Kennedy 8d661ce22d unit test global cleanup 2024-04-26 08:54:20 -04:00
Matthew Kennedy 8cf48a177f unit test global cleanup 2024-04-26 08:17:41 -04:00
Matthew Kennedy 79b796954d unit test global cleanup 2024-04-26 08:17:30 -04:00
Matthew Kennedy 271b36cb72 haha these two functions do the same thing!? 2024-04-26 08:16:42 -04:00
kifir 998d1caae1 add .idea folder to .gitignore 2024-04-25 13:10:34 -04:00
kifir 80cf6d1943 add check of bailed on dwell count #6373 2024-04-25 13:10:34 -04:00
kifir a734efdf87 reuse constant for consistency with CsvReader::processLine method implementation 2024-04-25 13:10:34 -04:00