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: e08569b0f3
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: 7128daebba
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: e54d05b42f
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: 7fffb892e4
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: 8c784ae558
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: bce19bf187
2023-06-12 23:03:04 -07:00
Adeeb Shihadeh
2b9b5e3646 manager: watchdog restart UI with SIGKILL (#28523)
old-commit-hash: 58d32a70d7
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: 4eb3d54149
2023-06-12 20:13:56 -07:00
Harald Schäfer
7855571bf4 bump cereal (#28519)
* bump cereal

* bump cereak
old-commit-hash: 33a1959d26
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: 825c5a87df
2023-06-12 17:05:43 -07:00
Adeeb Shihadeh
ebc311bdc9 thermald: must be in yellow band to go onroad (#28517)
old-commit-hash: 9bb9657c9c
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: 9444df4c80
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: 9632451d1d
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: d96361970b
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: 4ae0378f63
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: 2453d3a04b
2023-06-12 00:08:00 -07:00
Harald Schäfer
f4bf6a3ddd Encoderd: Give encoder threads good names (#28508)
old-commit-hash: 5df4ac61d3
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: ac45b77d3b
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: d8f677c5eb
2023-06-11 15:02:42 -07:00
Adeeb Shihadeh
d2ec950790 test onroad: explicit memory leak check (#28502)
old-commit-hash: 2f117e88b7
2023-06-11 14:43:25 -07:00
Dean Lee
c31a4a40cf replay: fix timeline issues (#28501)
old-commit-hash: bd34124a84
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: b22cadc04d
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: 5250975fa3
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: a5a0d734ba
2023-06-11 12:57:22 -07:00
Dean Lee
5ea1a3f778 replay: Improve the performance of the log parser (#28495)
old-commit-hash: 3a3e38e425
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: 5161c23645
2023-06-11 08:27:09 -07:00
Cameron Clough
c167ae232f Ford: shiftByWire ECU not used for fingerprinting (#28493)
old-commit-hash: 96420555e5
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: 1fd7542eae
2023-06-10 23:44:01 -07:00
Cameron Clough
1befc68287 Ford: detect auxiliary panda (#28491)
old-commit-hash: 30c12e4557
2023-06-10 23:22:12 -07:00
Cameron Clough
5afe1c0ed0 selfdrive/car: reusable CanBus helper (#28489)
old-commit-hash: 28bf743693
2023-06-10 22:50:19 -07:00
Cameron Clough
727b79b66f UI: consider border when setting map width (#28488)
old-commit-hash: 22ebd4fa8f
2023-06-10 22:09:48 -07:00
Jason Wen
f7824bffb0 offroad ui: remove irrelevant comment (#28485)
old-commit-hash: f0eef38dc0
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: f5e032b67f
2023-06-09 22:51:55 -07:00
Shane Smiskol
99ae543680 env: add dateutil types (#28478)
* add dateutil types

* lock
old-commit-hash: fc9660c962
2023-06-09 22:04:56 -07:00
Adeeb Shihadeh
ab538d21f9 thermald: lower threshold to exit red band
old-commit-hash: a77d226f33
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: 838346d8a3
2023-06-09 19:17:50 -07:00
Cameron Clough
e199a1a953 MapPanel cleanup (#28474)
old-commit-hash: f7f5537af7
2023-06-09 17:08:57 -07:00
Comma Device
4eb842c0f2 test_amp: wait for panda
old-commit-hash: dec3c5a57d
2023-06-09 15:36:41 -07:00
Adeeb Shihadeh
678825e10f cloudlog process not running (#28472)
* cloudlog process not running

* error
old-commit-hash: a412cd07b1
2023-06-09 15:36:15 -07:00
Adeeb Shihadeh
6888ba7bf2 bump cereal and panda
old-commit-hash: d1499fa5d8
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: 181b44b28e
2023-06-09 14:13:22 -07:00
Shane Smiskol
1b5e039afd Honda: set autoResumeSng for docs (#28458)
set autoResumeSng for Honda
old-commit-hash: 7a64385fcd
2023-06-09 11:20:42 -07:00
Dean Lee
900a08d7ce cabana: add "view" menu to the menu bar (#28467)
old-commit-hash: 376144dca3
2023-06-09 10:54:52 -07:00
Lee Jong Mun
c1e64b592e kor translation update (#28469)
old-commit-hash: b2288b3666
2023-06-09 10:54:39 -07:00
Dean Lee
a297badd2e cabana: fix bg color issue for inactive item (#28468)
old-commit-hash: 0e67d41eef
2023-06-09 10:50:25 -07:00
Cameron Clough
dccc4329fb Update SSH README
old-commit-hash: f210b2da08
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: 3234243c97
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: 5736cb8a7e
2023-06-08 19:53:45 -07:00
Adeeb Shihadeh
380be7b25c boardd: log system and RTC time before sync (#28461)
old-commit-hash: 6bf1f81859
2023-06-08 19:50:49 -07:00
Shane Smiskol
aef0c54a26 params: make ForcePowerDown persistent (#28460)
old-commit-hash: 6bb61780ab
2023-06-08 19:36:23 -07:00