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: 31228ce560
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: 7410160d09
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: 3e915cf628
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: f03549c276
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: 7765bc2166
2022-02-11 12:58:41 +01:00
Lee Jong Mun c5e11d7491 missing optional include (#23749)
old-commit-hash: ab9fb0541d
2022-02-11 12:08:09 +01:00
suryad b8e87efae6 Mazda: add 2017 CX-9 firmware (#23742)
old-commit-hash: 12e79761e1
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: 4416c21b1e
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: dd76cfcf28
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: 209bfe536b
2022-02-10 13:04:37 -08:00
Willem Melching baebb2c932 handle usb error in reading panda state (#23686)
old-commit-hash: f2eb84eef0
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: 955c7435f8
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: 8a2cbfe00b
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: 4e4cb07297
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: 3553a26d52
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: e9153fdb4b
2022-02-09 17:28:49 +01:00
Willem Melching 5a78f1d29c hide localizerMalfunction alert (#23730)
* hide localizerMalfunction alert

* update ref
old-commit-hash: 8effa2d878
2022-02-08 22:22:03 -08:00
Adeeb Shihadeh ccb2d2a6c4 AGNOS 4 (#23724)
old-commit-hash: a1b795cd78
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: 0d099e07aa
2022-02-08 12:07:11 +01:00
Adeeb Shihadeh c8dc3909f4 give calibrationd rt priority (#23725)
old-commit-hash: 8a0fc850b4
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: 4c766934be
2022-02-07 18:50:54 -08:00
Adeeb Shihadeh 3522f8dfad small test_models.py speedup
old-commit-hash: 48e97b7872
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: 4bc8622524
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: 2629715097
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: 4c406cdbe5
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: e5005b8f44
2022-02-06 14:08:02 -08:00
Adeeb Shihadeh 59c76fc993 resolve misc car TODOs
old-commit-hash: 3c83975ef6
2022-02-06 13:50:59 -08:00
Dean Lee fab73e6e9f remove trailing whitespaces (#23716)
old-commit-hash: 786152f0f1
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: ee85e7026a
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: 341f5a4ae0
2022-02-04 23:34:37 -08:00
Adeeb Shihadeh b4aa271d0b remove debug prints
old-commit-hash: 2372f4d6db
2022-02-04 23:32:39 -08:00
Adeeb Shihadeh cd0362abcf not sure we want this
old-commit-hash: c05bff58b8
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: 62e0bd5f0d
2022-02-04 22:54:12 -08:00
Dean Lee f25f58cc53 radard.py: remove trailing space (#23703)
old-commit-hash: 414d4cae78
2022-02-03 15:43:00 -08:00
Dean Lee d76c70cb2f WifiManager: fix crash if no wifi device found (#23701)
old-commit-hash: 4e0c08c0a6
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: 4715510e91
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: fccb80e9a5
2022-02-03 12:32:33 -08:00
Jonathan Frey 9ae66079f7 replay: fix pause key doc (#23697)
old-commit-hash: a39e635b5c
2022-02-03 09:59:07 -08:00
Adeeb Shihadeh daa3432d01 logcat: include all logs since boot (#23692)
old-commit-hash: 5a9657cad5
2022-02-02 11:33:06 -08:00
Erich Moraga 00b8dc8ce9 Toyota: Add missing LEXUS_RX_TSS2 engine & fwdCamera (#23691)
old-commit-hash: 3e094bc7c4
2022-02-01 23:32:40 -08:00
Adeeb Shihadeh e077b5c2ff manager: kill UI when manager failed to start
old-commit-hash: edcee81796
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: 31af75f2e3
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: 61de3788ff
2022-01-31 17:29:55 -08:00
Adeeb Shihadeh c491f3fc2c for those who want to live in the moment
old-commit-hash: e6d8a84578
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: 1c31c9b7a3
2022-01-30 21:04:07 -08:00
Adeeb Shihadeh 5d29eb6386 update refs
old-commit-hash: af33998335
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: 602f92fc0e
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: 9ec99b5230
2022-01-30 20:04:36 -08:00
Adeeb Shihadeh 94f8115236 Log panda signature to param (#23670)
old-commit-hash: 8d9afa7171
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: c8429f913e
2022-01-30 11:17:51 -08:00