Commit Graph

7421 Commits

Author SHA1 Message Date
ZwX1616
c995acda7c driverview: use static icon (#27448)
* fix alpha

* prerender
2023-02-28 03:01:55 +08:00
Shane Smiskol
581fd62d26 steer limits: rename common dist to meas function (#27453)
* rename function

* make a wrapper function (ford uses dynamic up/down limits

* make two functions consistent

* make torque function convert to int
2023-02-26 17:32:52 -08:00
Cameron Clough
f64fa07b0a setup: set download timeout (#27441) 2023-02-23 19:46:06 -08:00
Cameron Clough
79e6910106 setup: detailed error messages (#27429)
* setup: specific error state for non-executable file

* Result -> DownloadResult

* complete -> finished

* rename widgets to be more consistent

* fix typos

* fix setCurrentIndex

This appears to have different behaviour on device than on PC (off by
one)

* load fonts

* copy

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Revert "load fonts"

This reverts commit e8756598ed99aea39ef5721453e97920a494051c.

* font family

* undo

* less widgets more better

* font size

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-02-23 19:45:48 -08:00
Shane Smiskol
d5688ae49f Angle control: fix limiting bug (#27428)
* fix steer up bug

* Update ref_commit
2023-02-23 16:18:32 -08:00
Adeeb Shihadeh
7a3b3e8b56 better main off alert (#27442) 2023-02-23 15:01:10 -08:00
Cameron Clough
90db46e775 setup: write installer URL to tmpfile (#27426)
* setup: write installer URL to tmpfile

* missed ptr type
2023-02-22 17:26:37 -08:00
Shane Smiskol
b00eb57bb7 Ford: adjust curvature rate limits (#27427)
* fix up

* Update ref_commit
2023-02-22 15:59:07 -08:00
Adeeb Shihadeh
9d64fb2d1a improved fan malfunction detection (#27405) 2023-02-22 14:11:29 -08:00
Kurt Nistelberger
6b4ac801e7 laikad: use new cache param (#27404)
* add backward compatibility

* rename laikad cache file

* rm and update

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-02-22 14:11:04 -08:00
Shane Smiskol
f2982340f8 Ford: adjust curvature rate limits (#27423)
* Update values.py

* Update values.py

* make consistent

* Update ref_commit
2023-02-22 14:09:16 -08:00
Adeeb Shihadeh
72539fa177 AGNOS system reset: handle ABL reset (#27418)
* AGNOS system reset: handle ABL reset

* no more tapping

* eta
2023-02-21 21:34:02 -08:00
huifan0114
f381b69401 Škoda: add missing FW versions for 2019 Kodiaq (#27410)
* Update values.py

* remove duplicate

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-21 19:14:19 -08:00
Adeeb Shihadeh
1504c10760 GM: revert steering limits update (#27413)
* Revert " GM: update steering limits (#27331)"

This reverts commit 1cdf80003d.

* update refs

* bump panda
2023-02-21 15:48:10 -08:00
Adeeb Shihadeh
2008332bd4 GM: revert custom Bolt torque tune (#27403)
* Revert "GM: cleanup torque feedforward function (#27347)"

This reverts commit 8c099dd4e5.

* Revert "Chevrolet Bolt: Non-linear torque tune (#27344)"

This reverts commit e49748d571.

* update refs
2023-02-21 15:27:48 -08:00
Shane Smiskol
3c66106539 Chrysler Pacifica Hybrid 2017: add missing CAN FP (#27408)
add missing 840: 8
2023-02-20 18:02:52 -08:00
Adeeb Shihadeh
ea419c5764 add 'remount device' to permanent calibration invalid alert (#27407) 2023-02-20 16:29:17 -08:00
Shane Smiskol
dff054d4df Ford: filter steering pressed (#27123)
* ford steering pressed filter

* raise to 1.0

* Update ref_commit
2023-02-20 16:13:01 -08:00
Shane Smiskol
79749a306c GM: add longitudinal delay to Escalade (#27406)
* add delay to escalade too

* order
2023-02-20 16:12:11 -08:00
Shane Smiskol
14d44e4444 GM: remove redundant CarController class variable (#27280)
* clean up

* fix check

* only set ts_nanos on update
2023-02-20 15:33:15 -08:00
Eric Brown
c3ba2a025b GM: detect unplugged or missing radar (#27245)
* Add flashed Volt fingerprint

* Add another fingerprint

* Detect radar header message

* dashcamOnly if ASCM vehicle with radar unavailable

May be able to change this in the future to OP long off with experimental long available

* no submodule update

* Revert minEnableSpeed

* combine into one fingerprint

* Don't use GM radar DBC

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* unused

* add new FP

* update docs

* use_off_car_defaults

use_off_car_defaults

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-20 15:28:32 -08:00
Webomcar
500b1b4a5c Add missing FW for Toyota C-HR Hybrid 2020 (#27366)
* Update values.py

* Verified C-HR 2020 is TSS-P

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-20 15:23:42 -08:00
kaischiefer-srd
e1051e5e5c Toyota: add engine FW for 2021 NX300 (#27326)
added engine fw for our 2021 NX300 F sport
2023-02-20 14:11:46 -08:00
Shane Smiskol
1bd15f00a7 Toyota: expand C-HR Hybrid model years (#27402)
we probably support 2021 too
2023-02-20 14:07:22 -08:00
Chris Hart
ba3d3bd940 SANTA_FE_2022: add missing transmission FW (#27369)
* Added new fingerprints for updated SANTAFE_2022

* Update values.py

fixed missing comma that was breaking build

* Revert "Update values.py"

This reverts commit 58837eadd4cfb57ec56a45592c21b251e6c52957.

* Revert "Added new fingerprints for updated SANTAFE_2022"

This reverts commit 3bec6e0196e9fcac83a34f79b7b860f2e24aa763.

* add FW, remove radar FW from long query

---------

Co-authored-by: Chris Hart <chris@creyonbio.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-20 14:03:42 -08:00
Shane Smiskol
55da5175ae HKG: update Santa Cruz model years (#27401)
2021 Santa Cruz doesn't exist
2023-02-20 13:29:37 -08:00
Matt Crum
4918daaf5d Added FW for 2023 Hyundai Santa Cruz Limited (#27395)
* Update values.py

Added additional firmware version for Santa Cruz 1st Gen forward camera
Updated CAR.SANTA_CRUZ_1ST_GEN's information to include 2023 models

* Update values.py

added fwdRadar firmware version

* Update CARS.md

Updated to include 2023 Hyundai Santa Cruz
2023-02-20 13:25:46 -08:00
Jason Wen
a20f07144b Hyundai CAN-FD: common PT bus function cleanup (#27397)
* Hyundai CAN-FD: common PT bus function cleanup

* use CP

* Update selfdrive/car/hyundai/hyundaicanfd.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-20 13:19:17 -08:00
Dean Lee
8e3cb0fb20 cabana: add qrc resource file (#27386)
* add qrc resource file

* remove export
2023-02-19 15:14:13 -08:00
Harald Schäfer
eb8bdc0026 MPC path in UI (#27380)
* 10s lat

* Full length MPC

* redfine N

* Leave controls the same for now

* Updates

* use long plan in lat plan

* interp plan

* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/

* expand to 10s

* revert this

* fix linter

* vizualize

* fix long test

* typo

* cleanup

* compiles

* unused

* unused

* bump cereal

* bump cereal

* use model if no uiplanm

* update replay

* update ref commit

* bump cereal to master
2023-02-17 19:58:30 -08:00
Cameron Clough
ce9fd785d5 Ford: add CarInfo for Plug-in Hybrids 2023-02-17 19:30:06 -08:00
Cameron Clough
7330466dff Ford Escape PHEV 2022 Fingerprint (#27382)
* Ford Escape PHEV 2022 Fingerprint

6cffc47c251aa36c|2023-02-17--18-17-14

VIN: 1FMCU0EZ0NUB76728

* include MY2022 in car info

* Update selfdrive/car/ford/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

---------

Co-authored-by: koffee-bean <srivastavasid91@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-17 19:12:15 -08:00
Shane Smiskol
b6fd39856c HKG: simplify Ioniq car params (#27371)
* move PHEV to other ioniqs

* reverse if

* order

* order
2023-02-17 18:39:27 -08:00
Harald Schäfer
04fe6c4ec7 Expand lateral MPC to 10s (#27343)
* 10s lat

* Full length MPC

* redfine N

* Leave controls the same for now

* Updates

* use long plan in lat plan

* interp plan

* add new interp

* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/

* expand to 10s

* revert this

* fix linter

* Update sconscripts

* fix test

* fix test

* fix test

* Revert "Update sconscripts"

This reverts commit 6e23c69dcebd5ed003e37e01921f6af7c31de0db.

* Dont import drive helpers

* better compile deps

* fix compile

* comment

* update replay

* Update plannerd time
2023-02-17 15:28:26 -08:00
Adeeb Shihadeh
dad948983a chyrsler: add comment about radar parsing 2023-02-17 15:04:21 -08:00
Shane Smiskol
b2453d55c1 Hyundai: detect FCA feature (#27322)
* detect fca

* use value

* it will be from camera on camera acc cars

* Update ref_commit
2023-02-16 21:52:32 -08:00
Shane Smiskol
5e0b281119 HKG: log AEB/FCW for Kia Ceed (#27364)
Ceed uses FCA
2023-02-16 16:09:11 -08:00
Shane Smiskol
2769b110e0 Fingerprint for Hyundai Santa Fe 2019 Europe (#26952)
* Fingerpint fur Hyundai Santa Fe 2019 Europe

* add version for transmission segment 092ef1cc055c6354|2023-01-05--17-49-21

* remove long

---------

Co-authored-by: sevdokim <se.evdokimov@gmail.com>
2023-02-15 19:42:56 -08:00
gregschueman
d7ddf25899 2021 Hyundai Ioniq PHEV - additional engine fingerprint added (#27221)
* Update values.py

Addition of Hyundai 2021 Ioniq PHEV modeled on 2019 entry

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* replace with shorter trans

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-15 19:21:36 -08:00
wowcat1234
4638d4b1a2 Add fingerprint for Hyundai Ioniq 22 limited HEV (#27334)
* Update values.py

* update for ioniq HEV 22

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-15 19:17:46 -08:00
Jason Wen
90ce7605c1 Hyundai: 2015-16 Genesis resume from standstill fix (#25579)
* Hyundai: 2015-16 Genesis resume from standstill fix

* Add comment

* Fix typo

* Merge both methods

* Add back the comment

* 20Hz not needed according to tester

* no new global state variable

* PCM's perspective: random counter -> random counter

* only send 5

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-15 17:33:04 -08:00
Ricky Gilleland
b76795d7f0 GM: Escalade 2017 support (#27276)
* Initial 2017 Escalade values

* update docs/CARS.md

* revert back to v1 fingerprint & add test route

* revert bad merge

* update fingerprint

* update

* update

* Update selfdrive/car/gm/values.py

* Update selfdrive/car/gm/values.py

* no engine

* Try global tune

* pcm

* Driver Assist Package has ACC, and includes LKAS from previous package

* update docs

* add to releases

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-15 17:07:24 -08:00
Shane Smiskol
89934b35d0 Car interfaces: assert reasonable centerToFront range (#27356)
* assert reasonable centerToFront values

* comment

* fix Bolt centerToFront

* Update ref_commit
2023-02-15 16:27:00 -08:00
Shane Smiskol
48b059d367 CAN fingerprint script improvements (#27355)
* match online logic

* 0 and 2 are different buses. on gm, same address has different lengths

* match fingerprint_from_route
2023-02-15 15:59:23 -08:00
Shane Smiskol
2bc2dbfb70 process replay: fix hang 2023-02-15 15:55:08 -08:00
Shane Smiskol
5dde8f2c84 Write boardd param to continue startup (#27354)
disable at the bottom
2023-02-15 15:52:10 -08:00
Adeeb Shihadeh
00513f1001 locationd: adjust GPS alive check for QCOM GPS (#27339)
* locationd: adjust GPS alive check for QCOM GPS

* update refs

* update refs
2023-02-15 11:28:47 -08:00
Rob Chouinard
d4c5b8d6f4 Allow Honda Nidec vehicles with comma pedal to drive at max speed. (#26902)
Without this Honda Nidec vehicles with the comma pedal will drive around 2 mph under the max speed.
2023-02-14 22:24:13 -08:00
Shane Smiskol
8c099dd4e5 GM: cleanup torque feedforward function (#27347)
no numpy
2023-02-14 22:06:23 -08:00
Shane Smiskol
c4b84783a0 Honda Bosch: gather available ECUs from camera (#27180)
* add flag

* actually use in fw_versions.py

* simpler

* not here

* Comment

* better name

* add param and block

* keys

keys

* block

* with a value

with a value

* add query for bosch PT bus

* different name

* fix

* .

* fix test

fix test

* add cloulogs

* mark as logging
2023-02-14 17:55:41 -08:00