Commit Graph

9659 Commits

Author SHA1 Message Date
Dean Lee
d7c7f67a18 boardd: fix scons warning "Two different environments were specified" (#27949)
old-commit-hash: 0534016b7b4263b35d021287e9e971e6a2aa7d71
2023-04-18 18:04:27 -07:00
Shane Smiskol
9bbeb67482 ecu addrs: add warning when skipping remote frame (#27959)
add warning
old-commit-hash: f94528d65dea476eb0bf286110eb6dbb2293ddb5
2023-04-18 15:19:23 -07:00
Shane Smiskol
72453b6040 ecu addrs: check msg length (#27956)
check length
old-commit-hash: 3924c14b74331368fa0193514da5bcf5eb2b2837
2023-04-18 13:15:54 -07:00
Shane Smiskol
d916e0ed2d Car docs: pass docs flag to car interfaces (#27311)
* docs

* docs

* docs

* docs

* use docs in gm
old-commit-hash: 5aebdb0ad0e7e527f5deb553ffd193abea02a357
2023-04-18 12:22:22 -07:00
Willem Melching
0a690ea48d cabana: fix MacOS build (#27950)
old-commit-hash: af5f769d7cf5443ca01e753326b751894f786f99
2023-04-18 12:18:33 -07:00
Angus Gratton
fdfc2ac6f3 replay framereader: Log in some unlikely failure paths (#27942)
old-commit-hash: ed6e7db3cfca0fe2a393bc50b27dd022f14a68e9
2023-04-18 12:17:45 -07:00
Dean Lee
679ae7865a cabana: fix PandaStream crash if no panda found (#27948)
old-commit-hash: dc4b7b37c050b1e44fa7cebaf39785f94b1450af
2023-04-18 10:22:57 -07:00
Willem Melching
ca245b4973 cabana: make highlight fade time independent of playback speed (#27951)
old-commit-hash: fbe70c43a43ae5a3d28d9510d090b6acf5968e1b
2023-04-18 09:20:42 -07:00
Willem Melching
48eb186464 cabana: fix displaying zero length messages (#27953)
old-commit-hash: 9c88c3fe4c88539c6772045c4f6400312ad61fc6
2023-04-18 09:19:51 -07:00
Jafar Al-Gharaibeh
91212c2a86 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>
old-commit-hash: 97aeb83f953a2850a0e5da0d3fbd30f771c36169
2023-04-17 23:11:38 -07:00
Dean Lee
8a724f649f cabana: fix unable to scroll to the right edge of the message list. (#27947)
* fix scroll issue

* resize bytes section after model reset
old-commit-hash: 6ad4017fd8770a7a4deec7bceff6e96b0b6f51a8
2023-04-17 23:00:05 -07:00
martinl
7bdb84c1a3 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>
old-commit-hash: 13c75dc138477def107f7da8b0f6430b65d73399
2023-04-17 22:54:27 -07:00
Shane Smiskol
9131202975 Subaru: always show LKAS active (#27945)
subaru always shows lines if LKAS is enabled (not active), more clear what we're sending
old-commit-hash: 8f1e67f6259c436aff500f6bdff9067d4ca79eb1
2023-04-17 22:31:59 -07:00
Justin Newberry
da2f2114d6 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>
old-commit-hash: d59bfa551955c481fd3762170d483a44251122f7
2023-04-17 19:05:16 -07:00
Cameron Clough
25ce3cfd1e tools: add cabana to README
old-commit-hash: 3cd00a9b6cae5865e3b5860f61080cd5bba8cbd7
2023-04-17 17:39:03 -07:00
Shane Smiskol
f60cad7f2e bump opendbc (#27944)
old-commit-hash: 8064de805bee9a3d18ea341ba85d88190bf58cd1
2023-04-17 17:13:04 -07:00
Shane Smiskol
28a2817bea bump panda (#27943)
old-commit-hash: cb95f1e5f11317bcf37071b35439dbffeac130fd
2023-04-17 17:12:34 -07:00
Willem Melching
23d52ccd2d cabana: refactor new msg/signal name generation (#27931)
old-commit-hash: 1016c3f97c9e710c75380249da29c89b0e7ca8e1
2023-04-17 15:37:41 -07:00
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
Dean Lee
5115b6dc5a cabana: fixed the freq column for high-freq messages may be incorrectly displayed as a --. (#27940)
old-commit-hash: a324d79fa3529c00363fb8a5aa802da2dc81d737
2023-04-17 15:08:22 -07:00
Dean Lee
8d7e910631 canaba: display the opened dbc files in the window title bar. (#27939)
* show dbc file name on the window title

* Show all dbc files opened on each bus

* check d
old-commit-hash: 30ff0bface71f54cfad292952cc8d94598e37db2
2023-04-17 15:08:08 -07:00
Dean Lee
941765994c cabana: some improvements to messages view (#27935)
* improve messageswidget

* remove double semicolon
old-commit-hash: f79654a1e7e3b6d64bf73859ae58a39d0f0b6f74
2023-04-17 13:39:43 -07:00
Willem Melching
5bb84a0568 cabana: remove msg on removing last signal (#27933)
old-commit-hash: d06936843b8759ce9b1e309620ef690ba99f2a28
2023-04-17 09:53:04 -07:00
Willem Melching
21f2724815 cabana: add setting to choose preferred drag direction for new signals (#27932)
old-commit-hash: 0f22bb50de38dee096442e54d30bf2b8cf8c1175
2023-04-17 09:52:45 -07:00
Dean Lee
40caca7e24 cabana: paint sparkline in threads (#27925)
* multiple threading realtime sparkline

* delay visible

* remove msg_id

* cleanup
old-commit-hash: ed1f03dc41bd508543265e2b4417d7ad2a08d928
2023-04-16 10:59:24 -07:00
Dean Lee
b8fcd32542 cabana: update recent files in menu after save as (#27926)
old-commit-hash: 48f8c02cf14fe764875477fee2c95c746d76f200
2023-04-16 09:55:03 -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
Adeeb Shihadeh
3fc4992af2 bump panda
old-commit-hash: d28da7309c23ac329172242b3dc2a5e7d2b4a1a7
2023-04-15 19:28:44 -07:00
Adeeb Shihadeh
b7c0e56697 CI: add job to update pre-commit hooks (#27922)
* CI: add job to update pre-commit hooks

* rm push
old-commit-hash: fd50713c2d5438ea8a928745ca833cc48cbfe67b
2023-04-15 18:08:26 -07:00
Dean Lee
52f0416736 cabana: fix message view performance issues after #27901 (#27908)
* fix message list issues

* override drawBranches, do nothing

* bypass QTreeView::datachanged

* remove data copy in binaryview::updateState

* rename to x_v2
old-commit-hash: f5d66fa2a9b1c09dfcab72e23610379c6960d0da
2023-04-15 16:25:24 -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
Shane Smiskol
6df32c06ad Add other contributor for HR-V port
old-commit-hash: 6ef13f7386941b9d348c7e3ac0d9e04a17285703
2023-04-14 12:25:42 -07:00
Dean Lee
4858164287 cabana: choose camera type in open route dialog (#27910)
* choose camera type

* use combobox

* cleanup
old-commit-hash: 6f801031e25dda537abeb50d2ee667b4c18792dc
2023-04-14 11:31:48 -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
Dean Lee
ab69c0ae9f cabana: fix chart high-dpi issues (#27912)
* fix high-dpi issues

* cleanup

* clear chart cache on screenChanged

* cleanup
old-commit-hash: 29a3b460343e62f31d0878a7dfd693891ff7a6f0
2023-04-14 10:22:59 -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
Shane Smiskol
6b69082c8c b is before c
old-commit-hash: b319b340b67220c7f19d4362a566d9cf8ff2c46c
2023-04-14 01:11:33 -07:00
Dean Lee
e9bdfdd807 cabana: display chart count in tab (#27853)
display chart count in tabbar
old-commit-hash: f77930f5697d45c83919b8b579ace9a7b2f9c9e1
2023-04-13 22:03:57 -07:00
Adeeb Shihadeh
aab590bcfb bump opendbc
old-commit-hash: 10ad276827bd28f53fbd1373f08a1c7fe3df1910
2023-04-13 21:54:02 -07:00
Adeeb Shihadeh
d3d799c419 pre-commit: add check-toml + update hooks (#27906)
* pre-commit: add check-toml

* update

* fix typo
old-commit-hash: 2adab40565c66275c9eab3143f9b95e461013957
2023-04-13 21:45:12 -07:00
Adeeb Shihadeh
80612bd015 Hyundai: 2023 EV6 is supported (#27907)
old-commit-hash: 419bcec3efee8d80179ccd4f6c3f1b77ebcef824
2023-04-13 21:44:52 -07:00