Commit Graph

464 Commits

Author SHA1 Message Date
rusefillc 8287350909 just Sensor rename 2022-04-16 01:53:45 -04:00
rusefillc 9780648859 rename rollback 2022-04-16 01:38:40 -04:00
rusefillc 24ebcc8989 just Sensor rename 2022-04-16 00:48:14 -04:00
rusefillc 8d729b155c just Sensor rename 2022-04-15 16:37:31 -04:00
Matthew Kennedy 45acca32f7
fix connection deadlock, speed up reconnect (#3936) 2022-02-15 22:35:04 -05:00
rusefillc f731a26391 Console logging is a mess #3930 2022-02-12 16:16:11 -05:00
rusefillc 48e77b163d minor refactoring 2022-02-11 08:50:42 -05:00
Matthew Kennedy 88d51a0c25
tiny piece of mock adc remove (#3890)
* tiny piece

* remove commands
2022-02-03 19:32:56 -05:00
rusefillc d186e4153e tune via CAN #3361
only trivial refactoring
2021-12-04 20:10:30 -05:00
Matthew Kennedy d5363b814a
better VSS configuration (#3542)
* vss uses real values

* some defaults

* test and correct math

* km, not miles!

* comment

* tooltip

* that macro went away

* 100hz and default settings gives 9kph

* changelog

* order of operations safety

* make the test like the pwm test

* housekeeping

* this is why we need sensor automation

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-27 08:49:07 -05:00
rusefillc 719ecae60f generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-25 12:34:52 -04:00
rusefillc c6d47c1a8a generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 09:16:11 -04:00
rusefillc bcf2cb74c9 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 09:00:10 -04:00
rusefillc 49add15822 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 08:55:22 -04:00
rusefillc 1dd7dda10b generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 08:54:37 -04:00
rusefillc 6cbf18d824 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 08:46:27 -04:00
rusefillc 11d519332d Revert "generate java enum from C enum? generate both C and java from yaml? #2102"
This reverts commit 73b52ed1
2021-10-24 08:24:49 -04:00
rusefillc 5e9c98086e generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 00:36:35 -04:00
rusefillc 923f5d1a6c generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:42:22 -04:00
rusefillc 73b52ed185 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:37:04 -04:00
Matthew Kennedy db12cdbe19
put MAP in the sensor model (#3292)
* map averaging in sensor model

* deadly, deadly code!

* mpxh

* Revert "deadly, deadly code!"

This reverts commit 346fe25267.

* comments

* sensor types

* last sensor

* channel init

* correct spot

* deinit properly

* simplify

* fix

* mocks

* map init test

* showInfo

* comment

* singleton identity function

* sensor info print

* multiple cylinder averaging buffer

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-04 17:18:08 -04:00
Matthew Kennedy 26d9f004c9
check for overflow in HW CI (#3313) 2021-10-04 08:19:58 -04:00
rusefillc 1807a6f6ce rusEFI console to compare current bundle against auto-DFU bundle #3266
putting signature into equation
2021-09-25 17:51:47 -04:00
rusefillc 7b0b7465ce minor console usability improvement: not adding "set date" into recent commands list 2021-09-06 11:08:40 -04:00
rusefillc 368a7fa656 mcuTemp is rising? 2021-08-08 05:40:26 -04:00
rusefillc 006d8c3aab F4 MCU says it's too cold #2552 2021-08-07 20:28:56 -04:00
Lenar Khannanov 555d9dfe4e
Feature 3014 migrating to gradle (#3079)
* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured enum_to_string for migrating to gradle

* fix: corrected main build.xml

* fix: corrected main build.xml for romraider

* fix: corrected main build.xml for romraider

* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured enum_to_string for migrating to gradle

* fix: corrected main build.xml

* fix: corrected main build.xml for romraider

* fix: corrected main build.xml for romraider

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* upd: get changes from master; fix: rebasing conflicts

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* upd: up-to-master; fix: conflicts in build.xml's

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* fix: conflicts from master

* feat: restructured shared_ui module for gradle; fix: main build.xml

* feat: restructured tools module; fix: main build.xml according to new structure

* feat: restructured modules in java_tools with build.xml; fix: corrected paths in build.xml's and .iml's according to the new structure; corrected path in gen_ptrace_enums.bat
2021-07-30 08:15:32 -04:00
Matthew Kennedy 755b6248f7
proteus hw ci: wait longer but be stricter (#3035)
* wait longer but be stricter

* kick

* wiring note
2021-07-22 23:08:48 -04:00
Matthew Kennedy ce4eb2b55d
fix trigger changed logic (#2860)
* reenable

* fix

* longer interval between updates

* only deinit hard trigger outputs if necessary

* init logic

* init order

* warning

* guard

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-25 19:38:42 -04:00
rusefillc 68fcf1224f F4 MCU says it's too cold #2552 2021-06-21 02:49:06 -04:00
rusefillc f42c6fce58 off-topic method rename 2021-06-21 02:46:11 -04:00
rusefillc 3d5bba4226 TS Burned All Data engine stop #2839
a good sleep helps a lot of things
2021-06-21 02:39:16 -04:00
rusefillc 902be1afe7 TS Burned All Data engine stop #2839
it was a bad API but I did not improve it
2021-06-21 02:23:29 -04:00
rusefillc 5571df5660 clean-up 2021-06-21 02:10:11 -04:00
rusefillc 2cf137280d TS Burned All Data engine stop #2839
is this a case of poor API?
2021-06-21 02:09:41 -04:00
rusefillc 102ac146db TS Burned All Data engine stop #2839
is this a case of poor API?
2021-06-21 02:09:17 -04:00
rusefillc d632b8825f TS Burned All Data engine stop #2839
finally test case?
2021-06-21 01:01:35 -04:00
rusefillc 21379669bc TS Burned All Data engine stop #2839
test case?
2021-06-21 00:50:11 -04:00
rusefillc 540511817d TS Burned All Data engine stop #2839
test case?
2021-06-21 00:31:13 -04:00
rusefillc de58c4ccd0 TS Burned All Data engine stop #2839
test case?
2021-06-21 00:22:19 -04:00
rusefillc 408d554379 only test refactoring 2021-06-20 23:58:32 -04:00
Matthew Kennedy e0763c6994
stop trigger emulator PWM when disabled (#2443)
* simplify trig emulator

* spelling is hard

* fix various builds

* spelling again

* add command/button for external stimulation

* enable hw stim for HW-in-loop test

* s

* I does spelling good

* clear flag when disabled

* generate enough for console build

* don't disable that

* this test needs external stimulation enabled

* import

* ui improvements

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-11 08:38:52 -05:00
Matthew Kennedy 3d17e62d65
finish off vbatt -> sensor model (#2433)
* more vbatt

* s

* goodbye voltage

* makefile

* apparently that part was in use

* include

* mocking
2021-03-07 20:18:32 -05:00
rusefillc b54c1f13de Merge remote-tracking branch 'origin/master' into master 2021-02-28 19:41:06 -05:00
rusefillc 2d9d0abb30 better handing of lack of port 2021-02-28 19:40:57 -05:00
Matthew Kennedy ebb6f3033a
hardware CI for clt/iat inputs (#2401)
* test raw CLT/IAT

* dot zero
2021-02-25 17:09:16 -05:00
rusefillc 9590a095ba aux valve to CI 2021-02-18 00:11:26 -05:00
Matthew Kennedy 0cb079c2a3
increase proteus analog tolerance (#2327) 2021-02-09 19:10:00 -06:00
Matthew Kennedy 21426f7e91
Hw ci mcu temperature (#2324)
* this was wrong

* test temp sensor

* import

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-09 14:24:44 -06:00
Matthew Kennedy 9f0ebaac49
Proteus analog input ci (#2271)
* test vbatt

* test proteus vbatt

* tolerance

* these don't work on proteus

* new engine type

* test analog input

* more test points, less tolerance

* console build needs this file generated

* only include for hw ci builds

* wiring info

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 13:34:48 -06:00
Matthew Kennedy 0fb500a08a
A hardware CI test for Proteus 🎉🎉🎉 (#2270)
* test vbatt

* test proteus vbatt

* tolerance

* these don't work on proteus

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 08:05:18 -06:00
Matthew Kennedy c9b0334eb5
Partition hw tests (#2267)
* partition in to f4 disco

* cleanup

* stub proteus test

* add proteus build config
2021-02-02 23:10:21 -05:00
Matthew Kennedy 2246bdde2f
maybe fix protege HW CI (#2219)
* maybe fix protege too

* formatting
2021-01-10 20:27:21 -05:00
Matthew Kennedy 8d5495111e
Fix master fatal error (#2206)
* print the fatal that caused test failure

* fix the error
2021-01-09 15:13:43 -05:00
Matthew Kennedy 1df887bc8c
switch to array'd version of asserts (#2158) 2020-12-29 19:42:03 -05:00
Matthew Kennedy 98644b680f
Switch other tests to use assertWaveNotNull (#2115)
* test switching ignition modes

* change others to new check

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-29 18:39:54 -05:00
Matthew Kennedy b2cb46d724
HW CI: rev limiter (#2141)
* test rev limit

* comment, format

* make test work

* check that it goes back to normal

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 17:14:04 -05:00
Matthew Kennedy 52fef7aec3
base class for HW CI tests (#2133)
* extract test base

* newline
2020-12-24 20:50:52 -05:00
Matthew Kennedy a7846977ba
use junit fail instead of throw (#2114)
* use junit fail

* no pause
2020-12-24 20:27:39 -05:00
Matthew Kennedy 7be06627eb
run tests from cmdline (#2132)
* run tests

* include junit in jar

* tabs spaces
2020-12-24 20:12:43 -05:00
Matthew Kennedy 48ffc6cc22
fix race condition in CommandQueue, massively speeding up HW CI tests (#2129)
* fix command semaphore

* guard

* remove todo

* dead field

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 09:23:46 -05:00
Matthew Kennedy 3d13d03424
Purge e34 config (#2127)
* remove

* enums

* s

* func test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:31:25 -05:00
Matthew Kennedy f1faf16a78
More sensor listener lambdas (#2121)
* api

* ioutil

* more lambdas
2020-12-22 20:12:50 -05:00
Matthew Kennedy 718cbff14b
use token for sensor listener unsubscribe (#2120)
* api

* ioutil
2020-12-22 18:48:55 -05:00
rusefillc b94c3588bc they say this should help build 2020-12-22 18:47:17 -05:00
Matthew Kennedy ba9de3a604
Purge fiesta config (#2117)
* config

* this had a feature flag?

* enums

* goodbye, fiesta
2020-12-22 17:22:05 -05:00
Matthew Kennedy 8737ba62c2
Purge rover v8 config (#2116)
* bye

* goodbye, rover v8

* that snuck in

* use a different config for that test
2020-12-22 10:05:54 -05:00
Matthew Kennedy 37c502120f
test switching ignition modes (#2113) 2020-12-22 09:23:17 -05:00
rusefillc b839b72a72 HW CI is flaky :( #2063 2020-12-21 22:21:17 -05:00
rusefi 7b97a60a44 HW CI is flaky :( #2063 2020-12-21 10:45:49 -05:00
rusefillc f79d2e052b HW CI is flaky :( #2063
more forward progress
2020-12-21 09:46:02 -05:00
rusefillc e410afe543 something ? HIP / SPI pin conflict does not fail gracefully #2108
undoing unneeded change?
2020-12-20 19:54:36 -05:00
rusefillc 038eb00207 something ? HIP / SPI pin conflict does not fail gracefully #2108
maybe this is just testing framework bug?
2020-12-20 17:17:03 -05:00
rusefillc 11017d02e0 something ? HIP / SPI pin conflict does not fail gracefully #2108
after 50 good runs, returning rover
2020-12-20 09:46:25 -05:00
rusefillc a01e1baa39 i am pretty sure it's not part of the problem 2020-12-20 09:12:06 -05:00
rusefillc bc2b5c71e6 something ? HIP / SPI pin conflict does not fail gracefully #2108
one step back to be a bit more sure
2020-12-19 20:39:38 -05:00
rusefillc dff387929a something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 15:18:23 -05:00
rusefillc ccf1bfff44 HW CI is flaky :( #2063
which one is it? testRoverV8?
2020-12-19 13:04:56 -05:00
rusefillc a2a0bfa51a HW CI is flaky :( #2063
slow forward movement
2020-12-19 07:15:33 -05:00
rusefi db1d73b495 HW CI is flaky :( #2063 2020-12-18 23:32:30 -05:00
rusefillc bd1ca5b296 HW CI is flaky :( #2063
we have no idea. let's run 30 times like this
2020-12-18 20:23:03 -05:00
rusefillc 3cb2439ff7 remove dangerous pin options from E34 config #2105 2020-12-18 18:55:02 -05:00
rusefillc f9cddcc5e4 i bet it does not matter 2020-12-18 17:15:59 -05:00
rusefillc 1fb3b63711 does this matter? 2020-12-18 16:38:07 -05:00
rusefillc 36a1e291f1 progress 2020-12-18 14:52:11 -05:00
shadowm60 1fafda7daa
Test Idle PWM (#2103)
* Create PwmHardwareTest.java

Test idle pwm

* Update PwmHardwareTest.java

assert with +-1%
2020-12-18 14:49:59 -05:00
rusefillc 7492172722 docs 2020-12-18 14:48:58 -05:00
rusefillc 0caafbb5d2 docs 2020-12-18 14:48:33 -05:00
rusefillc 141291ba9c one more step forward 2020-12-18 10:36:28 -05:00
rusefillc dae9912e88 one more step forward 2020-12-18 10:00:50 -05:00
rusefillc 3487ca5300 HW CI is flaky :( #2063 2020-12-17 22:22:44 -05:00
rusefillc fab0c1c59b HW CI is flaky :( #2063
is it about performance?
2020-12-17 20:41:51 -05:00
rusefillc b17973ee33 Revert "one more step forward"
This reverts commit 29842bde
2020-12-14 22:22:31 -05:00
rusefillc 29842bde5c one more step forward 2020-12-14 20:38:04 -05:00
rusefillc 0ac071c50d one more step forward 2020-12-14 19:47:37 -05:00
rusefillc acd9dbbd2a one more step forward 2020-12-14 16:58:56 -05:00
rusefillc e3bdeb6f73 one more step forward 2020-12-14 13:20:06 -05:00
rusefillc 280d0f9da9 one more step forward 2020-12-13 21:52:52 -05:00
rusefi 1081760267 one step forward 2020-12-13 12:20:04 -05:00
rusefillc a0cdb05771 one step back with HW CI 2020-12-13 10:42:12 -05:00
rusefi 5242171c43 basic hw in the loop - pwm self validation #2028 2020-12-13 00:17:54 -05:00
rusefi 3415e1d9d6 basic hw in the loop - pwm self validation #2028 2020-12-13 00:02:19 -05:00
rusefi 86a6b3f7ad basic hw in the loop - pwm self validation #2028 2020-12-12 23:00:18 -05:00
rusefillc a7ff26d3c3 migrating hardware tests to junit 2020-12-12 20:33:19 -05:00
rusefillc 02e788d0e1 typo 2020-12-12 20:26:56 -05:00
rusefillc 9e451defb4 basic hw in the loop - pwm self validation #2028 2020-12-12 20:22:58 -05:00
rusefillc 31df994c79 let's use composition 2020-12-12 18:58:30 -05:00
rusefillc 118cec97c2 moving start-up script from java to bash 2020-12-12 18:39:05 -05:00
rusefillc aaef77fd8a basic hw in the loop - pwm self validation #2028 2020-12-12 17:28:27 -05:00
rusefillc f55b975b3e auto test clean-up 2020-12-12 15:44:57 -05:00
rusefillc 8739e192f5 basic hw in the loop - pwm self validation #2028 2020-12-06 18:39:50 -05:00
rusefillc beb1adda95 engine sniffer - pins are not displayed #1995 2020-12-01 23:08:41 -05:00
rusefillc 3b6f3bb8ca engine sniffer - pins are not displayed #1995 2020-12-01 22:57:00 -05:00
rusefillc 63abcf8c3c Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 18:42:23 -05:00
rusefillc b977dc5fac Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 17:53:01 -05:00
rusefillc 9790bf47e1 HW test doc 2020-11-15 18:10:05 -05:00
rusefillc 350e89223b HW CI has failed 11 times since Oct 2 #1849 2020-10-16 22:57:12 -04:00
rusefi 16dd9a820b Trigger sync lost every 2^32 CPU cycles #1873
QA automation coverage
2020-10-11 19:16:16 -04:00
rusefillc 2398741ed3 60/2 perf grab #1850 2020-10-05 11:19:50 -04:00
rusefillc dbd66ce6bb 60/2 perf grab #1850 2020-10-04 20:44:07 -04:00
rusefillc aba38d661c 60/2 perf grab #1850
autotest does not need composite logging tourture
2020-10-04 02:09:39 -04:00
rusefillc 9c260784cb 60/2 perf grab #1850
have to settle on less for now?
2020-10-04 01:00:10 -04:00
rusefillc dce24274a2 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 19:45:39 -04:00
rusefi d38cb3fabe better error message 2020-09-12 04:31:35 -04:00
rusefi 8d0555e205 reducing autotest mess 2020-08-29 15:41:09 -04:00
rusefi 628c640f61 reducing autotest mess 2020-08-29 15:05:54 -04:00
rusefi a51f9ad905 DODGE_NEON_2003_CRANK 2020-08-29 15:01:24 -04:00
rusefi b48f2988a6 HW CI CRITICAL error: Invalid airmass mode #1690 2020-08-13 13:08:00 -04:00
rusefi 3514f927ed trying to help HW CI 2020-08-13 12:26:23 -04:00
rusefi bcae781794 A vague bug #1684
undoing funny code
2020-08-09 00:41:02 -04:00
rusefi 3a233f0b76 A vague bug #1684 2020-08-08 23:56:42 -04:00
rusefi f2107dd5ba A vague bug #1684 2020-08-08 23:54:01 -04:00
rusefi 65327720e7 trigger and VSS hw integrated testing #1668 2020-08-08 23:42:25 -04:00
rusefi 363ce02282 #1684 2020-08-08 22:36:04 -04:00
rusefi 3ed85390af trigger and VSS hw integrated testing
#1668
2020-08-08 21:09:12 -04:00
rusefi c32c8d715d A vague bug #1684 2020-08-08 20:57:42 -04:00
rusefi ba62727c25 trigger and VSS hw integrated testing #1668 2020-08-08 18:28:43 -04:00
rusefi 8ca0427122 trigger and VSS hw integrated testing #1668 2020-08-08 17:07:23 -04:00
rusefi f6d2c2d883 trigger and VSS hw integrated testing #1668 2020-08-08 11:57:39 -04:00
rusefi 1238dfb837 trigger and VSS hw integrated testing #1668 2020-08-08 11:25:17 -04:00
rusefi 1d5b4cf187 trigger and VSS hw integrated testing #1668
clean-up
2020-08-08 11:04:26 -04:00
rusefi 0da161f83e new command line tool: write_tune 2020-07-29 19:42:48 -04:00
rusefi 52caab3989 better logging requires better thread names 2020-07-25 16:00:09 -04:00
rusefi 862505f40e java logging migration 2020-07-24 12:44:29 -04:00
rusefi 439dbaff55 proxy progress 2020-07-11 22:30:56 -04:00
rusefi ff60908526 steps towards Android 2020-07-02 22:22:50 -04:00
rusefi 7224a8cb31 logging refactoring 2020-07-02 20:39:10 -04:00
rusefi 83833df6d9 logging refactoring 2020-07-02 20:10:22 -04:00
rusefi e204e64316 refactoring: better dependency control 2020-06-25 23:18:35 -04:00
rusefi 0e6c445a08 refactoring: better dependency control 2020-06-25 23:12:29 -04:00