Commit Graph

6995 Commits

Author SHA1 Message Date
Willem Melching 484eed0acf cabana: support direct streaming from panda over USB (#27936)
* refactor livestream into devicestream

* add panda stream

* unused

* whitespace

* move logging to base class

* add cmdline args

* Update selfdrive/boardd/boardd.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2a981f553162ff41dd50ed6921b90ac512efa3d2
2023-04-17 15:37:26 -07:00
Cameron Clough f138eb8447 Ford: don't play stock alert chimes (#27923)
old-commit-hash: 6bed16441ceb7f278cfd89b79016ea4ea513db23
2023-04-16 02:39:09 -07:00
Jason Young 452a78868b VW MQB: Cleanup HCA control message (#27757)
* VW MQB: Cleanup HCA control message

* bump panda

* bump submodules

* bump panda/opendbc to comma master

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3e960b0b32a7134c3bc86b14e6f4493a38f2ec61
2023-04-15 21:02:33 -07:00
Shane Smiskol 05e7547aa5 FPv2: add worst case timing test (#27917)
* can FP time

* add

* move the ref up

* assert function

* all brands

* Update selfdrive/car/tests/test_fw_fingerprint.py

* can this can vary a bit more

* or can it
old-commit-hash: 158c951d6fb0b2896800ec49dfa20d917567cccb
2023-04-14 23:41:12 -07:00
Adeeb Shihadeh 59abbc069e set_time: remove extra print
old-commit-hash: af90b08acdf446bcc08f42aef241d744c077cea7
2023-04-14 21:16:59 -07:00
Adeeb Shihadeh 29eb4d3a35 pandad: wait for internal panda to come up (#27705)
* pandad: wait for internal panda to come up

* test

* more checks
old-commit-hash: f832a71038f5d50f991d36d7860bfc0ef912794e
2023-04-14 14:18:13 -07:00
Nikolai Gorchilov b5852330bf 2022 Arteon R Fingerprint (#27913)
New firmware version for the engine, transmission, srs & eps. fwdRadar fingerprint already available.
old-commit-hash: 49ccc0869c07a6596b28b2492cb2a63dab44fb22
2023-04-14 12:37:23 -07:00
Saber422 85a0072623 VW MQB: add missing 2020 TRANSPORTER T6.1 FW (#27914)
route:0bbe367c98fa1538|2023-04-14--14-58-41--0
old-commit-hash: 3ffc2b6fb0299889c89ebe546d398c2fa33c1009
2023-04-14 12:35:10 -07:00
Vít Listík 43b8937b79 Updated FW for Skoda Superb III 2016 (#27888)
old-commit-hash: 17631948dae089f3d284b5ec99ec0dcd8eddfeed
2023-04-14 12:28:11 -07:00
Adeeb Shihadeh 0e70553604 Hyundai: factor out bus numbers (#27903)
* mv bus

* mv that

* if len

* fix tests

* use that

* same name
old-commit-hash: 08e2149b0f0e62db8a30d4355d458b530167a7c0
2023-04-14 11:23:22 -07:00
AlexandreSato 4a7535fd17 Honda: HR-V 2023 port (#27731)
* initial commit

* HR-V is diff enought to split from Civic22

* Add US HR-V 2023

* update CARS.md

* Update RELEASES.md

* Use a alternative brake signal

* US HR-V have a weird noise in the BrakeSwitch

* Shane tunning

* this is added automatically

* sorry jyoung

* civic22_stop_faster

limit stopAccel to current safety model

* relax calib temporarily (12 deg)

relax calib temporarily (10 deg)

* compute accel (car overshoots requests at low speed)

* revert brake pressed caused controls mismatches

* fix crash

* cause a cruise fault

* Revert "cause a cruise fault"

This reverts commit 09a6469ac6fc38ebd38dd1c5d464712a15d0fde1.

* no brake error

* use alt brake

* Update selfdrive/car/honda/carcontroller.py

* change HONDA_BOSCH_ALT_BRAKE_SIGNAL to CP.flags

* Revert "change HONDA_BOSCH_ALT_BRAKE_SIGNAL to CP.flags"

This reverts commit e0f8123b33db3218f27c4b64a7b2a0b1f740860f.

* remove FPv2 from brazilian HR-V

* bump panda

* fix a bug

* revert calib threshold

* new test route

* separate pr

* update

* update that

* thought i removed this

* revert steer ratio

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 93c18105225ee03aa30d0a213ad5c4e4b1de624b
2023-04-14 03:12:10 -07:00
royjr cbc793b970 Honda Bosch Radarless: check cruise faults (#27814)
* add signal checks

* add radarless

* not yet

* nestless

* append instead

* bump

* match check above

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 882a2adc8b392f7c32d7fbaeee706f02015aef0e
2023-04-14 02:56:10 -07:00
Shane Smiskol 16f852192a FPv2: add timing unit test (#27753)
* add timing unit test

* formatting

* not clean

* Revert "not clean"

This reverts commit dab35d582c274efc32d693fc0a2773d8727be2bd.

* Revert "formatting"

This reverts commit 56a1ae4bb721594cc68952e5747a3ebc652f62d9.

* need to consider subaddrs (0.3 to 0.7s for toyota)

* clean up

* move to test_fw_fingerprint

* use a thread to get real time

* lower threshold

* revert that

* ?

* some sleep

* at top

* use the config

* function to measure query time, similar to opendbc's convention

* revert that

* avg

* Update selfdrive/car/tests/test_fw_fingerprint.py

* draft

* starting a thread takes a long time!

* refs

* uncomment
old-commit-hash: f222d434b8da9fcff0769f0cc69ec9d23cd4ff9f
2023-04-14 02:21:52 -07:00
Shane Smiskol 85c7764c45 FW versions: import common variable (#27905)
* just import from fw_versions

* fix

* more fix
old-commit-hash: 1520716d429a7d4278c97d4689a6f77eae71bd40
2023-04-14 01:42:37 -07:00
Adeeb Shihadeh 80612bd015 Hyundai: 2023 EV6 is supported (#27907)
old-commit-hash: 419bcec3efee8d80179ccd4f6c3f1b77ebcef824
2023-04-13 21:44:52 -07:00
Saber422 6004acf30f VW MQB: Add FW for 2015 VOLKSWAGEN GOLF 7TH GEN (#27518)
VW MQB: Add FW for 2015 VOLKSWAGEN GOLF 7TH GEN

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 237af116428c91e0c8a61a277f0b9ebd39e928ef
2023-04-13 21:06:11 -07:00
Brandon Smyth 6c26bda5c9 Ford: add Escape PHEV 2021 FW (#27902)
Ford Maverick 2021 Titanium PHEV

VIN: 1FMCU0LZXMUA80767

f8eaaccd2a90aef8|2023-04-13--14-14-48
old-commit-hash: 9893733c12cb28cef47cf2a491f58ff9a5915708
2023-04-13 16:55:33 -07:00
Shane Smiskol c012c88f75 VW: Tiguan eHybrid FW (#27879)
* tiguan 2021 ehybrid fingerprint

* remove dup

* eHybrid docs

* think it's 2021

---------

Co-authored-by: Viktor Gilbertsson <viktor.gilbertsson@exobe.com>
old-commit-hash: 6188b83f7c7f40ea660c3411e8f251015bb0f8fc
2023-04-13 16:37:51 -07:00
Adeeb Shihadeh 51eeb48863 2023 Leaf is supported (#27899)
* Update CARS.md

* Update values.py

* update
old-commit-hash: 853d40409247ce9e392a27bbd6e5fb60c800be28
2023-04-13 13:48:25 -07:00
Shane Smiskol 004da44410 Test lateral limits: fix jerk calculation (#27654)
* fix test

* add lower jerk limit, lower up tolerance

* add to ignored cars
old-commit-hash: 88ce2f7a52c909c74d935b81ca219d3f8c2854bf
2023-04-13 13:21:30 -07:00
Shane Smiskol 6670dee6c2 Lexus: support ES 2018 (#27683)
* add ES 2018

* standard

* add FW versions

* need to add a route

* verified

* add to DSU messages

* add to torque params

* older lexus do not have all-speed dynamic radar cruise control

* update docs

* Update selfdrive/car/toyota/values.py

* add CI route

* update docs

* add to releases

* assume no stop and go (can't know without dsu unplugged)

* Update selfdrive/car/toyota/values.py

* update docs

* update docs
old-commit-hash: 57f3b483e3e104bf0806db317b3e522360abf6d8
2023-04-13 12:17:03 -07:00
Yong-seok, Jang f8453b27d5 GM: Trailblazer 2021-22 support (#27830)
* Add trailblazer support

* Update routes.py

* Update routes.py

* Update CARS.md

* Fix incorrect torque name

* Update values.py and CARS.md

* Change to update another route

* update docs

* only 2021 https://en.wikipedia.org/wiki/Chevrolet_Trailblazer_(crossover)

only 2021

* new FP with missing addrs

* Update selfdrive/car/gm/interface.py

* tune the torque params

* update docs

* remove as a new platform

* Revert "remove as a new platform"

This reverts commit c9c65f29dbb1e1a5926540bb75433928325d6c0e.

* add comment and comment out FP

* need it to be in all_known_cars to test_model

* add to releases

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e1ad8df5192c9273688ced8f4a379f6d65d09f4d
2023-04-12 23:32:03 -07:00
Shane Smiskol 6af062c979 Hyundai CAN FD: query hvac with alt request (#27891)
Update values.py
old-commit-hash: 210dd942f04bc85a31dda0df0b545017bb964479
2023-04-12 16:37:53 -07:00
Shane Smiskol 09df1f86b2 IsoTpParallelQuery: set timed out requests done (#27764)
* better ordering and comments

* remove

* mark done if timed out

* response_timeouts should be only for extending timeouts, not marking done

* so the print still works

* more clear comment

* that can be removed
old-commit-hash: f5519fdca8a5008e7ddcbc32d003bcf91db31bd2
2023-04-11 22:05:00 -07:00
Shane Smiskol b1bd07ea75 IsoTpParallelQuery: break earlier and add comment (#27883)
* better ordering and comments

* one comment one dream
old-commit-hash: 74f709a59fbd2e564db19eba7ab0717149c2875c
2023-04-11 21:05:07 -07:00
Shane Smiskol 3baa87d208 IsoTpParallelQuery: log response pending (#27881)
we really should log this
old-commit-hash: 02798513afa14abad1bc9b461859b8ada634ab50
2023-04-11 20:59:03 -07:00
Saber422 b6e6f9987a VW MQB: add missing 2021 TRANSPORTER T6.1 FW (#27875)
* VW MQB: add missing 2021 TRANSPORTER T6.1 FW

route name: f9fa13485e6df75c|2023-04-10--08-21-09--0

* rm octal

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cca654cfa994b4837437c90b9bdc629e05f92457
2023-04-11 17:38:13 -07:00
Jason Young 1aa850de29 VW MQB: Add FW for 2023 Audi Q3 (#27876)
old-commit-hash: 2b680821a925f0e32aefe270db57bb6084e36906
2023-04-11 17:33:57 -07:00
Shane Smiskol 1f46287206 quectel: move vertical accuracy sanity check (#27819)
* Update rawgpsd.py

* remove from locationd

* Update system/sensord/rawgps/rawgpsd.py

* flip
old-commit-hash: c9804f8ec20fd60a42c17d61d07da83406c5ff31
2023-04-10 20:46:12 -07:00
kyoma22 60b44ef936 Toyota: missing Corolla Cross Hybrid FW (#27783)
Update values.py

add corolla cross HV

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: aefd84a3ee1e287220c2a29c51d4135e8edb8b24
2023-04-10 20:16:04 -07:00
martinl 225762ba63 Add FPv2: Subaru Forester 2020 (#27854)
* Add FPv2: Subaru Forester 2020

* missing FW

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cd3a72e8f3039eb6780d2ba6812b82fdfde51793
2023-04-10 20:03:21 -07:00
Saber422 b61fd6ca8a MAZDA: add missing 2018 Mazda6 wagon FW (#27863)
route name:79e2c7ffb9ae445d|2023-04-10--21-58-55--0
old-commit-hash: 18f49b454119edb23a230a424dfd8db435d9dcb8
2023-04-10 19:10:36 -07:00
mdweinstein 43471b9ca9 LEXUS_RX_TSS2 update for Ecu.Engine values (#27843)
Update values.py
old-commit-hash: abeea66f83154d1697a1c657f6e29e399a732a94
2023-04-10 19:06:55 -07:00
Saber422 929be52e81 VW MQB: add missing 2019 Polo MK6 FW (#27822)
Route No1 :0bbe367c98fa1538|2023-04-06--13-28-30--0
Route No2 :0bbe367c98fa1538|2023-04-06--13-35-01--0

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c63aa939092455673358d196d0d5768b862f123a
2023-04-10 18:59:05 -07:00
Shane Smiskol 5200751eae test_car_model: allow route or segment name (#27866)
* allow route or segment name

* fix

* fixes

* fixes
old-commit-hash: 50d382884da193b7a0cd5fbc1ea6e42cca6b04a1
2023-04-10 18:56:49 -07:00
Erich Moraga 3b0c7ceab3 Add missing KIA_SPORTAGE_HYBRID_5TH_GEN fwdCamera f/w (#27864)
Bassam#9056 2023 Kia Sportage Hybrid  DongleID/route 5780f2cf75339e9f|2023-04-10--20-47-53
old-commit-hash: 2b32b07bbbd6bd66916abbebcdb75f88fe11343c
2023-04-10 15:47:00 -07:00
Stephen Harrison c4f9e28c29 Hyundai Tucson 2023 fingerpint (#27849)
Update values.py

Hyundai Tucson 2023 fwdCamera fwVersion added for fingerprint
old-commit-hash: 3aa5d02990e291dc42e74dcc79fe2a9713ec89ea
2023-04-08 21:12:00 -07:00
Jason Young fb6cfc707a VW MQB: Update model years for Volkswagen Polo (#27840)
old-commit-hash: f1d7dead308df550f3fec8d5a79735e8ffad9c31
2023-04-07 19:38:38 -07:00
Josselin Lecocq 575d4b88d1 HKG: Car Port for Kia Niro EV 2023 (HDA1, European version) (#27788)
* Update values.py for 2023 Kia Niro EV

* Update interface.py for 2023 Kia Niro EV

* Update params.yaml for 2023 Kia Niro EV

* Update RELEASES.md for 2023 Kia Niro EV

* Update interface.py for 2023 Kia Niro EV

* Update routes.py for 2023 Kia Niro EV

* Update CARS.md for 2023 Kia Niro EV

* Update CARS.md for 2023 Kia Niro EV

* Put 2023 Kia Niro EV in CANFD_RADAR_SCC_CAR

* New values in params.yaml for 2023 Kia Niro EV

* Rollback - Remove CAR.KIA_NIRO_EV_2ND_GEN from CANFD_RADAR_SCC_CAR

* Update routes.py for 2023 Kia Niro EV

* Apply suggestions from code review

* use new route

* update cars

* test

* pass test

* add params, rename

* use average

use average

use average

use average

* around 2.05

* Update selfdrive/car/hyundai/interface.py

* Update selfdrive/car/hyundai/interface.py

* lower

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e8d8304548b5b00a80e7170028d4fb146e448d72
2023-04-07 15:15:10 -07:00
Shane Smiskol 9676e15736 Hyundai: add CAN FD feature test (#27834)
* rename two can-specific feature lists

* the other lists don't say CAN_

* like to be safe
old-commit-hash: 2b6a3dcfd015de45018f49718475c4e2f8efb738
2023-04-07 14:16:48 -07:00
Shane Smiskol cc95e508a4 Hyundai: rename gears feature list (#27835)
just rename
old-commit-hash: 75b2c5a2a45e48f44fef25f6922bad1d65ae10ee
2023-04-07 14:15:14 -07:00
Shane Smiskol a1835e532e Car docs: references US market (#27836)
add language to specify us market
old-commit-hash: 757ce360a550a57f2737207b821504e6a4ce9b5d
2023-04-07 14:14:48 -07:00
mansunsang 40b45c7f63 fingerprint for KIA STINGER 2022 (#27777)
* Update values.py

fingerprint for KIA Stinger 2022 sold in South Korea

* remove duplicates

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 99f785cc3b04dfa91b65c19da3fabb0c0d4c7a87
2023-04-07 13:23:37 -07:00
royjr e29dcfe135 Honda: add 2022 civic video link (#27821)
old-commit-hash: eb6112e94e64857e8b80ed679d889eaf4b904e78
2023-04-07 11:20:32 -07:00
royjr 74777c8323 Honda: Added fingerprints for a 2022 Acura RDX (#27812)
* Added fingerprints for a 2022 Acura RDX

* whoops
old-commit-hash: 6381546075f75c32bd6f4a2a064ee3614b021118
2023-04-06 21:38:13 -07:00
Adeeb Shihadeh faf3860d5a set_time: use python library (#27827)
* set_time: use python library

* unused import

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d551a4c18e2afeddc2c7f70432f0d272297b16e5
2023-04-06 21:28:06 -07:00
Adeeb Shihadeh 1b2cb4e7a5 boardd: bump spi to 50MHz
old-commit-hash: 71819b2282919b95616a986e58ddb91996826075
2023-04-06 12:51:30 -07:00
Adeeb Shihadeh 2673de7dfd boardd: log SPI checksum errors (#27818)
* boardd: log SPI checksum errors

* bump panda
old-commit-hash: c8c458f0e7d9a5cb355deb376ef770c3f0b86111
2023-04-05 22:16:44 -07:00
Adeeb Shihadeh 3d9dfbf2bd tizi: affine IRQ by action instead of number (#27811)
* tizi: affine IRQ by action instead of number

* do camera irqs

* debug script

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 038d34aa7f25bff127d1265f6b1446cf40fe414b
2023-04-05 16:35:27 -07:00
Adeeb Shihadeh ed72cae737 tizi tests in jenkins (#27810)
* add

* mv there for now

* mv

* single panda

* move into parallel

* longer timeout for dfu

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ff89184823c7c2a72ba1afd871ac9ccabafacbc1
2023-04-05 11:07:42 -07:00