Commit Graph

8898 Commits

Author SHA1 Message Date
young adf52c7355 Kia: add missing K8 Hybrid 2024 FW (#32259)
add kia k8 hev 2024 fingerprints
2024-05-08 13:35:32 -07:00
andreasdamm 7ab39fb92c Added ECU FW version for 2021 Lincoln Aviator Black Label Grand Touring (#32361) 2024-05-07 21:49:52 -07:00
Adeeb Shihadeh 2d838f95da boardd: add debug flag for injecting SPI errors (#32346)
* pull out ll first

* errors

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-05-07 21:36:04 -07:00
Cameron Clough 85c9fea5d8 Ford: use platform codes to fuzzy fingerprint (#31124)
* Ford: use platform codes to fuzzy fingerprint

TODO: write scripts/tests (print platform codes and version ranges etc.)

May close #31052

* get_platform_codes: fix return type

* add print_platform_codes.py script

* print_platform_codes: sort versions

* match_fw_to_car_fuzzy: use set comprehension, and fix typo

* Ford: add missing Mach-E fw

From the route 83a4e056c7072678/2023-11-13--16-51-33 (which is already
in selfdrive/car/tests/routes.py, added in #30691).

* add ford_fuzzy_fingerprint.ipynb notebook

* get_platform_codes: use regex to parse firmware

* test_ford: test_platform_codes_fuzzy_fw

* test_ford: use get_platform_codes in test_fw_versions

* match_fw_to_car_fuzzy: improve comments

* test_ford: add test_platform_codes_spot_check

* test_ford: add test_match_fw_fuzzy

* remove comment from notebook

* TestFordFW: remove engine ECU FW

* update print_platform_codes.py

* remove part number (unecessary)

* platform codes can just use platform hint and model year - software revision not useful

* fuzzy FP on the platform hint and model year hint range

* fix platform codes test

* update notebook

* add notebook

* explain model year hint better

* test part numbers again

* cleanup notebooks

* remove notebook

* cleanup match_fw_to_car_fuzzy and add comments

* update comment

* .

* Revert "remove notebook"

This reverts commit 5d4ca202f2a23601d5c829204119f36a58f2b451.

* add notebook back

* remove PSCM from PLATFORM_CODE_ECUS

ABS and IPMA are the best for uniquely matching, and the radar is always required

* Revert "remove PSCM from PLATFORM_CODE_ECUS"

This reverts commit b7baeac19c18b5aa0c31da52f12054f4bae6e1ff.

* fix from merge

* more fixes

revert

* FW_RE -> FW_PATTERN

* this can actually be set

* conventions

* just add

* convention

* refactor matcher, this brings it more in line with Hyundai. IMPORTANT NOTE:

NOTE THAT WE remove the separation for the different platform code model year hint ranges, I don't see that being a problem

* better/smaller test

* add test to catch overlapping platform codes

* remove nb

* not now

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-05-07 20:28:59 -07:00
Adeeb Shihadeh cdf2e75cc3 reduce severity of offroad temperature alert 2024-05-07 15:58:59 -07:00
Adeeb Shihadeh 1fc3d9224e remove Offroad_InvalidTime alert 2024-05-07 15:58:29 -07:00
Shane Smiskol 888b38c3db print_flags.py: clean up
always ensure current impl of something is the best!
2024-05-07 15:06:23 -07:00
Shane Smiskol f597d63bf6 PlatformConfig: clean up and print all flags (#32369)
* script to print flags

* don't need

* SAL

* back

* fix
2024-05-07 15:00:02 -07:00
Shane Smiskol 3e7d9fa2fe Kia: add missing Carnival 2024 FW (#32365)
carnival 2024 FW
2024-05-06 17:10:12 -07:00
Shane Smiskol e5107b1eab debug test_models script fixes (#32362)
* some things were renamed without checking

* fix that
2024-05-06 15:01:06 -07:00
Shane Smiskol c05fc4872e [bot] Fingerprints: add missing FW versions from new users (#32357)
Export fingerprints
2024-05-06 13:47:20 -07:00
Shane Smiskol 3bf7009877 [bot] Fingerprints: add missing FW versions from new users (#32349)
Export fingerprints
2024-05-04 09:39:16 -07:00
Shane Smiskol 22be176b87 [bot] Fingerprints: add missing FW versions from new users (#32340)
Export fingerprints
2024-05-03 10:46:57 -07:00
Shane Smiskol d7d3111212 athenad: set TOS field for proxy WebSocket (#32337)
set TOS
2024-05-03 01:30:32 -07:00
Shane Smiskol 09aeab3f77 athenad: set a timeout on proxy WebSocket receive (#32336)
* useless

* Revert "useless"

This reverts commit 28f0bb9e9794d60eefba8063b47d8ca113308008.

* this forever hangs you disconnect (or 2 hours)

* same timeout as the global websocket

* Revert "same timeout as the global websocket"

This reverts commit 0bd0cb8a38a3e17960c1fae205311d86a9cf8feb.

* setting the timeout affects the entire websocket and disconnects, not just recv timeout

* fix that

* fix test
2024-05-02 20:30:19 -07:00
Adeeb Shihadeh bf2e00a233 CPU budget (#32335)
* cpu budget

* comment

* new line
2024-05-02 12:09:34 -07:00
Adeeb Shihadeh 6ef95f7a91 adjust gps alert 2024-05-01 11:35:20 -07:00
Harald Schäfer b9994c7c95 North Dakota Model (#32309)
* ND model

* 86d23b15-5c26-464d-9fb5-e857f025462c/700

* Model ref replay commit

* update ref again
2024-04-29 17:42:49 -07:00
Shane Smiskol 45c021955a [bot] Fingerprints: add missing FW versions from new users (#32315)
Export fingerprints
2024-04-29 08:53:24 -07:00
Armand du Parc Locmaria adabd108e2 commabody: ignore fcw alerts (#32301)
* ignore modelV2 and longitudinalPlan on the body to avoid fcw alerts

* move joystick_mode up because ignore depends on it

* revert and ignore fcw itself instead
2024-04-26 20:04:10 -07:00
Jack Merrill 5783bdc513 Subaru: Increase RPM Limit (#32299)
Increase the Subaru RPM limit in values.py, update panda submodule
2024-04-26 16:07:17 -07:00
Shane Smiskol 98ff2dd76e [bot] Fingerprints: add missing FW versions from new users (#32300)
Export fingerprints
2024-04-26 14:16:13 -07:00
Adeeb Shihadeh d56f188854 Revert "ui/cameraview: merge EGL Image Clearing code into clearEGLImages() (#32292)"
This reverts commit 7e6dda546e.
2024-04-25 11:14:03 -07:00
Dean Lee 7e6dda546e ui/cameraview: merge EGL Image Clearing code into clearEGLImages() (#32292) 2024-04-25 11:05:45 -07:00
Dean Lee d7d378aeef ui/network: add error handing for dbus call (#32164) 2024-04-24 20:16:02 -07:00
Dean Lee 3bcb6f82af ui/network: add error handling for refreshFinished (#32167) 2024-04-24 20:15:37 -07:00
Dean Lee 06c4a541da ui/map: check valid before accessing PositionECEF (#31961)
check valid
2024-04-24 20:14:42 -07:00
Shane Smiskol 97dc444023 fix uiview (#32290)
* fix uiview

* add DMoji!
2024-04-24 17:05:18 -07:00
Eric Brown 7f916f2e9d Add missing fingerprint migration for Escalade ESV (#32282)
Add fingerprint migration for CADILLAC ESCALADE ESV PLATINUM 2019
2024-04-22 18:21:51 -07:00
Shane Smiskol 6dcaeae369 VW: Add 3C chassis code for Passat (#32279)
* Add 3C for Passat in Australia

* add radar needed to fuzzy VIN match for b9783084b8aa0083
2024-04-22 18:20:14 -07:00
Shane Smiskol 124e081fe1 VW: add missing WMI for EU Atlas (#32280)
* test

* test is gonna be super platform specific

* need the radar to fuzzy fingerprint
2024-04-22 15:19:12 -07:00
Eric Brown 20c6cbc1d2 Remove ASCM harness footnote from car docs (#32271)
* Remove ASCM harness footnote from car docs

* Re-add Footnote class

* fix

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-04-22 12:22:48 -07:00
Shane Smiskol eb79fd552a [bot] Fingerprints: add missing FW versions from new users (#32270)
* Export fingerprints

* update
2024-04-22 12:22:37 -07:00
Shane Smiskol 099e31ae0a [bot] Fingerprints: add missing FW versions from new users (#32268)
Export fingerprints
2024-04-21 02:55:35 -07:00
Alexandre Nobuharu Sato 17ec4ad24e Honda: Brazilian HR-V 2023 fingerprint (#32243)
* fingerprint Honda HR-V 2023, brazilian market

* update routes

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-04-21 02:29:43 -07:00
Shane Smiskol b54d701c83 [bot] Fingerprints: add missing FW versions from CAN fingerprinting cars (#32264)
Export fingerprints
2024-04-21 01:46:19 -07:00
Shane Smiskol 8583e61b84 [bot] Fingerprints: add missing FW versions from new users (#32265)
Export fingerprints
2024-04-21 01:31:09 -07:00
Shane Smiskol 9f4cf8017f GM: hide ASCM from car docs (#32260)
* stash

* clean up

* programmatically

* Update selfdrive/car/gm/values.py

* do flags later

* clean up
2024-04-19 20:33:48 -07:00
Shane Smiskol fa1a6bcd6b GM: clean up test (#32261)
* not necessary

* Update selfdrive/car/gm/tests/test_gm.py
2024-04-19 19:38:39 -07:00
Shane Smiskol f427427b5e values: use union arguments (#32258)
* use get_args to reduce duplication

* clean up
2024-04-19 17:46:40 -07:00
Justin Newberry 3446de2b8e ui: fix non-updating text2 alerts (#32256)
fix joystick
2024-04-19 12:03:23 -07:00
Shane Smiskol 60c71580da [bot] Fingerprints: add missing FW versions from new users (#32253)
Export fingerprints
2024-04-19 11:14:40 -07:00
ZwX1616 331c7b103a image processing refactor and test (#32249)
* it's something

* backup

* 16:10

* cleanup

* this is fine

* close

* remove some junk

* no heck

* disos

* real 10

* for some reason this is flipped

* 20hz

* no return

* ae

* tear

* need curve laster

* correct real gains

* fix time

* cleanup

* why the scam

* disable for now

* 0.7

* hdr

* that doesnt work

* what

* hugeoof

* clean up

* cleanup

* fix regs

* welp cant

* is this corrent

* it is sq

* remove

* back

* stg10bit

* back2ten

* Revert "remove"

This reverts commit 18712ab7e103c12621c929cd0f772ecb9b348247.

* 20hz and swb

* correct height

* 10bit

* ui hack for now

* slight

* perfect

* blk64

* ccm

* fix page faults

* template

* set 4x

* is this fine

* try

* this seems to work

* Revert "this seems to work"

This reverts commit d3c9023d3f14bd9394fed2d6276dba777ed0e606.

* needs to be static

* close

* 64 is optimal

* 2

* take

* not 1

* offset

* whats going on

* i have no idea

* less resistence

* box defs

* no

* reduce blur artifacts

* simplify

* fix

* fake short is too much for bright

* can be subzero

* should not use lsvc

* no wasted bit

* cont no slow

* no less than 10bit

* it is based

* wrong

* right

* quart

* shift

* raise noise floor

* 4.5/4.7

* same ballpark

* int is fine

* shane owes me m4a4

* Revert "shane owes me m4a4"

This reverts commit b4283fee18efebedae628a6cfd926ff1416dcfe5.

* back

* Revert "4.5/4.7"

This reverts commit e38f96e90cb5370bd378f6b66def9e7e3ed0ce5d.

* default

* oof

* clean up

* simpilfy

* from sensorinfo

* no div

* better name

* not the wrong one

* not anymore relevant

* too

* not call it debayer

* cl headers

* arg is 2nd

* gone is is_bggr

* define

* no is hdr

* rgb_tmp

* p1

* clean up

* 4

* cant for

* fix somewhre else

* const

* ap

* rects

* just set staruc

* nnew tmp

* pull it for now

* 12

* common rect

* Revert "not anymore relevant"

This reverts commit 1d574673a16cc31b7a255609e07775c3579eef15.

* Revert "too"

This reverts commit c2d4dcc52a859fe799362f9fcc2ffda99b264e50.

* Revert "Revert "too""

This reverts commit 0abbabe1fde51592f1619058638b4ac6a6dee4b3.

* no tol is fine

* rename

* sensor id

* unsgin

* flag

* some linalg

* cast

* should be h ref

* cap

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-04-18 21:45:59 -07:00
Shane Smiskol 5d28b929c3 distance bars: bars always cycle 1, 2, 3 (#32251)
1, 2, 3 instead of 2, 3, 4
2024-04-18 19:39:08 -07:00
Shane Smiskol 23995131af car docs: add Camry 2025 to TS 2024-04-18 16:52:52 -07:00
Shane Smiskol a8e2c00b98 [bot] Fingerprints: add missing FW versions from new users (#32247)
Export fingerprints
2024-04-18 11:31:38 -07:00
Alexandre Nobuharu Sato 09f978d2b6 Multilang: update pt-BR translations (#32248)
update pt-BR translations
2024-04-18 10:24:49 -07:00
Shane Smiskol 2e5f2d208c Update ref_commit 2024-04-17 23:50:42 -07:00
Shane Smiskol 692a21e4a7 lateral limits: remove Subaru exception (#32244)
* remove exception

* update Outback params

* clean up

* adjust to the upper limit

* don't change control, only docs

* rough
2024-04-17 23:36:58 -07:00
Shane Smiskol cb8e336cd7 debug FW query offline: annotate sendcan/can (#32239)
bet
2024-04-17 15:38:05 -07:00