Commit Graph

9574 Commits

Author SHA1 Message Date
Harald Schäfer
da3003ee41 Alpha long control no longer called experimental (#28437)
* Fix words

* vanish

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-06-14 21:51:55 -07:00
Adeeb Shihadeh
4a0b5dacbb pandad: update time from RTC (#28466)
* pandad: update time from RTC

* Update pandad.py

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-06-14 21:42:33 -07:00
Harald Schäfer
6d25f66cf1 Laikad: Need to understand constellationId to understand clock (#28552)
Need to understand constellationId to understand clock
2023-06-14 19:54:51 -07:00
Shane Smiskol
c453771492 HKG: add script to view platform codes (#28549)
add script
2023-06-14 15:54:04 -07:00
Cameron Clough
7a5b0b97e1 Ford Escape 2020 FW (#28545) 2023-06-14 15:53:58 +01:00
Harald Schäfer
155cab9ec4 Disable internet in laikad.py, even in CI (#28535)
* Limit OPENBLAS to 1 thread in manager

* Restrict openblas threads when running openpilot

* print in CI

* Disable internet for laika, even in CI

* update ref
2023-06-13 23:39:11 -07:00
Harald Schäfer
c5c9d5b921 Fix CARLA simulation (#28541)
* logmessaged conflicts with onnxrunner

* More fixes, now engages

* Fix can properly

* Otherwise it faults

* Put check back

* remove more hacks

* remove more hacks

* Not relevant anymore

* Narrow camera default
2023-06-13 22:54:37 -07:00
Shane Smiskol
d94c2a8ef7 Hyundai FPv2 unit tests: clean up (#28542)
* be consistent with quotes

* combine tests

* cmt
2023-06-13 22:17:47 -07:00
Shane Smiskol
6c619561ee FPv2 timing unit test: halve runs (#28540)
Update test_fw_fingerprint.py
2023-06-13 21:26:31 -07:00
Shane Smiskol
572a221a86 FwQueryConfig: remove platform codes (#28538)
* bring platform codes out of config for now (can re-introduce later)

* clean that up

* flake8

* comment

* comments and better test names

* typo

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

* Update selfdrive/car/hyundai/tests/test_hyundai.py
2023-06-13 20:41:03 -07:00
Maxime Desroches
348df9c974 Fix index out of bound error for body carcontroller (#28539) 2023-06-13 20:37:17 -07:00
Shane Smiskol
fcc268b8be exact matching: use set for invalid (#28537)
use set
2023-06-13 20:00:54 -07:00
Kacper Rączy
15fcd0d9d4 regen: remove support for fake extra vision client (#28520)
* Remove extra client from camera replay

* Fix another device type check
2023-06-13 16:13:20 -07:00
Kacper Rączy
242e8d2ca8 locationd: initial value for gps_std_factor (#28533)
* setup_gps method

* Add LocalizerGnssSource

* slight refactor

* make it more readable

* Move gnss_source initialization to configure_gnss_souce

* Add gps_variance_factor, gps_vertical_variance_factor and gps_time_offset

* add header changes
2023-06-13 16:12:53 -07:00
Shane Smiskol
55e489db7c HKG: split up platform code parsing (#28532)
* test diff

* clean up

* clean up

* doesn't work :(

* fix mypy
2023-06-13 14:47:45 -07:00
Dean Lee
e08569b0f3 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
2023-06-13 13:22:03 -07:00
Dean Lee
7128daebba cabana: fix core dump when failed to connect to panda (#28529) 2023-06-13 10:49:59 -07:00
Shane Smiskol
e54d05b42f 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
2023-06-13 02:01:40 -07:00
Shane Smiskol
7fffb892e4 Hyundai: remove old Sonata FW (#28527)
* Update values.py

* can't find last 2 years
2023-06-13 00:26:02 -07:00
Shane Smiskol
8c784ae558 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
2023-06-13 00:14:49 -07:00
Shane Smiskol
bce19bf187 Subaru: use latActive for steer request bit (#28453)
* subaru: use latactive

* Update ref_commit
2023-06-12 23:03:04 -07:00
Adeeb Shihadeh
58d32a70d7 manager: watchdog restart UI with SIGKILL (#28523) 2023-06-12 21:46:20 -07:00
Kacper Rączy
4eb3d54149 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
2023-06-12 20:13:56 -07:00
Harald Schäfer
33a1959d26 bump cereal (#28519)
* bump cereal

* bump cereak
2023-06-12 19:31:56 -07:00
Dean Lee
825c5a87df laikad: move 'from_qcom_source' into try block (#28510)
fix not cached except
2023-06-12 17:05:43 -07:00
Adeeb Shihadeh
9bb9657c9c thermald: must be in yellow band to go onroad (#28517) 2023-06-12 16:33:33 -07:00
Erich Moraga
9444df4c80 Add several missing RAM_1500 firmwares (#28515)
`ProjectZ3d#8762` 2023 RAM 1500  DongleID|route 4e0a5220533d9a86|2023-06-11--19-45-36
2023-06-12 15:18:35 -07:00
Dean Lee
9632451d1d 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
2023-06-12 13:58:41 -07:00
Adeeb Shihadeh
d96361970b thermald: common min date (#28457)
* thermald: common min date

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

* check in set_initial_state

* no block

* remove try block

* apply reviews
2023-06-12 13:40:43 -07:00
Harald Schäfer
2453d3a04b Encoderd: refactor msg getters and setters (#28509)
* Encoderd: refactor msg getters and setters

* whitespace

* whitespace

* whitespace
2023-06-12 00:08:00 -07:00
Harald Schäfer
5df4ac61d3 Encoderd: Give encoder threads good names (#28508) 2023-06-11 23:25:16 -07:00
Harald Schäfer
ac45b77d3b 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
2023-06-11 22:23:40 -07:00
Harald Schäfer
d8f677c5eb 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>
2023-06-11 15:02:42 -07:00
Adeeb Shihadeh
2f117e88b7 test onroad: explicit memory leak check (#28502) 2023-06-11 14:43:25 -07:00
Dean Lee
bd34124a84 replay: fix timeline issues (#28501) 2023-06-11 13:41:23 -07:00
Adeeb Shihadeh
b22cadc04d thneed: cleanup duplicate GPU config (#28487)
Co-authored-by: Comma Device <device@comma.ai>
2023-06-11 13:26:41 -07:00
Jason Young
5250975fa3 VW MQB: Add FW for 2018 SEAT Leon (#28500)
aef9c04d6ec5cd57|2023-06-11--17-40-14
2023-06-11 13:07:46 -07:00
Cameron Clough
a5a0d734ba add Lincoln Aviator 2020 FW (#28494)
0b91b433b9332780|2023-06-11--13-43-59

VIN: 5LM5J7XC9LGL15606
2023-06-11 12:57:22 -07:00
Dean Lee
3a3e38e425 replay: Improve the performance of the log parser (#28495) 2023-06-11 08:28:30 -07:00
Adeeb Shihadeh
5161c23645 Revert "Encoderd: encoders just encode, no writing (#28482)"
This reverts commit 1fd7542eae.
2023-06-11 08:27:09 -07:00
Cameron Clough
96420555e5 Ford: shiftByWire ECU not used for fingerprinting (#28493) 2023-06-11 00:09:57 -07:00
Harald Schäfer
1fd7542eae Encoderd: encoders just encode, no writing (#28482)
Encoders dont write, they encode
2023-06-10 23:44:01 -07:00
Cameron Clough
30c12e4557 Ford: detect auxiliary panda (#28491) 2023-06-10 23:22:12 -07:00
Cameron Clough
28bf743693 selfdrive/car: reusable CanBus helper (#28489) 2023-06-10 22:50:19 -07:00
Cameron Clough
22ebd4fa8f UI: consider border when setting map width (#28488) 2023-06-10 22:09:48 -07:00
Jason Wen
f0eef38dc0 offroad ui: remove irrelevant comment (#28485) 2023-06-10 13:01:16 -07:00
Shane Smiskol
f5e032b67f 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
2023-06-09 22:51:55 -07:00
Shane Smiskol
fc9660c962 env: add dateutil types (#28478)
* add dateutil types

* lock
2023-06-09 22:04:56 -07:00
Adeeb Shihadeh
a77d226f33 thermald: lower threshold to exit red band 2023-06-09 20:15:13 -07:00