Commit Graph

821 Commits

Author SHA1 Message Date
rusefi d3ba22063c refactoring 2020-06-21 15:40:59 -04:00
rusefi 9ad0d5f386 ROE progress 2020-06-20 22:33:13 -04:00
rusefi 025ac28a2c REO progress 2020-06-20 18:36:58 -04:00
rusefi 3103c18860 indicators are broken - reported by Jokeri 2020-06-18 14:50:00 -04:00
Matthew Kennedy 531f1c63c7 fuel math simplifications (#1485)
* simplify

* fix

* tweak

* cleaning

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-17 17:15:04 -04:00
rusefi ce9a624e0c REO progress - binary logs 2020-06-14 15:43:54 -04:00
rusefi 3225665382 MLQ code duplication & docs 2020-06-14 14:46:24 -04:00
rusefi cec672905c MLQ code duplication & docs 2020-06-14 13:38:14 -04:00
rusefi f3727cdd1b MLQ code duplication & docs 2020-06-14 13:07:06 -04:00
rusefi ff8f0731fd a few unneeded properties 2020-06-13 22:46:10 -04:00
rusefi 152fa17990 warning LED is for warnings only, communications have to reflected by COMMS LED 2020-06-13 13:23:34 -04:00
rusefi 7165b43030 making dead code! 2020-06-13 11:54:19 -04:00
rusefi cbfdd37243 tuneCrc16 - we use it to match logs to tunes 2020-06-04 20:43:52 -04:00
rusefi 79c5a4803f tuneCrc16 - we use it to match logs to tunes 2020-06-04 20:07:00 -04:00
Matthew Kennedy 9ecb0a4e55 refactor (#1481) 2020-06-03 21:12:12 -04:00
Matthew Kennedy 2c69809b9c fix tpsadc (#1479)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-01 13:09:48 -04:00
Matthew Kennedy d0e5b8674f Integrate stft (#1475)
* code changes

* missed a spot

* update UI

* gauge name

* adjust gauge scaling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-31 16:59:05 -04:00
rusefi 4aaa670bc5 refactornig & new console command 2020-05-31 14:15:18 -04:00
Matthew Kennedy 4e25d88632 fix (#1476) 2020-05-30 21:50:57 -04:00
rusefi e5c839b5b1 extracting protocol constants 2020-05-30 12:23:27 -04:00
rusefi 0c1cafde57 composite logger for console 2020-05-30 11:31:18 -04:00
Matthew Kennedy c95ed26d89 Remove old thermistor implementation (#1458)
* remove test clt/iat

* remove warning since this code is nearly dead

* remove old therm impl

* tests & live doc

* not quite right
2020-05-28 17:51:33 -04:00
rusefi 18eeb5d5a4 more of the same 2020-05-27 23:18:33 -04:00
rusefi e1ee03cdf9 console composite logger 2020-05-26 22:30:53 -04:00
rusefi 7d8236a6b3 composite log for console 2020-05-26 00:07:18 -04:00
rusefi 4a30cd5077 docs 2020-05-25 22:38:57 -04:00
rusefi f4e69143a2 reusing constants 2020-05-25 19:30:02 -04:00
rusefi deb91c7fbd TS commands reuse 2020-05-25 18:49:35 -04:00
rusefi 8853e8a954 dead code 2020-05-25 18:27:34 -04:00
rusefi 0ccde6f937 Makefile clean-up 2020-05-25 13:42:55 -04:00
rusefi 87a1f59591 better location, better command name 2020-05-25 13:12:15 -04:00
rusefi 804f4b9db5 better file name 2020-05-25 13:02:05 -04:00
rusefi 3f50602ce9 docs 2020-05-25 12:55:26 -04:00
rusefi 714979586b refactoring 2020-05-22 16:36:37 -04:00
Matthew Kennedy 0a278375fd Binary logging to SD (#1461)
* binary log

* remove old text logging

* change file extension

* just use a bare buffer

* more mem :(

* double ugh

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 15:52:58 -04:00
rusefi 958ef0a3de BUG? handleCrc32Check does not use 'offset' parameter #1429 2020-05-21 00:14:08 -04:00
rusefi 60835c4269 HW_CHECK_MODE 2020-05-20 22:15:47 -04:00
Matthew Kennedy ce2beafb5f Redundant tps (#1427)
* add redundant sensor

* add tests

* add configure, info printing

* tests

* tests

* partial hookup

* fix

* fix

* bad makefile merge

* use second TPS config

* update test

* update test

* sensor names

* set second pin by default

* fix auto cal

* auto cal both sensors

* add reconfigure of secondary sensors

* gobblin' up your ram

* slow down write a little bit

* put split in debug gauge

* s

Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-18 14:32:00 -04:00
Matthew Kennedy a66bcc52f4 dead (#1451) 2020-05-17 17:43:27 -04:00
Matthew Kennedy d6186c1cf3 pass in write length (#1447) 2020-05-17 17:27:26 -04:00
Matthew Kennedy e6e48ce66c binary logging (#1443)
* field support

* tests

* makefiles

* test data too

* missing include dir

* write correct thing

* fix one test

* fix test

* omnomnomnom ram

* format

* use defined names

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-17 15:56:37 -04:00
Matthew Kennedy 6d4924e85a dead datalog code (#1439)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-16 00:11:52 -04:00
rusefi 5c91d96ce6 new LED logic: constant WARNING if VBATT is below 7v 2020-05-13 01:17:48 -04:00
rusefi 7fdb6ca2be rusEFI online engine crc 2020-05-09 22:43:39 -04:00
rusefi c2a4c4c4ec engine crc for REO 2020-05-09 20:04:58 -04:00
rusefi 1c0a3b6205 rusEFI online engine crc 2020-05-09 18:31:41 -04:00
rusefi cc1ca11e40 reducing confusion? 2020-05-04 20:52:32 -04:00
rusefi f1b3b0df1c docs 2020-05-04 13:28:00 -04:00
rusefi c2e3ad0f94 ugly copy-paste 2020-05-04 00:10:20 -04:00
rusefi 94aa7aa9d2 this is all very sad 2020-05-03 02:30:05 -04:00
rusefi 965f247e11 steps towards BT 2020-05-03 01:43:39 -04:00
rusefi 9a2f6735b3 better names 2020-05-03 00:30:35 -04:00
rusefi 3e863859fe looks like a better variable name 2020-05-03 00:20:54 -04:00
rusefi 3c571bef9f looks like with current implementation we can use the fancy method 2020-05-03 00:01:54 -04:00
rusefi 5d6ec1d68b refactoring: using brain_pin like the rest of the code 2020-05-02 23:47:10 -04:00
rusefi 9115e00783 fixing headers 2020-05-02 22:20:41 -04:00
Matthew Kennedy 9bf1d5aad3 TS protocol framing for auto tune/calibration features (#1370)
* rearrange

* fix enum

* too much

* format

* enough generate for CI

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-26 14:06:09 -04:00
Matthew Kennedy 67ea0368c9 Remove scheduler debug pins (#1359)
* trigger gen refactoring

* missed one

* remove microsecond timer debug pins

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-24 23:13:05 -04:00
Matthew Kennedy 6b2e097e66 Revamp indicator panel in TS (#1357)
* fix pedal ind

* maf -> map

* only set pedal error light if error

* adjustments
2020-04-24 00:10:19 -04:00
rusefi 4e662415ff progress 2020-04-22 20:20:22 -04:00
rusefi 600744c926 multi-channel Tuner Studio tooth logger #1284
composite TDC mark not working?
2020-04-19 20:46:29 -04:00
Matthew Kennedy 9e71e4b853 Gauges for raw sensors (#1304)
* add to struct

* input

* set channels

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-16 20:32:07 -04:00
Matthew Kennedy 83592f0dff New clt consumers part 1 (#1301)
* idle

* CLT test prep

* idle target

* header

* air interpolate

* ancient comment

* fuel cut

* fuel cut, idle tests

* cleanup
2020-04-15 09:48:17 -04:00
Matthew Kennedy 2a97a06e64 new temperature sensor math in TS (#1297)
* switch

* new sensor printing

* typo

* and printing info

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-15 01:12:07 -04:00
rusefi 817ea2c008 multi-channel Tuner Studio tooth logger #1284 2020-04-14 15:17:15 -04:00
rusefi ae0cc21ca3 multi-channel Tuner Studio tooth logger #1284 2020-04-13 20:47:54 -04:00
rusefi 39eb537560 really rusEFI LLC 2020-04-10 23:30:44 -04:00
rusefi cb2b699db6 DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS 2020-04-10 13:19:54 -04:00
Matthew Kennedy 3abd181f6f CLT/IAT/Aux in the new sensor world (#1269)
* hook up clt

* init test

* probably fix test

* aux temp

* relax checking

* more significant figures

* remove old aux temp

* hand generate

* claim RAM

* move to ccm

* subscribe

* info printing

* warnings

* raise high voltage failure threshold

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-07 16:07:09 -04:00
rusefi c2f87c5edd KLUDGE? we always show VBatt because Proteus board has VBatt input sensor hardcoded 2020-04-04 09:31:56 -04:00
Matthew Kennedy 0df4da6450 always show vbatt (#1262) 2020-04-04 07:42:14 -04:00
rusefi cc35e8a9b0 code style 2020-04-01 19:00:56 -04:00
Matthew Kennedy 67f01ff9c7 Friendlier pin names (#1233)
* enable TS error readout

* friendlier text for common errors

* improve comment

* friendlier ADC errors

* ign/inj names

* more pin names
2020-03-29 19:07:07 -04:00
Matthew Kennedy 0ac3e06149 cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
Matthew Kennedy d37b5f0494 Show fatal error text in TS (the right way) (#1232)
* enable TS error readout

* friendlier text for common errors

* improve comment
2020-03-29 07:27:36 -04:00
rusefi 84e0e1b6e9 critical error usability improvements 2020-03-28 21:28:32 -04:00
rusefi 79e5059c5a critical error usability improvements 2020-03-28 20:14:17 -04:00
Matthew Kennedy b7033bbde9 Finally rename injector_central to bench_test (#1229)
* bench test rename

* rename consumers

* good lord what are all of these externs doing

* fix tests
2020-03-26 08:03:55 -04:00
rusefi a910ab3da5 launch control #203 2020-03-24 19:55:12 -04:00
rusefi e58f00692e start/stop progress 2020-03-23 10:32:41 -04:00
rusefi 4d617aa0fe random header clean-up 2020-03-23 09:00:57 -04:00
Matthew Kennedy 61c4d0fe83 save some ram (#1211)
* remove dead stuff

* why store those pointers twice?
2020-03-22 19:06:29 -04:00
Matthew Kennedy 3840440e97 Accelerator pedal with new sensors (#1208)
* add pedal sensor

* update status loop

* add bit to ts

* fix math

* divide at config time

* this used a little bit of ram
2020-03-22 17:09:46 -04:00
rusefi bd34f5479a In case of incompatible firmware and console we have a vague error message fix #1180 2020-03-10 19:12:37 -04:00
rusefi aa5e6feb41 better message 2020-03-08 09:17:55 -04:00
Matthew Kennedy 8ceb5c8996 fix icu trigger polarity (#1177)
* fix polarity

* fix confusing names
2020-03-08 08:57:21 -04:00
rusEfi c9ac205864 throttle2Position 2020-02-27 03:28:49 -05:00
rusEfi 7e07d18afe throttle2Position progress 2020-02-27 03:21:42 -05:00
Matthew Kennedy a2a5b40ced Support disabling most/all features (#1162)
* this flag did nothing

* guard features properly
2020-02-26 18:16:35 -05:00
Matthew Kennedy ef0dfc6ec4 split out scaled channel header (#1156)
* split out scaled channel header

* update header
2020-02-24 16:47:10 -05:00
Matthew Kennedy e04fc117e6 Consume new tps in status_loop.cpp, settings.cpp (#1129)
* new tps

* more

* settings.cpp too

* more

* comment
2020-02-07 06:05:15 -03:00
Matthew Kennedy 734963343d Rescale TPS (#1112)
* fake adc ticks

* consumers

* fix test 1

* fix tests
2020-02-01 16:41:07 -05:00
rusefi f4d36f32fa VVT refactoring & assertions for VVT test 2020-01-31 01:49:10 -05:00
rusefi 1a3bfa4b02 code style 2020-01-21 01:47:58 -05:00
Matthew Kennedy f8cd2ad3ce use NT_PER_SECOND instead of convert from microseconds (#1107)
* add NT_PER_SECOND

* missed a few

* inject tooth logger timestamp

* inject
2020-01-19 22:23:41 -05:00
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
rusefi 63e3e84e08 happy new year 2020-01-08 00:02:40 -05:00
Matthew Kennedy 9d796ea782 remove concept of TS pages (#1075)
* remove pages

* unify validation

* these need to be unsigned or we can still overrun
2020-01-07 07:56:45 -05:00
rusefi e1fb9ad271 maybe improvent for trigger errors in TS and console, TS still does not know about order error counter 2019-12-25 15:57:47 -05:00
rusefi d56b47b18d version compatibility validation fix 2019-12-25 14:15:44 -05:00