Commit Graph

183 Commits

Author SHA1 Message Date
rusefillc 41a6026481 removing some unused debug 2022-07-11 02:57:31 -04:00
Matthew Kennedy cc9554e4b2
Respond to OBD2 on the same bus we got the request on (#4330)
* obd replies on the same bus as the request

* comment

* missed one
2022-07-08 05:25:35 +03:00
Matthew Kennedy a95bc3ad03
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 1182db2b3c B6 shutdown Lua and else 2022-06-19 20:06:03 -04:00
rusefillc c3675be034
Update readme.md 2022-06-15 22:08:57 -04:00
rusefillc ca1c15424d
Rename readme.me to readme.md 2022-06-01 09:37:49 -04:00
rusefillc e435ceb6ea
Update readme.me 2022-06-01 09:37:35 -04:00
rusefillc 7afcb349e6
Create readme.me 2022-06-01 09:37:17 -04:00
Matthew Kennedy a5eb91f1b7
update wideband firmware (#4186)
* use header from wideband

* update wideband

* we can use master now
2022-05-29 13:49:51 -04:00
Matthew Kennedy 2ce57efd1f
properly print extended CAN ids (#4182)
* print ext ids correctly

* string format

* comment
2022-05-18 16:55:14 -04:00
rusefillc 683a723d2f
CAN category (#4148)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-09 16:49:23 -04:00
Matthew Kennedy 16de438ab8
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 70e4d118ef very random progress 2022-04-16 17:04:35 -04:00
rusefillc c023056d2d very random progress 2022-04-16 16:49:59 -04:00
Matthew Kennedy 4bb728a687
knock counter on CAN (#4033) 2022-04-03 06:58:11 -04:00
rusefillc 4d7efd7fbc
Add Intake Air Temperature, Add Fuel Level (#4028)
Co-authored-by: hugovw1976 <hugovw1976@hotmail.com>
2022-03-30 18:15:55 -04:00
rusefillc 2ec769c66d explicit error for forgotten NBC 2022-03-23 20:48:59 -04:00
rusefillc 53623142dd explicit error for forgotten NBC 2022-03-23 19:47:10 -04:00
rusefillc f490b49997 canDashboardHaltech 2022-03-23 10:53:13 -04:00
Matthew Kennedy 4e57daf6d7
test AEM X-Series wideband protocol (#4002)
* break out acceptFrame, test CanListener

* test AEM xseries protocol

* tweaks

* tweaks

* maybe everyone compiles happily now
2022-03-15 15:52:50 -04:00
Matthew Kennedy a0f114a9a2
break out acceptFrame, test CanListener (#4001) 2022-03-14 19:09:01 -04:00
Benas Brazdziunas e9327e6f5f
Moved multiplier/divider to scaled_channel factor (#3924)
* Moved multipiers and dividers to scaled_channel

* added linkto AIM can protocol
2022-02-11 21:02:19 -05:00
Benas Brazdziunas c0e28e35bc
AIM dash TPS, CLT,IAT, and Batt V fix (#3922) 2022-02-11 18:42:51 -05:00
rusefillc 5eeac56f52 per-bus verbose flag 2022-02-10 10:12:48 -05:00
rusefillc af7916929c reducing the mess 2022-02-10 01:51:27 -05:00
Andrey G 76e3622ce6
imu: add support for Mercedes pn: A 006 542 26 18 (#3902) 2022-02-08 16:29:01 -05:00
rusefillc 7f36b13dd7 B6 2022-02-04 00:47:19 -05:00
Matthew Kennedy c6f45c5022
warnings fixes (#3851)
* unused things

* !!! actual bug !!!

* dead

* unused

* unused

* multi-bus lua RX was just broken

* make the compiler angry about it

* dead config

* alphax 2

* just call, no store

* compiler too angry
2022-01-31 18:37:42 -05:00
Matthew Kennedy f5d4690fe1
baro fully in sensor model (#3829)
* consumers and api

* dead test

* baro uses sensor model

* remove old (copy of?) map lookup logic

* I guess we don't need FastInterpolation any more?

* don't double init analog input
2022-01-23 09:42:11 -05:00
Andrey cda2b711cf migrating to SensorType::Rpm API 2022-01-20 23:32:59 -05:00
Andrey 3b6ecb432b migrating to SensorType::Rpm API 2022-01-20 22:38:08 -05:00
Andrey 8361b6d1f6 migrating to SensorType::Rpm API 2022-01-20 22:22:52 -05:00
rusefillc 0a31061da7 Revert "support better wbo format (#3740)"
This reverts commit cc9fdd97
2022-01-15 23:02:11 -05:00
Matthew Kennedy 7d341cfc9d
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
rusefillc 270bd239d4 B6 2022-01-10 13:06:19 -05:00
Matthew Kennedy 80817190fb
hotfix (#3765) 2022-01-10 08:35:36 -05:00
rusefillc 90419841df B6 2022-01-09 21:16:24 -05:00
Matthew Kennedy cc9fdd9757
support better wbo format (#3740)
* new format

* comment

* pr feedback

* heater duty

* extra
2022-01-07 16:04:30 -05:00
rusefillc 561a466cdb E65 2021-12-24 17:35:27 -05:00
rusefillc 63c6621dd0 E65 2021-12-23 16:59:30 -05:00
rusefillc 713e9133b5 E65 2021-12-23 16:41:06 -05:00
rusefillc a2bf7616ae Second CAN #3687 2021-12-21 01:17:02 -05:00
rusefillc 7b0179aaa3 Second CAN #3687 2021-12-21 00:48:13 -05:00
rusefillc b1c8e86d97 BMW CAN 2021-12-19 22:08:48 -05:00
rusefillc c2a5c0185f BMW CAN 2021-12-19 15:52:08 -05:00
rusefillc dbf5d7f6d3 BMW CAN 2021-12-19 13:23:37 -05:00
rusefillc 3a33e59b86 rusEFI console ISO-TP via PCAN #3667 2021-12-08 12:01:28 -05:00
rusefillc f104e4cc2f rusEFI console ISO-TP via PCAN #3667 2021-12-08 11:55:34 -05:00
Matthew Kennedy c83e8ae5a5
AiM dash (#3673)
* aim dash

* enum
2021-12-08 07:04:59 -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