Commit Graph

9052 Commits

Author SHA1 Message Date
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
Shane Smiskol b319b340b6 b is before c 2023-04-14 01:11:33 -07:00
Dean Lee f77930f569 cabana: display chart count in tab (#27853)
display chart count in tabbar
2023-04-13 22:03:57 -07:00
Adeeb Shihadeh 10ad276827 bump opendbc 2023-04-13 21:54:02 -07:00
Adeeb Shihadeh 2adab40565 pre-commit: add check-toml + update hooks (#27906)
* pre-commit: add check-toml

* update

* fix typo
2023-04-13 21:45:12 -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
Dean Lee e3a19ff074 cabana: support logging live stream (#27884)
support logging live stream
2023-04-13 19:53:39 -07:00
Dean Lee d425f9d1e6 cabana: fix tooltip will not show if chart is partial visible. (#27897)
* use horizontalSpacing

* fix chart toopl tip
2023-04-13 19:51:43 -07:00
Adeeb Shihadeh bb92013ef5 bump panda (#27904) 2023-04-13 19:51:23 -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
Dean Lee 860e843af6 cabana: support display hex bytes in multiple lines. (#27901)
* display hex bytes in multiple lines

* default is true

* cleanup
2023-04-13 16:26:58 -07:00
Adeeb Shihadeh 8f1753aaab tizi: enable fan for shutdown (#27890)
* tizi: enable fan for shutdown

* Update system/hardware/tici/hardware.py

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-04-13 15:35:07 -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
Willem Melching 48ae73fb93 cabana: fix new chart button placement on Windows (#27895) 2023-04-13 11:40:06 -07:00
Willem Melching 777c5c1a81 cabana: signalview.cc add missing <QHelpEvent> include (#27894) 2023-04-13 11:36:44 -07:00
Willem Melching d8e9c44c76 cabana: do not try to save empty wildcard DBC (#27898)
* cabana: do not try to save empty wildcard DBC

* use reference
2023-04-13 11:09:14 -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
YassineYousfi 406840c377 add tensorrt dependency (#27893) 2023-04-12 22:18:51 -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
Dean Lee f63fe15637 cabana: support splitting chart (#27887)
* split chart

* fixed elided axisY label issues

* fade in chart
2023-04-12 15:59:44 -07:00
Adeeb Shihadeh 36bd49ea97 bump panda 2023-04-12 15:50:00 -07:00
Dean Lee 57bf782872 cabana: split chart to multiple files (#27871)
* git mv

* split file

* fix includes

* split tiplabel out
2023-04-11 22:30:15 -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
Dean Lee f15cb01137 cabana: speed up parsing can events (#27874)
speed up parsing can events

cleanup include
2023-04-11 19:35:11 -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
Dean Lee deeb7cff9f cabana: fix valgrind warnings related to uninitialized values (#27851)
fix valgrind warnings related to uninitialized values
2023-04-10 19:07:05 -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
Dean Lee 7fff874755 cabana: fix thumbnail position issue (#27852)
* fix thumbnail position issue on WSL

* continue

* remove Qt::tool

* set parent
2023-04-10 17:33:27 -07:00
Dean Lee fc90814199 cabana: switch theme on the fly (#27855)
* switch theme on the fly

* better chart theme

* Darcula like dark theme

* add TODO

* use theme aware toolbutton in ChartView

* add margin to text title

* lighter activity colors

* fix historylog header

* replace hardcoded color

* improve chart tooltip color

* use macro

* space

* remove function toolbutton

* fix remove all btn

* remove menu arrow

* improve chart::removeIf

* cleanup charts
2023-04-10 15:53:50 -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
Dean Lee 8f118220e6 cabana: improve drag&drop (#27842)
improve drag&drop

draw shadow effect
2023-04-08 11:35:28 -07:00
Dean Lee 2d061e2041 cabana: dispaly alert info in thumbnail&video player (#27837)
* show alert info in thumbnail

* dispaly alert info in video
2023-04-08 11:34:37 -07:00
Jason Young f1d7dead30 VW MQB: Update model years for Volkswagen Polo (#27840) 2023-04-07 19:38:38 -07:00
Dean Lee f4f836e2a9 cabana: support dragging chart between tabs (#27838)
drag chart between tabs
2023-04-07 15:16:57 -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