Commit Graph

8736 Commits

Author SHA1 Message Date
Shane Smiskol
ecf87de6da Car docs: update CAN-FD footnote (#26718)
* Update footnote

* link to obd-c

* update
old-commit-hash: cf3ced9d17b915632f1c3e820e1dee5218a9f5fb
2022-12-06 23:32:58 -08:00
Dean Lee
773024cc93 Cabana: support multiple instances (#26286)
* multiple instance

* new file qtuitl.h

* Revert "new file qtuitl.h"

This reverts commit 19ef28945e8647724bbfc6c8469a664a58c09f16.
old-commit-hash: 57ad0c94586d12df54d5ab4a65d0e47945a35065
2022-12-06 21:17:37 -08:00
alancyau
510ad3a1c3 Mazda: Add support for 2023 CX9 in CARS.md (#26717)
* Mazda: Add support for 2023 CX9

See https://github.com/commaai/openpilot/pull/26704 for the 2023 CX9 firmware.

* update values

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 47977b2c0ed9f46d79e4a839ed8d83bace885504
2022-12-06 16:37:18 -08:00
Shane Smiskol
bc903ca4d9 Car docs: move shop footnotes into openpilot (#26715)
move shop footnotes into openpilot
old-commit-hash: 5661738372d8bd3a7d453a7262ac56e7f182b331
2022-12-06 15:00:11 -08:00
Shane Smiskol
d6ee345c14 Kia Sorento: fix dash speed matching (#26582)
* exception for Sorento

* comment
old-commit-hash: 2d5e2d992aba4b5bcbc3f1f9017a4e84c37a4080
2022-12-06 01:03:59 -08:00
YassineYousfi
662f1ef5f1 add onnx2torch dependency (#26710)
* add onnx2torch dependency

* sort

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: ddae8ffc09261fe932c24192fccc6d8bceb1d088
2022-12-05 19:25:57 -08:00
Adeeb Shihadeh
c2261c5372 navmodeld: only render necessary frames (#26698)
old-commit-hash: 6e0893299ad435291782e40a92ddeb85b85f4b87
2022-12-05 17:41:32 -08:00
Shane Smiskol
3082c04e53 Revert "Toyota: Don't Set Standstill Bit on TSS-P Prius" (#26709)
Revert "Toyota: Don't Set Standstill Bit on TSS-P Prius (#26671)"

This reverts commit cc17fdee738ef497f4c437ef495d50aa5fb9f995.
old-commit-hash: f36e8bc3c7316bd4aac38f8997b66d1649819fe9
2022-12-05 17:35:19 -08:00
Shane Smiskol
7a2dc6eca5 Longitudinal tests: clean up (#26708)
* refactor test_cruise_speed.py

* clean up long tests

* and here
old-commit-hash: 9ea72b655035ee9f96c60c3268049bba6b8b9e1a
2022-12-05 17:34:57 -08:00
Dean Lee
0fe9bffc43 Cabana: show welcome widget if no msg selected (#26703)
* show a blank widget if no msg selected

* smaller font

* rename to WelcomeWidget
old-commit-hash: e598438a97b9ae6c4d5d921cd094efe1f40320b4
2022-12-05 15:30:43 -08:00
Adeeb Shihadeh
f289bcb006 releases: fix car port sorting
old-commit-hash: a311d936d094b294d22a9ee034380400ec532e91
2022-12-05 15:27:35 -08:00
Shane Smiskol
740670be1c Hyundai: Tucson 2023 support (#26427)
* Hardcode fingerprint

* no skipping

* rev

* the SE does not have SCC https://cdn.dealereprocess.org/cdn/brochures/hyundai/2022-tucson.pdf

* revert

* adjust weight

* add versions for 2023

* update docs

* fingerprint properly

* add package for 2022 but comment out

* updatedocs

* update route

* bump

* bump!

* 2022

* Update selfdrive/car/tests/routes.py
old-commit-hash: 973ecdc0c9c719a255b39dad69923be0e2ede1a5
2022-12-05 15:24:54 -08:00
Shane Smiskol
6f76a592f7 Longitudinal planner: fix tests (#26707)
fix tests
old-commit-hash: be0c2dbbf9ea3ae2c94a057b22e972f405f7e67f
2022-12-05 15:23:00 -08:00
Dean Lee
ae59b2075a Cabana: display dash instead of zero if no data (#26686)
display dash instead of zero if no data
old-commit-hash: 4d74e44ae14301aab27b833974bb90955d20d04e
2022-12-05 15:12:36 -08:00
Jason Young
c5abe3f139 VW MQB: Add FW for 2018 Volkswagen Atlas (#26702)
old-commit-hash: 2d0e29d60e1a74ef79de7e64af1495c94d262fcd
2022-12-05 13:59:36 -08:00
Shane Smiskol
4bf3cebb21 planner: read experimental mode from controlsState (#26553)
read from controlsState
old-commit-hash: e6fcc2d6aa582f90fd3a2b2192616005f875fcb2
2022-12-05 13:58:15 -08:00
Dean Lee
f54d8b9f04 Sensord: remove unused pm_mutex (#26705)
remove unused mutex
old-commit-hash: f84b1f2d9f772b1470eee99503b6dc1d0c813957
2022-12-05 13:05:41 -08:00
Nelson Chen
bd7c926d88 Undo accidental revert of Toyota: Add FW for 2023 Toyota Camry Hybrid #26654 (#26699)
Fix accidental revert of e210e10c4627291c6892de792e30bdaf20c2358c in a384f19c7b8fb30e1be3e92ba840fa6df82f6631
old-commit-hash: 0398f3ecf4c62e26768f3baa661ac27b9280955c
2022-12-04 14:46:52 -08:00
Adeeb Shihadeh
329ad14b05 Hyundai: update Kona lat accel factor
old-commit-hash: 2976260b4f57953ac230f0d85349cf3d0ba23168
2022-12-04 11:33:58 -08:00
Dean Lee
09a84a3604 Replay: remove wrong text in TIME (#26692)
remove wrong time string
old-commit-hash: b513b832214f5427dd5d6c217f2e31b4bcecdfac
2022-12-04 11:30:31 -08:00
Dean Lee
93b43cad3e Cabana: show video thumbnail over slider (#26689)
* show thumbnail

* copy segments vector

* cleanup

cleanup mouseMoveEvent

cleanup include

* move lambda to memeber function

* reduce lock time

* private functions

* split to small functions
old-commit-hash: f6496ce6702090747f2ee45f26a8ef91730cc9ef
2022-12-04 11:28:54 -08:00
Dean Lee
7f578f13bb Replay: fix SEGFAULT in buildTimeline if segments are not continuous. (#26691)
fix segfault in buildtimeline
old-commit-hash: 0ff703d82fd6d93f8d260d7aa40e24c5146a0775
2022-12-04 11:28:40 -08:00
cydia2020
6cb0b05052 Toyota: Don't Set Standstill Bit on TSS-P Prius (#26671)
* Toyota: set TSS-P Prius as NO_STOP_TIMER_CAR

* reflect in docs

* also the PHV
old-commit-hash: 7b0bfabb95ecb39487d311ba6ccc6b4c4e11ff08
2022-12-03 04:31:31 -08:00
Shane Smiskol
0d02ee5d12 Toyota: log ACC faults (#26682)
* add acc faulted

* use faster signal

* bump

* we know PCM_CRUISE_SM is not what we want
old-commit-hash: 5b10deba2ed2a70524d47435640f37655fc593bd
2022-12-03 03:02:57 -08:00
Shane Smiskol
88d2f378d4 Toyota: log EPS fault from LKA cmd message drop out (#26687)
* log additional faults

* bump opendbc
old-commit-hash: d3a66015ad99c54b03bc3693857fbea825122208
2022-12-03 02:05:24 -08:00
Adeeb Shihadeh
bc57172b36 Hyundai: setup alt steering limits (#26685)
* Hyundai: setup alt steering limits

* value

* bump panda
old-commit-hash: 122c3143589418b74dd6b658607ac5c8d43fb4af
2022-12-02 23:46:26 -08:00
Shane Smiskol
203ade9602 GM: add Bolt EV test route (#26681)
* bolt ev!

* releases

* it's a trim
old-commit-hash: 3e2a49c6e5a526c7af5667ea7bd62f91b20ab0a9
2022-12-02 22:09:42 -08:00
Jason Young
ae1369ac1c VW MQB: Engage at standstill with OP longitudinal (#26656)
* VW MQB: Allow engage at standstill

* retry CI

* Update selfdrive/car/volkswagen/interface.py

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

* Revert "Update selfdrive/car/volkswagen/interface.py"

This reverts commit 14c7412bf74b23ae88c05cad40aafd4605a63c29.

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ea857b0f71c5bb981b209ac35e63fcbdb1ecf5d4
2022-12-02 19:26:04 -08:00
Lee Jong Mun
a5f952c69b remove unused space (#26680)
old-commit-hash: 92296ce55d7e910c809658ad8f7eeaab6ded875c
2022-12-02 18:53:50 -08:00
Shane Smiskol
43a80f7dd8 Micd: update sound levels in callback (#26674)
* update once reached 4096

* update once reached 4096

* reduce

* debug & cmt

* fix

* fifo again

* fix

* clean that up

* update filter on demand

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 20dba2f33d870d81347ff7045911797a286c9128
2022-12-02 18:38:04 -08:00
martinl
cf8e7578f8 Subaru: add missing fw values for 2023 Crosstrek Limited (#26678)
* Add FPv2: 2023 Crosstrek Limited / @JWynegar

* update docs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 10085d1e3f61b472c4f25cd3e98d5ee83b40d4eb
2022-12-02 15:35:44 -08:00
Shane Smiskol
16859211f5 micd: revert check playing sound (high cpu usage) (#26672)
* don't use hardware

* check micd proc

* use pactl package

* cleanup

* Revert "cleanup"

This reverts commit baf9887e2d3e7dce8c24a93e970bb5a2d3609d50.

* Revert "use pactl package"

This reverts commit 0c1f3a4b865e44052affa57323ae4a21d274d6e3.

* Revert "micd: don't update filtered sound level if playing sound (#26652)"

This reverts commit 6703f6fa0297ad587ce80fcf1af432c402ba4e7e.

* Revert "check micd proc"

This reverts commit 9ebbe2aa42bdfd2f7f8bf226978a518d984fb154.

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 060b69ee2f5148140ec696cbc950b83f700fd671
2022-12-02 15:25:34 -08:00
Erich Moraga
d568972df0 Add missing COROLLA_TSS2 EPS, ABS, and engine f/w (#26669)
* Add missing COROLLA_TSS2 EPS, ABS, and engine f/w.

`@Yin#7979` 2020 Lexus UX 200  DongleID/route ced26c79125dd3e3|2022-12-02--06-03-06

* revert

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: c0d545523e48464acdd6a356d505e0e81266582d
2022-12-02 13:36:48 -08:00
Dean Lee
78c649c60a Cabanba: new dialog to manage chart series (#26675)
* New dialog to manage chart series

* connect to signal currentIndexChanged

* cleanup

use cbegin/cend
old-commit-hash: 59ed74ae4a7a51fcfa673393947b755d7b29c323
2022-12-02 13:15:32 -08:00
Dean Lee
9e61dbfeba Cabana: add shortcuts (#26528)
add shortcuts
old-commit-hash: daea877c07a51d82903880e9464eace38ef9a95d
2022-12-02 13:15:14 -08:00
Mitchell Goff
46f70592ae navmodeld (#26665)
* Added navmodeld

* New nav model: 7c306685-5476-4bd4-ab65-105b01b6bca8/300, feats only

* little cleanup

* Remove NAV flag

* Moved to_kj_array_ptr to commonmodel.h

* Switch from decimation to last_frame_id check

* add to release files

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bb8a38a0508c764c8340e7b16968b06a8367ab7a
2022-12-02 13:14:30 -08:00
Adeeb Shihadeh
dda7913a33 boardd: misc spi fixes (#26670)
old-commit-hash: 9cc06e9ea658b74bf1504fa35c6c8729fb1f550f
2022-12-02 11:51:25 -08:00
Shane Smiskol
4548cf9592 soundd: lower max volume breakpoint (#26673)
* revert tune

* remove hanning window

* retune from hanning window

* add hanning back

* update once reached 4096

* Revert "update once reached 4096"

This reverts commit 0898cbeec736916ffaee5e963df048b48636ece5.
old-commit-hash: de061eacbe772b1a9be73d4a3864fad6e05037ac
2022-12-02 02:23:51 -08:00
Shane Smiskol
4dfeb1ddeb micd: apply A-weighting to the sound pressure level (#26668)
* record

* record

* draft

* some clean up

* some clean up

* wishful tuning

* log pressure level (db) for debugging

* fix

* tuning

* ignore complex to real warning

* remove this

* Update selfdrive/ui/soundd/sound.cc

* Update system/micd.py

* remove warning supp

* bump cereal to master

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: d087fab2c0af6baf104591dade313311aeed1e4b
2022-12-02 00:11:29 -08:00
Vybhav
1a368c8908 Toyota: Add FW for 2023 Toyota Camry Hybrid (#26654)
* Toyota: Add FW for 2023 Toyota Camry Hybrid

Toyota: Updating CAR_INFO list to show 2023 for Camry

* Update CARS.md for 2023 Toyota Camry

* remove duplicate fw, sort alphabetically

Co-authored-by: Vybhav Achar Bhargav <vybhavab@vybhavab-macbook-pro.local>
Co-authored-by: Vybhav Achar Bhargav <vybhavab@vybhavab-MBP.hsd1.ca.comcast.net>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 1f4554b0c030cfc2623d7c7db413e9c61dabaef4
2022-12-01 22:03:15 -08:00
Adeeb Shihadeh
70608dfd36 bump panda
old-commit-hash: dad438158ec60df10dc7e4b4fb8f225af190defd
2022-12-01 20:14:10 -08:00
Adeeb Shihadeh
0c23f1a2b6 jenkins: move test_manager to common devices (#26663)
old-commit-hash: 753c3d5897d46f9c070f9267d7385b3578185b2e
2022-12-01 15:32:59 -08:00
Adeeb Shihadeh
6398e5cd41 bump opendbc
old-commit-hash: c210640b7cc42b18efd27ce4f0bd7c7328674ade
2022-12-01 14:21:57 -08:00
EdwardApollo
5be01f56c0 Increase Minimum Offroad Battery Voltage (#26661)
* Reduce Min Idle Battery Voltage and Idle Time

Updated minimum offroad battery voltage to reduce wear on car batteries and updated max offroad time to reflect the increased power consumption at idle based on EPHOT hardware power draw (this may have changed).

Most vehicles make use of lead acid batteries which during normal use shouldn't ever decrease below ~12V (sources give a range of 11.8-12V). Increasing this limit will prevent premature battery failure by preventing sulfation of the cells.

* Voltage cutoff to 11.8V, max offroad to 30h

Changed lower voltage limit to 11.8V, removed power usage comment entirely, reverted change to max offroad time to 30 hours

* Added Offroad Shutdown conditional

Added IsOffroad Shutdown conditional statement to prevent shutting down due to voltage floor.

* LPF Gain: Tau = 45s

Tau modified to 45s to result in a LPF gain of ~0.011. 

Assuming a dT of 0.5s: (0.5/45)/((0.5/45)+1)

* Revert IsOffroad check

Removed due to unnecessary redundancy.
old-commit-hash: 30165134e8963e260245c1b6596ca3ae3cc08fea
2022-12-01 14:18:32 -08:00
Jason Wen
558a48af28 HKG: Car Port for Kia Sorento Plug-in Hybrid 2022 (#26635)
* HKG: Car Port for Kia Sorento Plug-in Hybrid 2022

* Add torque params

* Typo

* This car has SCC on bus 4, needs radar disable to use openpilot longitudinal :/

* Need to check on bus 4 as well

* Different unit signal

* Unit signal cleanup

* Add test route

* Regenerate car docs

* Different logic

* 2023 should be the same

* Fix 0x1a0 check race condition

* Update RELEASES.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1adf106da69c7d73d465f41ad2836a562ca64f9c
2022-12-01 14:11:12 -08:00
Harald Schäfer
b1e87f4df2 thermald: add minimum offroad time to low voltage shutdown (#26660)
* voltage cleanup thermald

* Fix voltage shutdown test
old-commit-hash: 196caa095b1c028926e580bb9c671338d08d3fa6
2022-12-01 13:57:11 -08:00
Bruce Wayne
3b889f1efd Revert "voltage cleanup thermald (#26658)"
This reverts commit ff0119d67a793f8caf7362ba980dae29e70716b4.

old-commit-hash: 7a9d96759d3a4db277edcce2d5e3ffda9c6823d5
2022-12-01 13:11:31 -08:00
Cameron Clough
8242a86d96 micd: don't update filtered sound level if playing sound (#26652)
* add is_sound_playing to hardware.py

* micd: don't update filtered sound level if playing sound
old-commit-hash: 86cd919a57be22fa0ccf324a8767999309df60e4
2022-12-01 12:52:06 -08:00
Harald Schäfer
3f7428c731 voltage cleanup thermald (#26658)
old-commit-hash: 92e985c583bfb23c569008157037e77b6080a6f6
2022-12-01 11:56:25 -08:00
Dean Lee
9363f6fb04 Cabana: setSectionResizeMode to QHeaderView::Fixed (#26655)
fixed header
old-commit-hash: 74c0ac3deced5ac85b72ec1a4e51dae851cdb440
2022-12-01 09:17:02 -08:00