Commit Graph

9679 Commits

Author SHA1 Message Date
Shane Smiskol aec9b99854 Honda: Ridgeline 2023 is supported (#27979)
* Update values.py

* update docs
old-commit-hash: b9149795f10232747a8ab5b5ca37625d5a0d4137
2023-04-19 20:40:30 -07:00
Adeeb Shihadeh 619342f78e bump panda
old-commit-hash: a8bc26a9246ddf04a0c65564c31d531279149a78
2023-04-19 17:55:06 -07:00
Harald Schäfer fc6a779d12 Laikad: fix bad init elevation incorrect (#27974)
* Laikad: fix bad init elevation incorrect

* update ref
old-commit-hash: 922b09de96201e4c0d1cdf6027dc07b1d76902d0
2023-04-19 14:04:24 -07:00
Willem Melching 51216976d9 MacOS: link against openssl@3.0 (#27978)
old-commit-hash: d0b309ab0d6251acff5d0b7887202d1a694ab734
2023-04-19 13:31:19 -07:00
Willem Melching bbe10913cf cabana: fix shadowed variable in abstractstream.cc (#27976)
old-commit-hash: 31cdb8de4ced73714db085d19bc12d01b2e7fab4
2023-04-19 13:31:03 -07:00
Willem Melching 539a46d989 cabana: fix crash on MacOS when combining graphs (#27977)
old-commit-hash: 2cf2e784cff97ac5804fb96975500b87c08a3a41
2023-04-19 13:20:53 -07:00
Adeeb Shihadeh edca33a78c tools: improved CAN replay (#27975)
old-commit-hash: e3bd28bddfed626440a3d1a43fd8eeb3f881d77c
2023-04-19 11:46:22 -07:00
Adeeb Shihadeh cdbf69f724 UI: cleanup old training guide assets (#27973)
* UI: cleanup old training guide assets

* rm that
old-commit-hash: 38b99b5461f98b24d9a73c17aa5b6833f0c0e419
2023-04-19 11:10:50 -07:00
Angus Gratton f1e674f30c cabana/cameraview: Scale the glViewPort by devicePixelRatio() (#27941)
* cameraview: Scale the glViewPort by devicePixelRatio()

This fixes an issue seen in Cabana on a "hidpi" system with Wayland where
devicePixelRatio() != 1 and the video doesn't take up the full widget area.

On the recommended Ubuntu 20.04 install I wasn't able to reproduce, because
devicePixelRatio() was always equal to 1 even with scaling to 200% or 300%. It
might be different if "Fractional Scaling" is enabled in GNOME (I couldn't make
that option work in mv WM.)

Was going to enable just for Linux, but it appears to also be recommended for
Retina MacOS:
https://doc.qt.io/qt-5/scalability.html#high-dpi-scaling-on-macos-and-ios

... so have worked from the assumption that glViewport() always takes dimensions
in device pixels, never the "device independent pixels" of Qt.

* Update selfdrive/ui/qt/widgets/cameraview.cc

* Update selfdrive/ui/qt/widgets/cameraview.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fbcd0821c92af58137e5b34f0cfe37ffd1c08642
2023-04-19 11:06:54 -07:00
Adeeb Shihadeh e20b612a20 bump panda
old-commit-hash: b3c101527fe66f792e49d557c710335a9e9234bc
2023-04-19 10:56:38 -07:00
Willem Melching e32ba8719a cabana: more advanced DBC management features (#27968)
* cabana: improve menu to manage individual DBCs

* remove from single bus

* comments

* close explicitly

* new before open

* whitespace

* remove old code

* clipboard actions

* cleanup actions

* sections instead of nested menu

* consistent bus format
old-commit-hash: 7f5cda00b5040a641c7775caf7c6a38b507c5210
2023-04-19 10:49:30 -07:00
Dean Lee 1045c7d836 cabana: startup stream chooser dialog (#27938)
* new StreamDialog

* choose dbc file

* update last_dir

* move to /streams

* cleanup

* add stretch

* catch panda exception

* cleanup

* cleanup

* small cleanup

* fix pandaStream crash caused by a failed connection

* static function to create stream widget

* cleanup
old-commit-hash: 590b1bc2062d8a7f1ec253e0d0c5ab94799524c1
2023-04-19 10:49:06 -07:00
Willem Melching d4cea1f024 cabana: enable Hi-DPI support on MacOS (#27965)
old-commit-hash: 475903e24486be0a5be2bb935db221832c9cd239
2023-04-19 10:48:36 -07:00
Willem Melching 69625b7f6c cabana: use cyan/red coloring for values that move mostly up/down (#27966)
old-commit-hash: 8da57459702736d8ba347965b12465e57041a82b
2023-04-19 10:45:07 -07:00
Dean Lee 70800c6397 cabana: refactor the cache for CAN events (#27969)
old-commit-hash: 8ad2d84aebc29a0cec031f798a6af5c5c202cc27
2023-04-19 10:44:52 -07:00
Dean Lee 7a51caa0af cabana: make head section movable (#27971)
* set sections movable

* change setting key to v3

* add comment

* remove restorestate from MainWindow
old-commit-hash: f9568e98182c0e45226185945c66249de278cfdd
2023-04-19 10:28:09 -07:00
Shane Smiskol 6d69fc17da Ford: simple rate limits (#27446)
* simple limits

* add script

* useless

* remove script

* cleanup comments

* bump curvature limits

* divide by 20

* add comment

* add panda safety

* add back notebook with multi route support

* remove

* bump up low speed up

* comment
old-commit-hash: 3c55f49dd8ac74db9b64adc4c24536aa46dc8128
2023-04-18 23:27:49 -07:00
Dean Lee d8637d0dd3 cabana: reduce the number of ticks on the Y-axis (#27964)
old-commit-hash: de62972e2c283882232faca9e309b3cffe0ac6e4
2023-04-18 22:48:36 -07:00
Saber422 0206d6e967 VW MQB: add missing 2022 KODIAQ FW (#27962)
* VW MQB: add missing 2022 KODIAQ FW

route:8a5da7c1d1783730|2023-04-18--11-40-31--76

* sort

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 500c049590ba9dfe4153e7b06486973fcdae25a9
2023-04-18 22:38:37 -07:00
Shane Smiskol b76bd9b4b5 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
old-commit-hash: 9b1095a27e6d9645ef64fcea3a6375117bccfe6e
2023-04-18 21:34:49 -07:00
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