Commit Graph

60 Commits

Author SHA1 Message Date
Matthew Kennedy 4195655661 VVT: ramp in target once allowed to control VVT 2025-04-12 00:24:18 -07:00
Matthew Kennedy 09ed0d4998 VVT: add clt condition 2025-04-12 00:24:00 -07:00
Matthew Kennedy 86019ef085 don't pass around a scheduler to all PWM, get it from engine 2025-03-02 12:31:30 -08:00
Matthew Kennedy a58407ad0a move vvt pid in to vvt 2025-01-13 20:38:20 -08:00
Matthew Kennedy e4d6e61a78 remove pid_s::periodMs, the user shouldn't set this 2024-12-23 13:12:31 -08:00
Matthew Kennedy 13a691c9a7 VVT target live data 2024-12-09 22:49:52 -08:00
Matthew Kennedy c880ba4ec5 int rpm -> float rpm 2024-09-24 23:54:54 -07:00
Matthew Kennedy ff79396208 clamp VVT voltage compensation to avoid insanity 2024-08-13 14:37:05 -07:00
Matthew Kennedy ebc102aa08 name VVT PWMs 2024-08-13 14:36:51 -07:00
Matthew Kennedy dd8dea61c0 rename Executor -> Scheduler 2024-07-11 17:03:13 -07:00
Matthew Kennedy bb1d5f26d2 for loop formatting 2024-07-03 00:22:48 -07:00
Matthew Kennedy 5d0d3fd120 behave yourselves with null previousConfig 2024-05-03 22:10:42 -07:00
Matthew Kennedy 93cf484081 vvt guard 2023-11-03 15:32:07 -07:00
Matthew Kennedy 71dc7b715e avoid more shadowing 2023-11-01 15:52:30 -07:00
Matthew Kennedy d040e0982c use correct cam PID 2023-10-24 01:09:11 -07:00
Matthew Kennedy 3e564ae319 vvt target bump feature 2023-10-24 00:59:48 -07:00
rusefillc 7ad5b00f2e
refactoring: vvt is not aux (#263)
* refactoring: vvt is not aux

(cherry picked from commit 6b4c4a583316a32d7723c2cfa16cda39fa9afb1b)

* this repo has VVT conditional at small-can-board
2023-09-27 00:59:04 -07:00
Matthew Kennedy a0d64ea0ad use onConfigurationChange instead of version holder 2023-09-26 17:49:33 -07:00
Matthew Kennedy c7a7f7467c voltage compensated vvt #209 2023-07-21 02:30:58 -07:00
Matthew Kennedy e2550105b8
vvt is engine module (#202)
* vvt refactoring

* vvt constexpr livedata

* format

* fix null deref
2023-07-19 22:16:29 -07:00
Matthew Kennedy 75e90b57dc little bit of real vvt data 2023-07-01 21:58:40 -07:00
Matthew Kennedy d17d902f24 stub vvt live data 2023-07-01 21:08:50 -07:00
Matthew Kennedy 8b5825adc4 indent formatting 2023-06-01 11:10:58 -07:00
Matthew Kennedy e6e16e80b6 unused 2023-03-06 01:04:00 -08:00
rusefillc ba3d482340 What is "Aux PID"? #4807 2022-11-21 00:10:35 -05:00
rusefillc 6764988226 https://github.com/rusefi/alphax-4chan/issues/77 2022-11-20 16:42:44 -05:00
rusefillc 58ae901639 VVT minimum RPM fix #4545 2022-09-27 22:41:26 -04:00
rusefillc 8ba835fb58 refactoring: renaming method 2022-09-27 22:21:18 -04:00
Matthew Kennedy ea733ecbf0 fix inverted vvt (#4464)
* fix inverted mode

* unit tests are great
2022-08-20 20:12:32 -04:00
rusefillc dfd4953f0d unconditional VVT PID logging 2022-08-17 00:47:31 -04:00
Matthew Kennedy 66b4523575 add option to invert vvt control (#4425)
* add option to invert vvt control

* s

* s

* s

* one bit per cam type

* move the space

* I don't spelling good

* changelog
2022-08-09 16:22:55 -04:00
rusefillc 6e7ebf9e5e VVT target to allow negative values fix #4424 2022-08-08 22:51:51 -04:00
Matthew Kennedy efdae2322d Start -> start (#4366) 2022-07-21 15:17:32 -04:00
rusefillc 0331193695 very random progress 2022-04-16 16:49:59 -04:00
rusefillc c93594cd1b random progress 2022-04-16 16:39:52 -04:00
rusefillc 5f288d88dc do not control VVT during cranking fix #3443 2022-04-10 19:22:39 -04:00
Matthew Kennedy 4c2518c4c0 output channel tweaks (#4023)
* shuffle around output channels

* postState should take a ref

* s

* s

* patch input file

* limits

* accel bad bounds check

* units

* units

* Revert "accel bad bounds check"

This reverts commit b2bb493be331d5d2cf40b9ed01363a53182c883e.

* missed an autoscale
2022-03-24 08:58:55 -04:00
Matthew Kennedy 28b6cce9d9 Remove fsio part 1 (#3871)
* dead includes

* move last logic out of fsio

* dead functions
2022-02-01 15:42:04 -05:00
Andrey e1f1f28045 migrating to SensorType::Rpm API 2022-01-20 22:31:07 -05:00
Matthew Kennedy c92f6b832b ui & config for fuel/ign trim tables (#3704)
* ui & config

* bump flash version

* compaction

* s

* make things happy

* fsio too

* OK, well those defaults were insane

* b

* why are these defaults insane

* adjust cylinder offset ui

* s

* cleanup
2021-12-20 21:58:53 -05:00
Andrey d2c46b3310 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
rusefillc c01192acf6 proteus to have enlarged Lua
one step back
2021-11-30 22:35:29 -05:00
rusefillc 7760ddd8b6 live data for wastegate #3588
i want to persist state so no 'const' sorry
2021-11-23 15:52:43 -05:00
Scott Smith 80091498a6 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 dac2ae9b1d 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 7296593448 remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
Matthew Kennedy bd04dc8352 less macro, more c++ (#3549)
* less macro

* s
2021-11-15 12:44:40 +01:00
Matthew Kennedy 8ee86e0789 log vvt targets (#3417)
* log vvt target

* java

* make java happy probably

* sensorlogger
2021-11-02 15:03:57 -04:00
rusefillc 40bf6a93d0 VVT is no longer aux pid 2021-10-28 23:51:46 -04:00
rusefillc 6247a50662 Revert "Revert "memory savings (#3195)""
This reverts commit 86cf9cf7
2021-08-27 06:18:05 -04:00