Commit Graph

1404 Commits

Author SHA1 Message Date
Nathan Schulte bfb8cf1f89
GCC 13 simulator build, console->simulator on Linux (#378)
* engine: variable engine is: constexpr Engine

* can: rename CanRead::start to not hide

* console: support launching simulator on Linux

* console: fully encapsulate simulator binary name

* console: simplify simulator binary wrangling

* console: cleaner java code-style
2024-03-09 00:11:20 -08:00
Matthew Kennedy d89f28bb07 Remove seemingly dead tune XML something 2024-01-18 18:27:22 -08:00
Matthew Kennedy 9673ff01f3
implement staged injection (#331)
* output channel

* duty cycle etc math for second stage

* action_s utility

* basic enable switch

* staging fraction math

* implement staging logic

* wire up pins for second stage injectors

* staging UI

* Improve staged injection test, check scheduler arguments for other injection tests

* Stage 2 last pulse output channel, correct fuel consumption logic

* wall wet on the whole shot

* int vs size_t

* use a define instead of function so we get line numbers

* fix batch injection

* gauges

* bad test merge

* stub out secondary injector model
2024-01-07 15:22:39 -08:00
Matthew Kennedy 23f03e8829 fix NPE on connection to simulator 2024-01-06 10:14:07 -08:00
Matthew Kennedy 7ca6b11631
updater fixes (#324)
* update stm32cubeprogrammer

* fix port picker in case of no ports (only dfu)

* fix port picker state management
2023-12-25 15:43:12 -08:00
Matthew Kennedy bfbb9021dd name the threads because why not 2023-12-24 14:25:21 -08:00
Matthew Kennedy 37766341d8 inspect all serial ports in parallel 2023-12-24 12:29:18 -08:00
Matthew Kennedy 14b221d83c extract port evaluation logic 2023-12-24 11:43:23 -08:00
Matthew Kennedy 2da38a8fc4 format 2023-12-24 11:41:24 -08:00
rusefillc 2d28408e6e
Gradle8 (#311)
* gradle 8

* gradle 8

* binary name

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-12-20 21:23:44 -08:00
rusefillc 1478f279d7
extracting shadowVersion variable and version bump towards gradle 8 (#310) 2023-12-09 15:10:20 -08:00
Matthew Kennedy d624e4dc5f big crusty 2023-11-25 18:57:44 -08:00
Matthew Kennedy c7c9f4ed86 dead ui classes and parameters 2023-11-25 18:48:15 -08:00
Matthew Kennedy dcb1ca5f83 I'm drowning in dead code 2023-11-25 18:30:48 -08:00
Matthew Kennedy 3d8fdcc089 there is an unbelievably volume of dead code here 2023-11-25 18:25:25 -08:00
Matthew Kennedy 302116eb42 dead classes, parameters 2023-11-25 18:16:58 -08:00
Matthew Kennedy c87c46d5d6 dead port detection logic 2023-11-25 18:10:48 -08:00
Matthew Kennedy e90f3b754b inspection: misc 2023-11-25 17:59:08 -08:00
Matthew Kennedy 77d6129016 inspection: unused imports 2023-11-25 17:53:18 -08:00
Matthew Kennedy 2542f34bf8 inspection: final 2023-11-25 17:46:21 -08:00
Matthew Kennedy b4cb4a1167 inspection cleanup 2023-11-25 17:39:44 -08:00
Matthew Kennedy ddc5400dc2 java inspection pass 2023-11-25 17:34:11 -08:00
Matthew Kennedy c19f8ac8b2 sooo many checked in libs and we use NONE of them!? 2023-11-25 16:21:38 -08:00
Matthew Kennedy 204c4173e5 dead DfuTool 2023-11-25 16:18:20 -08:00
Matthew Kennedy 7b7dc058c2 console doesn't have to depend on full config definition! 2023-11-25 13:22:24 -08:00
Matthew Kennedy 1714db3c15 dead json dependency 2023-11-25 13:15:37 -08:00
Matthew Kennedy 241ac9ca0e shared_ui is an extra level of dependency tree indirection 2023-11-25 13:07:33 -08:00
Matthew Kennedy 0ce455519f core_ui doesn't need to exist as separate project 2023-11-25 12:58:05 -08:00
Matthew Kennedy 5bd8d31fcc dead 2023-11-25 01:53:04 -08:00
Matthew Kennedy 71bc7d5fb6 remove console dependency on autotest, antlr 2023-11-25 01:46:57 -08:00
Matthew Kennedy 339b80d11a EngineState.ValueCallback -> Consumer 2023-11-25 01:38:27 -08:00
Matthew Kennedy 67ecdc24a5 console refactoring 2023-11-25 01:25:43 -08:00
Matthew Kennedy 4b2f01016f console refactoring 2023-11-25 01:23:40 -08:00
Matthew Kennedy aca35c1c09 lots of dead java code 2023-11-25 00:09:18 -08:00
Matthew Kennedy b179cc5a65 Refactor bundle checking #302 2023-11-17 01:15:12 -08:00
Matthew Kennedy f9cafd75e6 serial port scanner stores signature 2023-11-17 00:39:18 -08:00
Matthew Kennedy 9690096eba Remove F7 warning now we have OpenBLT 2023-11-17 00:25:36 -08:00
Matthew Kennedy 52a6b49347 omg it works on mac! 2023-11-04 00:26:44 -07:00
Matthew Kennedy 6e1a10a509 handle macos serial port prefix snafu 2023-11-04 00:20:50 -07:00
Matthew Kennedy 98c4546a7c macos loading 2023-11-04 00:10:10 -07:00
Matthew Kennedy c4e53835d3 correct order 2023-11-04 00:02:06 -07:00
Matthew Kennedy dc850c49aa attempt macos lib copying 2023-11-04 00:01:12 -07:00
Matthew Kennedy 88584e34b1 JNI much better behaved than exe, let's switch 2023-11-03 22:03:48 -07:00
Matthew Kennedy 376bbc4abe simplify what goes across JNI 2023-11-03 21:57:23 -07:00
Matthew Kennedy d3ec7f8879 emit phase and whether it should have progress 2023-11-03 19:57:58 -07:00
Matthew Kennedy 1c7af342f2 prototype jni flashing 2023-11-03 18:32:18 -07:00
Matthew Kennedy b801c100b0 s 2023-11-03 18:01:55 -07:00
Matthew Kennedy 7169b28ea7 both sides of JNI creeping together 2023-11-03 16:39:56 -07:00
Matthew Kennedy a82bb10a71 pause port scanning while a job is running 2023-11-02 20:38:01 -07:00
Matthew Kennedy 2fb1e16258 Instead of auto port, put ECUs first in the list 2023-11-02 20:31:18 -07:00