Commit Graph

10123 Commits

Author SHA1 Message Date
Dean Lee c5543bf21d cabana: support multiplexed signals (#28309)
* support muxed signals

* write multiplexor in generateDBC

* edit multiplex_switch_value in signalView

* no overlapping warning for mux signals

* group signals by multiplexer indicator

* display freq for each multiplexed signals

* remove all multiplexed signals after switch deleted

* disable switch value

* cleanup

* historyView: use getValue

* sort by switch value

* check address

* rename variables

* rename signale type

* parse multiplexed signals in dbcmanater

* cache signal color in member variable

* cleanup num_decimals

* remove sources from dbcmanager and cleanup code

* fix sort

* check mltiplex in operator==

* fix sizehint

* convert multipledxed to normal after changing multiplxor to normal

* throw error on multiple 'M' signals

* add comment

* parse multipled signals in test case

* cleanup

* change order

* cleanup open

* display multiplexed/overlapping signals in binaryview

* sort overlapped signals by size

* refactor dbcmanager

* trimmed

* parse multiplexed signals in test case

* cleanup

* merge master

* space

* use pointer for sigs

* alldbcFiles

* cleanup

* cleanup sparkline

* use std::vector

* skip draw sparkline if isnull

* bigger capacity
old-commit-hash: e08569b0f31953e185369eba9afb7fb20de714fa
2023-06-13 13:22:03 -07:00
Dean Lee 3cd5609257 cabana: fix core dump when failed to connect to panda (#28529)
old-commit-hash: 7128daebba7032d3a63f50b7875643e9905f52ae
2023-06-13 10:49:59 -07:00
Shane Smiskol 24af8edc7f HKG: FW part number test (#28525)
* start on test

* better regex

* lookbehind

* comments to choose from

* i did not know that!

* common patterns in values.py

* messy messy

* need to remove these

* rmrmrm

* clean up test

* fixups

* not used yet

* none should be good enough

* Update selfdrive/car/hyundai/values.py
old-commit-hash: e54d05b42f9f3e161f168dcc352a6e95cc60ad28
2023-06-13 02:01:40 -07:00
Shane Smiskol 52de14c8a1 Hyundai: remove old Sonata FW (#28527)
* Update values.py

* can't find last 2 years
old-commit-hash: 7fffb892e43057895a425b0b79a8c1da4e5da24e
2023-06-13 00:26:02 -07:00
Shane Smiskol ef8e399237 Hyundai: remove old Elantra FW (#28526)
* Update values.py

* don't see this fw last 2 years

* add version from 3ea622c3c0ec3055

* Update selfdrive/car/hyundai/values.py
old-commit-hash: 8c784ae558a3f06375fd7960aff887532d3d10cc
2023-06-13 00:14:49 -07:00
Shane Smiskol a9986892c0 Subaru: use latActive for steer request bit (#28453)
* subaru: use latactive

* Update ref_commit
old-commit-hash: bce19bf187ed9c444bca834f64460f1648abe587
2023-06-12 23:03:04 -07:00
Adeeb Shihadeh 2b9b5e3646 manager: watchdog restart UI with SIGKILL (#28523)
old-commit-hash: 58d32a70d7c6cd8285a0bc2ae03926b71a2d004e
2023-06-12 21:46:20 -07:00
Kacper Rączy 8aa845a1c8 modeld: use any available stream as main, if there's only one (#28514)
* Use whatever stream is available as main, if there's only one

* Move logw somewhere else

* Add wideRoadCameraState to ignore_alive if its not available
old-commit-hash: 4eb3d541492f7695227f4d8a83127cbd0d32ff79
2023-06-12 20:13:56 -07:00
Harald Schäfer 7855571bf4 bump cereal (#28519)
* bump cereal

* bump cereak
old-commit-hash: 33a1959d264537257ec29729be3bfe76b8cef467
2023-06-12 19:31:56 -07:00
Dean Lee d0199b64b5 laikad: move 'from_qcom_source' into try block (#28510)
fix not cached except
old-commit-hash: 825c5a87df1bc4ac4630c550697e19f048d05317
2023-06-12 17:05:43 -07:00
Adeeb Shihadeh ebc311bdc9 thermald: must be in yellow band to go onroad (#28517)
old-commit-hash: 9bb9657c9cf052ea6a78cb201b6eda41beb457cc
2023-06-12 16:33:33 -07:00
Erich Moraga ace8d7433b Add several missing RAM_1500 firmwares (#28515)
`ProjectZ3d#8762` 2023 RAM 1500  DongleID|route 4e0a5220533d9a86|2023-06-11--19-45-36
old-commit-hash: 9444df4c80f553c5eeac1ceb8154cfb42dcaf2b8
2023-06-12 15:18:35 -07:00
Dean Lee 4053228f67 cabana: display signal details in tooltip (#28471)
* show details in tooltip

* display tooltip in signalView

* cleanup

* setHeader before sortByColumn

* more compact tooltip

* move to util
old-commit-hash: 9632451d1d6a726d389a91bd47261c0acda1a6ae
2023-06-12 13:58:41 -07:00
Adeeb Shihadeh 4ab84b5dc1 thermald: common min date (#28457)
* thermald: common min date

* add to release files
old-commit-hash: d96361970b32a76422dc1acc7a78e5bdd55a4bed
2023-06-12 13:50:38 -07:00
Dean Lee eddc84d104 automatically detect available camera streams (#27640)
* remove WideCameraOnly

* check in set_initial_state

* no block

* remove try block

* apply reviews
old-commit-hash: 4ae0378f639826df5cc1518574842b61b118f371
2023-06-12 13:40:43 -07:00
Harald Schäfer e841a5ef81 Encoderd: refactor msg getters and setters (#28509)
* Encoderd: refactor msg getters and setters

* whitespace

* whitespace

* whitespace
old-commit-hash: 2453d3a04b38c59447184bde08e76aed66be3439
2023-06-12 00:08:00 -07:00
Harald Schäfer f4bf6a3ddd Encoderd: Give encoder threads good names (#28508)
old-commit-hash: 5df4ac61d37334c568745d7b78e2853d48d481bb
2023-06-11 23:25:16 -07:00
Harald Schäfer 1581ba80f8 Encoderd: give every camera stream list of encoder streams (#28480)
* Compiles

* fixed something

* CLEANUP

* todo

* More cleanup

* Add TODO

* Update loggerd.cc

* remove write here too
old-commit-hash: ac45b77d3bd86d7f6fc6fdb740bdfd28a5dea9e8
2023-06-11 22:23:40 -07:00
Harald Schäfer 0705a97292 Encoderd: encoders don't write, they only encode (#28499)
* Encoders dont write, they encode

* Delete words

* unused

---------

Co-authored-by: Harald Schaefer <torq_boi@Haralds-MacBook-Air.local>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d8f677c5eb8c3e5e7e42042144680e5ac454fe52
2023-06-11 15:02:42 -07:00
Adeeb Shihadeh d2ec950790 test onroad: explicit memory leak check (#28502)
old-commit-hash: 2f117e88b775a0b53a3ae99ae943caaa66f952f2
2023-06-11 14:43:25 -07:00
Dean Lee c31a4a40cf replay: fix timeline issues (#28501)
old-commit-hash: bd34124a84e9d2b4fc370f2dc7dde9541d8d4b9e
2023-06-11 13:41:23 -07:00
Adeeb Shihadeh 846cd63f53 thneed: cleanup duplicate GPU config (#28487)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b22cadc04d569a6f3593fe32eaec3a3a0e21ef9b
2023-06-11 13:26:41 -07:00
Jason Young a77df10dba VW MQB: Add FW for 2018 SEAT Leon (#28500)
aef9c04d6ec5cd57|2023-06-11--17-40-14
old-commit-hash: 5250975fa32dbd5a5a3cc08cc0a9c15a36850b47
2023-06-11 13:07:46 -07:00
Cameron Clough a2bb797670 add Lincoln Aviator 2020 FW (#28494)
0b91b433b9332780|2023-06-11--13-43-59

VIN: 5LM5J7XC9LGL15606
old-commit-hash: a5a0d734ba4f504d997cb19fe4ca21291ea7334f
2023-06-11 12:57:22 -07:00
Dean Lee 5ea1a3f778 replay: Improve the performance of the log parser (#28495)
old-commit-hash: 3a3e38e42591457f8e4a97a8559b9274d057880a
2023-06-11 08:28:30 -07:00
Adeeb Shihadeh 22882d740c Revert "Encoderd: encoders just encode, no writing (#28482)"
This reverts commit eed43696f113feeac757b147a782b8c063638a63.

old-commit-hash: 5161c2364538236b51674fbc63c7f9666e95928b
2023-06-11 08:27:09 -07:00
Cameron Clough c167ae232f Ford: shiftByWire ECU not used for fingerprinting (#28493)
old-commit-hash: 96420555e5766f835ec9b7d8f6207d87d9493571
2023-06-11 00:09:57 -07:00
Harald Schäfer c4bc3964a6 Encoderd: encoders just encode, no writing (#28482)
Encoders dont write, they encode
old-commit-hash: 1fd7542eae10e78fb363548da428a9c7a907638e
2023-06-10 23:44:01 -07:00
Cameron Clough 1befc68287 Ford: detect auxiliary panda (#28491)
old-commit-hash: 30c12e45575d94563ae85a79e19823e9120ef76b
2023-06-10 23:22:12 -07:00
Cameron Clough 5afe1c0ed0 selfdrive/car: reusable CanBus helper (#28489)
old-commit-hash: 28bf7436937a14f16020dd00ee224c1d3fe26705
2023-06-10 22:50:19 -07:00
Cameron Clough 727b79b66f UI: consider border when setting map width (#28488)
old-commit-hash: 22ebd4fa8f7f9974daf096db6d3e11034149d6d9
2023-06-10 22:09:48 -07:00
Jason Wen f7824bffb0 offroad ui: remove irrelevant comment (#28485)
old-commit-hash: f0eef38dc0287baa0c8450290b90a948fa7bf01f
2023-06-10 13:01:16 -07:00
Shane Smiskol de4b702ec3 FwQueryConfig: add platform code support and tests (#28475)
* add config options

* you know what, platform codes don't need to be related to fuzzy fingerprinting at all

* better comment?

* add comment

* add test from other PR

* add platform code function to hyundai

* comment and add eps!

* clean up config test

* fix test

* add error message to test

* until we have multiple ways a brand can set up fuzzy FP, let's leave func name fuzzy-specific

* rename in comment too

* hyundai tests

* simpler test!

* check all ecus with platform codes

* add types-python-dateutil = "^2.8.19.13"

* these aren't used any more

* Update selfdrive/car/hyundai/tests/test_hyundai.py

* not to imply this is active yet
old-commit-hash: f5e032b67f6e37d2c12dcd90168a2b33b3b78831
2023-06-09 22:51:55 -07:00
Shane Smiskol 99ae543680 env: add dateutil types (#28478)
* add dateutil types

* lock
old-commit-hash: fc9660c96206220e3b7f4656826fd2a88ea1ad4b
2023-06-09 22:04:56 -07:00
Adeeb Shihadeh ab538d21f9 thermald: lower threshold to exit red band
old-commit-hash: a77d226f33f618b965204c700fd0bfeb5f1547ab
2023-06-09 20:15:13 -07:00
Kacper Rączy 0541586636 process_replay: deprecated message migration (#28456)
* Move migration code to new file

* Migrate messages in process replay. Remove old code

* Fix old_logtime

* Keep old logtimes on migrated messages

* Update ref commit
old-commit-hash: 838346d8a3a139a160e3cc602ba38d6f3b09a00a
2023-06-09 19:17:50 -07:00
Cameron Clough e199a1a953 MapPanel cleanup (#28474)
old-commit-hash: f7f5537af74625e3a08352fef73eebffd4991a49
2023-06-09 17:08:57 -07:00
Comma Device 4eb842c0f2 test_amp: wait for panda
old-commit-hash: dec3c5a57d5893bd2f456fc88d3799300095a02e
2023-06-09 15:36:41 -07:00
Adeeb Shihadeh 678825e10f cloudlog process not running (#28472)
* cloudlog process not running

* error
old-commit-hash: a412cd07b105807a3fcd5fdc8b9caae0e227cf06
2023-06-09 15:36:15 -07:00
Adeeb Shihadeh 6888ba7bf2 bump cereal and panda
old-commit-hash: d1499fa5d8e28722dbaddae0c5941f9be12013bf
2023-06-09 14:44:57 -07:00
Maxime Desroches dcdb4db5b9 car docs: test print_docs_diff (#28459)
* test print docs

* delete

* remove this

* print
old-commit-hash: 181b44b28ea51429e270eb2c7a0cac20a871f214
2023-06-09 14:13:22 -07:00
Shane Smiskol 1b5e039afd Honda: set autoResumeSng for docs (#28458)
set autoResumeSng for Honda
old-commit-hash: 7a64385fcd5354efd3bd9dcf6972669c46d99c10
2023-06-09 11:20:42 -07:00
Dean Lee 900a08d7ce cabana: add "view" menu to the menu bar (#28467)
old-commit-hash: 376144dca3ed6875fa8b2cc2ccfea5593ae85e78
2023-06-09 10:54:52 -07:00
Lee Jong Mun c1e64b592e kor translation update (#28469)
old-commit-hash: b2288b366697a7ac16323e06419243a1785b371b
2023-06-09 10:54:39 -07:00
Dean Lee a297badd2e cabana: fix bg color issue for inactive item (#28468)
old-commit-hash: 0e67d41eef5fd39c57c5c75f181194ebff85a252
2023-06-09 10:50:25 -07:00
Cameron Clough dccc4329fb Update SSH README
old-commit-hash: f210b2da08cd2cf95cd6f47b33d83febd772b3ac
2023-06-08 21:05:38 -07:00
Shane Smiskol 1a3b5137b6 FPv2: add comment about nuance of fuzzy fingerprinting (#28465)
add comment describing this nuance of fuzzy fingerprint function
old-commit-hash: 3234243c97c7c6bf6fb4bb1298a7fd262e697c04
2023-06-08 20:47:55 -07:00
Shane Smiskol c73ef08d08 FPv2: fix accidental FW version concatenation (#28462)
* fix missing commas

* more

* Revert "more"

This reverts commit ebe481fee44f284a598ad9d5a83da37653faee99.

* only
old-commit-hash: 5736cb8a7ec2aab91a7b7d61908e8827e6031d51
2023-06-08 19:53:45 -07:00
Adeeb Shihadeh 380be7b25c boardd: log system and RTC time before sync (#28461)
old-commit-hash: 6bf1f81859bc03456a9a49245b434dbd35cc4442
2023-06-08 19:50:49 -07:00
Shane Smiskol aef0c54a26 params: make ForcePowerDown persistent (#28460)
old-commit-hash: 6bb61780ab48973c65086bd34185ee811eb6f0ec
2023-06-08 19:36:23 -07:00