Commit Graph

1004 Commits

Author SHA1 Message Date
rusefillc 2060dd6cfe knock9 2021-01-22 01:54:20 -05:00
rusefillc a91b9a676e viva v12 2021-01-19 16:09:34 -05:00
rusefi 51c8e77790 SD card debug field 2021-01-18 23:03:24 -05:00
Matthew Kennedy fa30efbc94
boost fixes (#2230)
* fix boost pin reinit

* call boost from periodic slow

* ui

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-18 07:04:14 -05:00
rusefillc 4416d1c7dc cmd_test_main_relay 2021-01-10 23:46:50 -05:00
rusefi f1f6c329a0 cmd_test_main_relay 2021-01-10 20:11:46 -05:00
shadowm60 8d1610a7a3
Vss filter configuration field and param (#2210)
Prep work to introduce biquad filter on vss input to reduce noise on logs and for dynoview as well
2021-01-10 10:14:50 -05:00
rusefillc 1cbb0c5680 Revert "Revert "rpm rate of change (#2159)""
This reverts commit 538b3ac6
2021-01-09 20:06:19 -05:00
rusefillc 538b3ac649 Revert "rpm rate of change (#2159)"
This reverts commit f73b7123

#2207 yes, this makes no sense but just to confirm
2021-01-09 19:45:07 -05:00
David Holdeman 52e88ade01
Add TCU Solenoid debug fields (#2202)
* try adding debug fields

* oops

* include

* add labels

* add enum

* add more solenoid

* whoops

* ifdef
2021-01-09 14:12:45 -05:00
rusefillc 03777db548 poke 2021-01-08 13:39:53 -05:00
Matthew Kennedy 7a90692187
Idle timing uses phase logic, remove falloff (#2169)
* use phase computation

* move & simplify implementation

* test

* bad merge

* initialize

* wonderful changelog

* now unused parameter

* put back deadzone

* ui

* test deadzone

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 08:06:36 -05:00
rusefillc 62e6b6aee6 whitespaces fix? 2021-01-06 14:41:20 -05:00
David Holdeman 7117c6f5aa
TS bench test trans solenoid buttons (#2191)
* maybe

* semicolon stupid

* whoops

* whoops 2
2021-01-05 22:30:38 -05:00
Matthew Kennedy eabb5c7366
flex fuel AFR interpolation (#2190)
* config

* implement flex

* secondary fuel default

* test

* test works

* rename

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 16:27:23 -05:00
Matthew Kennedy edee10ee1c
Flex fuel stubs (#2187)
* config & ui

* stub sensor

* stub init

* output channel, gauge, SD log

* linky linky

* fix

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 07:57:26 -05:00
rusefillc 22ad3ab8d3 funny progress 2021-01-03 23:52:31 -05:00
rusefi a935bf97f4 progress 2021-01-03 17:58:00 -05:00
Matthew Kennedy f73b7123bb
rpm rate of change (#2159)
* compute rpm rate of change

* fix units on gauge

* oops

* correct order

* scaling and limits

* correct for engine cycle length

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-03 09:55:44 -05:00
rusefi 3893f67f9c Unknown placement constraint 2021-01-02 17:32:33 -05:00
rusefillc d213c01ca5 questionable progress 2021-01-02 16:51:14 -05:00
Matthew Kennedy a2f8600717
cfg (#2176)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 09:14:55 -05:00
Matthew Kennedy 342414a5f7
show when idle is closed loop (#2160)
* show when idle is closed loop

* semicolon

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:42:40 -05:00
Matthew Kennedy 890d014679
update idle UI (#2157)
* redo idle UI

* tooltip update

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:36:07 -05:00
rusefi 2fac4cd732 HW_CHECK_SPARK_FSIO 2020-12-26 16:16:40 -05:00
rusefi 7a91f9a4eb cmd_test_fsio3 2020-12-26 13:41:25 -05:00
rusefi 0eec75129a FSIO bench 2020-12-26 01:18:22 -05:00
Matthew Kennedy 5268a62436
fix (#2128)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:35:10 -05:00
rusefillc 1446eabf00 up/down shift to all pins 2020-12-23 16:51:15 -05:00
rusefi 053fcbe3e9 nicer layout 2020-12-18 23:05:44 -05:00
rusefi 8c95923eba ET_PROTEUS_MIATA_NB2 2020-12-18 15:21:11 -05:00
rusefillc ca79f99be5 More explicit handling of CPU exhaustion #2093 2020-12-17 22:21:12 -05:00
Matthew Kennedy 6151f8c334
extra data for rusEfi wideband controller (#2082)
* add config

* logic

* remove old

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 18:25:11 -05:00
Matthew Kennedy d62618c5f8
prototype wideband firmware update (#2074)
* add submodule for firmware

* ts

* add updater

* add bench_test

* don't collide idx

* feature flag

* send acks

* fix timeout logic

* ui

* do it on the bench thread

* guard

* guard

* only do twice

* guard

* bump version

* update

* file name

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 08:28:53 -05:00
rusefillc 0c9c23f9b2 pnp progress 2020-12-15 00:17:09 -05:00
shadowm60 9d36bab793
Debug channel updates (#2078)
* Debug channel updates

Renamed DBG_44 to Dyno_View
added DBG_LOGIC_ANALYZER
DBG_46..48 are  buffers for new features
corrected ini error: [mainController.ini]:[Line:2593]:    entry = wastegatePosition, "Wastegate position sensor",       float,  "%.3f"

* enum_regeneration

fix build issue?
2020-12-14 08:29:43 -05:00
rusefillc 42fc199303 "Wastegate position sensor" into logs 2020-12-13 23:03:22 -05:00
rusefi 4a3011601d subi 2020-12-13 13:16:39 -05:00
David Holdeman 1b59375425
Fix table (#2062)
* try

* try

* swap labels

* switch axes in code
2020-12-12 15:41:27 -05:00
rusefillc f32036ee3e Cranking debug 2020-12-11 20:09:36 -05:00
rusefillc 72d02df6c4 throttlePedalPositionSecondAdcChannel to "all pins" 2020-12-11 19:51:01 -05:00
rusefillc c56799172e TS, .ini: "Idle position sensor" missing label in "Wastegate and idle position sensors" menu #2056 2020-12-11 10:04:07 -05:00
Matthew Kennedy fadfc8d09b
config for second lambda (#2047)
* config

* size

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 14:30:51 -05:00
shadowm60 adf0a97ffc
Prepare configurations for SW knock detection (#2046)
* Prepare configurations

- Configurations needed for base noise
- TS usability for base noise definition

* Update rusefi_config.txt

wrong data ype used for base noise
2020-12-08 21:08:59 -05:00
Matthew Kennedy 27fee86923
add indicator for tps2 fail (#2016)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 00:01:24 -05:00
shadowm60 d28276b053
Update rusefi.input (#2000)
vssacceleration should be signed 16bit value
2020-12-02 15:06:36 -05:00
Matthew Kennedy 3258ee0c61
disable legacy temp units (#1998)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-02 14:47:08 -05:00
rusefillc 2415edaec4 fixing two unrelated typos 2020-12-02 14:15:44 -05:00
shadowm60 ecc9c0dc6b
introduce vehicle acceleration in TS (#1997)
* introduce vehicle acceleration in TS

* Update rusefi.input

added gauge as well
2020-12-02 11:12:19 -05:00
shadowm60 6fb745d29c
Launch Control refactoring (#1992)
* refactor

- called from periodicFastCallback
- removed defines

* Update rusefi.input

removed unused configurations.
added clutch inversion option

* Added new tests

fixed limiting only in case we have launch condition and rpm outside of window

* Update launch_control.cpp

Unintialized config update, now it is working fine with VSS and with clutch as well.

* small fixes

updated after review findings

* Fix breaking engine rev limiter

applyLaunchControlLimiting should not overwrite booleans to false!

* Delay timer in seconds

timer uses ms, so convert seconds to ms
2020-12-01 13:03:42 -05:00
rusefillc 6876c1657a docs 2020-11-29 18:12:16 -05:00
rusefillc b982d02298 miata 94 2020-11-28 22:49:28 -05:00
rusefi 292579995c start/stop debug process 2020-11-25 16:44:08 -05:00
rusefillc 46d9eacc7c build-in virtual dyno #1987 2020-11-25 13:16:13 -05:00
rusefi daf1ec83a7 GDI Epic #1448 2020-11-22 00:09:36 -05:00
rusefillc 599f7ceb39 GDI Epic #1448 2020-11-21 22:56:47 -05:00
rusefillc b4e9aba0da GDI Epic #1448 2020-11-21 21:58:56 -05:00
rusefillc 1eeaca50dd GDI Epic #1448 2020-11-20 20:36:48 -05:00
rusefi ec4232d3fa refactoring: TS to match C 2020-11-16 19:09:05 -05:00
rusefi 509d5a0252 GDI Epic #1448
typo
2020-11-15 16:05:10 -05:00
Matthew Kennedy 0e3673e78c
remove idle thread; just call from periodicSlowCallback (#1924)
* remove thread

* remove ui
2020-11-11 21:47:19 -05:00
Matthew Kennedy 02c4d630f6
compensate injector flow based on fuel pressure (#1931)
* injector compensation

* fix

* ui

* testability & comments

* hella testing

* debug channels

* enum value

* auto generated enums

* update comment

* oops too much

* update config fields

* handle failed pressure sensor

* build

* fix

* add some todos for the future

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-10 23:11:22 -05:00
rusefillc 6d5763bb8e field = "useTLE8888 2020-11-10 12:37:15 -05:00
rusefillc d560f01426 GDI Epic #1448 2020-11-09 22:07:52 -05:00
rusefillc 633ce0c02b GDI Epic #1448 2020-11-09 21:32:48 -05:00
andreika-git eb2882857f
Make AFR great again! (#1929)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-11-05 15:35:11 -05:00
rusefi b2263a4151 one step back 2020-11-04 14:49:23 -05:00
rusefi 59a000e7d5 miata TCU 2020-11-04 12:48:07 -05:00
rusefi 1b96af0ab3 TCU minor fix 2020-11-04 00:45:58 -05:00
Matthew Kennedy f9357d209a
fatal error + inhibit read on TS preset (#1922)
* fatal error + inhibit read on preset

* inhibit more stuff when flag is set

* don't need that message

* extract function, improve msg

* changelog entry
2020-11-03 19:03:46 -05:00
rusefillc c01c43aab5 GDI Epic #1448 2020-11-02 19:28:46 -05:00
Matthew Kennedy 15d5c872c2
log afr in addition to lambda (#1920)
* log afr

* log it

* weird double commas
2020-10-31 17:52:07 -04:00
Matthew Kennedy 66cc63b18a
log target lambda (#1919) 2020-10-30 17:42:00 -04:00
Matthew Kennedy 3e30865e6c
unused tach field (#1918) 2020-10-29 15:26:01 -04:00
rusefillc 106c91efac fluid gauges 2020-10-28 00:20:35 -04:00
Matthew Kennedy 09b41bb1bb
Everything in lambda! (#1893)
* lambda

* default configs, fix build

* config, gauge, UI

* more digits

* change menu text

* fix that while I'm here

* doesn't need extra word

* todo note

* tests

* last test

* missed a config

* update java

* store target lambda

* more java

* format

* hopefully enough java for CI to pass
2020-10-26 18:15:17 -04:00
Matthew Kennedy a90792fa44
convert mass -> duration later in the pipeline (#1906)
* cranking duration to mass

* implement

* units

* patch types

* suppress warning

* fix output channels

* add note about how to set it
2020-10-26 07:23:13 -04:00
shadowm60 9ae6f5c85f
Trigger logger (#1902)
* Update tachometer.cpp

Initial implementation of E30 M3 Tach output solution #907, unit_test plus debugging next

* tacho unit tests

First successfull unit test for tachometer

* RAM adjustment so it would link

* refactoring tacho, broken!

* starting to make some progress...still fails after a few seconds

* Rework with SW PWM

* Update after code review

* unit_test update

* First working unit_test

* Update .gitignore

* Update engine_controller.cpp

* Update engine_controller.cpp

* Update tachometer.h

* Update test_tacho.cpp

* Switched UART DMA on

* Revert "Switched UART DMA on"

This reverts commit 4a23974c431e0e7fd760595d2161e74e6854897e.

* tooth logger update

Updated the way we send the buffer to TS
Updated the way we log cam signals
removed TDC, inj and ign direct log... this causes some flicker in TS, this way we log inj and ign comapred to a cranck or camshaft trigger.

* Update tooth_logger.cpp

Fix unit_tests

* Update tooth_logger.h

clean-up

* Update tooth_logger.cpp

remove dead code, actually i forgot to uncomment these lines.
rename isTDC to trigger, since it is trigger (cam) for TS.

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-10-25 22:26:20 -04:00
Matthew Kennedy d84cd385ce
add Injector pressure sensor (#1898)
* add sensor type

* add config

* initialize injector pressure

* add UI
2020-10-23 15:46:16 -04:00
Matthew Kennedy 4e249889a6
implement fuel pressure sensors (#1897)
* add

* remove old

* remove more old

* makefile

* fix init

* patch up other stuff

* actually fix it this time

* raw output channels

* gauges, UI

* scaled channel

* fix field ordering
2020-10-23 07:31:47 -04:00
rusefillc f8bfafccf0 GDI Epic #1448 2020-10-22 23:24:15 -04:00
rusefillc edd7cc34d1 GDI Epic #1448 2020-10-22 23:17:29 -04:00
Matthew Kennedy 6605877326
gppwm debug (#1895)
* dbg gppwm

* fix channel

* TS guard
2020-10-21 22:49:38 -04:00
rusefi ef19d30314 reducing the mess around FSIO bench commands 2020-10-21 22:35:08 -04:00
Matthew Kennedy 06f92807cc
second PID config for wastegate (#1889)
* remove

* cleanup

* implement ETB parts

* hook up to boost controller

* tests

* consume

* add cfg field

* ui maybe

* fix

* fix

* add wastegate config test
2020-10-19 08:04:27 -04:00
rusefi 4f74a5fc73 GDI Epic #1448 2020-10-11 17:47:16 -04:00
David Holdeman 29c2d692ee
Simple transmission 2 (#1870)
* simple trans controller

* don't need check

* we can loop!

* use efi::size

* pin mode configuration

* set pin mode

* switch to RegisteredOutputPin

* size

* add to makefile

* fixes

* fixes

* wat

* output pin, and ts stuff

* use SimpleTransmissionController

* include

* grrr

* grrr

* move to separate file

* fix includes

* try

* semicolon stupid

* try pointers

* try

* add to makefile

* wat

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* undo

* more idiomatic maybe

* remove logger

* try init func

* try

* try

* try init fn

* try

* switch

* try

* try

* ifndef

* try

* try

* ifndef

* use def dug

* INJECT FIRST

* try

* try

* duh
2020-10-09 23:34:45 -04:00
Matthew Kennedy 83fe9dae77
ign mode overrides (#1869) 2020-10-09 17:16:49 -04:00
rusefillc 0a49ea933e https://rusefi.com/forum/viewtopic.php?f=4&t=1844 2020-10-09 02:08:52 -04:00
Matthew Kennedy 1bce3aa4c0
Etb function cfg, try again (#1860)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-08 14:12:03 -04:00
rusefillc 367436454d HW CI has failed 11 times since Oct 2 #1849
Revert "ETB function config (#1831)"

This reverts commit af59c45a
2020-10-03 22:00:00 -04:00
Matthew Kennedy af59c45adb
ETB function config (#1831)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-02 20:51:02 -04:00
rusefillc 1436ad660f https://rusefi.com/forum/viewtopic.php?p=37989#p37989 2020-10-02 14:33:19 -04:00
Matthew Kennedy 6ac9aad358
display base fuel mass in milligrams (#1838)
* switch to mg

* use the correct thing

* gauge scaling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-30 20:19:51 -04:00
Matthew Kennedy 16bfd39bac
Remove dead & useless config (#1834)
* remove dead config

* remove enum
2020-09-29 06:34:39 -04:00
David Holdeman d6bc2a70e7
transmission solenoid control (#1833)
* simple trans controller

* don't need check

* we can loop!

* use efi::size

* pin mode configuration

* set pin mode

* switch to RegisteredOutputPin

* size
2020-09-28 21:39:03 -04:00
rusefi 0a6e79217b removing third copy of same values 2020-09-28 21:05:20 -04:00
Matthew Kennedy f1c04efefa
replace ETB index with function enum (#1807)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit
2020-09-28 16:33:07 -04:00
rusefi 97982cc22f Output pin init/deinit needs a linked list #1803 2020-09-27 07:26:56 -04:00
shadowm60 8d8e8ec260
Launch control - experimental (#1816)
* Update tachometer.cpp

Initial implementation of E30 M3 Tach output solution #907, unit_test plus debugging next

* tacho unit tests

First successfull unit test for tachometer

* RAM adjustment so it would link

* refactoring tacho, broken!

* starting to make some progress...still fails after a few seconds

* Rework with SW PWM

* Update after code review

* unit_test update

* First working unit_test

* Update .gitignore

* Update engine_controller.cpp

* Update engine_controller.cpp

* Update tachometer.h

* Update test_tacho.cpp

* Switched UART DMA on

* Revert "Switched UART DMA on"

This reverts commit 4a23974c431e0e7fd760595d2161e74e6854897e.

* enable launch control

make use of already existent code + integration

* Delete compile_frankenso_all.sh

remove it since it is not part of the project

* Update main_trigger_callback.cpp

broke unit_Tests

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-09-22 16:25:27 -04:00
rusefi 5c458a5ed5 https://rusefi.com/forum/viewtopic.php?f=3&t=1523
disabling second channel for one more trigger
2020-09-22 05:25:11 -04:00
Matthew Kennedy 3d6a6398ac
Dedicated sensors for wastegate + idle position (#1805)
* config

* add sensor

* listen to new adc channels

* fix

* add gauges to TS

* add gauge values

* TS UI
2020-09-18 10:04:07 +03:00
David Holdeman d761f523a0
add shift matrix and pin config (#1798)
* add shift matrix and pin config

* try
2020-09-15 11:34:09 +03:00
David Holdeman 337106cd24
DebounceButton A/C switch (#1782)
* change acSwitch name, add mode

* fix

* remove some adc stuff

* remove some adc stuff

* semicolon stupid

* left behind

* add readpinstate

* wrong var name

* add functions back

* fix name

* bool, not void, plus fix name

* move

* not sure what I broke

* try setMockValue

* namespace

* whoops missed one

* switch values because adc was set up for pullup

* try 5

* comment for now

* comment for now

* uncomment tests, add function to mock, add mock to efiReadPin

* fixes

* for F's sake

* if

* add defy

* pass params

* use ASSERT_TRUE/FALSE

* advance time

* remove ifdef from readPin

* try moving if

* move to separate func

* move extern

* move include

* try engine_test_helper

* am confuse

* move func to else

* include hal

* add efi prod check

* remove include

* try extern

* move include

* semicolon stupid

* move extern again

* include

* move mockPinStates

* size

* add if

* add comment

* clean on instantiation
2020-09-10 22:16:20 -04: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
Matthew Kennedy f6cbce48ed
minor TS changes (#1778)
* minor

* fiix
2020-09-09 16:27:13 -04:00
Matthew Kennedy 6d1acb40f8
Selectable AFR axis override (#1771)
* 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

* impl

* unhide option

* fix

* tests
2020-09-08 17:15:18 -04:00
rusefi a1625bd2e2 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:38:51 -04:00
rusefi a0b45b8b08 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:04:54 -04:00
rusefi d06690b3b6 Hellen says cyclic buffer 2020-09-07 11:35:02 -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 ba31cef223 Bench-testing for ALL assigned output pins #1758 2020-09-06 00:27:02 -04:00
rusefi 346808394d Bench-testing for ALL assigned output pins #1758 2020-09-05 23:49:21 -04:00
rusefi bc115e70a0 OBD CAN sensors #1733 2020-09-03 23:27:53 -04:00
David Holdeman 9ef0813962
[TCU] TS interface and output channels (#1747)
* add tcu ts outputs

* accidental change?

* rearrange
2020-09-02 13:30:54 -04:00
Matthew Kennedy 484f1ba5a0
Multiple knock sensors (#1745)
* fw

* cfg fields

* fix order

* ui for channel select

* clarify

* comments

* config
2020-09-02 07:19:02 -04:00
Matthew Kennedy 988d9b138c
detect which cylinder knocked (#1732)
* 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

* multi cylinder knock

* TS

* only sense when running
2020-08-31 21:05:33 -04:00
rusefi 65ed7f6dad spelling 2020-08-31 17:08:04 -04:00
rusefi 22a947d498 https://github.com/rusefi/web_backend/issues/97 2020-08-30 14:58:05 -04:00
rusefi 2971230711 VVT support for VAG trigger #883 2020-08-29 18:13:00 -04:00
rusefi 613faa90cd verboseVVTDecoding 2020-08-29 17:05:54 -04:00
rusefi b66ec2d9a5 presets 2020-08-29 16:49:56 -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
Matthew Kennedy 110a6d79d4
more data (#1727)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-24 01:26:33 -04:00
Matthew Kennedy 12bc5eb28b
Auto cal dual etb (#1725)
* implement

* add bench mode

* add ts cal mode

* TS impl

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-23 23:41:35 -04:00
Matthew Kennedy f65287deed
fix (#1724)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-23 23:18:25 -04:00
rusefi 3c3fe0a73b v12 2020-08-23 15:09:23 -04:00
rusefi fc35bb6206 more natural order 2020-08-22 00:03:19 -04:00
Matthew Kennedy c53979a017
Configurable stoichiometric ratio (#1710)
* configurable stoich ratio

* afr table always in gas afr

* default

* typo

* use defined ratio

* do it in config too

* missed a spot

* oops wrong one

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-21 19:43:30 -04:00
Matthew Kennedy 4e81b67ca3
harmonize blocking factor (#1709)
* harmonize blocking factor

* static assert
2020-08-21 14:12:28 -04:00
Matthew Kennedy c450ea7fcd
add (#1711) 2020-08-21 08:53:23 -04:00
Matthew Kennedy 688bc2b800
fix crc command (#1705)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-20 07:43:56 -04:00
Matthew Kennedy 66b404fc59
improve (#1702) 2020-08-18 22:37:08 -04:00
Matthew Kennedy 1840afdd4a
Fuel ts reorder (#1699)
* reorder

* redo injector stuff

* reorder & deadtime limits

* make 2d table bounds reasonable

* more

* only allow bench if not running

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-18 13:51:20 -04:00
rusefi 009bb24f86 tuneCrc16Gauge 2020-08-14 12:46:02 -04:00
rusefi d924be7de9 tuneCrc16Gauge 2020-08-14 12:06:05 -04:00
rusefi 51b59a0aa5 tuneCrc16Gauge 2020-08-14 09:27:18 -04:00
Matthew Kennedy f46cb7aa56 break-up-connection 2020-08-08 00:02:53 -07:00
rusefi e411b65987 TS SD integration #1653 2020-08-07 21:28:50 -04:00
rusefi baaf9f9343 TS SD integration #1653 2020-08-07 20:16:55 -04:00
rusefi 9d457aabae Console commands are broken fix #1671 2020-08-05 19:57:28 -04:00
kon 2205a4c487 Merge branch 'master' of https://github.com/rusefi/rusefi into second_can 2020-08-04 13:22:07 -07:00
Matthew Kennedy ff34bc878d Merge remote-tracking branch 'upstream/master' into remove-table 2020-08-03 12:02:24 -07:00
kon 85e7b5b35d Merge branch 'master' of https://github.com/rusefi/rusefi into second_can 2020-08-02 19:48:36 -07:00
Matthew Kennedy 432a65303d real names & sensible limits 2020-08-02 15:33:08 -07:00
kon 4e3637641b added secondary can config 2020-08-01 20:58:14 -07:00
rusefillc e009d60b29
Merge pull request #1632 from mck1117/remove-plain-maf
goodbye, plain maf
2020-08-01 09:16:38 -04:00
Matthew Kennedy 4354b198ae remove tables from TS 2020-07-31 23:29:02 -07:00
rusefi 239ebbadcf TS SD integration #1653 2020-07-31 23:53:56 -04:00
Matthew Kennedy 978fa20916 Merge remote-tracking branch 'upstream/master' into remove-plain-maf 2020-07-31 14:56:29 -07:00
Matthew Kennedy b4b8781993 log second tps 2020-07-30 11:31:49 -07:00
rusefi a7df277fca NA6 progress 2020-07-29 14:53:36 -04:00
Matthew Kennedy ba7c47dd3c remove 2020-07-29 01:35:17 -07:00
Matthew Kennedy 08be750098 Merge remote-tracking branch 'upstream/master' into remove-plain-maf 2020-07-28 20:25:16 -07:00
rusefi d9abd6349f aux temperature gauges for TS 2020-07-27 22:50:48 -04:00
rusefi 192860996b Weird VAG: DC motor idle valve not ETB #1637 2020-07-26 14:50:17 -04:00
rusefi 6b5cd6a80f Weird VAG: DC motor idle valve not ETB #1637
TS project logic
2020-07-26 14:11:48 -04:00
rusefi ca9ffdfb5c refactoring 2020-07-26 14:03:31 -04:00
rusefi 0bbe159e38 Weird VAG: DC motor idle valve not ETB fix #1637 2020-07-26 11:04:32 -04:00
rusefi a31ddc026a code style 2020-07-24 11:41:45 -04:00
Matthew Kennedy 2a1d076a31 table Y axes 2020-07-23 02:54:24 -07:00
Matthew Kennedy 67e4fcb2a2 goodbye plain maf 2020-07-23 02:46:45 -07:00
rusefillc fdd63812bc
Merge pull request #1626 from mck1117/ign-load
Use ignition load for ignition
2020-07-22 15:39:34 -04:00
Matthew Kennedy 26a3efe204 always show that option 2020-07-21 14:07:58 -07:00
rusefi abbe9497cd idle logs usability 2020-07-21 12:35:25 -04:00
Matthew Kennedy dbd2827f41 now unused table 2020-07-21 00:07:49 -07:00
Matthew Kennedy a42ab4e3e2 ign/fuel load 2020-07-20 23:21:04 -07:00
Matthew Kennedy 2cad639bf1 update ts 2020-07-20 23:13:50 -07:00
rusefi 9516098303 EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter #806 2020-07-12 17:34:19 -04:00
rusefi ab3f238bda sleepingAwake sorry 2020-07-11 14:34:51 -04:00
rusefi 30bd081c9c https://rusefi.com/forum/viewtopic.php?p=37401#p37401 2020-07-10 14:02:50 -04:00
rusefi 4ecab123bf migrate amazing idle from FSIO to less opaque TS #1581 2020-07-08 21:54:56 -04:00
rusefi e4d543027a making smart idle more useable 2020-07-07 22:19:22 -04:00
Matthew Kennedy 26478ec394
Switch fueling to new axes (#1574)
* switch tables

* missed one
2020-07-05 18:14:55 -04: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 c0bb907aa3 idle_min through FSIO not working as intended #1553
FSIO debug outputs progress
2020-07-04 21:32:12 -04:00
Matthew Kennedy 00e01abc4d
Add ign & fuel load fields (#1568)
* add to code

* output channels size

* rusefi.input

* java offsets

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-04 16:40:31 -04:00
Matthew Kennedy b50a1fccc9
fix maf gauge scaling (#1566)
* div by 10

* define ratio

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-03 23:06:00 -04:00
rusefi 922907952b typo 2020-07-02 20:40:00 -04:00
rusefi 0fbc0061ee better names for debug fields in log files 2020-07-02 19:17:36 -04:00
rusefi edc9158229 push 2020-07-02 14:42:02 -04:00
rusefi d275677b1c MRE defaults command 2020-06-30 21:29:47 -04:00
rusefi 5778987219 actions are broken? 2020-06-28 20:58:51 -04:00
rusefi d5a49044a4 progress? 2020-06-28 11:59:47 -04:00
rusefi 4a2203a0a2 A/C relay output not visible in TS 2020-06-27 19:39:09 -04:00
rusefi 74651052e5 A/C relay output not visible in TS 2020-06-27 19:37:45 -04:00
rusefi 7c5179d2b1 poke input 2020-06-27 16:16:35 -04:00
rusefi 9926327b3a reducing code duplication 2020-06-21 22:21:25 -04:00
rusefi be02751d5f REO progress 2020-06-20 15:18:25 -04:00
rusefi c0d7905e07 indicators are broken - reported by Jokeri 2020-06-18 14:50:00 -04:00
rusefi 89011897b0 making debugTriggerSync more visible to users & removing from VVT defaults 2020-06-15 16:47:06 -04:00
rusefi 60939e2260 REO progress 2020-06-14 18:47:58 -04:00
rusefi 8de0d0cb39 REO progress 2020-06-14 18:39:05 -04:00
kon 03f4efa0b2
BMW E90 Kombi (#1494)
* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* post rebase/merge fixes

* more rebase/merge fixes

* even more rebase/merge fixes

* more fixes, removed auto-gen files

* removed more auto-gen files...
2020-06-14 16:59:43 -04:00
rusefi 8165ee016f REO progress - binary logs 2020-06-14 15:43:54 -04:00
rusefi 98ab973e7c CAN docs 2020-06-09 22:44:43 -04:00
rusefi 747ec8cf4a tuneCrc16 - we use it to match logs to tunes 2020-06-04 20:07:00 -04:00
rusefi 6ac884018e useFSIO6ForRevLimiter 2020-06-01 07:55:42 -04:00
Matthew Kennedy 9f539a9dc4
Post-stft cleanup (#1478)
* unused old fuel PID

* fix units

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-01 07:05:40 -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
rusefi a8196b197e hiding not working stuff to reduce confusion 2020-05-31 11:06:36 -04:00
rusefi 07475398b2 proteus v12 progress 2020-05-24 13:27:14 -04:00
Matthew Kennedy 12a8d889ab
add second boudns (#1469) 2020-05-23 10:45:15 -04:00
rusefi 4edd682ebb typo 2020-05-23 00:37:43 -04:00
rusefi 948ba1a92b progress 2020-05-22 22:47:47 -04:00
rusefi b15965a9d0 progress 2020-05-22 14:11:12 -04:00
rusefi c9cc928df6 pre-sets progress 2020-05-22 13:12:16 -04:00
rusefi 845a9994a4 MRE pre-sets 2020-05-21 21:00:34 -04:00
rusefi 9ab7507e67 BUG? handleCrc32Check does not use 'offset' parameter #1429 2020-05-21 00:14:08 -04:00
rusefi 5d6e715b05 GDI fields 2020-05-20 02:18:23 -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
rusefi d9bbace609 reducing magic constant copy/paste & MAP dialog progress 2020-05-18 01:15:13 -04:00
rusefi 194e85b855 VVT progress 2020-05-15 21:10:15 -04:00
rusefi 18760bb699 toyota 2jz progress 2020-05-15 16:35:18 -04:00
rusefi 5491669c2c nicer handling of main relay in MRE.ini file 2020-05-15 12:05:09 -04:00
rusefi a8a9394f80 joy to all pins 2020-05-12 14:16:31 -04:00
Matthew Kennedy e54bcc70a0
s (#1424) 2020-05-11 23:23:04 -04:00
Matthew Kennedy c7fadd475f
configuration for secondary (redundant) TPS sensors (#1419)
* add new fields

* add tps 2 secondary

* sensible error detection limits

* UI mods

* grey out as appropriate

* defaults

* either it's unused or its not
2020-05-10 16:13:15 -04:00
rusefi bb8a8149f8 34-2 3 cam Toyota wheel progress 2020-05-10 02:12:47 -04:00
rusefi 919afd35e8 removing some unneeded flexibility 2020-05-10 01:34:43 -04:00
rusefi c0d45f9330 rusEFI online engine crc 2020-05-09 18:31:41 -04:00
rusefi ab07c0082b this part can go forward 2020-05-09 00:53:04 -04:00
rusefi 18bb2475bd getting deeper into the rabbit hole 2020-05-07 13:06:39 -04:00
rusefi 7fda636144 https://github.com/rusefi/web_backend/issues/1 2020-05-07 10:22:04 -04:00
rusefi 016da58bbd field useful for rusEFI online catalog 2020-05-07 00:55:59 -04:00
rusefi 6e832002ba magic is around the corner 2020-05-06 14:00:08 -04:00
Matthew Kennedy 74d13c391f
Rewrite boost control in new closed loop framework (#1342)
* rewrite boost

* test

* fix build

* tests

* open loop test

* test closed loop

* fix names

* typo

* tests

* mock boost setOutput

* needs more virtual

* fix boost logic

* switch to TPS based open loop

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:40:42 -04:00
Matthew Kennedy 20a95bdcf1
ETB auto-PID: auto set values in TS (#1400)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* auto cal

* wire up bench testing

* auto gains too

* s

* fix

* rearrange a bit

* inject

* remove unused bit

* mock repair

* move

* add maintainconstantvalue

* add disable button

* cleaning

* move state inside

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:39:02 -04:00
rusefi a9514ec9e4 vehicleName TS field 2020-05-05 15:12:12 -04:00
Matthew Kennedy 2c9cb4e291
remove "plain MAP" mode (#1398)
* consumers

* enums, input, config

* java

* default config cleanup
2020-05-05 15:04:55 -04:00
rusefi 75d76f850d progress - firing order logic to be re-evaluated every time we generate 2020-05-04 23:54:28 -04:00
rusefi f456799310 reducing confusion? 2020-05-02 22:06:11 -04:00
rusefi d371af5b89 CJ125 PI commands 2020-05-01 20:22:49 -04:00
rusefi 669322311f cj125 progress 2020-05-01 19:42:09 -04:00
Matthew Kennedy b17198a541
Add raw gauges to sensor config pages (#1390)
* clt

* iat

* minor cranking

* fix

* oilp too

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-30 18:44:34 -04:00
Matthew Kennedy 6c15d6b2e8
Trigger dialog cleanup (#1389)
* trigger dialog simplify

* more cleanup

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-30 18:03:56 -04:00
rusefi d5df92f138 At least everything fits on my screen now 2020-04-29 19:39:35 -04:00
Matthew Kennedy ba6ec4ac51
TPS Auto Calibration with ETB (#1382)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* auto cal

* wire up bench testing

* s

* fix

* rearrange a bit

* inject

* remove unused bit

* mock repair

* guard for ECUs without ETB
2020-04-28 19:31:41 -04:00
Matthew Kennedy d728b1ca48
Minor ETB improvements (#1381)
* fix pid reset and pedal failure

* pause control later

* test pauseEtbControl

* update tooltip + field name

* update test
2020-04-28 16:52:40 -04:00
Matthew Kennedy fe4b531aeb
Move ETB control to a thread (#1374)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* fix dt

* re-resize ram
2020-04-28 07:22:31 -04:00
Matthew Kennedy 7aa697c256
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 a16e8bba8d
General purpose PWM: configuration fields (#1365)
* config

* significant digits

* renumber enum, no need for a "none"

* ui
2020-04-25 17:17:58 -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 1bad5f3047
don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
rusefi c52c7e2f1f TLE8888 mode flexibility 2020-04-23 16:57:37 -04:00
rusefi ccc445d7ee extracting TLE8888 dialog 2020-04-23 15:40:10 -04:00
Matthew Kennedy cec2db41d9
fix display of etb bias (#1349) 2020-04-22 20:32:19 -04:00
Matthew Kennedy 5e34323d0f
improve etb & pedal dialogs (#1348)
* simplify etb dialog

* put back pid limits

* add note

* pedal too
2020-04-22 20:24:47 -04:00
rusefi b6287585a7 different take on remove warning message in tune #1347 2020-04-22 18:27:10 -04:00
rusefi 30a7741cb7 smaller version of dead code #1300 2020-04-22 18:23:14 -04:00
rusEfi 2203b2867a TS to show warning text 2020-04-19 21:42:00 -04:00
shadowm60 4c6ba7f681
Prep TS for VSS over CAN (#1329)
TS update

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-04-19 18:23:06 -04:00
kon a243b36504
aux serial config files (#1326) 2020-04-19 15:04:59 -04:00
Matthew Kennedy 052be17533
oops (#1320) 2020-04-18 21:12:51 -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
rusefi 2f51b0c6f8 "GDI dreams" menu to TS 2020-04-16 14:31:03 -04:00
rusefi a11166d992 dreaming about 63 volts 2020-04-15 21:28:44 -04:00
rusefi d73e21a289 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/tunerstudio/rusefi.ini
#	firmware/tunerstudio/rusefi_frankenso.ini
#	firmware/tunerstudio/rusefi_microrusefi.ini
#	firmware/tunerstudio/rusefi_prometheus.ini
#	firmware/tunerstudio/rusefi_proteus.ini
2020-04-15 20:28:09 -04:00
rusefi a1788c1545 fresh for ETB and engine sniffer usability idea 2020-04-15 18:24:26 -04:00
Matthew Kennedy 1e79bc84ea
add button (#1303) 2020-04-15 18:22:30 -04:00
rusefi 390110f8f8 https://rusefi.com/forum/viewtopic.php?p=36201#p36201 2020-04-15 17:03:26 -04:00
rusefi d5d6ab9436 stimulator to all pins 2020-04-14 19:09:26 -04:00
OrchardPerformance 5739032254
Update to Matt's MAF code for VE table tuning. (#1295)
* Update rusefi_lib

* Update fuel_math.cpp

Updated Matt's MAF code to include fuel table

* fixed missing include

* Replace get_specs_displacement

* ve2Map corrected

* ve2Map fix 2

* Fix for missing TS table

* Corrected standard air charge

* Math fix, PW now good

Still have minimal response from the VE table

* rusefi.input correction

* Added extra comment

* Ease of reading update
2020-04-14 01:21:48 -04:00
rusefi 5f1e4666e2 multi-channel Tuner Studio tooth logger #1284 2020-04-13 20:47:54 -04:00
rusefi 4cde884f1d MC flag0 2020-04-13 19:01:22 -04:00
rusefi 1c4488d930 i think we better be explicit about buffer size? 2020-04-12 23:59:24 -04:00
rusefi 041919d940 multi-channel Tuner Studio tooth logger #1284
reducing magic constants
2020-04-12 19:10:36 -04:00
Matthew Kennedy 3e1fb34db5
fix typo (#1288) 2020-04-12 17:48:38 -04:00
Matthew Kennedy b526b43864
etb autotune (#1274)
* Astrom-Hagglund

* enums

* comments

* dead

* fix

* changed enum

* ts guard

* safety

* etb autotune debug channels

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-11 22:15:49 -04:00
rusefi 4a22b77335 making magic constants a bit less fragile 2020-04-11 01:52:16 -04:00
rusefi b51da343d1 making magic constants a bit less fragile 2020-04-11 01:22:31 -04:00
Matthew Kennedy 001ef27eb8
support ETB disable pin (#1273)
* config & hand gen

* board configs

* add dc motor support

* initialization

* also set duty to zero

* use disable in etb

* fix proteus default

* add TS fields

* I guess we needed 8 bytes

* :D

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 17:27:13 -04:00
rusefi fb06813e12 DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS 2020-04-10 13:19:54 -04:00
rusefi a613aeddad general help with image 2020-04-09 18:09:17 -04:00
rusefi 9867c4509e thank you Ola! 2020-04-05 22:25:09 -04:00
rusefi b43da0d0f8 killing nbVvtIndex 2020-04-05 11:43:45 -04:00
rusefi 5923cb01d4 Trigger Counters fix 2020-04-02 16:48:35 -04:00
rusefi b0d8cae798 start/stop progress 2020-03-29 17:21:17 -04:00
rusefi 42456329b8 progress 2020-03-29 17:08:29 -04:00
rusefi 0bb1f1f55f ETB progress 2020-03-29 10:29:33 -04:00
rusefi 70f1ae9271 fsio 2020-03-29 09:03:33 -04:00
rusefi fdc918d2e2 fsio 2020-03-29 08:43:13 -04:00
Matthew Kennedy 61ee03ee06
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 6f5468d3ea critical error usability improvements 2020-03-28 20:14:17 -04:00
rusefi a145701ffa building the wall 2020-03-26 19:24:39 -04:00
Matthew Kennedy e227018c85
Ts cleanup 2 (#1226)
* remove biquad config

* fuel pump clarity

* hide stuff

* hide more stuff correctly

* more hides

* hide comparator except for kinetis

* didn't mean to change all those

* fix kinetis
2020-03-26 11:41:58 -04:00
Matthew Kennedy a5d4d06868
Multispark implementation (#1192)
* multispark prototype

* only multispark if not cut

* typo

* do some reasonableish math

* consume cfg

* todo

* bad merge

* move math out of engine2.cpp

* engine state config

* consume generated

* use new

* hand generate

* doc, debugging

* debug channel names

* don't depend on rpmcalc

* safer, fix math

* tests

* default multispark config

* remove todo

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-26 01:49:36 -04:00
Matthew Kennedy 608cf45d26
TS cleanup pass (#1225)
* remove biquad config

* fuel pump clarity

* one code usage

* minimal generate for ci

* and don't build it either

* remove commented out code
2020-03-25 23:00:17 -04:00
Matthew Kennedy 85951b8fdc
no fahrenheit (#1224) 2020-03-25 19:04:21 -04:00
rusefi d3482327f3 allPins consistency thank you AndreiKa 2020-03-25 10:03:09 -04:00
rusefi 7ab0a9cd76 startStopDialog 2020-03-25 00:58:59 -04:00
rusefi 5dce6e7104 launch control #203
somewhat questionable code
2020-03-23 23:20:54 -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
rusefi 0475348e4c start/stop 2020-03-20 20:45:35 -04:00
rusefi a4b5570223 "rusefi CAN" config #1198 2020-03-19 09:22:16 -04:00
rusefi 482967b8db progress towards start/stop 2020-03-18 15:56:17 -04:00
rusefi 5a6d10c21f hiding SPI from MRE users 2020-03-17 15:50:42 -04:00
Matthew Kennedy 43f3ab7624
Multispark configuration (#1190)
* multispark

* scaling, units

* hide in "broken stuff" menu for now

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-14 09:13:38 -04:00
rusEfi e065da52df wall of text 2020-03-11 03:08:20 -04:00
rusEfi cbf45d1df5 TPS#2 gauge 2020-03-11 02:10:57 -04:00
Matthew Kennedy 1cdd1b86a9
hbridge idle ui (#1178) 2020-03-10 14:31:00 -04:00
rusefi 16930da2d3 hard-coding miata Nb2 VVT Ratio magic 2020-03-09 16:59:19 -04:00
960 47eeebed05
Update rusefi.input (#1165) 2020-03-02 20:54:47 -05:00
rusefi 3bf4219ad6 useHbridges 2020-03-02 19:49:47 -05:00
rusefi 2db8157e44 better setting name and help? 2020-03-01 22:32:09 -05:00
rusefi c553877d3d hiding "Analog divider" from MRE 2020-03-01 09:21:39 -05:00
rusefi df993c47f6 PC simulator: TS over HW VSP wants lower blockingFactor fix #794 2020-02-28 18:12:22 -05:00
rusEfi 95160967dd throttle2Position progress 2020-02-27 03:21:42 -05:00
rusefi d5faa3b517 making migration seamless on useRunningMathForCranking 2020-02-16 16:13:15 -05:00
rusefi c4e1e1e928 dreams about useFixedMsForCranking 2020-02-15 19:17:42 -05:00
Matthew Kennedy d1c619879c
more signed vs. unsigned ts (#1124) 2020-02-04 11:47:01 -05:00
rusefi c4c28431f2 Three wire idle air valve #1122
ugly but should work to begin with
2020-02-04 01:06:20 -05:00
ola d49e253bff Some initial work at Launch/ALS
(cherry picked from commit 07b3a0632f6673ad57db5b2d6b8ad21674cf3509)
2020-02-02 12:17:06 -05:00
rusefi c8f130f996 Boost Control is experimental/Alpha Version 2020-02-02 08:38:15 -05:00
960 4b4e683957
Boost pr (#1114)
* boost control

* cleanup

* Delete rusefi_config.txt

* Add files via upload

* Delete rusefi_config.txt

* Add files via upload

* Update rusefi.input

* Update boost_control.cpp
2020-02-02 03:56:21 -05:00
Matthew Kennedy 3445b76f01 fix signed ignition timing (#1102) 2020-01-14 22:57:29 -05:00
Matthew Kennedy ecd240d6f2 AEM X-Series CAN Wideband Support (#1096)
* aem xseries

* parens to avoid operator precedence issues

* put in cfg

* disable that too

* fix sim/unit

* enough generated for ci

* this will guard correctly
2020-01-12 03:44:37 -05:00
rusefi 688107ed77 second channels for ETB related stuff 2020-01-11 01:08:41 -05:00
rusefi 07222f68c0 E30 M3 Tach output solution #907 2019-12-30 01:41:23 -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 6a193576be all pins improvement 2019-12-25 15:39:13 -05:00
rusEfi aacb921fc2 TS project repair 2019-12-22 20:15:00 -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 871f86967f Revert "DRAFT Shrink output channels, again (#1074)"
This reverts commit 562ce6cc
2019-12-21 15:02:49 -05:00
rusefi b9338b4047 Revert "reducing magic constants"
This reverts commit 032d8240
2019-12-21 15:02:17 -05:00
rusefi 8602379a32 Revert "trying to save build. it's a useful PR overall but :("
This reverts commit 9f191f0d
2019-12-21 15:01:22 -05:00
rusefi 9f191f0dd8 trying to save build. it's a useful PR overall but :( 2019-12-21 14:34:50 -05:00
rusefi 032d824064 reducing magic constants 2019-12-21 13:30:47 -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 59dcc004ac add settings to log debug & errors list (#1071) 2019-12-18 19:35:08 -05:00
Matthew Kennedy 1fe3fee0d3 only log acc if enabled (#1070) 2019-12-18 19:34:08 -05:00
Matthew Kennedy 2f0b25a476 don't log if disabled (#1067) 2019-12-18 14:39:38 -05:00
Matthew Kennedy 0a7884241d one source of truth (#1063) 2019-12-16 21:44:11 -05:00
Matthew Kennedy 9c481744a5 fix ts (#1058) 2019-12-14 09:33:06 -05:00
rusefi 0555d2170d TPS#2 calibration & fixing ETB in TS 2019-12-08 00:37:33 -05:00
rusefi 23c0d8646f Making UART/TTL pins configurable 2019-12-07 21:22:09 -05:00
andreika-git 3c8b28db0b Add GUI for binarySerialRxPin/binarySerialTxPin (#1047) 2019-12-07 21:19:21 -05:00
andreika-git 2a39c69f51 iacPidMultTbl + EFI_IDLE_PID_CIC + kinetis_hysteresis (#1043)
* rename EFI_IDLE_INCREMENTAL_PID_CIC -> EFI_IDLE_PID_CIC

* Impl. IacPidMultTable

* Kinetis: Trigger Comparator Hysteresis settings (+adaptive mode)
2019-12-04 00:37:32 -05:00
rusefi 2eab39d3ff auxFastSensor 2019-12-02 17:49:01 -05:00
andreika-git 3b352f6a3a 5V-compatible adcVcc + trigger_input_comp + Kinetis COMP driver impr. (#1036)
* adcVcc is not only for 3V STM32

* update ini files

* Kinetis: improve COMP driver

* Improve trigger_input_comp.cpp (hysteresis)
2019-12-01 12:08:55 -05:00
rusEfi 799027c2e9 all ETBs to run in same HW mode 2019-11-29 16:51:51 -05:00
andreika-git 1808642af1 Starter relay + Hardcoded 'FSIO' + simulator fix (#1032)
* Starter Relay: gui + built-in FSIO impl.

* Hardcoded 'FSIO' replacement for RAM-limited boards

* fix simulator
2019-11-25 20:08:01 -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 5c46ad25a7 review feedback 2019-11-03 10:36:35 -05:00
rusefi 5f01a3fb04
skeleton & docs (#995)
* Documentation additions and clarifications.

Added config/boards/skeleton/ as an example and starting point for
board-specific support.

* Describe where the generated files came from.

* Minor rewording

* Delete mistakenly added emacs backups

* Added an overall description and build notes
2019-11-03 08:41:14 -05:00
rusefi 6b477e95d5 'trigger angle offset' note 2019-10-29 16:20:56 -04:00
rusefi 54d1dd359a preparing for #979 2019-10-15 15:03:19 -04:00