Matthew Kennedy
a8356ae578
baro pressure -> gppwm channel option
2024-01-17 10:30:53 -05:00
rusefillc
e384914c95
only:variable shadowing should be avoided #5676
2023-11-01 13:02:20 -04:00
Matthew Kennedy
4e7e25585e
gear detection in to the sensor model
...
(cherry picked from commit 82794403f86023d36a211e349ca2ff530eb2eb3c)
2023-04-30 10:54:38 -04:00
rusefillc
67883f228f
kinetis help
2023-04-30 10:18:24 -04:00
Andrey
6656c2ae88
guard to help kinetis
2023-04-30 01:49:21 -04:00
Matthew Kennedy
12381ed0af
detected gear available as gppwm channel
...
(cherry picked from commit f29b51d490e44c73288df50d63f24b23c8cd3545)
2023-04-30 01:27:05 -04:00
Matthew Kennedy
61e5b4b1ad
change ObdCode to enum class builds firmware
2023-04-29 00:44:00 -04:00
Matthew Kennedy
dc6f53bda5
extract newton's method implementation ( #5157 )
...
* move expected, update libfirmware
* hellen ID solver uses shared Newton's method
* comment shouldn't have been moved
2023-03-07 08:45:17 -05:00
Matthew Kennedy
fa9fe1754b
single character typo ( #5107 )
2023-02-20 04:04:34 -05:00
Matthew Kennedy
6e89e71d0a
more flexible GPPWM ( #5032 )
...
* gppwm improvements!
* test
* ui
* autoscale
2023-02-06 08:53:31 -04:00
rusefillc
2b4d58005b
guards
2022-12-17 14:43:51 -05:00
rusefillc
a32531ee60
What is "Aux PID"? #4807
2022-11-21 00:10:35 -05:00
rusefillc
17fd8e53c3
What is "Aux PID"? fix #4807
2022-11-20 18:27:51 -05:00
rusefillc
e16c8f9120
Lua aux gauge #4672
2022-10-17 21:21:23 -04:00
Matthew Kennedy
57a22fd713
gppwm load axis can be another GPPWM channel (!!!!!) ( #4587 )
...
* gppwm load axis can be another GPPWM channel (!!!!!)
* explicit cast
* efiAssert not void
* kick
2022-09-17 21:38:06 -04:00
Matthew Kennedy
8ea31909a3
add ignition adder tables ( #4586 )
...
* ign blend tables
* tweaks
* iterate
* tweaks
* axis values
* changelog
2022-09-16 20:07:04 -04:00
Matthew Kennedy
87649b9f72
more gppwm options ( #4585 )
...
* more gppwm options
* fix ui
* gppwm list size
2022-09-16 16:04:03 -04:00
Matthew Kennedy
d4b8a036af
Log gppwm output values ( #4385 )
...
* remove debug option
* purpose built output channels
* name
* embiggen sd log buffer
* Revert "embiggen sd log buffer"
This reverts commit 37432a56535b24c221ae92e9aaded23de4d4a579.
* embiggen SD log buffer
2022-07-27 12:10:00 +03:00
Andrey
1bd71e4b2e
migrating to SensorType::Rpm API
2022-01-20 23:54:52 -05:00
Matthew Kennedy
a4871c703c
Autoscale all the things! ( #3713 )
...
* Map3D accepts any scaled_channel type
* consistency
* reinstate test
* fix ratio
* throttle, boost, gppwm
* scale ignition and VE
* tests
2021-12-22 08:09:41 -05:00
Andrey
940b04ab24
Let's always have TS structure so that unit tests can check values in outputChannels, kind of making outputChannels a god dump for state but whatever since Live View is coming
2021-12-07 20:18:47 -05:00
Scott Smith
69d36dad6e
Final cleanup of ENGINE macros ( #3567 )
...
Fix some uses of ENGINE() not detected by regex due to parenthesis.
Remove now empty engine_ptr.h
Don't worry about EFI_* not being defined, the compiler defaults to 0 if they aren't.
2021-11-17 13:45:10 -05:00
Scott Smith
823d9a07e0
Programmatically replace ENGINE() and CONFIG() with engine-> etc ( #3565 )
...
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"
git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Scott Smith
cc95bd6c8e
Programmatically remove EnginePtr/inject, EXPAND_Engine, and WITH_ENGINE_TEST_HELPER* ( #3560 )
...
* Programmatically remove EnginePtr/inject, EXPAND_Engine, and WITH_ENGINE_TEST_HELPER*
for i in ": public EnginePtr " ", public EnginePtr" "EXPAND_Engine;" "EXPAND_Engine"; do
git grep -l "$i" | xargs sed -i "s/$i//g"
done
git grep -l "inject" | xargs sed -i "/inject[(][)]/d"
for i in WITH_ENGINE_TEST_HELPER_SENS WITH_ENGINE_TEST_HELPER_BOARD_CALLBACK WITH_ENGINE_TEST_HELPER; do
git grep -l "$i" | xargs sed -i "s/$i/EngineTestHelper eth/g"
done
git checkout firmware/controllers/core/engine_ptr.h
git checkout unit_tests/global.h
* Review fixups.
2021-11-16 16:52:11 -05:00
Matthew Kennedy
8cdac4cac0
remove engine pointer passing ( #3556 )
...
* some
* more
* more
* the last?!
2021-11-16 04:15:29 -05:00
Matthew Kennedy
145316c497
less macro, more c++ ( #3549 )
...
* less macro
* s
2021-11-15 12:44:40 +01:00
rusefillc
8c9ff949fe
thank you Nik - dealing with false positive CUSTOM_OBD_LOW_FREQUENCY
2021-09-06 08:09:14 -04:00
rusefillc
0bdf334a8a
hysteresis for GPPWM #3222
2021-09-06 07:58:17 -04:00
rusefillc
43bdabeb0c
hysteresis for GPPWM #3222
2021-09-06 07:21:17 -04:00
rusefillc
36792f55b5
hysteresis for GPPWM #3222
2021-09-05 20:18:14 -04:00
rusefillc
58c2bf8930
hysteresis for GPPWM #3222
2021-09-05 20:16:57 -04:00
Andrey
3ed50dbea7
SD-card log fields improvement (warning counter & last code) #3162
2021-09-05 14:43:35 -04:00
Matthew Kennedy
ab49f61a83
gppwm vbatt axis ( #3088 )
2021-07-31 21:20:19 -04:00
Matthew Kennedy
b52d50bbf2
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
2ce7777865
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
5e08907590
knock sensing peak detect ( #2910 )
...
* knock peak detect
* comments
* comment
* initialize
* test
* fix warnings while we're here
* those are functions, not values
* ram
2021-07-06 21:44:59 -04:00
Matthew Kennedy
1bca4843fe
test dc_motor.cpp ( #2890 )
...
* use ipwm where possible
* mock ipwm
* initialize
* test
2021-07-01 09:21:18 -04:00
Matthew Kennedy
3ef969d743
warnings & assorted cleanup ( #2793 )
...
* lua hook
* validateBuffer
* tables
* simplify fsio table
* test
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-03 14:30:25 -04:00
Matthew Kennedy
2667810942
add pedal to gppwm ( #2748 )
...
* add pedal to gppwm
* string
2021-05-28 03:38:45 -04:00
Matthew Kennedy
15a8dab795
gppwm zero option ( #2557 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-15 01:08:34 -04:00
Matthew Kennedy
f05b8ba675
More gppwm and fsio ( #2509 )
...
* gppwm aux temp
* fsio fuel flow rate and oil pressure
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-29 08:57:37 -04:00
Andrey G
2af32084f4
gpio helper ( #2195 )
...
* gpios: isBrainPinValid helper
* LCD HD44780: do not touch pins if DM_NONE or invalid gpio
* Fix isEnabled checks for GPS and Joystick
* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
Matthew Kennedy
acdf6fdc85
Put map in the sensor model ( #2161 )
...
* hook up map
* check for init
* switch some consumers
* don't do limp for now
* oops
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:43:49 -05:00
Matthew Kennedy
d992bab241
Move all DECLARE_ENGINE_PTR etc to one place ( #1937 )
...
* restructure
* guard c++
* idle too
* status_loop.h
2020-11-11 19:06:04 -05:00
Matthew Kennedy
6605877326
gppwm debug ( #1895 )
...
* dbg gppwm
* fix channel
* TS guard
2020-10-21 22:49:38 -04:00
rusefi
9060aff46c
code style
2020-10-21 22:13:18 -04:00
rusefi
2ce0bef9b9
refactoring
2020-10-19 22:44:44 -04:00
rusefi
675cce3854
less hacky testing implementation
2020-09-03 22:52:29 -04:00
Matthew Kennedy
5e681cac1a
add new options
2020-07-23 02:51:08 -07:00
Matthew Kennedy
b906d12268
Fix gppwm properly ( #1487 )
...
* directly control output in onoff mode
* test fixing
2020-06-11 20:43:26 -04:00