Commit Graph

2338 Commits

Author SHA1 Message Date
Matthew Kennedy 1a1372ffe9 throttle model tests
(cherry picked from commit d14d442157)
2023-04-29 19:29:13 -04:00
Matthew Kennedy a9dd5ee404 Throttle model #63
(cherry picked from commit 7ee63df142)
2023-04-29 19:14:53 -04:00
Matthew Kennedy 9ae8e18757 only: cherry picking: it's going to be painful 2023-04-29 15:14:58 -04:00
Andrey e748e65638 only: cherry picking: it's going to be painful 2023-04-29 15:07:43 -04:00
Matthew Kennedy 3247ff1cd7 exact miata test
(cherry picked from commit 3d72c297b7)
2023-04-29 12:47:29 -04:00
Matthew Kennedy d71ee23d63 unit tests get board name
(cherry picked from commit a430c10ed4)
2023-04-29 06:47:46 -04:00
Matthew Kennedy 4935cf5fb3 more dead stuff
(cherry picked from commit b9d065ae4e)
2023-04-29 05:15:34 -04:00
Matthew Kennedy 3249ae2a28 test builds 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
Matthew Kennedy 01f7e4068d rename obd_code_e -> ObdCode
(cherry picked from commit d6534157a0)
2023-04-29 00:44:00 -04:00
Matthew Kennedy 7396d466c4 cj125
(cherry picked from commit fd09ad7b4f)
2023-04-29 00:15:54 -04:00
rusefillc f10bb77666 Merge branch 'master' of https://github.com/rusefi/rusefi 2023-04-28 22:53:42 -04:00
Andrey da6d394482 it's going to be painful 2023-04-28 22:48:02 -04:00
Matthew Kennedy bb49b22294 joystick, lcd
(cherry picked from commit 61c17791b8)
2023-04-28 22:32:37 -04:00
Matthew Kennedy c5abc06429 nobody should use NA6 VAF
(cherry picked from commit 0072e8f33c)
2023-04-28 21:52:48 -04:00
Matthew Kennedy 2857e9527d remove specs_s struct, flatten config
(cherry picked from commit f090a97b0b)
2023-04-28 20:59:11 -04:00
Andrey d7b9961c4b only:honda 2023-04-22 11:29:15 -04:00
rusefi 6c0c5663ac misc 2023-04-20 13:48:55 -04:00
Andreika c17e2adfb7
RPM limit fix and unit-tests (#5238)
* fix rpm limit timing/fuel corrections

* rpm limit timing - more unit-tests
2023-04-15 12:03:47 -04:00
Andrey f296398098 TEST(etb, intermittentTps) local WSL and GHA runs produce different results #5233
only:mre_f4
2023-04-11 20:01:01 -04:00
Andrey a18f75f3f9 sensor checker is not checking sensors fix #5232
only:mre_f4
2023-04-11 18:33:15 -04:00
Andrey 954da551f7 sensor checker is not checking sensors fix #5232 2023-04-11 16:06:38 -04:00
Andrey a2930e60b8 todo: warnings would have been nice! 2023-04-11 16:03:53 -04:00
Andreika 919ed2d934
RPM soft limit and hysteresis #5214, #5224 (#5228)
* [DRAFT] RPM soft limit and hysteresis #5214, #5224

* fix m_timingRetard

* fix rpmHardLimitHyst

* unit-tests for #5214, #5224
2023-04-10 17:18:51 -04:00
GitHub build-unit-tests Action 5d465b3919 Trigger wheel definitions 2023-04-01 19:47:41 +00:00
Andrey 0098a3d4b9 Clean-up all the 4g drama #5213 2023-04-01 15:40:24 -04:00
GitHub build-unit-tests Action 8ca9b62b22 Trigger wheel definitions 2023-03-31 03:39:10 +00:00
Andrey 6c1a8d501e 4g is symmetrical crank not just four stroke crank #5211
only:alphax-4chan
2023-03-30 23:31:47 -04:00
GitHub build-unit-tests Action 36ea70a3e3 Trigger wheel definitions 2023-03-31 03:17:12 +00:00
GitHub build-unit-tests Action b793685f4d Trigger wheel definitions 2023-03-31 02:58:56 +00:00
Andrey f53937ae87 K
only:hellen-honda-k
2023-03-29 22:57:31 -04:00
Andrey 91e1eb825f K
only:hellen-honda-k
2023-03-28 21:42:20 -04:00
GitHub build-unit-tests Action 3deaade8a9 Trigger wheel definitions 2023-03-11 15:22:32 +00:00
Andrey 5ff4db0d65 rusEFI needs K-line firmware support #3248
something seems to not be working right, test time
2023-03-10 18:36:03 -05:00
Andreika c9c33e02e9
weird: happy running car shows unrealistic vvtSyncGapRatio #5152 (#5163) 2023-03-08 16:52:56 -05:00
Andrey e9da0eeed2 K
only:mre_f4
2023-03-04 16:00:50 -05:00
Andrey e08cdf0fb6 trigger refactoring
only:mre_f4
2023-03-03 00:21:40 -05:00
Andrey c08e4c3af5 only:mre_f4 2023-03-01 17:20:34 -05:00
Andrey 68fee9905f Native SENT TPS input #5079
hasValidFast progress!

only:mre_f4
2023-03-01 15:23:38 -05:00
Andrey c3765829e0 Native SENT TPS input #5079
status quo

only:mre_f4
2023-03-01 15:21:35 -05:00
Andrey 976b3c0306 Native SENT TPS input #5079
only:mre_f4
2023-03-01 14:26:30 -05:00
rusefillc 2fd4ba1304
Update readme.md 2023-02-26 09:24:59 -05:00
Andrey 40b61375e3 i love (unit) testing! 2023-02-23 05:12:20 -05:00
Andrey 5a735c9059 Native SENT TPS input #5079
only:alphax-4chan
2023-02-22 13:41:43 -05:00
Andrey eed7521035 docs
only:alphax-4chan
2023-02-22 09:28:34 -05:00
GitHub build-unit-tests Action adf5cc3c06 Trigger wheel definitions 2023-02-21 22:42:55 +00:00
Andrey 6e96929d4d random dev fix
only: alphax-4chan
2023-02-21 17:28:14 -05:00
Andrey e4fa54ac5c Feb20: 3rd ticket for 4g9x mess #5111
adding more lightness

only: alphax-4chan
2023-02-21 16:10:21 -05:00
GitHub build-unit-tests Action d61759f10b Trigger wheel definitions 2023-02-21 20:17:35 +00:00
Andrey a5a8e4538a CSV framework progress 2023-02-20 22:57:15 -05:00
Andrey 66178285b1 making test stronger 2023-02-20 22:25:24 -05:00
Andrey 9c31c1f02a just more test, does not help :( 2023-02-20 20:37:40 -05:00
Andrey 5ec7341335 just a rename 2023-02-20 20:37:39 -05:00
Andrey 57baf7517b Feb20: 3rd ticket for 4g9x mess #5111
adding lightness
2023-02-20 18:22:51 -05:00
GitHub build-unit-tests Action 7950fc46cb Trigger wheel definitions 2023-02-20 22:04:48 +00:00
GitHub build-unit-tests Action ad605960b9 Trigger wheel definitions 2023-02-20 20:28:25 +00:00
Andrey f99f0e1dcf minor bugfix 2023-02-18 23:58:06 -05:00
Andrey a818d1916f virtual isEtbMode 2023-02-18 23:57:53 -05:00
Andrey 38dd0bcf3a TDD for minor bug 2023-02-18 23:14:02 -05:00
rusefi 096be69c20 DC is not ETB 2023-02-18 22:39:45 -05:00
Andrey abab788d20 Nick wonders if DC wastegate is still FUBAR #5075 2023-02-17 22:17:09 -05:00
GitHub build-unit-tests Action 4a8946c286 Trigger wheel definitions 2023-02-17 04:28:12 +00:00
Matthew Kennedy 325417caa7
fix 4g63 vs 9x naming, add cam-only test (#5093) 2023-02-16 23:22:34 -05:00
GitHub build-unit-tests Action 4d52a48efe Trigger wheel definitions 2023-02-17 02:18:43 +00:00
Nathan Schulte 802f6b47b1
explicit RedundantSensor redundancy unit tests (#5085) 2023-02-16 07:18:18 -05:00
Matthew Kennedy 632cf9dd2d
remove useETBforIdleControl (#5054)
* remove useETBforIdleControl

* etb integrated

* jni weirdness
2023-02-12 16:49:12 -05:00
GitHub build-unit-tests Action 87d23ae191 Trigger wheel definitions 2023-02-12 00:40:21 +00:00
Matthew Kennedy 6e89e71d0a
more flexible GPPWM (#5032)
* gppwm improvements!

* test

* ui

* autoscale
2023-02-06 08:53:31 -04:00
Matthew Kennedy 73f4436397
deduplicate $(BOARD_DIR) in makefiles (#5024)
* calculate BOARD_DIR exactly once

* deduplicate board scripts

* unit tests

* make passes variables to openblt build properly

* was this an intentional omission?

* s

* prometheus

* prometheus
2023-02-01 14:41:27 -05:00
GitHub build-unit-tests Action ebf1261cb0 Trigger wheel definitions 2023-01-24 13:16:09 +00:00
Matthew Kennedy 827dc22757
rewrite neon trigger (#5003)
* rewrite neon trigger

* we were testing the same thing four times, maybe test it once
2023-01-24 18:33:15 +05:30
GitHub build-unit-tests Action 8b2b18a3d5 Trigger wheel definitions 2023-01-24 01:34:21 +00:00
Matthew Kennedy 9630edfbf8
mitsu 4g63 (#5001)
* mitsu 4g63

* file header
2023-01-24 06:53:40 +05:30
Matthew Kennedy d92b90c0a5
emit v2 mlg (#4979)
* emit v2 mlg

* missed a spot

* s

* s

* binary log unit test

* sd generator test

* oop

* getcategory

* write zeroes instead of null pointer in case of no category
2023-01-21 07:31:40 +05:30
GitHub build-unit-tests Action 45808e6fc1 Trigger wheel definitions 2023-01-20 11:07:27 +00:00
rusefillc 5368f60b22 h-bridge wastegate not alive on bench #4965
fixing master
2023-01-18 02:12:34 -05:00
Andrey 6588e813ae totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-15 08:26:38 -05:00
Andrey 9abdab795d totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-14 23:21:23 -05:00
Andrey 0c1859b77e totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-14 15:33:17 -05:00
Matthew Kennedy d5b00e1187
don't warn if we intentionally skipped this spark (#4961)
* don't warn if we intentionally skipped this spark

* header

* real nb2
2023-01-10 19:07:44 -05:00
Matthew Kennedy eb56c2897a
detect and ignore doubled trigger edges (#4656)
* isToothExpectedNow

* s

* s

* kick ci

* only warn at high enough RPM to detect non-smooth trigger

* 4b11 test
2023-01-10 16:07:17 -05:00
Matthew Kennedy 1eca0ca1bd
Jammed ETB detection (#4873)
* jammed ETB detection

* autoscale

* comment

* cleanup

* implement test, cleanup
2023-01-10 15:31:04 -05:00
GitHub build-unit-tests Action 51f4dbc597 Trigger wheel definitions 2023-01-09 21:08:10 +00:00
Andrey 289171a85a symmetrical shapes are not rendered right #4956 2023-01-08 22:37:35 -05:00
rusefillc 2e882986f4 refactoring 2023-01-08 22:30:57 -05:00
rusefillc 68dcbd214e sweet 4g93 data 2023-01-07 17:31:13 -05:00
GitHub build-unit-tests Action f6d0b168c2 Trigger wheel definitions 2023-01-07 21:37:43 +00:00
Andrey 0f1d46238f Mitsubishi 4G93 Trigger issues #4918 2023-01-07 16:28:57 -05:00
Matthew Kennedy e5d199272d
improve iat ignition table (#4948)
* iat ignition table

* changelog
2023-01-06 21:59:34 -05:00
Andrey 987e59f7cc Mitsubishi 4G93 Trigger issues #4918
a good case for NAN?
2023-01-03 21:17:32 -05:00
Andrey def809aa39 Mitsubishi 4G93 Trigger issues #4918
adding more info on the trigger images
2023-01-03 15:44:13 -05:00
Andrey c9d88d2605 a bit of dead code 2023-01-03 13:59:25 -05:00
Andrey d0f6fa8ea3 let's try again 2023-01-03 08:38:42 -05:00
Andrey 603f188b55 a bit of dead code 2023-01-03 07:49:17 -05:00
Andrey c8b998a911 test coverage for antilag #4920
fuel correction bugfix & test
2022-12-31 14:48:25 -05:00
Andrey 1afa6fa99a test coverage for antilag #4920
bugfix?
2022-12-30 12:21:04 -05:00
Andrey d017948f2f Merge branch 'master' of https://github.com/rusefi/rusefi 2022-12-30 12:18:53 -05:00
Andrey 7138b9d1c1 test coverage for antilag #4920 2022-12-30 12:17:53 -05:00
Andrey 57d76d902f test coverage for antilag #4920 2022-12-30 12:11:57 -05:00
rusefillc a0bf55299f
test coverage for antilag #4920 2022-12-30 11:53:47 -05:00
rusefillc 24cdca5515 refactoring: method name 2022-12-27 00:13:13 -05:00
rusefillc 6146b01a36 antilag and anti-lag #2403
TurboMarian is the ALS boss
2022-12-21 20:12:00 -05:00
rusefillc e189d6517b random Frankenso clean-up 2022-12-14 19:29:01 -05:00
Matthew Kennedy 5250b177c2
Allow scheduling_s to come from a pool (#4841)
* injection events use scheduling pool

* knock and prime

* bench test

* dropped this: *

* extract action before execute

* comment

* init allocated timers

* metrics

* dropped this: ,

* guard

* injection events use scheduling pool

* knock and prime

* bench test

* dropped this: *

* extract action before execute

* comment

* init allocated timers

* metrics

* dropped this: ,

* guard

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-12-10 17:55:51 -05:00
Matthew Kennedy 994ee2f22f
Combine angle based event (#4884)
* Remove AngleBasedEventOld/New, only AngleBasedEvent now

* this 7 year old comment of old test code can go away
2022-12-10 17:07:02 -05:00
Matthew Kennedy 2c58579a8d
switch hpfp and aux valves to AngleBasedEventNew (#4882)
* switch hpfp to AngleBasedEventNew

* aux valves too!
2022-12-10 16:15:11 -05:00
rusefillc 5e62595d69 reduce flash footprint by smarter code generation #4163 2022-12-03 00:51:41 -05:00
GitHub build-unit-tests Action 136baf145d Trigger wheel definitions 2022-12-02 12:46:20 +00:00
Matthew Kennedy 466833d95a
ETB error counter logic (#4854)
* simplify ETB error counter logic

* dropped this: {

* happy test

* reorder logic, test etbErrorCode

* test that fails

* independent TPS and PPS counters

* missed a file

* happy test
2022-11-30 22:20:09 -05:00
Andrey 32e502c569 ETB overheats due to constant isTpsError true/false/true/false jitter: this seems obvious enough to disable ETB at least on non running engine #4832 2022-11-30 21:23:13 -05:00
Andrey 405b23d682 ETB overheats due to constant isTpsError true/false/true/false jitter: this seems obvious enough to disable ETB at least on non running engine #4832 2022-11-30 20:08:19 -05:00
Andrey e6993aa248 ETB duty cycle jitter: only monitoring within this ticket #4833 2022-11-30 19:48:08 -05:00
rusefi 5499938d52 x2 spelling 2022-11-30 17:14:16 -05:00
Andrey 4e74882c5e ETB duty cycle jitter #4833
need whole output not just closed loop part
2022-11-30 15:25:50 -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
Andrey 6ad3ce13d6 ETB duty cycle jitter #4833 2022-11-29 20:51:28 -05:00
Andrey 98e886e00b mock invalid & current state of ETB error counter 2022-11-29 20:36:03 -05:00
Andrey 9a1c7b36ba refactoring: extracting method 2022-11-29 20:11:34 -05:00
Andrey 21b217f132 ETB duty cycle jitter #4833
do-you-TDD
2022-11-29 16:05:36 -05:00
Andrey 3070e1b3c8 ETB duty cycle jitter #4833 2022-11-29 14:59:08 -05:00
Andrey 368517780d ETB duty cycle jitter #4833 2022-11-29 14:02:44 -05:00
Andrey 607a5677d4 ETB overheats due to constant isTpsError true/false/true/false jitter #4832 2022-11-29 11:42:09 -05:00
Andrey 6eed99a646 ETB JNI test progress
Coffee is important!
2022-11-29 10:25:15 -05:00
Andrey 2a0756c95d ETB JNI test progress
I am pretty confused :(
2022-11-29 10:17:05 -05:00
Andrey 85c22ac971 ETB JNI test progress 2022-11-29 09:58:35 -05:00
Andrey cf63cea45f ETB JNI test progress 2022-11-29 02:21:36 -05:00
Andrey d6a33ad44d ETB JNI test progress 2022-11-29 01:03:29 -05:00
Andrey a80368a7d3 ETB JNI test progress 2022-11-29 00:38:59 -05:00
Andrey 76e74e173f ETB JNI test progress 2022-11-29 00:10:46 -05:00
Andrey 4dd9217327 unit test compile more of ETB code 2022-11-28 23:41:51 -05:00
Andrey 5b88c6b535 exp average is pretty cool 2022-11-28 19:22:45 -05:00
Andrey bb59bbbe51 ETB duty cycle jitter #4833
weird, whatever for now :(
2022-11-27 21:16:50 -05:00
Andrey 61de170d06 ETB duty cycle jitter #4833
weird, whatever for now :(
2022-11-27 20:55:10 -05:00
Andrey b00a7e506b ETB duty cycle jitter #4833
a step back to safety
2022-11-27 19:26:28 -05:00
Matthew Kennedy 8ea5969607
fix warnings (#4840)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 10:11:14 -05:00
Andrey 2b51f3798b Target AFR table Y axis stuck at 0 #4826
sweet coverage :)
2022-11-26 20:22:40 -05:00
Andrey 192e6f7c4b progress 2022-11-26 17:39:25 -05:00
rusefillc 55062b1ef6
refactoring: constexpr fuel computer (#4830)
* refactoring: constexpr fuel computer

* refactoring: constexpr fuel computer

* refactoring: constexpr fuel computer

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-11-26 12:25:04 -05:00
rusefillc 23698be5f8
without ValueProvider3D interface how do we mock? (#4829)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-11-26 11:23:54 -05:00
Andrey 3b7b8e3f33 nissan 2022-11-23 23:45:25 -05:00
rusefillc 8eaa901595
avoid ctime in GPS UART (#4824)
Co-authored-by: Nathan Schulte <nmschulte@desmas.net>
2022-11-23 13:20:36 -05:00
Nathan Schulte fd1115d01a
code style, GPS fixes (test, firmware) (#4822)
* tidy NMEA

* const in nmea

* correct gps test output

* fix GPS UART print statements

* cleanup feature toggles in settings

* fix comment typos, misc whitespace
2022-11-23 07:01:34 -04:00
rusefillc a32531ee60 What is "Aux PID"? #4807 2022-11-21 00:10:35 -05:00
GitHub build-unit-tests Action 1602515080 Trigger wheel definitions 2022-11-16 20:54:55 +00:00
Andrey 6ca9b6eda7 refactoring: default parameter, global replace 2022-11-16 14:28:43 -05:00
GitHub build-unit-tests Action dadb9d19f5 Trigger wheel definitions 2022-11-16 16:48:00 +00:00
Andrey G 27166f4b23
SENT updates (#4774)
* SENT: simplify

* SENT: add crc6 routine, check crc for slow channels enhanced messages

* SENT: helper to get Slow Channel values

* SENT: getTickTime() report tick unit time

* unit_tests: SENT: update tests
2022-11-12 16:57:20 -05:00
Andrey 3def9396de Nissan 2022-11-12 13:06:55 -05:00
Andrey G 64be738874
SENT unit tests (#4769)
* unit_tests: sent: zero-init

* sent: SENT_SLOW_CHANNELS_MAX to header

* unit_tests: sent: clock, falling edges

* SENT: support and autodetect if device sends pause pulse

Also rework tick time calculation

* unit_tests: SENT: verbose debug on request

* unit_tests: SENT: actual checks

* unit_tests: SENT: extract common code for reuse

* unit_test: SENT: add test with fuel pressue captured data

* unit_test: SENT: add test with Ford ETB CLOSED captured data
2022-11-11 17:25:02 -05:00
GitHub build-unit-tests Action 9ee03080b5 Trigger wheel definitions 2022-11-09 03:08:46 +00:00