Commit Graph

2885 Commits

Author SHA1 Message Date
rusefillc 67d0fc8f70 only:reducing custom unit test code 2024-12-29 22:04:56 -05:00
rusefillc 15038d30ef only:reducing custom unit test code 2024-12-29 21:52:34 -05:00
rusefillc 269a674df1
Create readme.md 2024-12-29 21:06:34 -05:00
rusefillc a6f46fe0a0 always harley 2024-12-29 17:58:06 -05:00
rusefillc da8f5144c3 only:refactoring 2024-12-29 14:40:42 -05:00
rusefillc 1155d8e1b7 only:refactoring 2024-12-29 14:06:25 -05:00
rusefillc 41040541a8 it's always harley 2024-12-29 11:47:05 -05:00
rusefillc bd9db23671 SD card is missing "ETB average duty0" field fix #6720
step back :(
2024-12-29 09:02:15 -05:00
rusefillc c9f7906a0a only:harley 2024-12-28 20:22:03 -05:00
rusefillc b418273e86 only:rename method 2024-12-28 19:25:43 -05:00
rusefillc a47aca24c6 only:harley 2024-12-28 18:43:39 -05:00
rusefillc 8231adba67 only:helping build 2024-12-28 07:43:22 -05:00
rusefillc 47a989eb2e unit tests to write MS logs #7222
only:WOW very dirty hack and a miracle, it works?!
2024-12-27 22:50:52 -05:00
rusefillc d258d22216 unit tests to write MS logs #7222
only:progress
2024-12-27 22:38:52 -05:00
rusefillc f8e920ceaa unit tests to write MS logs #7222
only:making tests a bit more real
2024-12-27 22:12:02 -05:00
rusefillc 25f1010279 unit tests to write MS logs #7222
only:making tests a bit more real
2024-12-27 22:12:02 -05:00
rusefillc 11ac5415e1 unit_tests "logic analyzer" moved to dedicated folder
only:uaefi
2024-12-27 15:32:17 -04:00
rusefillc 5bf6964538 more ignition encapsulation
only:uaefi
2024-12-27 11:51:43 -05:00
rusefillc 5b7023cf49 extract 'isCranking' parameter
only:uaefi
2024-12-27 11:30:13 -05:00
rusefillc d8607aa1af extract 'updateDwell' method
only:uaefi
2024-12-26 23:27:28 -05:00
Matthew Kennedy acb6be4203 unnecessary includes 2024-12-26 20:14:37 -05:00
Matthew Kennedy 2cf9d69fb4 unnecessary setTwoStrokeOperationMode
only:uaefi
2024-12-26 19:46:56 -05:00
rusefillc 0ccaf454e8 unit_tests "logic analyzer" style output #6403
only:uaefi
2024-12-26 09:41:01 -05:00
rusefillc 3a5ea90417 unit_tests "logic analyzer" style output #6403
only:uaefi
2024-12-26 09:28:03 -05:00
rusefillc 815fb5bec3 only:harley 2024-12-25 20:17:02 -05:00
rusefillc e66ca9a3d3 only:offset & refactoring 2024-12-25 13:44:06 -05:00
rusefillc fb34cb1a3a only:docs 2024-12-25 13:12:24 -05:00
rusefillc 0ec14a0689 unit_tests "logic analyzer" style output #6403
only:export as test file, let's have java do the second phase
2024-12-24 22:39:46 -05:00
rusefillc 2fba83bbb1 unit_tests "logic analyzer" style output #6403
only:export as test file, let's have java do the second phase
2024-12-24 22:39:46 -05:00
rusefillc 24192f94c4 unit_tests "logic analyzer" style output #6403
only:better file name
2024-12-24 21:45:40 -05:00
kifir bfbc7b4449 Support boards with fuel level curves with more than 8 points. 2024-12-24 05:03:47 -05:00
rusefillc 4f5de01abc only:harley cranking test 2024-12-23 23:03:38 -05:00
rusefillc 2ececd0f84 only:reusing existing API 2024-12-23 20:42:26 -05:00
rusefillc 7f01ea80f6 only:harley raw data 2024-12-23 20:03:16 -05:00
rusefillc bbccc1af77 only:harley raw data 2024-12-23 09:28:57 -05:00
Andrey Gusakov 2ed6f0b878 LTFT: start 2024-12-20 05:15:02 -05:00
kifir aa18fd899f Handle fuel splashing (closes #7180) 2024-12-19 15:51:55 -05:00
kifir 348fe3eaa7 Add `Clutch Up Switch` option to`Activation Mode` combobox on `Shift Torque Reduction (Flat Shift)` dialog #7117 2024-12-18 08:36:09 +02:00
kifir 6eb30ea69f only:replace `ShiftTorqueReductionSwitchTest` with `ShiftTorqueReductionSwitchTest` and `ShiftTorqueReductionInvertedSwitchTest` to avoid combinatorial explosion 2024-12-18 08:36:09 +02:00
kifir 2dbdad0698 only:refactoring: convert `TestBase` class into template to make base GoogleTest class customizable #7117 2024-12-18 08:36:09 +02:00
rusefillc ab68587ce8 only:ExpAverage progress 2024-12-16 23:37:16 -05:00
kifir 482ef8e403 only:refactoring: extract part of functionality into `TestLuaScriptExecutor::executeFormattedLuaScript` template method 2024-12-16 19:28:29 +02:00
kifir 53cc9049cf Add `Clutch Down Switch` option to`Activation Mode` combobox on `Shift Torque Reduction (Flat Shift)` dialog (closes #7117) 2024-12-16 19:28:29 +02:00
kifir aec2f0904c only:small step to real end-to-end tests: now we use Lua scripts instead of direct engine state configuration. 2024-12-16 07:20:26 -05:00
kifir e5f0f2384d Implement `setTorqueReductionState` Lua hook (closes #7160) 2024-12-15 16:48:20 -05:00
rusefillc e747c1beea cj125 is dead 2024-12-14 10:36:45 -05:00
Andrey Gusakov e846c8339c SENT: move to libfirmware 2024-12-14 09:16:16 -05:00
rusefillc a0907ffd14 only:magic in tests 2024-12-13 23:17:05 -05:00
rusefillc 526c9f7f7b only:correcting method name 2024-12-10 19:21:41 -05:00
rusefillc 4537409c83 only:replacing etbTarget with live data 2024-12-10 12:51:50 -05:00
Andrey Gusakov 0ed513f3f3 adc: try to clean naming mess: getVoltageDivided() rename to adcGetScaledVoltage() 2024-12-09 07:43:43 -05:00
Andrey Gusakov cbe59c90c9 adc: try to clean naming mess: getVoltage() to adcGetRawVoltage() 2024-12-09 07:43:43 -05:00
Andrey Gusakov 000c6ee284 adc: try to clean naming mess: getAdcValue() rename to adcGetRawValue() 2024-12-09 07:43:43 -05:00
Andrey Gusakov eeb6f8e9cd SENT: support pause pulses 2024-12-06 16:18:49 -05:00
Andrey Gusakov 09ea436a9d unit_test: SENT: test data from VAG MAP+IAT sensor 2024-12-06 16:18:49 -05:00
Andrey Gusakov b5ee8a9601 unit_test: SENT: test data from Opel Insignia ETB 2024-12-06 16:18:49 -05:00
Andrey Gusakov a4c9e58ee3 unit_test: SENT: improve 2024-12-06 16:18:49 -05:00
kifir 7f73b9b1f6 Rename fields to enhance `nitrous_control_state` view #6783 2024-12-06 22:42:27 +02:00
kifir 4d8b3229fa Implement `Minimum Vehicle Speed` setting #6783 2024-12-06 19:18:23 +02:00
kifir 80a7b4c436 Implement `Ignition Retard` setting #6783 2024-12-06 17:33:06 +02:00
rusefillc fbed899881 sent: a change to improve unit test message 2024-12-05 20:06:53 -05:00
kifir23917 ad027a99d6
Implement Fuel Adder % settings #6783 (#7125)
* only:refactoring: extract part of functionality into `NitrousTestBase` class #6783

* Implement `Fuel Adder %` settings #6783
2024-12-05 16:58:40 -05:00
kifir23917 8be7dc0c26
Implement `Nitrous Relay` and `Nitrous Relay Mode` settings #6783 (#7122) 2024-12-05 09:14:08 -05:00
kifir23917 8130d035ed
Convert `NitrousController` into engine module, handling slow callback #6783 (#7121)
* make update sensor post action configurable #6783

* Convert `NitrousController` into engine module, handling slow callback #6783
2024-12-04 17:55:08 -05:00
rusefillc 403be100ce only:reducing one hop while accessing gap ratio 2024-12-03 20:30:40 -05:00
kifir c1eb9dbae1 Implement `isNitrousConditionSatisfied` #6783 2024-12-02 23:34:59 +02:00
kifir23917 8ec1c247fe
Nitrous defaults and deactivation RPM window fix (#7115)
* Implement default value for `Minimum TPS` setting #6783

* Implement default value for `Minimum CLT` setting #6783

* Implement default value for `Maximum AFR` setting #6783

* Implement default values for `Activation RPM`, `Deactivation RPM` and `Deactivation RPM Window` settings #6783

* only:refactoring: get rid of redundant overloaded `TestBase::updateRpm` method

* only: refactoring make rising checker in hysteresis configurable

* Enhance deactivation RPM window implementation #6783
2024-12-02 12:06:49 -05:00
kifir b99c2897ce Implement `Activation RPM`, `Deactivation RPM` and `Deactivation RPM Window` settings #6783 2024-12-02 00:27:43 +02:00
kifir 8f8da5b074 only:refactoring: renaming #6783 2024-11-30 00:34:03 +02:00
kifir f2e1061a1d enhance test #6783 2024-11-30 00:34:03 +02:00
kifir 74e8619ad7 Implement `Maximum AFR` setting #6783 2024-11-30 00:34:03 +02:00
kifir 8c03b616e6 implement `Maximum MAP` setting #6783 2024-11-29 01:26:40 +02:00
kifir 67d0923a29 implement `Minimum CLT` setting #6783 2024-11-29 01:26:40 +02:00
kifir 19003c22d2 implement `Minimum TPS` setting #6783 2024-11-29 01:26:40 +02:00
kifir 074d0a69d5 only:refactoring: extract part of functionality into `updateSensor` method #6783 2024-11-29 01:26:40 +02:00
rusefillc 7f8817d642 only:lost naming convention? 2024-11-27 17:03:39 -05:00
kifir23917 d58aeb045d
Implement `Nitrous Control` settings with arming functionality #6783 (#7103) 2024-11-27 16:43:45 -05:00
rusefillc 2a2de932b3 only:helping sent unit tests 2024-11-26 10:16:39 -05:00
rusefillc 48913c69ff reducing mk duplication? 2024-11-22 16:13:25 -05:00
kifir a36a8614da implement `FuelDifferentialPressureTest` (closes #6972) 2024-11-22 17:51:25 +02:00
kifir e99bf20960 only:reordering: move part of functionality from `LaunchTestConfig` and `LaunchTestBase` classes to `TestBase` and `EngineConfig` 2024-11-21 16:55:17 +02:00
kifir 8873f2d784 only:reordering: move functionality from `ShiftTorqueReductionTestBase` and `ShiftTorqueReductionTestConfig` classes to `TestBase` and `EngineConfig` 2024-11-21 16:55:17 +02:00
kifir 5a7f41bcd6 only:reordering: separate `Launch Control` configuration settings from `Shift Torque Reduction (Flat Shift)` settings 2024-11-21 16:55:17 +02:00
kifir 4ca3f7a933 only:refactoring: renaming 2024-11-21 16:55:17 +02:00
kifir23917 5731cdd6dc
implement `StagedInjectionTest` #6972 (#7087) 2024-11-20 14:07:50 -05:00
rusefillc e1fb48f9a9 LUA script size severely limited #7085
only:uaefi
2024-11-19 19:50:29 -05:00
rusefillc 4e539dfa3e ETB: we require redundancy at runtime, not at initialization time. that would allow for Lua pedal to appear later on.
only:alphax-4k-gdi
2024-11-13 11:27:58 -05:00
kifir23917 1194dc2404
only:add tests for `setBitRangeMsb` and `getBitRangeMsb` Lua functions (#7067)
* only:add tests for `setBitRangeMsb` and `getBitRangeMsb` Lua functions

* fix `setBitRangeMsb` function
2024-11-12 09:48:39 -05:00
kifir23917 62e46e8c79
Fix `setBitRangeMsb` function (#7065)
* only:rename method and get rid of redundant code - we do not need to perform absolutely the same checks twice

* only:fix comments

* only:add tests `NewMessage_0006`, `NewMessage_0007` and `NewMessage_0008` from the sample DBC file
2024-11-12 08:11:57 -05:00
rusefillc 1723353e20 lua pedal is a thing: consequences 2024-11-11 21:44:08 -05:00
rusefillc 311cbbd2fc lua pedal is a thing 2024-11-11 20:57:12 -05:00
rusefillc 73fcb5e490 lua pedal is a thing 2024-11-11 20:44:18 -05:00
rusefillc b85f5858d2 only:minimal fix / minimal test adjustment
#7065
2024-11-11 20:11:45 -05:00
rusefi b849549be6 only:dead 2024-11-11 18:07:29 -05:00
kifir23917 9312458526
only:Simplify `testNewMessage006` test case (#7061) 2024-11-11 10:13:00 -05:00
kifir23917 0b8759ea29
implement Motorola DBC test (#7060) 2024-11-11 09:39:26 -05:00
Diego a34bea7bcb
more tests on OBD2 code, prep tests for map upper limit change (#7059) 2024-11-10 23:12:51 -05:00
rusefillc 095668b9ce additional ETB state into LiveData
only:uaefi
2024-11-08 20:54:31 -05:00
Diego b214a7b814
OBD2 CAN broken due to math base mismatch (#7053)
* updated can_msg_tx/obd2 code for unit tests, fixed supported pid error, WIP unit tests on obd2

* fix txCanBuffer not cleared after a tx can test

* simulator needs can header, add settings to respect code format on vscode, added more tests
2024-11-08 16:01:21 -05:00
kifir23917 c3d2cfc33c
Implement setBitRangeMoto method (#7056)
* only:enhance tests a little bit

* implement `setBitRangeMsb` method

* implement `setBitRangeMoto` method
2024-11-08 14:59:17 -05:00