Commit Graph

14078 Commits

Author SHA1 Message Date
Matthew Kennedy a4973a6f3d
fan/AC idle improvements (#2818)
* fan 2 open loop bump

* we had an AC target bump all this time?!

* format

* enable test

* I can't type
2021-06-15 17:30:35 -04:00
GitHub set-date Action f10607e6d5 Update date 2021-06-15 00:58:38 +00:00
GitHub build-firmware Action c264b94ba6 Auto-generated configs and docs 2021-06-14 01:39:17 +00:00
Andrey 3cf8244d46 Review default H64 tune #2815 2021-06-13 21:28:57 -04:00
Andrey 640097f327 Review default H64 tune #2815 2021-06-13 21:27:03 -04:00
Andrey 3c62881fe8 Review default H64 tune #2815 2021-06-13 21:17:22 -04:00
GitHub set-date Action 6670077dba Update date 2021-06-14 00:54:30 +00:00
GitHub build-firmware Action 2c135cf838 Auto-generated configs and docs 2021-06-14 00:43:24 +00:00
Andrey a1fa9719c9 Review default H64 tune #2815 2021-06-13 20:40:28 -04:00
Andrey 67f9e5a595 forgotten MPX4100 sensor 2021-06-13 20:30:51 -04:00
GitHub build-firmware Action b8a6c15881 Auto-generated configs and docs 2021-06-13 12:09:09 +00:00
Matthew Kennedy 097bf85faf
dual fans (#2806)
* remove fsio

* hard code impl

* test it

* enable fan with AC

* make commented stuff match

* second fan config

* second fan ui

* defaults

* impl
2021-06-13 08:06:45 -04:00
GitHub build-firmware Action ca2244a043 Auto-generated configs and docs 2021-06-13 12:01:23 +00:00
Matthew Kennedy 7d2057e74a
remove cranking dwell angle (#2814)
* config & impl

* settings

* engines & boards

* this test doesn't do anything interesting
2021-06-13 07:52:07 -04:00
GitHub set-date Action 12191bfcec Update date 2021-06-13 00:58:08 +00:00
Matthew Kennedy 15d172ab08
apply open loop idle when in automatic mode (#2745)
* always apply open loop in closed loop

* simplify flags

* comment

* move

* comment

* missed one

* config for fan bump

* adjust miata defaults

* test fan/ac open loop

* idle CL tests

* test coasting

* test integration case

* fix merge

* put back reset logic for now

* s

* don't need that part

* I guess use OL as baseIdlePosition

* reset condition
2021-06-12 14:21:11 -04:00
GitHub build-firmware Action e94bf1fc6e Auto-generated configs and docs 2021-06-12 18:07:43 +00:00
Andrey 158296f990 reverting TCU cherry pick 2021-06-12 13:52:18 -04:00
Andrey 4182eccbf3 random trick 2021-06-12 13:48:37 -04:00
Andrey 76cd257221 sorry last change for trans selector 2021-06-12 13:00:54 -04:00
Andrey 62160c6e86 helping build 2021-06-12 07:32:12 -04:00
GitHub build-firmware Action 74c4d4ea7f Auto-generated configs and docs 2021-06-12 11:28:45 +00:00
Andrey 0432d689b4 helping build 2021-06-12 07:26:16 -04:00
rusefillc 4bd0ea04d2 TCU cherry 2021-06-12 07:06:57 -04:00
GitHub build-firmware Action 6eed4b6c90 Auto-generated configs and docs 2021-06-12 11:03:20 +00:00
Andrey 6b6034234f helping build 2021-06-12 07:00:26 -04:00
GitHub build-firmware Action 3001d20513 Auto-generated configs and docs 2021-06-12 04:19:09 +00:00
rusefillc f83c0b3b61 TCU cherry 2021-06-12 00:15:19 -04:00
GitHub build-firmware Action 855efcb1be Auto-generated configs and docs 2021-06-12 04:12:35 +00:00
rusefillc 61f5f3b93e TCU cherry 2021-06-12 00:10:06 -04:00
GitHub build-firmware Action d1ec77847c Auto-generated configs and docs 2021-06-12 04:03:50 +00:00
rusefillc 4fa19b88a0 TCU cherry 2021-06-11 23:48:57 -04:00
Andrey cc2a7babc7 h121 progress 2021-06-11 23:47:12 -04:00
rusefillc df4bc3f720 TCU cherry 2021-06-11 23:41:23 -04:00
rusefillc d8e217da28 TCU cherry 2021-06-11 23:39:50 -04:00
GitHub set-date Action fe0db62294 Update date 2021-06-12 00:51:57 +00:00
GitHub build-firmware Action cb205c98f9 Auto-generated configs and docs 2021-06-11 16:25:58 +00:00
rusefillc 9e24432faa https://github.com/rusefi/hellen121vag/issues/44 2021-06-11 12:23:21 -04:00
GitHub build-firmware Action a4f86a892a Auto-generated configs and docs 2021-06-11 10:27:21 +00:00
Matthew Kennedy c27549b2e8
hard coded fan logic (#2805)
* remove fsio

* hard code impl

* test it

* enable fan with AC

* make commented stuff match
2021-06-11 06:25:12 -04:00
GitHub set-date Action ebd8c39579 Update date 2021-06-11 00:56:20 +00:00
GitHub build-firmware Action a9207d1b0a Auto-generated configs and docs 2021-06-11 00:00:17 +00:00
BeerMoneyMotorsports e5fbfbf7b5
Update main.yaml (#2809)
AC comp relay output change to GPIOH_15
2021-06-10 19:45:56 -04:00
Andrey G a1387d3bd2
Fixes (#2807)
* tle6240: fix Matt's trap

* map: report some default value if no map sensor configured

Othervise user will get "unexpected MAP value" warning

Thread 2 hit Breakpoint 1, validateMap (mapKPa=3121.66162) at ./controllers/sensors/map.cpp:126
126		if (cisnan(mapKPa) || mapKPa < CONFIG(mapErrorDetectionTooLow) || mapKPa > CONFIG(mapErrorDetectionTooHigh)) {
(gdb) bt
 0  validateMap (mapKPa=3121.66162) at ./controllers/sensors/map.cpp:126
 1  0x002717dc in getMap () at ./controllers/engine_cycle/map_averaging.cpp:334
 2  0x0028175a in GetMapWrapper::getMap (this=0x2004214c <mapWrapper>) at ./init/sensor/init_map.cpp:12
 3  0x0028177c in operator() (__closure=0x0) at ./init/sensor/init_map.cpp:20
 4  0x002817a8 in _FUN () at ./init/sensor/init_map.cpp:21
 5  0x002811de in FunctionPointerSensor::get (this=0x20042150 <mapSensor>) at ./controllers/sensors/function_pointer_sensor.h:24
 6  0x002651c0 in SensorRegistryEntry::get (this=0x2003ddf0 <s_sensorRegistry+48>) at ./controllers/sensors/sensor.cpp:111
 7  0x002653e2 in Sensor::get (type=SensorType::Map) at ./controllers/sensors/sensor.cpp:208
 8  0x00261f38 in updateTunerStudioState (tsOutputChannels=0x2003d2e8 <tsOutputChannels>) at ./console/status_loop.cpp:637
 9  0x00262e48 in prepareTunerStudioOutputs () at ./console/status_loop.cpp:900
 10 0x00260914 in TunerStudio::cmdOutputChannels (this=0x20021a64 <tsInstance>, tsChannel=0x2003d4dc <usbChannel>, offset=0, count=340) at ./console/binary/tunerstudio_commands.cpp:24
 11 0x00260584 in TunerStudioBase::handleCrcCommand (this=0x20021a64 <tsInstance>, tsChannel=0x2003d4dc <usbChannel>, data=0x2003d4e1 <usbChannel+5> "", incomingPacketSize=5)
    at ./console/binary/tunerstudio.cpp:701
 12 0x0025fb3c in tsProcessOne (tsChannel=0x2003d4dc <usbChannel>) at ./console/binary/tunerstudio.cpp:537
 13 0x0025fbe2 in TunerstudioThread::ThreadTask (this=0x2003d608 <usbConsole>) at ./console/binary/tunerstudio.cpp:554
 14 0x0025f094 in ThreadController<1200>::StaticThreadTaskAdapter (thread=0x2003d608 <usbConsole>) at ./controllers/system/thread_controller.h:37
 15 0x0020035e in _port_thread_start () at ChibiOS/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S:201
2021-06-10 19:39:48 -04:00
Matthew Kennedy a54a5e7f90
convert gpiochips to c++ (#2761)
* core

* basic header

* tests are happy

* tle6240

* tle8888

* 33972

* 33810

* tle8888_req_init

* unused warning

* warning

* unsigned

* 8888 debug

* fix

* don't qualify

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-10 04:11:01 -04:00
GitHub set-date Action e82e5bcb84 Update date 2021-06-10 01:01:40 +00:00
GitHub build-firmware Action fefa953117 Auto-generated configs and docs 2021-06-10 00:48:08 +00:00
BeerMoneyMotorsports 56b79f27e8
Update main.yaml (#2804)
update for AC
2021-06-10 03:39:17 +03:00
GitHub set-date Action db976da4fe Update date 2021-06-09 01:03:02 +00:00
GitHub build-firmware Action cef7536bf8 Auto-generated configs and docs 2021-06-08 18:29:34 +00:00