Commit Graph

4788 Commits

Author SHA1 Message Date
Shane Smiskol 40a688983a Honda: use common DBC for CRV H and Accord Diesel (#23743)
* bump

* use Accord DBC for CRVH, Civic Diesel

* bump

* bump opendbc
old-commit-hash: 31228ce5605b6ba231ac09e22fd41946bf80ab36
2022-02-12 16:28:53 -08:00
Shane Smiskol a2f9ac2b5e unsafe mode: update safety declaration comment (#23753)
* update safety declaration comment

* whoops
old-commit-hash: 7410160d09b09c529efece237f20cd0d5c062686
2022-02-11 19:20:27 -08:00
Vivek Aithal 1329847be0 controlsd: Fix Toyota steer angle sensor race condition (#23747)
* fix steer angle race condition

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 3e915cf628d24d04843730a9f5f664a20083291a
2022-02-11 13:54:17 +01:00
Willem Melching 8788555f10 athena: expire items after 31 days (#23751)
* athena: expire items after 31 days

* add test
old-commit-hash: f03549c276e3877081273c713470e5184ef07ff5
2022-02-11 13:52:44 +01:00
Willem Melching a7fa889605 improve logging around uploading (#23750)
* improve logging around uploading

* use int

* use raw

* duplicate
old-commit-hash: 7765bc216677026d7b8919525eff310716fd3e7d
2022-02-11 12:58:41 +01:00
Lee Jong Mun c5e11d7491 missing optional include (#23749)
old-commit-hash: ab9fb0541df1d3455060a24c3093f463a752951e
2022-02-11 12:08:09 +01:00
suryad b8e87efae6 Mazda: add 2017 CX-9 firmware (#23742)
old-commit-hash: 12e79761e12c79d933aaa8a7f50a60f3d0b0736d
2022-02-10 16:30:00 -08:00
Jason Young 844aa7395a VW MQB: EPS configuration tool (#23737)
* VW MQB: EPS configuration tool

* a bit more help text

* typo

* Update selfdrive/debug/vw_mqb_config.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Update selfdrive/debug/vw_mqb_config.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* better handling of vendor constants

* comment tweak

* more constant clarity

* move help text to argparse

* add parameterization parsing

* refactor param read, skip length byte

* touch up section headers

* removing; low value and acting weird

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 4416c21b1e738ab7d04147c5ae52b5135e0cdb40
2022-02-10 13:57:12 -08:00
Shane Smiskol 2675996ef3 GM: Fix noisy brake pressed (#23712)
* GM: Use ECMEngineStatus.Brake_Pressed

* consistent style

* add TODO

* bump panda

bump panda

* it should

* bump panda

Co-authored-by: Jason Shuler <jshuler@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd76cfcf28f95354e78abc5786db0cef75cb23cf
2022-02-10 13:08:19 -08:00
Shane Smiskol 1cd3c05a70 Honda: fix brake pressed signal (#23683)
* or brake_switch

* remove car exceptions

* Revert "remove car exceptions"

This reverts commit cad6a552aa4a17c69616014d3e9333d30c1fadd3.

* does have ts noise, use updated

* bump panda for tests

* bump

* messsssy draft

* clean up

* clean up

* bump

* CS: process all messages at once, like we do during real openpilot usage

* handle multiple messages updated in one cycle

* bump

* bump

* use less confusing, but equivalent cp.vl

* Update selfdrive/test/test_models.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* no msg

* bump opendbc

* Update selfdrive/car/honda/carstate.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* same test logic

* add brake_switch_prev to class

* need to set previous brake switch when not lagging (most of the time)

* need to compare

* only update previous if updated this cycle

rm

* need to maintain previous active state

* move brake_switch

* bump opendbc

* bump

* bump

* bump

* bump

* bump

* bump

* bump opendbc

* rename

* oops

* bump opendbc

* bump

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 209bfe536b9ed645af3642336d2d05ab5160deba
2022-02-10 13:04:37 -08:00
Willem Melching baebb2c932 handle usb error in reading panda state (#23686)
old-commit-hash: f2eb84eef063efcc0da1dde072fac0325d7d1eee
2022-02-10 13:52:24 +01:00
Willem Melching 8e2c273be8 fix UI segfault when starting onroad and receiving radarState before modelV2 (#23739)
old-commit-hash: 955c7435f80ccfebd33b32ca3d6f2f40f18b044b
2022-02-10 13:52:03 +01:00
Vivek Aithal 1eb13fdc65 paramsd: fix VehicleModelInvalid errors (#23726)
* bound steerratio, stiffness std

* remove start steer_ratio limits after looking at data

* reduce sf obs noise

* update refs

* update refs

* add comment explaining change
old-commit-hash: 8a2cbfe00bffa82c7bd70a2b13c1ccf66f7271e0
2022-02-09 17:37:28 -08:00
Willem Melching 30a0b40b5d ui: configure tethering based on prime type (#23733)
* Store prime type in param

* set tethering metric based on prime type

* update existing connections

* returning zero is fine

* always set

* add callback on activate

* call systemctl

* match server enum

* add delay

* assume field is there

* snake case
old-commit-hash: 4e4cb07297485eac378058c6b4e60901e10cbd15
2022-02-09 20:27:58 +01:00
Jason Young 149925398e VW MQB: Volkswagen Caravelle T6.1 (#23735)
* VW MQB: Volkswagen Caravelle T6.1

* autogratitude
old-commit-hash: 3553a26d520a0541ce1d75e55a393c75dc4257b8
2022-02-09 10:30:13 -08:00
Willem Melching 48a9bd55c6 athena: specify network type for file uploads (#23687)
* athena: specify network type for file uploads

* add comment

* catch abort transfer

* fix tests

* put athena upload args in dict

* fix defaults

Co-authored-by: Joost Wooning <jwooning@gmail.com>
old-commit-hash: e9153fdb4b66c8175e4c0363ae74da6505348098
2022-02-09 17:28:49 +01:00
Willem Melching 5a78f1d29c hide localizerMalfunction alert (#23730)
* hide localizerMalfunction alert

* update ref
old-commit-hash: 8effa2d8786b408222c504bed241426b9c8f6f0b
2022-02-08 22:22:03 -08:00
Adeeb Shihadeh ccb2d2a6c4 AGNOS 4 (#23724)
old-commit-hash: a1b795cd78a00141d06a8bffdc4163ad8ab5fa51
2022-02-08 19:48:14 -08:00
Willem Melching db3eef978f athena: add suport for download bandwith setting (#23727)
* athena: add suport for download bandwith setting

* clean ingress rules
old-commit-hash: 0d099e07aa1b16e2df5034835c1a6be3a721caa0
2022-02-08 12:07:11 +01:00
Adeeb Shihadeh c8dc3909f4 give calibrationd rt priority (#23725)
old-commit-hash: 8a0fc850b43f851d2ac7d8d87e54d557b537de91
2022-02-07 21:05:55 -08:00
Adeeb Shihadeh 8343e21ea7 reduce shutdownd CPU usage (#23723)
* reduce shutdownd CPU usage

* sync

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4c766934bed739db19cf3e1c53305b4d70500f45
2022-02-07 18:50:54 -08:00
Adeeb Shihadeh 3522f8dfad small test_models.py speedup
old-commit-hash: 48e97b7872f6b49cb915ddfae6b1392a70aec24e
2022-02-07 16:10:20 -08:00
khoi 194db0e013 Hyundai: add FW for Santa Fe 2022 (#23718)
* Add finger print for Santa Fe 2022 - Vietnamese

* Add trailing commas
old-commit-hash: 4bc86225243b21bf3a78c3db643a15a5e80a846a
2022-02-07 14:34:35 -08:00
Igor Biletskyy 64d3fa7e64 thermald: accept ignition from any panda (#23721)
* ignition from any panda

* more elegant )

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* typo

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2629715097c94b11ceec2a2a5fae7daca957e42e
2022-02-07 14:32:29 -08:00
Willem Melching fb18d7b789 Add setUploadLimit method to athena (#23693)
* Add setUploadLimit method to athena

* add comments

* move to hw abstraction layer

* move to hw

* better errors
old-commit-hash: 4c406cdbe5c702d50a93410adf9d2d5b7f1b987a
2022-02-07 16:55:16 +01:00
Shane Smiskol 85b57ccbfc scons: fix duplicate environments with test flag (#23702)
* fix duplicate environments when built with --test

* lib

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e5005b8f44a2eedeb88348d9f476b0f4d09db3f0
2022-02-06 14:08:02 -08:00
Adeeb Shihadeh 59c76fc993 resolve misc car TODOs
old-commit-hash: 3c83975ef6ee340bebca362ef1238b4f9018ac8e
2022-02-06 13:50:59 -08:00
Dean Lee fab73e6e9f remove trailing whitespaces (#23716)
old-commit-hash: 786152f0f125f9c78dc129cab8f24a98d93f36a1
2022-02-06 10:42:41 -08:00
Dean Lee 6c0939f51b logcatd_android.cc: fix repeating the same messages (#23713)
* fix repeating the same message

* cleanup

* use blocking mode

* check duplicate msg in test
old-commit-hash: ee85e7026aefc6769a850c7cf1ce9a2f81b6402b
2022-02-05 16:02:45 -08:00
Jafar Al-Gharaibeh 5b2973b308 Mazda CX-5 2022 Car port (#23704)
* Mazda CX5 2022 FW

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* CX-5 2022: No lockout and steer down to zero

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* CX-5 2022: No dashcam!

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* CX-5 2022: add to supported cars

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda: stick with 800 max torque for now

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Update docs/CARS.md

* Apply suggestions from code review

* Mazda: set car models where needed

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda: set minSteerSpeed per car

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* unused

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* cleanup

* Update selfdrive/car/mazda/interface.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 341f5a4ae01445049f7bb8a51f9e2781bbdfa124
2022-02-04 23:34:37 -08:00
Adeeb Shihadeh b4aa271d0b remove debug prints
old-commit-hash: 2372f4d6db1591f64def061dd66038d59e61046e
2022-02-04 23:32:39 -08:00
Adeeb Shihadeh cd0362abcf not sure we want this
old-commit-hash: c05bff58b8fa5323a4633f5fb8029bbf700bdaac
2022-02-04 23:31:22 -08:00
Adeeb Shihadeh 949ff0b921 NEOS 19.1 (#23707)
* NEOS 19.1

* add logging

* new manifest

* prod bucket

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 62e0bd5f0d40b0ce1be171332d50de618ef5d51c
2022-02-04 22:54:12 -08:00
Dean Lee f25f58cc53 radard.py: remove trailing space (#23703)
old-commit-hash: 414d4cae785c70a6b90fd3b6ec8e3f4b2d7c2e31
2022-02-03 15:43:00 -08:00
Dean Lee d76c70cb2f WifiManager: fix crash if no wifi device found (#23701)
old-commit-hash: 4e0c08c0a6b700d2532e80e6c35e208fca86c5b6
2022-02-03 15:33:29 -08:00
Jason Wen e2b296f0ae UI: hide power off button on C3 while onroad (#23689)
* Grey out power button while onroad - comma three only

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4715510e918ce31f07170965aebc32ee41c263fc
2022-02-03 15:32:57 -08:00
Shane Smiskol 8ade6dd81a GM: remove noisy ignition signal (#23698)
* move BUICK_REGAL to dashcamOnly

* bump to master
old-commit-hash: fccb80e9a542c7d500586ce62c018a27862e3746
2022-02-03 12:32:33 -08:00
Jonathan Frey 9ae66079f7 replay: fix pause key doc (#23697)
old-commit-hash: a39e635b5ce271738504abaa84d060c7b26206c0
2022-02-03 09:59:07 -08:00
Adeeb Shihadeh daa3432d01 logcat: include all logs since boot (#23692)
old-commit-hash: 5a9657cad5e5f4c140c1bf1c3a35b11a0cf11eb1
2022-02-02 11:33:06 -08:00
Erich Moraga 00b8dc8ce9 Toyota: Add missing LEXUS_RX_TSS2 engine & fwdCamera (#23691)
old-commit-hash: 3e094bc7c4a3eba628633fb86412d09bce677ffe
2022-02-01 23:32:40 -08:00
Adeeb Shihadeh e077b5c2ff manager: kill UI when manager failed to start
old-commit-hash: edcee81796f335c87ec15c258f4f551a6fd21c55
2022-02-01 11:06:32 -08:00
Shane Smiskol 3bcd3e2b81 Toyota: merge Lexus ESH params into similar vehicles (#23673)
* merge LEXUS_ESH

* min and max of all variants
old-commit-hash: 31af75f2e35572dc0592bb87c190c9abb00e1c17
2022-01-31 17:30:48 -08:00
Shane Smiskol 4864a65f5e CANParser: remove rest of default values (#23676)
* forgot honda somehow!

* forgot some more signal defaults
old-commit-hash: 61de3788ff3b49485e8ef6546fb2362d43ba373c
2022-01-31 17:29:55 -08:00
Adeeb Shihadeh c491f3fc2c for those who want to live in the moment
old-commit-hash: e6d8a845782e1b902b2966edb3c39c882e735b97
2022-01-31 14:30:40 -08:00
Jafar Al-Gharaibeh 055b8b06e6 Mazda: alert when LKAS is disabled (#23288)
* Mazda: alert when LKAS is disabled

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* update refs

* revert that

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1c31c9b7a3b0ee72b9dca443067deab793e19187
2022-01-30 21:04:07 -08:00
Adeeb Shihadeh 5d29eb6386 update refs
old-commit-hash: af33998335511413d4b782c6fea7ea25f561be09
2022-01-30 20:46:40 -08:00
Adeeb Shihadeh 97ea3c8ff2 controlsd: only add startup event until initialized (#23671)
* controlsd: only add startup event until initialized

* update refs

* update again
old-commit-hash: 602f92fc0e337ee5143dd2691f20fead68365b64
2022-01-30 20:38:05 -08:00
VAHAMAISEN 22c3778cab Toyota: add COROLLA_TSS2 fw (#23661)
* Update values.py

Added Toyota Corolla fingerprint.

* a
old-commit-hash: 9ec99b52303eb7036ccce4adc4b3c8d1ea7d8e1b
2022-01-30 20:04:36 -08:00
Adeeb Shihadeh 94f8115236 Log panda signature to param (#23670)
old-commit-hash: 8d9afa7171acd38d5c23673fe1e1ec9d6ac6c9ee
2022-01-30 13:07:05 -08:00
Adeeb Shihadeh 12dcbe8617 test car models improvements (#23668)
* run on all routes

* min segment length

* invalid

* revert that
old-commit-hash: c8429f913e15934cf46564f23584cc454699ffdc
2022-01-30 11:17:51 -08:00