Matthew Kennedy
cde642ae61
Blend tables can override Y axis
2024-01-17 02:43:04 -08:00
Matthew Kennedy
271e657137
separate config for secondary injectors
2024-01-17 02:20:16 -08:00
Matthew Kennedy
6b432ffef5
Actually separate injector model for second stage
2024-01-16 23:11:01 -08:00
rusefillc
304572349d
injectorStaging defaults ( #340 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-08 09:08:32 -08:00
Matthew Kennedy
9673ff01f3
implement staged injection ( #331 )
...
* output channel
* duty cycle etc math for second stage
* action_s utility
* basic enable switch
* staging fraction math
* implement staging logic
* wire up pins for second stage injectors
* staging UI
* Improve staged injection test, check scheduler arguments for other injection tests
* Stage 2 last pulse output channel, correct fuel consumption logic
* wall wet on the whole shot
* int vs size_t
* use a define instead of function so we get line numbers
* fix batch injection
* gauges
* bad test merge
* stub out secondary injector model
2024-01-07 15:22:39 -08:00
Matthew Kennedy
6865c5a521
signed/unsigned comparison
2024-01-06 18:31:39 -08:00
mi-hol
1d5c7fd220
clarify OBD error code CUSTOM_ERR_6566 to CUSTOM_ERR_CYL_ANGLE ( #330 )
...
* Update engine_math.cpp
* Update obd_error_codes.h
As suggested in https://github.com/FOME-Tech/fome-fw/pull/223#issuecomment-1684889630
2024-01-06 09:21:53 -08:00
Matthew Kennedy
1a27a37c9d
clamp injector model baro values to avoid whacky sensor killing engine
2023-12-22 21:41:31 -08:00
Matthew Kennedy
c7cc2de16f
sanity in IMU data names/ranges
2023-11-27 01:30:18 -08:00
GitHub gen-configs Action
9587a8207c
Auto-generated configs and docs
2023-11-27 00:57:34 +00:00
Matthew Kennedy
d35b833ead
support mk60e5
2023-11-26 16:51:29 -08:00
Matthew Kennedy
d274e98abc
better defaults
2023-11-16 22:45:31 -08:00
Matthew Kennedy
c81579b9de
dead piece of config
2023-11-16 22:23:58 -08:00
Matthew Kennedy
62980837b8
AlternatorController::onConfigurationChange
2023-11-12 19:56:22 -08:00
Matthew Kennedy
97c084cc24
fix simulator
2023-11-03 15:08:28 -07:00
GitHub gen-configs Action
d3944f62f8
Auto-generated configs and docs
2023-11-02 09:24:16 +00:00
Matthew Kennedy
17e8a74bb8
dead mafSensorType fix #284
2023-11-02 02:20:57 -07:00
Matthew Kennedy
ec676a1a83
shadow avoidance
2023-11-01 14:08:24 -07:00
Matthew Kennedy
ce2198270e
avoid some misc shadowing
2023-11-01 13:58:39 -07:00
GitHub gen-configs Action
1e86dc2fd4
Auto-generated configs and docs
2023-11-01 20:56:53 +00:00
Matthew Kennedy
36643bb7f4
dead pid auto tune
2023-11-01 13:54:48 -07:00
Matthew Kennedy
a538805627
missed override in gear detector
2023-10-24 01:23:51 -07:00
GitHub gen-configs Action
73503da7d6
Auto-generated configs and docs
2023-10-24 08:01:46 +00:00
Matthew Kennedy
3e564ae319
vvt target bump feature
2023-10-24 00:59:48 -07:00
Matthew Kennedy
7b955cb1b3
fixAngle -> wrapAngle
2023-10-19 14:34:29 -07:00
Matthew Kennedy
ad6c5af975
speedo output ( #269 )
...
* speedo output
* s
* fix init
2023-10-15 14:59:39 -07:00
Matthew Kennedy
38c873252e
smarter injector duty cycle limiting ( #215 )
...
* config for duty cycle limiting
* implement timeout duty cycle limiting
* comment
* make overlapping injections actually work!
* missed one
* test
* call addFuelEvents from fast callback
* update comment about why we call it again in main trigger callback
* one more extra call
* undo addFuelEvents change
* cleanup
* minor encapsulation
* fix
* changelog
* dead obd code
2023-10-14 14:27:19 -07:00
Matthew Kennedy
f1e84220e0
another dead code while we're here
2023-10-12 23:27:19 -07:00
Matthew Kennedy
5e01450fee
lock injection timing at high duty cycle to avoid skipped injections
2023-10-11 23:43:31 -07:00
Matthew Kennedy
f08c374b73
don't cut spark for hard rev limit by default
2023-10-11 15:57:24 -07:00
Matthew Kennedy
d5349044bc
guard for small can board
2023-10-03 01:08:14 -07:00
Matthew Kennedy
d98c6a9fc3
odometry output channels
2023-10-02 22:25:35 -07:00
Matthew Kennedy
768637aff1
trip odometer run time
2023-10-02 22:14:03 -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
4b354f047b
trip odometer ( #260 )
2023-09-25 13:16:17 -07:00
GitHub gen-configs Action
ce26ef8adf
Auto-generated configs and docs
2023-09-25 18:14:20 +00:00
Matthew Kennedy
3c001f759f
Miata presets ( #236 )
...
* rename existing
* rename existing
* 1.6 progress
* nb2 progress
* format
* stub nb1
* nb1 progress
* msm
* msm
* brake switch, MSM IAT
* gppwm, clutch pin
* cleanup
* allow setting lua heap size
* Revert "allow setting lua heap size"
This reverts commit 82533b5c7b
.
* guard 1.6
* everyone wins a more sensible tps/tps AE table
* guard for tests
* nb2 vvt angle tweak
* tweak tests for changed defaults
2023-09-25 11:12:34 -07:00
Matthew Kennedy
d734d2d116
remove warning message from configuration ( #259 )
...
* remove warning_message
* dead type
* don't zero a field that isn't there
2023-09-25 02:07:42 -07:00
mi-hol
fcf0da4798
comment unused OBD codes ( #223 )
2023-09-25 01:10:46 -07:00
Matthew Kennedy
21024e167d
can VSS scaling #253
2023-09-18 00:50:35 -07:00
Matthew Kennedy
17cb1444c7
add option to temperature compensate alpha-n
2023-09-16 23:21:03 -07:00
GitHub gen-configs Action
18528d8ca7
Auto-generated configs and docs
2023-09-17 06:09:52 +00:00
Matthew Kennedy
e34a341b54
Always log normalized cylinder filling #249
2023-09-16 23:07:32 -07:00
GitHub gen-configs Action
c907f4e567
Auto-generated configs and docs
2023-09-14 20:54:59 +00:00
Matthew Kennedy
4ddd1ffbdb
rename 2jz -> toyota 3 tooth
2023-09-14 13:53:16 -07:00
GitHub gen-configs Action
0f52a8761e
Auto-generated configs and docs
2023-09-13 22:42:57 +00:00
Matthew Kennedy
571c7e738b
Merge branch 'master' of https://github.com/fome-tech/fome-fw
2023-09-13 15:40:49 -07:00
Matthew Kennedy
cc0cd659d0
clean up debug channels
2023-09-13 15:40:43 -07:00
Matthew Kennedy
7ff224da12
Revert "debug channels cleanup"
...
This reverts commit 3b0d033dcd
.
2023-09-13 15:40:21 -07:00
Matthew Kennedy
900bc092de
Revert "debug channels cleanup"
...
This reverts commit c99a5890a1
.
2023-09-13 15:40:19 -07:00
GitHub gen-configs Action
15201c0d5c
Auto-generated configs and docs
2023-09-13 22:36:09 +00:00
Matthew Kennedy
c99a5890a1
debug channels cleanup
2023-09-13 15:34:25 -07:00
Matthew Kennedy
3b0d033dcd
debug channels cleanup
2023-09-13 15:34:17 -07:00
GitHub gen-configs Action
828715d47a
Auto-generated configs and docs
2023-09-13 19:25:28 +00:00
Matthew Kennedy
3df1ee9c5f
debug channel cleanups
2023-09-13 12:23:27 -07:00
GitHub gen-configs Action
0d1b489eae
Auto-generated configs and docs
2023-09-13 19:21:23 +00:00
Matthew Kennedy
0de6cd44cf
debug modes cleanup
2023-09-13 12:19:18 -07:00
Matthew Kennedy
727f3a7a76
boost is engine module
2023-09-07 12:41:56 -07:00
Matthew Kennedy
cb498f726a
boost control runs in fast callback
2023-09-07 12:32:21 -07:00
GitHub gen-configs Action
b2e00cb86b
Auto-generated configs and docs
2023-08-27 17:31:44 +00:00
Matthew Kennedy
5813c20a32
OpenBLT-based USB serial bootloader ( #228 )
...
* flash layout
* bootloader builds
* output name
* hard fp
* strip out dfu
* bootloader gets hardfault
* loader gets USB but not MSD
* kinda usb?
* USB enumerates!
* cleanup
* shared params
* nonfunctional openblt
* stub flash
* flash.h
* openblt responds over USB!
* implement flash driver
* blt conf, linker
* boards no longer need specific openblt files
* no ccache
* common_make.sh
* cleanup
* delete bootloader crust
* simplifying linker logic
* script tweaks
* flash layout is handled entirely by FOME flash driver
* simplify memcpy
* format
* comment
* dead
* makefiles cleanup
* cleanup
* h7 linker script for bootloader
* h7 bootloader build
* build script
2023-08-27 10:30:02 -07:00
Matthew Kennedy
cc271b5419
default prime pulse
2023-08-25 11:18:19 -07:00
Matthew Kennedy
9ab71c1b58
separate ign bench parameters ( #226 )
2023-08-19 07:17:11 -07:00
GitHub gen-configs Action
abcde332e2
Auto-generated configs and docs
2023-08-06 09:20:55 +00:00
Matthew Kennedy
f7bf589a8d
bench test buttons for fuel pump on/off #219
2023-08-06 02:19:00 -07:00
Matthew Kennedy
eebef2788c
Merge branch 'master' of https://github.com/fome-tech/fome-fw
2023-08-03 17:35:13 -07:00
Matthew Kennedy
f21eee0cca
bench test delay parameter is not useful
2023-08-03 17:34:55 -07:00
GitHub gen-configs Action
e4a7e95dbd
Auto-generated configs and docs
2023-08-04 00:22:07 +00:00
Matthew Kennedy
2f7f4d88a0
bench test cancellation #219
2023-08-03 17:18:20 -07:00
GitHub gen-configs Action
e427037015
Auto-generated configs and docs
2023-08-03 07:54:14 +00:00
Matthew Kennedy
94c29d4cfb
simplify cam input single tooth modes ( #178 )
2023-08-03 00:52:19 -07:00
GitHub gen-configs Action
1a0d35f567
Auto-generated configs and docs
2023-07-27 23:14:25 +00:00
Matthew Kennedy
75aa569de9
unused
2023-07-27 16:12:03 -07:00
Matthew Kennedy
8c293d5cb7
stale config
2023-07-27 15:10:24 -07:00
Matthew Kennedy
1d309460e7
CONFIG_RESET_SWITCH
2023-07-25 23:25:50 -07:00
Matthew Kennedy
6f4a4fc373
implement ignition timing clamping ( #212 )
...
* implement ignition timing clamping
* ui, improved comment
* wrap atdc timing correctly
* tests
2023-07-21 15:55:04 -07:00
Matthew Kennedy
fb8cb4987e
fan control is engine module ( #203 )
...
* fan is engine module
* mockable AC
* mockable AC
* mock AC controller in fan test
* constexpr fan livedata
* isPtr
2023-07-21 01:28:25 -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
GitHub gen-configs Action
62ad0beb1d
Auto-generated configs and docs
2023-07-19 07:23:44 +00:00
Matthew Kennedy
bed48892aa
new parser touches all input files ( #201 )
...
* begin the resurrection
* use hw ci build script
* Revert "use hw ci build script"
This reverts commit e97e693eea
.
* list serial ports
* bad merge
* Revert "list serial ports"
This reverts commit a29270405c
.
* Revert "bad merge"
This reverts commit ea2541110e
.
* unnecessary autoscales
* improve bad autoscale message
* bit group formatting
* formatting matching
* c struct writer mostly works
* tests and formatting alignment
* tests
* cherry pick potential hw ci fix
* format matching
* newparse reads live data files
* vvt scaling
* cleanup
* format matching
* format matching
* format matching
* format matching
* handle arrays of structs
* cleanup for merge
* jars
2023-07-19 00:21:41 -07:00
Matthew Kennedy
c36840d0c3
nix gauge generation
2023-07-18 11:39:39 -07:00
mi-hol
0975c783bd
fix apparent CopyPaste error assigning OBD fault ( #194 )
2023-07-17 02:35:35 -07:00
mi-hol
5b349c9bac
comment unused obd_error_codes ( #186 )
...
* comment unused obd_error_codes
* remove duplicated values
2023-07-09 13:22:06 -07:00
Matthew Kennedy
c59b7b3e99
move injector_model_s
2023-07-01 21:28:00 -07:00
GitHub gen-configs Action
406aeae039
Auto-generated configs and docs
2023-07-02 03:51:27 +00:00
Matthew Kennedy
565a5996c8
live data injector model
2023-07-01 20:51:01 -07:00
Matthew Kennedy
cef8b61c7c
sprinkle in some constexpr
2023-07-01 20:41:44 -07:00
Matthew Kennedy
98a4d9eda8
bench test uses a semaphore instead of flags+sleep ( #110 )
...
* bench test uses a semaphore instead of sleeping
* s
* dead error code
* guards
* set priority
* comment
2023-06-29 14:14:07 -07:00
Matthew Kennedy
242d9e1e7d
lambda protect defaults #75
2023-06-29 13:16:26 -07:00
Matthew Kennedy
a63930a5c4
lambda monitor wiring
2023-06-28 23:49:50 -07:00
Matthew Kennedy
ade14a956f
make spark and fuel more similar
2023-06-25 01:37:45 -07:00
Matthew Kennedy
d98e9d1d54
warn about fuel pressure sensor instead of error #111 #117
2023-06-23 01:27:24 -07:00
Matthew Kennedy
3337510d11
#35
2023-06-05 14:28:50 -07:00
Matthew Kennedy
dd6439eb41
f407 disco
2023-06-04 23:53:58 -07:00
Matthew Kennedy
b196b6ca04
switch boards to mostly not use LED config
2023-06-04 23:51:58 -07:00
Matthew Kennedy
4495b8dd17
add to header
2023-06-04 23:35:58 -07:00
GitHub gen-configs Action
63d74179bb
Auto-generated configs and docs
2023-06-01 20:49:31 +00:00
Matthew Kennedy
06b39dbb07
trigger and engine types -> enum class ( #113 )
...
* trigger type is enum class
* java tooling
* enum class engine_type_e
* enum class engine_type_e
2023-06-01 13:47:49 -07:00
Matthew Kennedy
8b5825adc4
indent formatting
2023-06-01 11:10:58 -07:00
Matthew Kennedy
41339c5418
change to log base timing
2023-05-31 11:22:41 -07:00
Matthew Kennedy
b1b1ec7fdf
add postState flag to airmass model calls #107
2023-05-15 17:18:35 -07:00
Matthew Kennedy
57263be2fe
mockable throttle model
2023-05-11 14:37:48 -07:00
Matthew Kennedy
bd45ebe88a
some strange pid limits
2023-05-05 17:39:16 -07:00
Matthew Kennedy
d2f697c8a1
txt formatting
2023-05-05 12:26:23 -07:00
GitHub gen-configs Action
a10ec0ab0c
Auto-generated configs and docs
2023-05-05 09:42:48 +00:00
Matthew Kennedy
18493f9083
TPS AE log cleanup
2023-05-05 02:34:48 -07:00
GitHub gen-configs Action
e8e3ea2ee2
Auto-generated configs and docs
2023-05-05 09:14:07 +00:00
Matthew Kennedy
a8fef36342
more log fields cleanup, lots of duplicates around fuel logic #98
2023-05-05 02:09:42 -07:00
GitHub gen-configs Action
cff4543e1a
Auto-generated configs and docs
2023-05-05 08:41:45 +00:00
Matthew Kennedy
0c80664f49
yet more field cleanup (and some dead ones?) #98
2023-05-05 01:37:46 -07:00
Matthew Kennedy
d0c645bad5
Add gego channel to make VE analyze happy #82
2023-05-04 14:22:36 -07:00
GitHub gen-configs Action
501014e972
Auto-generated configs and docs
2023-05-04 21:02:19 +00:00
Matthew Kennedy
c3092cb1ab
cool, logging duplicate stuff! #98
2023-05-04 14:00:18 -07:00
Matthew Kennedy
b33a103a08
ignition corrections
2023-05-04 13:53:06 -07:00
GitHub gen-configs Action
a6ff8604fe
Auto-generated configs and docs
2023-05-04 20:37:23 +00:00
Matthew Kennedy
37ee6af0ce
field naming #98
2023-05-04 13:33:00 -07:00
Nathan Schulte
166a08d1b5
set default MAP estimate axis values ( #96 )
...
move to default_fuel
fixes #93
2023-05-04 11:30:56 -07:00
Matthew Kennedy
f30e2ce0f2
selectable idle Y axis override ( #94 )
...
* selectable idle Y axis override
* changelog
2023-05-02 15:04:15 -07:00
Matthew Kennedy
d01fac09ed
gear detector doesn't need StoredValueSensor
2023-04-19 01:20:13 -07:00
Matthew Kennedy
d5f9479f28
ObdCode is enum class ( #77 )
...
* change ObdCode to enum class builds firmware
* test builds
* don't need this line at all
* can we go down to uint16_t?
2023-04-12 23:44:33 -07:00
Matthew Kennedy
778289455b
this warning is not useful fix #79
2023-04-12 19:42:44 -07:00
Matthew Kennedy
d6534157a0
rename obd_code_e -> ObdCode
2023-04-11 16:32:47 -07:00
Matthew Kennedy
cef6856f15
rename test binary
2023-04-11 16:26:15 -07:00
Matthew Kennedy
eb23fd5771
cherry pick wow unique IDs are not enforced?!
2023-04-11 15:47:18 -07:00
Matthew Kennedy
5e7a6dab90
rpm limit hysteresis
2023-04-10 11:37:20 -07:00
Matthew Kennedy
2f85cd60d4
use ECU-calculated blend table axis values
2023-04-02 13:56:42 -07:00
Matthew Kennedy
c682c49d46
register/unregister
2023-04-01 23:17:50 -07:00
Matthew Kennedy
82794403f8
gear detection in to the sensor model
2023-04-01 23:08:06 -07:00
GitHub gen-configs Action
d91e70de6f
Auto-generated configs and docs
2023-04-01 05:31:04 +00:00
Matthew Kennedy
f29b51d490
detected gear available as gppwm channel
2023-03-31 22:29:36 -07:00
GitHub gen-configs Action
996cfd2721
Auto-generated configs and docs
2023-03-27 08:38:48 +00:00
Matthew Kennedy
d1246174d2
rename triggerSimulatorFrequency -> triggerSimulatorRpm
2023-03-27 01:13:04 -07:00
Matthew Kennedy
f090a97b0b
remove specs_s struct, flatten config
2023-03-27 00:58:18 -07:00
Matthew Kennedy
bdeeb82f93
better idle VE table transition
2023-03-27 00:42:56 -07:00
Matthew Kennedy
65dbe06d78
Merge branch 'master' of https://github.com/fome-tech/fome-fw
2023-03-25 13:54:10 -07:00
Matthew Kennedy
cb0e81b062
support abs+gauge+diff fuel pressure #32
2023-03-25 13:53:16 -07:00
GitHub gen-configs Action
40b59b31fe
Auto-generated configs and docs
2023-03-25 20:42:01 +00:00
Matthew Kennedy
5834164d62
add config for fuel pressure sensor type #32
2023-03-25 12:56:08 -07:00
Matthew Kennedy
acbabe8387
Revert "gear ratio can't be negative, it's unsigned"
...
This reverts commit 37bf5400f7
.
2023-03-17 14:43:27 -07:00
Matthew Kennedy
37bf5400f7
gear ratio can't be negative, it's unsigned
2023-03-17 01:58:47 -07:00
Matthew Kennedy
e5d28022ad
spammy prints cleanup
2023-03-16 01:27:03 -07:00
Matthew Kennedy
6a05413e52
throttle model gets real max engine flow
2023-03-16 01:11:19 -07:00
GitHub gen-configs Action
723795a232
Auto-generated configs and docs
2023-03-15 19:34:12 +00:00
GitHub gen-configs Action
456229d49e
Auto-generated configs and docs
2023-03-15 18:57:35 +00:00
Matthew Kennedy
4e619c5494
stub throttle model generated
2023-03-14 20:12:35 -07:00
Matthew Kennedy
7ee63df142
Throttle model #63
2023-03-13 13:25:45 -07:00
Matthew Kennedy
718ad4a391
extract expected.h
2023-03-07 00:33:31 -08:00
GitHub gen-configs Action
0c23969738
Auto-generated configs and docs
2023-03-01 04:11:21 +00:00
Matthew Kennedy
0072e8f33c
nobody should use NA6 VAF
2023-02-28 20:04:47 -08:00