rusefi
256a4a2637
Revert "logging simplification: switch bare functions to member functions ( #1788 )"
...
This reverts commit d941bdc5
2020-09-12 04:36:24 -04:00
Matthew Kennedy
d941bdc502
logging simplification: switch bare functions to member functions ( #1788 )
...
* first pass
* first pass
* const means we don't have to check!
* static
* test fixup
2020-09-12 03:08:11 +03:00
Matthew Kennedy
d2d0ffa1ee
remove tach output pin ( #1779 )
...
* remove from cfg
* cfg
* rip out impl
* efi gpio
2020-09-09 16:52:23 -04:00
rusefi
2347324aba
Hellen says merge #1772 helping merge
2020-09-09 16:25:50 -04:00
Matthew Kennedy
ef0b2f7be0
Selectable VE axis override ( #1769 )
...
* add config fields
* config options
* new output channels
* dump out state to ts
* s
* implement override
* enums
* this test is no longer used
* test new behavior
* old
* comments
2020-09-07 10:15:42 -04:00
rusefi
b04a4ec04c
microRusEFI used as Body Control Module BCM BCU
2020-09-06 23:19:32 -04:00
Matthew Kennedy
6e7d72170f
Move ve logic ( #1762 )
...
* move ve
* fix build
* fix rendering
* duh
* cleaning
* correct scaling
* put some back
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-06 19:06:32 -04:00
Matthew Kennedy
95798a5246
fix broken master, inject engine ptr to rpmcalculator ( #1759 )
...
* fix
* oops
2020-09-05 18:49:42 -04:00
rusefi
ca21d5b4c2
refactoring
2020-09-03 19:29:15 -04:00
Matthew Kennedy
5fec6d0c04
move lambda in to sensor model ( #1736 )
...
* lambda sens
* fix init
* fix
* a test for good measure
* he's climbin in your windows, snatchin you ram up
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-01 16:22:31 -04:00
Matthew Kennedy
1a55085bb6
Software knock detection ( #1730 )
...
* s
* science
* set pin mode
* turn stuff off so it fits
* filtering maybe
* filtering actually works
* generate filter parameters internally
* shorter window
* guard behind enable flag
* use checked in filter
* add biquad reset
* tracing
* const
* exec order
* do it from a thread
* smaller buffer, comment
* configure with header
* only for proteus
* oops
* unused
* not needed
* guards
* pin config
* don't need that include
* precook filter steady state
* define sample rate
* config enable switch
2020-08-28 21:13:50 -04:00
rusefi
7867e83e43
VVT support for VAG trigger #883
2020-08-24 02:01:50 -04:00
Matthew Kennedy
110a6d79d4
more data ( #1727 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-24 01:26:33 -04:00
Matthew Kennedy
c450ea7fcd
add ( #1711 )
2020-08-21 08:53:23 -04:00
Matthew Kennedy
1f64754b57
consume
2020-08-10 21:41:03 -07:00
rusefi
ea7fed6a16
TS SD integration #1653
2020-08-06 01:15:41 -04:00
Matthew Kennedy
132ee12974
cleanup
2020-07-30 21:20:10 -07:00
Matthew Kennedy
5b99fdf3df
deprecate
2020-07-28 12:13:55 -07:00
Matthew Kennedy
5e7ddc9f24
start refactor
2020-07-22 13:11:07 -07:00
Matthew Kennedy
a3b29f9011
use ign load for ign
2020-07-20 23:11:48 -07:00
Matthew Kennedy
0f0d18afc8
s
2020-07-20 01:03:13 -07:00
Matthew Kennedy
a1d39b8de6
more spots
2020-07-20 00:55:45 -07:00
Matthew Kennedy
2b8b43ca55
plumb new load channels ( #1573 )
...
* wire up new channels
* add deprecation comment
* add gauges
* these tables are indeed used in those modes
* simplify
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-05 16:25:19 -04:00
rusefi
a462f75050
idle_min through FSIO not working as intended #1553
2020-07-04 21:40:56 -04:00
rusefi
c0bb907aa3
idle_min through FSIO not working as intended #1553
...
FSIO debug outputs progress
2020-07-04 21:32:12 -04:00
Matthew Kennedy
a34201d1d1
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
fc5dd7d0c3
a few unneeded properties
2020-06-13 22:46:10 -04:00
rusefi
f62eafb5d9
warning LED is for warnings only, communications have to reflected by COMMS LED
2020-06-13 13:23:34 -04:00
Matthew Kennedy
2bdd8128db
refactor ( #1481 )
2020-06-03 21:12:12 -04:00
Matthew Kennedy
5beca0c48c
fix tpsadc ( #1479 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-01 13:09:48 -04:00
Matthew Kennedy
d24b5d5e93
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
Matthew Kennedy
6c92a3ab3e
fix ( #1476 )
2020-05-30 21:50:57 -04:00
rusefi
0fb540f6cc
refactoring
2020-05-22 16:36:37 -04:00
Matthew Kennedy
af53939d84
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
416855c2f1
HW_CHECK_MODE
2020-05-20 22:15:47 -04:00
Matthew Kennedy
9dda1a21bc
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
a7f3958fd0
dead ( #1451 )
2020-05-17 17:43:27 -04:00
Matthew Kennedy
ee15560f3d
pass in write length ( #1447 )
2020-05-17 17:27:26 -04:00
Matthew Kennedy
445f1c28f4
dead datalog code ( #1439 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-16 00:11:52 -04:00
rusefi
257ed04fac
new LED logic: constant WARNING if VBATT is below 7v
2020-05-13 01:17:48 -04:00
Matthew Kennedy
a8db44d48a
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
57900b679c
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
Matthew Kennedy
e739b49446
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
044766ec70
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
ccee238867
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
fb06813e12
DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS
2020-04-10 13:19:54 -04:00
Matthew Kennedy
8006c0a548
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
b62f578fab
KLUDGE? we always show VBatt because Proteus board has VBatt input sensor hardcoded
2020-04-04 09:31:56 -04:00
Matthew Kennedy
f10f2109ab
always show vbatt ( #1262 )
2020-04-04 07:42:14 -04:00
Matthew Kennedy
d541e04a7d
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
8fd9842310
cleanup extern mess ( #1237 )
...
* cleanup
* move outside define
2020-03-29 19:06:03 -04:00
rusefi
5c2794c2e0
critical error usability improvements
2020-03-28 21:28:32 -04:00
rusefi
9e125ecbdf
launch control #203
2020-03-24 19:55:12 -04:00
rusefi
31ef10fe1c
start/stop progress
2020-03-23 10:32:41 -04:00
Matthew Kennedy
701f7fd7aa
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
Matthew Kennedy
9f26e6d894
fix icu trigger polarity ( #1177 )
...
* fix polarity
* fix confusing names
2020-03-08 08:57:21 -04:00
rusEfi
8cd3470caf
throttle2Position
2020-02-27 03:28:49 -05:00
Matthew Kennedy
397907a06f
Support disabling most/all features ( #1162 )
...
* this flag did nothing
* guard features properly
2020-02-26 18:16:35 -05:00
Matthew Kennedy
f7282966d2
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
c7dce2e38b
Rescale TPS ( #1112 )
...
* fake adc ticks
* consumers
* fix test 1
* fix tests
2020-02-01 16:41:07 -05:00
rusefi
f6e7e8871a
VVT refactoring & assertions for VVT test
2020-01-31 01:49:10 -05:00
rusefi
bb217b01dd
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
3ab209fafc
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
5ef99a044b
version compatibility validation fix
2019-12-25 14:15:44 -05:00
Matthew Kennedy
9645130527
Shrink output channels, now with passing CI ( #1077 )
...
* reorder fields
* temporary tle8888 fix
* comment, simplify
* hand tweak generated
* oops, those are reciprocal
* fix engineLoadAccelExtra
* aggressive priority order
* fix output size
* comments
* reorder fields, no sizes yet
* should've been signed
* simplify constructor mess, hook up scaling
* notes
* typo
* if -> switch
* rev signature
* correct map offset
* handle unsigned properly
* RPM is unsigned
* vss isn't scaled
* extract magic
* required generated for build
* de-scale rpm
* field type cases
2019-12-22 08:12:45 -05:00
rusefi
609865da0f
hopefully useful macro?
2019-12-21 21:18:38 -05:00
rusefi
fde9a449cf
random refactoring: hopefully not changing byte size of any variables but clarifying/fixing type between ticks, US and MS
2019-12-21 21:11:09 -05:00
rusefi
31f4d3ade9
a bit of dead code
2019-12-21 20:35:13 -05:00
rusefi
871f86967f
Revert "DRAFT Shrink output channels, again ( #1074 )"
...
This reverts commit 562ce6cc
2019-12-21 15:02:49 -05:00
Matthew Kennedy
562ce6ccaf
DRAFT Shrink output channels, again ( #1074 )
...
* reorder fields
* temporary tle8888 fix
* comment, simplify
* hand tweak generated
* oops, those are reciprocal
* fix engineLoadAccelExtra
* aggressive priority order
* fix output size
* comments
* reorder fields, no sizes yet
* should've been signed
* simplify constructor mess, hook up scaling
* notes
* typo
* if -> switch
2019-12-21 08:55:19 -05:00
rusefi
22f2739764
Revert "Shrink output channels, use scaling ( #1069 )"
...
This reverts commit 89405014
2019-12-19 22:35:06 -05:00
Matthew Kennedy
89405014cf
Shrink output channels, use scaling ( #1069 )
...
* reorder fields
* temporary tle8888 fix
* comment, simplify
* hand tweak generated
* oops, those are reciprocal
* fix engineLoadAccelExtra
* aggressive priority order
2019-12-19 20:37:42 -05:00
Matthew Kennedy
08a8fa8d1e
Remove sensor reporting loc ( #1064 )
...
* remove raw rept loc
* remove normal reporting location
* fix up oil pressure
* format
2019-12-16 22:45:46 -05:00
Matthew Kennedy
49105335b2
lcd thread name ( #1059 )
2019-12-14 09:12:37 -05:00
rusefi
af4f20551b
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
rusefi
813b6aa6ce
The Big Refactoring of 2019: folder structure #723
2019-12-04 01:11:10 -05:00
rusEfi
e2074388ff
dual ETB seems to work!
2019-11-29 19:06:50 -05:00
rusefi
15a571fb3e
this is not great :(
...
#639
#971
2019-11-11 22:19:35 -05:00
rusefi
79e049a5f8
Strange INJ1 signal behavior (when the frequency of scheduler's timer is less than 1MHz) #996
...
new advanced debugging: hardware pins
2019-11-10 12:39:47 -05:00
rusefi
cc6381fe96
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-05 20:07:55 -05:00
rusefi
801b2eb70e
progress towards #961
2019-11-04 22:52:37 -05:00
andreika-git
ee5ee1942c
Kinetis & TLE8888 compatibility & fixes... ( #991 )
...
* TLE8888: More compatibility & postTunerStudioState
* activeConfiguration & EFI_ACTIVE_CONFIGURATION_IN_FLASH fix
* Kinetis: jump_to_bootloader() impl.
* Kinetis: UART baudrate safety check
* Kinetis: OMG!..
2019-10-31 16:06:34 -04:00
Matthew Kennedy
10a6d6eb8b
fix wwae ( #980 )
2019-10-17 00:06:54 -04:00
rusefi
ca6e49dcbc
preparation for #961
...
macro as a syntax sugar for method invocation
2019-10-10 07:28:52 -04:00
rusefi
41192ba2f0
logic duplication - we arleady have isCltError
...
preparation for #961
2019-10-10 07:09:04 -04:00
Matthew Kennedy
29804cbc8a
move tsOutputChannels to header ( #970 )
2019-10-08 21:02:51 -04:00
rusefi
f600bbc6d7
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 10:02:07 -04:00
rusefi
533087f475
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
rusefi
77cca16cd5
fixing build
2019-09-22 07:49:26 -04:00
Matthew Kennedy
6560de683e
hook up rpm acceleration ( #946 )
2019-09-22 07:37:36 -04:00
Matthew Kennedy
f629ec038b
add sensor framework, tests ( #929 )
...
* add framework, tests
* move oil pressure to new way
* add init logic
* brackets on the same line
* spaces -> tabs
* spaces -> tabs for tests
* bracket on same line
* hook up sensor mocking
* add nan check
* fix nan check
* I wrote an essay
* casing
* only init if we have a sensor to init
* style, actually call init
* format
* fix casing
* typo
* implement linear sensor
* wire up producer
* smarter limiting
* setup comments
* add reporting
* doxyfile
* oops
* add adc subscription
* clarity
* fix logic
* multiply voltage
* test styling
* test guards
* remove dependencies
* linear sensor test
* remove unused
* fix merge
* format, implicit convert op
* explicit
* format tests
* fix merge
2019-09-21 14:33:38 -04:00
rusefi
2ce6e900a3
fixing bug from yesterday
2019-09-21 11:09:03 -04:00
rusefi
a4b6787af1
glitch
2019-09-21 09:43:08 -04:00
rusefi
b9f649a93c
ETB to SD logs
2019-09-20 20:41:45 -04:00
rusefi
ef85a6ceed
more fields to SD card logs
2019-09-20 19:38:19 -04:00
rusEfi
1b8219432c
Live Data for hw VVT signals
2019-09-02 21:02:08 -04:00
rusefi
2804b31e7e
cranking fuel live data #911
2019-08-26 23:41:04 -04:00
rusEfi
c29f038b83
bugfix: pin names were not shown in engine sniffer
2019-08-18 15:27:10 -04:00
rusEfi
7a7dbb8c30
refactoring: engine sniffer magic constants
2019-08-18 15:04:02 -04:00
rusefi
db724568db
refactoring: extracting common magic constants
2019-08-18 12:14:33 -04:00