Commit Graph

8267 Commits

Author SHA1 Message Date
Erich Moraga 8f7086d5c7 Add missing CAMRY_TSS2 engine & fwdCamera f/w (#27983)
`NSBrian#2701  2023 Camry SE ICE`  DongleID/route 1916f6660fdef56b|2023-04-19--21-09-43
old-commit-hash: 34521c2220
2023-04-20 21:58:16 -07:00
Shane Smiskol 7efb099534 HKG: update harness for Niro Hybrid 2022 (#27989)
combine
old-commit-hash: 1eea2808b5
2023-04-20 21:26:26 -07:00
Harald Schäfer 1217e0b678 Calibrationd: unit tests (#27988)
* Add calibrationd unit tests

* more tests
old-commit-hash: dab9c55d38
2023-04-21 04:17:11 +00:00
Shane Smiskol 6f113d050b Hyundai: add missing fwdRadar FW for 2022 Ioniq Plug-in Hybrid (#27987)
* Add missing Ioniq FP

* 2022 works!
old-commit-hash: 52ed7868b1
2023-04-20 20:27:31 -07:00
Adeeb Shihadeh 4e75b69f3a boardd: log fan stall count (#27984)
* boardd: log fan stall count

* bump panda

* bump panda

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bda33a942f
2023-04-20 15:55:35 -07:00
MoreTorque f5b4a0df46 Delay Shutdown: delay shutdown for 5 minutes after ignition turned off. (#27860)
Added delay shutdown. Tests updated

Co-authored-by: moretore <wrha@CH-ADS.localdomain>
old-commit-hash: 150a7d52da
2023-04-20 14:57:09 -07:00
Shane Smiskol aec9b99854 Honda: Ridgeline 2023 is supported (#27979)
* Update values.py

* update docs
old-commit-hash: b9149795f1
2023-04-19 20:40:30 -07:00
Harald Schäfer fc6a779d12 Laikad: fix bad init elevation incorrect (#27974)
* Laikad: fix bad init elevation incorrect

* update ref
old-commit-hash: 922b09de96
2023-04-19 14:04:24 -07:00
Adeeb Shihadeh cdbf69f724 UI: cleanup old training guide assets (#27973)
* UI: cleanup old training guide assets

* rm that
old-commit-hash: 38b99b5461
2023-04-19 11:10:50 -07:00
Angus Gratton f1e674f30c cabana/cameraview: Scale the glViewPort by devicePixelRatio() (#27941)
* cameraview: Scale the glViewPort by devicePixelRatio()

This fixes an issue seen in Cabana on a "hidpi" system with Wayland where
devicePixelRatio() != 1 and the video doesn't take up the full widget area.

On the recommended Ubuntu 20.04 install I wasn't able to reproduce, because
devicePixelRatio() was always equal to 1 even with scaling to 200% or 300%. It
might be different if "Fractional Scaling" is enabled in GNOME (I couldn't make
that option work in mv WM.)

Was going to enable just for Linux, but it appears to also be recommended for
Retina MacOS:
https://doc.qt.io/qt-5/scalability.html#high-dpi-scaling-on-macos-and-ios

... so have worked from the assumption that glViewport() always takes dimensions
in device pixels, never the "device independent pixels" of Qt.

* Update selfdrive/ui/qt/widgets/cameraview.cc

* Update selfdrive/ui/qt/widgets/cameraview.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fbcd0821c9
2023-04-19 11:06:54 -07:00
Willem Melching d4cea1f024 cabana: enable Hi-DPI support on MacOS (#27965)
old-commit-hash: 475903e244
2023-04-19 10:48:36 -07:00
Shane Smiskol 6d69fc17da Ford: simple rate limits (#27446)
* simple limits

* add script

* useless

* remove script

* cleanup comments

* bump curvature limits

* divide by 20

* add comment

* add panda safety

* add back notebook with multi route support

* remove

* bump up low speed up

* comment
old-commit-hash: 3c55f49dd8
2023-04-18 23:27:49 -07:00
Saber422 0206d6e967 VW MQB: add missing 2022 KODIAQ FW (#27962)
* VW MQB: add missing 2022 KODIAQ FW

route:8a5da7c1d1783730|2023-04-18--11-40-31--76

* sort

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 500c049590
2023-04-18 22:38:37 -07:00
Shane Smiskol b76bd9b4b5 FPv2: only query brands with matching present ECUs (#27697)
* speed up fingerprinting for CAN fp cars

* add comment to describe this behavior

* more explicit, no defaultdict

* do this later

* fix

* a little more clear I think
old-commit-hash: 9b1095a27e
2023-04-18 21:34:49 -07:00
Dean Lee d7c7f67a18 boardd: fix scons warning "Two different environments were specified" (#27949)
old-commit-hash: 0534016b7b
2023-04-18 18:04:27 -07:00
Shane Smiskol 9bbeb67482 ecu addrs: add warning when skipping remote frame (#27959)
add warning
old-commit-hash: f94528d65d
2023-04-18 15:19:23 -07:00
Shane Smiskol 72453b6040 ecu addrs: check msg length (#27956)
check length
old-commit-hash: 3924c14b74
2023-04-18 13:15:54 -07:00
Shane Smiskol d916e0ed2d Car docs: pass docs flag to car interfaces (#27311)
* docs

* docs

* docs

* docs

* use docs in gm
old-commit-hash: 5aebdb0ad0
2023-04-18 12:22:22 -07:00
Jafar Al-Gharaibeh 91212c2a86 Mazda: CX-9 2022, Mazda6 2018 FW (#27918)
* Mazda: CX-9 2022 FW

dongle-id: 7200177292912f30

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Add mazda 6 2018 FW FP

dongle id: 0383a108994bd18b

---------

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Samuel <samuel95_54@hotmail.com>
old-commit-hash: 97aeb83f95
2023-04-17 23:11:38 -07:00
martinl 7bdb84c1a3 Subaru: signals cleanup (#27946)
* Update counter in carstate checks

* Rename es_lkas to es_lkas_state to match signal

* formatting

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 13c75dc138
2023-04-17 22:54:27 -07:00
Shane Smiskol 9131202975 Subaru: always show LKAS active (#27945)
subaru always shows lines if LKAS is enabled (not active), more clear what we're sending
old-commit-hash: 8f1e67f625
2023-04-17 22:31:59 -07:00
Justin Newberry da2f2114d6 Subaru: infotainment status intercept and rewrite (#27829)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* remove compiler flag stuff

* force error for testing

* bump panda and fix mistake

* wip

* bump panda

* wip

* wip

* forgot checksum and stuff

* add to signals

* rename

* test

* test

* bump panda and opendbc

* bump cereal

* add blank filler

* test

* add steer required to infotainment

* fix missing bit

* fix missing bit

* cleanup for PR

* cleanup for PR

* bump submodules

* wip

* wip

* i wonder what 1 is

* seemed to also be obstacle detected?

* bumppanda

* only if global

* only global gen 2

* fix order

* detect and send

* detect in rest of places

* update refs

* bumpopendbc

* copy whole message (camera sometimes sets these signals)

* bumppanda

* update refs!

* bumppanda

* let's not change this

* same as all the other functions

* Revert "same as all the other functions"

This reverts commit e86dbb695ef84a18f3123720fed37a6b81391cc4.

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d59bfa5519
2023-04-17 19:05:16 -07:00
Willem Melching 484eed0acf cabana: support direct streaming from panda over USB (#27936)
* refactor livestream into devicestream

* add panda stream

* unused

* whitespace

* move logging to base class

* add cmdline args

* Update selfdrive/boardd/boardd.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2a981f5531
2023-04-17 15:37:26 -07:00
Cameron Clough f138eb8447 Ford: don't play stock alert chimes (#27923)
old-commit-hash: 6bed16441c
2023-04-16 02:39:09 -07:00
Jason Young 452a78868b VW MQB: Cleanup HCA control message (#27757)
* VW MQB: Cleanup HCA control message

* bump panda

* bump submodules

* bump panda/opendbc to comma master

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3e960b0b32
2023-04-15 21:02:33 -07:00
Shane Smiskol 05e7547aa5 FPv2: add worst case timing test (#27917)
* can FP time

* add

* move the ref up

* assert function

* all brands

* Update selfdrive/car/tests/test_fw_fingerprint.py

* can this can vary a bit more

* or can it
old-commit-hash: 158c951d6f
2023-04-14 23:41:12 -07:00
Adeeb Shihadeh 59abbc069e set_time: remove extra print
old-commit-hash: af90b08acd
2023-04-14 21:16:59 -07:00
Adeeb Shihadeh 29eb4d3a35 pandad: wait for internal panda to come up (#27705)
* pandad: wait for internal panda to come up

* test

* more checks
old-commit-hash: f832a71038
2023-04-14 14:18:13 -07:00
Nikolai Gorchilov b5852330bf 2022 Arteon R Fingerprint (#27913)
New firmware version for the engine, transmission, srs & eps. fwdRadar fingerprint already available.
old-commit-hash: 49ccc0869c
2023-04-14 12:37:23 -07:00
Saber422 85a0072623 VW MQB: add missing 2020 TRANSPORTER T6.1 FW (#27914)
route:0bbe367c98fa1538|2023-04-14--14-58-41--0
old-commit-hash: 3ffc2b6fb0
2023-04-14 12:35:10 -07:00
Vít Listík 43b8937b79 Updated FW for Skoda Superb III 2016 (#27888)
old-commit-hash: 17631948da
2023-04-14 12:28:11 -07:00
Adeeb Shihadeh 0e70553604 Hyundai: factor out bus numbers (#27903)
* mv bus

* mv that

* if len

* fix tests

* use that

* same name
old-commit-hash: 08e2149b0f
2023-04-14 11:23:22 -07:00
AlexandreSato 4a7535fd17 Honda: HR-V 2023 port (#27731)
* initial commit

* HR-V is diff enought to split from Civic22

* Add US HR-V 2023

* update CARS.md

* Update RELEASES.md

* Use a alternative brake signal

* US HR-V have a weird noise in the BrakeSwitch

* Shane tunning

* this is added automatically

* sorry jyoung

* civic22_stop_faster

limit stopAccel to current safety model

* relax calib temporarily (12 deg)

relax calib temporarily (10 deg)

* compute accel (car overshoots requests at low speed)

* revert brake pressed caused controls mismatches

* fix crash

* cause a cruise fault

* Revert "cause a cruise fault"

This reverts commit 09a6469ac6fc38ebd38dd1c5d464712a15d0fde1.

* no brake error

* use alt brake

* Update selfdrive/car/honda/carcontroller.py

* change HONDA_BOSCH_ALT_BRAKE_SIGNAL to CP.flags

* Revert "change HONDA_BOSCH_ALT_BRAKE_SIGNAL to CP.flags"

This reverts commit e0f8123b33db3218f27c4b64a7b2a0b1f740860f.

* remove FPv2 from brazilian HR-V

* bump panda

* fix a bug

* revert calib threshold

* new test route

* separate pr

* update

* update that

* thought i removed this

* revert steer ratio

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 93c1810522
2023-04-14 03:12:10 -07:00
royjr cbc793b970 Honda Bosch Radarless: check cruise faults (#27814)
* add signal checks

* add radarless

* not yet

* nestless

* append instead

* bump

* match check above

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 882a2adc8b
2023-04-14 02:56:10 -07:00
Shane Smiskol 16f852192a FPv2: add timing unit test (#27753)
* add timing unit test

* formatting

* not clean

* Revert "not clean"

This reverts commit dab35d582c274efc32d693fc0a2773d8727be2bd.

* Revert "formatting"

This reverts commit 56a1ae4bb721594cc68952e5747a3ebc652f62d9.

* need to consider subaddrs (0.3 to 0.7s for toyota)

* clean up

* move to test_fw_fingerprint

* use a thread to get real time

* lower threshold

* revert that

* ?

* some sleep

* at top

* use the config

* function to measure query time, similar to opendbc's convention

* revert that

* avg

* Update selfdrive/car/tests/test_fw_fingerprint.py

* draft

* starting a thread takes a long time!

* refs

* uncomment
old-commit-hash: f222d434b8
2023-04-14 02:21:52 -07:00
Shane Smiskol 85c7764c45 FW versions: import common variable (#27905)
* just import from fw_versions

* fix

* more fix
old-commit-hash: 1520716d42
2023-04-14 01:42:37 -07:00
Adeeb Shihadeh 80612bd015 Hyundai: 2023 EV6 is supported (#27907)
old-commit-hash: 419bcec3ef
2023-04-13 21:44:52 -07:00
Saber422 6004acf30f VW MQB: Add FW for 2015 VOLKSWAGEN GOLF 7TH GEN (#27518)
VW MQB: Add FW for 2015 VOLKSWAGEN GOLF 7TH GEN

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 237af11642
2023-04-13 21:06:11 -07:00
Brandon Smyth 6c26bda5c9 Ford: add Escape PHEV 2021 FW (#27902)
Ford Maverick 2021 Titanium PHEV

VIN: 1FMCU0LZXMUA80767

f8eaaccd2a90aef8|2023-04-13--14-14-48
old-commit-hash: 9893733c12
2023-04-13 16:55:33 -07:00
Shane Smiskol c012c88f75 VW: Tiguan eHybrid FW (#27879)
* tiguan 2021 ehybrid fingerprint

* remove dup

* eHybrid docs

* think it's 2021

---------

Co-authored-by: Viktor Gilbertsson <viktor.gilbertsson@exobe.com>
old-commit-hash: 6188b83f7c
2023-04-13 16:37:51 -07:00
Adeeb Shihadeh 51eeb48863 2023 Leaf is supported (#27899)
* Update CARS.md

* Update values.py

* update
old-commit-hash: 853d404092
2023-04-13 13:48:25 -07:00
Shane Smiskol 004da44410 Test lateral limits: fix jerk calculation (#27654)
* fix test

* add lower jerk limit, lower up tolerance

* add to ignored cars
old-commit-hash: 88ce2f7a52
2023-04-13 13:21:30 -07:00
Shane Smiskol 6670dee6c2 Lexus: support ES 2018 (#27683)
* add ES 2018

* standard

* add FW versions

* need to add a route

* verified

* add to DSU messages

* add to torque params

* older lexus do not have all-speed dynamic radar cruise control

* update docs

* Update selfdrive/car/toyota/values.py

* add CI route

* update docs

* add to releases

* assume no stop and go (can't know without dsu unplugged)

* Update selfdrive/car/toyota/values.py

* update docs

* update docs
old-commit-hash: 57f3b483e3
2023-04-13 12:17:03 -07:00
Yong-seok, Jang f8453b27d5 GM: Trailblazer 2021-22 support (#27830)
* Add trailblazer support

* Update routes.py

* Update routes.py

* Update CARS.md

* Fix incorrect torque name

* Update values.py and CARS.md

* Change to update another route

* update docs

* only 2021 https://en.wikipedia.org/wiki/Chevrolet_Trailblazer_(crossover)

only 2021

* new FP with missing addrs

* Update selfdrive/car/gm/interface.py

* tune the torque params

* update docs

* remove as a new platform

* Revert "remove as a new platform"

This reverts commit c9c65f29dbb1e1a5926540bb75433928325d6c0e.

* add comment and comment out FP

* need it to be in all_known_cars to test_model

* add to releases

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e1ad8df519
2023-04-12 23:32:03 -07:00
Shane Smiskol 6af062c979 Hyundai CAN FD: query hvac with alt request (#27891)
Update values.py
old-commit-hash: 210dd942f0
2023-04-12 16:37:53 -07:00
Shane Smiskol 09df1f86b2 IsoTpParallelQuery: set timed out requests done (#27764)
* better ordering and comments

* remove

* mark done if timed out

* response_timeouts should be only for extending timeouts, not marking done

* so the print still works

* more clear comment

* that can be removed
old-commit-hash: f5519fdca8
2023-04-11 22:05:00 -07:00
Shane Smiskol b1bd07ea75 IsoTpParallelQuery: break earlier and add comment (#27883)
* better ordering and comments

* one comment one dream
old-commit-hash: 74f709a59f
2023-04-11 21:05:07 -07:00
Shane Smiskol 3baa87d208 IsoTpParallelQuery: log response pending (#27881)
we really should log this
old-commit-hash: 02798513af
2023-04-11 20:59:03 -07:00
Saber422 b6e6f9987a VW MQB: add missing 2021 TRANSPORTER T6.1 FW (#27875)
* VW MQB: add missing 2021 TRANSPORTER T6.1 FW

route name: f9fa13485e6df75c|2023-04-10--08-21-09--0

* rm octal

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cca654cfa9
2023-04-11 17:38:13 -07:00
Jason Young 1aa850de29 VW MQB: Add FW for 2023 Audi Q3 (#27876)
old-commit-hash: 2b680821a9
2023-04-11 17:33:57 -07:00