Commit Graph

87 Commits

Author SHA1 Message Date
rusefillc bdcc9ad067 pedal calibration 2022-01-27 20:10:55 -05:00
Matthew Kennedy d3ec2b21d1 Use pch in lots of files (#3066)
* most engine.h

* most engine_configuration

* more

* more

* more

* more

* more

* moooooore

* ok I'm done for now

* oops
2021-07-26 01:05:17 -04:00
Matthew Kennedy e3849b95d5 don't require EXTERN_ENGINE in every file (#2969)
* move enginePins

* no more extern engine

* uses

* more

* extern config too

* put this where it belongs

* include correct header

* merge
2021-07-16 18:13:33 -04:00
Matthew Kennedy 95ef31da67 Goodbye, old TPS (#1266)
* clear out tps

* boost control

* aux valves

* launch, aux valves

* unused field
2020-04-05 19:33:33 -04:00
Matthew Kennedy 44bb09d1a4 yet more tps consumers (#1258)
* advance_map

* tests

* unneeded

* idle

* use driver intent instead

* and obd and lcd

* engine load

* ve lookup

* unused

* oops we needed that

* oops needed that too

* mocking

* test mocks

* oops

* helps to use the right sensor

* and cylinder cleanup

* fuel math

* typo

* old tests

* kill dead stuff

* cleanup

* more

* fix

* test

* s

* fix signature

* fix test

* comment

* priming pulse

* remove mock tps

* remove more dead

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-05 09:11:25 -04:00
Matthew Kennedy 7e4f4ca97e Replace hasPedalPositionSensor (#1245)
* remove

* add Sensor::hasSensor

* consume in etb

* remove unused state

* don't use it there either

* format

* fix up tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:04:12 -04:00
Matthew Kennedy 8235d8d765 Fully switch acc pedal to new sensors (#1212)
* proxy sensor

* header

* idle

* can

* settings

* remove old mocking

* remove old impl

* etb

* oops, gotta actually register it

* fix test

* structured bindings ftw!

* driver intent for stepper

* tear out old

* oops too much
2020-04-01 20:21:03 -04:00
rusefi fe604f71b8 CAN progress 2020-03-31 16:49:19 -04:00
rusEfi 44fdb83844 dual ETB progress 2020-03-24 20:22:01 -04:00
Matthew Kennedy fefb5e3b1a Pedal rx shim (#1207)
* rx pedal over can

* guard

* guard

* don't cast away qualifiers
2020-03-21 22:35:27 -04:00
Matthew Kennedy 2ae689073a Grow CAN TX stack (#1201)
* grow

* check mock first
2020-03-19 19:29:56 -04:00
Matthew Kennedy 5c4329dbf2 tps header cleanup (#1130)
* tps header cleanup

* dead code
2020-02-07 23:20:14 -03:00
Matthew Kennedy eb472c49b2 Use new sensors for TPS (#1111)
* tps init

* fix init

* call init

* use correct sensors, scale using constant

* includes

* handle error
2020-02-04 01:54:05 -05: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 20a6cf130f better method name 2020-01-10 02:02:22 -05:00
rusefi 63e3e84e08 happy new year 2020-01-08 00:02:40 -05:00
rusefi 2c296c0f18 etbActualCount logic to handle the scenario where only one ETB is present 2019-12-13 12:50:34 -05:00
rusEfi 52c15a7d9b dual-ETB progress 2019-12-10 00:07:46 -05:00
rusefi 4d6052c9f3 dual ETB seems to work! 2019-11-29 20:15:29 -05:00
rusEfi 13d4ae2169 dual ETB seems to work! 2019-11-29 19:06:50 -05:00
rusefi 658dac889c ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
rusEfi 53ae54e8cc ETB target is using integer values #945
first we will write a unit test
2019-09-22 00:16:46 -04:00
rusefi 03d71bedeb reducing complexity 2019-09-20 01:06:15 -04:00
rusefi c8bd1b68b1 pedal calibration into status message 2019-09-02 22:58:36 -04:00
rusEfi 8f10e85d03 mock PPS voltage command in addition to mock PPS position
ETB pane progress
2019-09-01 17:35:43 -04:00
rusEfi 7bf75b43b6 showing 'before' values while changing TPS settings 2019-09-01 16:11:35 -04:00
rusefi 8be592f3d4 Live Data progress 2019-09-01 13:56:46 -04:00
rusefi 6fc1b1dc88 typo 2019-08-31 23:32:33 -04:00
rusefi 2164661274 undoing wrong fix & better fix for #805
also generator logging improvements
This reverts commit 96270758c9.
2019-06-30 14:28:47 -04:00
rusefi 2120e4827a Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-30 13:24:55 -04:00
rusefi d0e4a0984f Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-27 06:47:13 -04:00
rusefi 96270758c9 "Calibrate TPS" broken in TS fix #805 2019-06-17 22:00:34 -04:00
rusefi 0b843819eb TPS Live Documentation 2019-06-17 21:37:11 -04:00
rusefi 998345ef9e unit tests should not have global context, including mock values 2019-05-27 15:56:12 -04:00
rusefi e557a30193 messing with TPS mocking 2019-05-27 14:21:12 -04:00
rusefi 2c24571ddb dreams of two ETBs 2019-05-05 12:02:42 -04:00
rusefi 899b96eec2 ETB tiny progress 2019-04-30 18:46:39 -04:00
rusEfi 67e8adf6f5 ETB micro progress 2019-04-30 01:21:09 -04:00
rusefi dacf305011 docs 2019-04-24 17:00:05 -04:00
rusefi 884c54a185 defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
rusEfi c5be9840e9 new 'etbreset' command 2019-03-02 15:04:42 -05:00
dron0gus 2027977e2c warning cleanup (#693)
* Kill annoing warnings about unused vars

* Kill annoing signed vs unsigned warnings

* Make ALWAYS_INLINE macro realy inlining

* Incorrect attribute placement.

While correct attribute placement cause ram4 overflow.
Move to correct place (to avoid gcc-2018-q4 errors) and comment
out.

* Silence -Wcast-function-type warnings

Cast to intermediate "void *" to lose compiler knowledge about the original
type and pass the warning. This is a workaround.
2019-02-21 05:44:45 -05:00
rusefi aba0f44df5 NA6 progress
A/C toggle switch indicator in TS
renaming "pedalPosition" to "throttlePedalPosition"
2019-01-27 00:02:58 -05:00
rusEfi d93f3ecd89 better? field name 2018-11-30 00:17:55 -05:00
rusefi 58d6363f3a more detailed warning 2018-06-12 05:45:11 -04:00
rusEfi 0c1d76572d docs 2018-01-30 22:04:33 -05:00
rusefi adfe5e9274 #65
explicit precision control
2018-01-23 12:05:14 -05:00
rusefi f5a4376036 happy new year 2018-01-20 20:55:31 -05:00
rusefi 415bc28298 fixing build 2017-11-24 19:16:00 -05:00
rusefi b4b032cc14 #494 2017-11-16 14:44:53 -05:00