Commit Graph

7421 Commits

Author SHA1 Message Date
Shane Smiskol
9b1095a27e FPv2: only query brands with matching present ECUs (#27697)
* speed up fingerprinting for CAN fp cars

* add comment to describe this behavior

* more explicit, no defaultdict

* do this later

* fix

* a little more clear I think
2023-04-18 21:34:49 -07:00
Dean Lee
0534016b7b boardd: fix scons warning "Two different environments were specified" (#27949) 2023-04-18 18:04:27 -07:00
Shane Smiskol
f94528d65d ecu addrs: add warning when skipping remote frame (#27959)
add warning
2023-04-18 15:19:23 -07:00
Shane Smiskol
3924c14b74 ecu addrs: check msg length (#27956)
check length
2023-04-18 13:15:54 -07:00
Shane Smiskol
5aebdb0ad0 Car docs: pass docs flag to car interfaces (#27311)
* docs

* docs

* docs

* docs

* use docs in gm
2023-04-18 12:22:22 -07:00
Jafar Al-Gharaibeh
97aeb83f95 Mazda: CX-9 2022, Mazda6 2018 FW (#27918)
* Mazda: CX-9 2022 FW

dongle-id: 7200177292912f30

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

* Add mazda 6 2018 FW FP

dongle id: 0383a108994bd18b

---------

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Samuel <samuel95_54@hotmail.com>
2023-04-17 23:11:38 -07:00
martinl
13c75dc138 Subaru: signals cleanup (#27946)
* Update counter in carstate checks

* Rename es_lkas to es_lkas_state to match signal

* formatting

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-04-17 22:54:27 -07:00
Shane Smiskol
8f1e67f625 Subaru: always show LKAS active (#27945)
subaru always shows lines if LKAS is enabled (not active), more clear what we're sending
2023-04-17 22:31:59 -07:00
Justin Newberry
d59bfa5519 Subaru: infotainment status intercept and rewrite (#27829)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* remove compiler flag stuff

* force error for testing

* bump panda and fix mistake

* wip

* bump panda

* wip

* wip

* forgot checksum and stuff

* add to signals

* rename

* test

* test

* bump panda and opendbc

* bump cereal

* add blank filler

* test

* add steer required to infotainment

* fix missing bit

* fix missing bit

* cleanup for PR

* cleanup for PR

* bump submodules

* wip

* wip

* i wonder what 1 is

* seemed to also be obstacle detected?

* bumppanda

* only if global

* only global gen 2

* fix order

* detect and send

* detect in rest of places

* update refs

* bumpopendbc

* copy whole message (camera sometimes sets these signals)

* bumppanda

* update refs!

* bumppanda

* let's not change this

* same as all the other functions

* Revert "same as all the other functions"

This reverts commit e86dbb695ef84a18f3123720fed37a6b81391cc4.

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-04-17 19:05:16 -07:00
Willem Melching
2a981f5531 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>
2023-04-17 15:37:26 -07:00
Cameron Clough
6bed16441c Ford: don't play stock alert chimes (#27923) 2023-04-16 02:39:09 -07:00
Jason Young
3e960b0b32 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>
2023-04-15 21:02:33 -07:00
Shane Smiskol
158c951d6f 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
2023-04-14 23:41:12 -07:00
Adeeb Shihadeh
af90b08acd set_time: remove extra print 2023-04-14 21:16:59 -07:00
Adeeb Shihadeh
f832a71038 pandad: wait for internal panda to come up (#27705)
* pandad: wait for internal panda to come up

* test

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

* mv that

* if len

* fix tests

* use that

* same name
2023-04-14 11:23:22 -07:00
AlexandreSato
93c1810522 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>
2023-04-14 03:12:10 -07:00
royjr
882a2adc8b 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>
2023-04-14 02:56:10 -07:00
Shane Smiskol
f222d434b8 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
2023-04-14 02:21:52 -07:00
Shane Smiskol
1520716d42 FW versions: import common variable (#27905)
* just import from fw_versions

* fix

* more fix
2023-04-14 01:42:37 -07:00
Adeeb Shihadeh
419bcec3ef Hyundai: 2023 EV6 is supported (#27907) 2023-04-13 21:44:52 -07:00
Saber422
237af11642 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>
2023-04-13 21:06:11 -07:00
Brandon Smyth
9893733c12 Ford: add Escape PHEV 2021 FW (#27902)
Ford Maverick 2021 Titanium PHEV

VIN: 1FMCU0LZXMUA80767

f8eaaccd2a90aef8|2023-04-13--14-14-48
2023-04-13 16:55:33 -07:00
Shane Smiskol
6188b83f7c 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>
2023-04-13 16:37:51 -07:00
Adeeb Shihadeh
853d404092 2023 Leaf is supported (#27899)
* Update CARS.md

* Update values.py

* update
2023-04-13 13:48:25 -07:00
Shane Smiskol
88ce2f7a52 Test lateral limits: fix jerk calculation (#27654)
* fix test

* add lower jerk limit, lower up tolerance

* add to ignored cars
2023-04-13 13:21:30 -07:00
Shane Smiskol
57f3b483e3 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
2023-04-13 12:17:03 -07:00
Yong-seok, Jang
e1ad8df519 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>
2023-04-12 23:32:03 -07:00
Shane Smiskol
210dd942f0 Hyundai CAN FD: query hvac with alt request (#27891)
Update values.py
2023-04-12 16:37:53 -07:00
Shane Smiskol
f5519fdca8 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
2023-04-11 22:05:00 -07:00
Shane Smiskol
74f709a59f IsoTpParallelQuery: break earlier and add comment (#27883)
* better ordering and comments

* one comment one dream
2023-04-11 21:05:07 -07:00
Shane Smiskol
02798513af IsoTpParallelQuery: log response pending (#27881)
we really should log this
2023-04-11 20:59:03 -07:00
Saber422
cca654cfa9 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>
2023-04-11 17:38:13 -07:00
Jason Young
2b680821a9 VW MQB: Add FW for 2023 Audi Q3 (#27876) 2023-04-11 17:33:57 -07:00
Shane Smiskol
c9804f8ec2 quectel: move vertical accuracy sanity check (#27819)
* Update rawgpsd.py

* remove from locationd

* Update system/sensord/rawgps/rawgpsd.py

* flip
2023-04-10 20:46:12 -07:00
kyoma22
aefd84a3ee Toyota: missing Corolla Cross Hybrid FW (#27783)
Update values.py

add corolla cross HV

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

* missing FW

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-04-10 20:03:21 -07:00
Saber422
18f49b4541 MAZDA: add missing 2018 Mazda6 wagon FW (#27863)
route name:79e2c7ffb9ae445d|2023-04-10--21-58-55--0
2023-04-10 19:10:36 -07:00
mdweinstein
abeea66f83 LEXUS_RX_TSS2 update for Ecu.Engine values (#27843)
Update values.py
2023-04-10 19:06:55 -07:00
Saber422
c63aa93909 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>
2023-04-10 18:59:05 -07:00
Shane Smiskol
50d382884d test_car_model: allow route or segment name (#27866)
* allow route or segment name

* fix

* fixes

* fixes
2023-04-10 18:56:49 -07:00
Erich Moraga
2b32b07bbb 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
2023-04-10 15:47:00 -07:00
Stephen Harrison
3aa5d02990 Hyundai Tucson 2023 fingerpint (#27849)
Update values.py

Hyundai Tucson 2023 fwdCamera fwVersion added for fingerprint
2023-04-08 21:12:00 -07:00
Jason Young
f1d7dead30 VW MQB: Update model years for Volkswagen Polo (#27840) 2023-04-07 19:38:38 -07:00
Josselin Lecocq
e8d8304548 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>
2023-04-07 15:15:10 -07:00
Shane Smiskol
2b6a3dcfd0 Hyundai: add CAN FD feature test (#27834)
* rename two can-specific feature lists

* the other lists don't say CAN_

* like to be safe
2023-04-07 14:16:48 -07:00
Shane Smiskol
75b2c5a2a4 Hyundai: rename gears feature list (#27835)
just rename
2023-04-07 14:15:14 -07:00