Matthew Kennedy
0e2709cd91
start refactoring towards OneCylinder
2025-01-18 01:03:44 -08:00
Matthew Kennedy
8e97cd4999
CAN cleanup
2024-12-26 00:34:00 -08:00
Matthew Kennedy
13a691c9a7
VVT target live data
2024-12-09 22:49:52 -08:00
Matthew Kennedy
a0bd4e5f9e
getVVTPosition returns expected<>
2024-09-12 20:50:25 -07:00
Matthew Kennedy
ff5e47c95d
Engine modules participate in the build system ( #452 )
...
* infrastructure for engine modules in the build
* fully move fuel pump
* fan
* gear detector
* gear detect
* fan control cleanup
* trip odometer
* shuffle makefiles around a little
* minor format
2024-07-23 18:05:43 -07:00
Matthew Kennedy
3080ad906f
divide, not multiply
2024-05-10 15:22:04 -07:00
Matthew Kennedy
8d84bdea51
scale it correctly
2024-05-09 22:30:18 -07:00
Matthew Kennedy
217a25865a
EGT on CAN
2024-05-09 22:28:34 -07:00
Matthew Kennedy
ec2be04b3f
improve CAN verbose rev limit signal
2024-04-15 11:45:46 -07:00
Matthew Kennedy
7ae1a6c82c
Add EGT to CAN format, add enable switches for frames #398
2024-03-21 13:45:53 -07:00
Piotr Rogowski
9be3fa4d12
Update DBC file and docs ( #278 )
...
* Update DBC file and docs
* Revert version
* Update Kvaser
2023-11-09 09:33:34 -05:00
Matthew Kennedy
2390f3d393
don't tx empty can frame
2023-10-30 23:36:50 -07:00
Matthew Kennedy
408862d69f
strongly type can bus index so we can't have the same bug again
2023-10-30 23:33:59 -07:00
Matthew Kennedy
39a54e5e93
require DLC on can TX
2023-10-30 18:50:49 -07:00
Stefan de Kraker
4e44e417b2
Fixed FOME CAN data bus selection ( #275 )
...
* Fixed FOME CAN data bus selection
* Made canChannel non-optional
2023-10-30 18:42:52 -07:00
Matthew Kennedy
958bf9d611
fuel/oil temp on CAN
2023-10-03 01:05:48 -07:00
Matthew Kennedy
7e77cb6c22
Add distance, fans to CAN protocol
2023-10-02 22:39:49 -07:00
Matthew Kennedy
4b354f047b
trip odometer ( #260 )
2023-09-25 13:16:17 -07:00
Matthew Kennedy
59430dfa91
wire up CAN bit for lambda protect
2023-06-29 00:10:18 -07:00
Matthew Kennedy
07f0360dd9
stub config for lambda protection #75
2023-06-23 02:14:13 -07:00
Matthew Kennedy
8b5825adc4
indent formatting
2023-06-01 11:10:58 -07:00
Matthew Kennedy
349d3a9b48
completely unused CanCategory
2023-05-30 22:13:54 -07:00
Matthew Kennedy
f9b9da9e92
add detected gear to CAN format, update dbc
2023-04-28 13:02:52 -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
rusefillc
41a8a90b3d
guards
2022-12-17 14:43:51 -05:00
rusefillc
c729b10bbe
refactoring: constexpr fuel computer ( #4830 )
...
* refactoring: constexpr fuel computer
* refactoring: constexpr fuel computer
* refactoring: constexpr fuel computer
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-11-26 12:25:04 -05:00
Matthew Kennedy
5e88098e56
can dbc update ( #4663 )
...
* can dbc update
* helpful comment
2022-10-13 20:24:29 -04:00
Andrey
e9e040895b
different file names for different entities
2022-09-04 23:11:19 -04:00
Andrey
e56924310b
tear down Engine god object #4511
...
just trying different things
2022-09-03 07:44:24 -04:00
Andrey
be790e2c44
less code is better
2022-08-31 23:14:20 -04:00
Matthew Kennedy
57263e9300
more CAN verbose ( #4402 )
...
* add stuff
* don't read invalid value
2022-08-01 15:27:06 -04:00
Matthew Kennedy
2c80b8cf19
implement CAN driver for simulator ( #4312 )
...
* stub simulator CAN driver
* comments
* CAN sensor
* maybe implement?
* s
* fix
* tx and rx actually work!?!?!
* check_can_isr
* modify chibios
* Sim has no CAN on Windows (for now?)
* safer init/deinit, enable assertions
* smarter handling of missing CAN device
* better guards
* guards for windows
2022-07-03 08:25:24 -04:00
rusefillc
4517c2cfe9
CAN category ( #4148 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-09 16:49:23 -04:00
Matthew Kennedy
8650686ab7
knock threshold table fix ( #4077 )
...
* fix knock threshold table
* defaults
* knock controller is engine module
* testable
* test builds
* knock tests work
* s
* format
* everyone loves changelogs
2022-04-18 08:03:16 -04:00
rusefillc
0331193695
very random progress
2022-04-16 16:49:59 -04:00
Matthew Kennedy
467f446e11
knock counter on CAN ( #4033 )
2022-04-03 06:58:11 -04:00
Andrey
72ae8dd4a1
migrating to SensorType::Rpm API
2022-01-20 22:22:52 -05:00
Matthew Kennedy
78119b7df4
improve maf output channels and logging ( #3743 )
...
* maf channels
* s
* binary log
* if only I could type
* can
* instant RPM too
* s
* test
* graceful zero rpm
* test works
* float near
2022-01-12 15:41:35 -05:00
Matthew Kennedy
aa8584d89a
calculate per-cylinder ignition timing ( #3652 )
...
* simplify cylinder phasing
* per cylinder timing
* s
* s
* s
* why was there a divide by 2?
2021-12-06 21:19:37 -05:00
Matthew Kennedy
2dda9bedb8
verbose CAN bits picker ( #3628 )
...
* verbose bits picker
* s
2021-11-28 14:59:26 -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
Matthew Kennedy
dab377d15d
getOrZero ( #3319 )
2021-10-05 19:59:07 -04:00
Matthew Kennedy
c6287aa326
more fuel info in verbose CAN ( #3229 )
...
* more fuel info
* missed a comma
2021-09-07 17:39:30 -04:00
Matthew Kennedy
f6e269a3ab
remove old vss implementation ( #3208 )
...
* dead vss
* remove
2021-08-28 01:39:55 -04:00
alxrMironov
9d1ce540c4
Begin "vehicleSpeed" refactoring. Module switched to "FunctionalPointerSensor" class. #3106 #3107 #3108 . ( #3132 )
...
* Add new sensor type "VehicleSpeed"
* Add "Vehicle speed" sensor to name list
* Add Vehicle speed sensor initialization with function pointer sensor.
* Add init_vehicle_speed_sensor.cpp to Makefile
* Replace dependencies from "getVehicleSpeed" to OOP-like "Sensor::get()"
* Add warning and TODO to "mock vehicle speed" call
* Replace get & mock "VehicleSpeed" methods in tests
* Remove #warning directive (cause error by current settings)
* Remove stray tab
* Remove explicitly type casting.
* Add "InitVehicleSpeedSensor" function declaration to init.h
* Add "VehicleSpeedSensor" initialization call into "InitNewSensors"
Co-authored-by: alxrMironov <330OMcorporative>
2021-08-12 22:16:51 +03: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
Andrey
a0d835ed1c
refactoring magic constant STOICH_RATIO
2021-05-20 02:39:20 -04:00
Matthew Kennedy
d7f9d42e07
Hook up multi bank fuel trim ( #2532 )
...
* multi bank trim
* cleaning
* output channels
* output channels
2021-05-08 17:41:50 -04:00
Matthew Kennedy
d6c9f1d84f
aux temp ( #2515 )
2021-03-31 22:54:59 -04:00