Commit Graph

8898 Commits

Author SHA1 Message Date
Shane Smiskol 84340f07ab LatControlAngle: fix setting saturation check speed (#26752)
set in init function
2022-12-09 23:29:56 -08:00
Adeeb Shihadeh f3a711953a navmodel: check images in replay test (#26747)
* move position

* log images

* enable test

* update refs

* ignore

Co-authored-by: Comma Device <device@comma.ai>
2022-12-09 22:56:32 -08:00
Shane Smiskol d5ffb90a04 LatControlAngle: lower saturation check speed (#26749)
lower speed for angle
2022-12-09 21:43:55 -08:00
Shane Smiskol c1b3d696bc controlsd: set steer_limited for angle cars (#26748)
* Set steer limited for angle cars

* closer to torque threshold
2022-12-09 21:43:27 -08:00
Adeeb Shihadeh 3ff37cca21 map renderer: retry when render fails (#26741)
* map renderer: retry when render fails

* cleanup
2022-12-09 14:31:18 -08:00
Adeeb Shihadeh 27dc9c0e79 nav: add mapRenderState.frameId 2022-12-09 13:24:44 -08:00
Adeeb Shihadeh 54529aa7f8 UI: add flag for showing map render (#26740) 2022-12-09 13:08:15 -08:00
Shane Smiskol 137beee556 Toyota: don't log standstill for NO_STOP_TIMER_CAR (#26733)
* don't log when no stop timer

* updated comment

* whoops

* subtract tss2, their standstill is real
2022-12-09 03:34:29 -08:00
Jason Young 3cc439ce98 VW MQB: Restore lead car indicator in instrument cluster (#26651)
* VW MQB: Lead car indicator in ACC HUD

* typo

* do this cleanup in another PR
2022-12-08 21:00:45 -08:00
Adeeb Shihadeh c3b3c10232 nav: add mapRenderState (#26734)
* nav: add mapRenderState

* bump cereal

* bump again
2022-12-08 20:57:11 -08:00
Bin Zhu 08b7fa7c44 Added old firmware version to support Lexus NX 2020 (#26679)
Added old firmware version for Lexus NX 2020
2022-12-08 20:33:48 -08:00
Shane Smiskol 41667d020a Car controls: common angle limiting function (#26732)
* common angle limiting function

* save a line
2022-12-08 16:26:41 -08:00
Dean Lee 1c5c0e723c CameraView: remove double semicolon (#26728)
remove double semicolon
2022-12-08 11:06:38 -08:00
Shane Smiskol d97336d532 LatControl: remove duplicate logic for saturation (#26725)
this is already checked
2022-12-08 03:01:57 -08:00
Cameron Clough d64a5020b2 soundd: tune volume to reach max at slightly higher noise level 2022-12-07 22:15:58 -08:00
Adeeb Shihadeh 1da6f6a6e2 nav model replay (#26697)
* nav model replay

* set token

* fix gh actions

* update refs

* fix pc
2022-12-07 19:36:30 -08:00
alancyau 9c62513ffa Mazda: Add 2023 CX9 fw (#26704)
* Mazda: Add 2023 CX9 fw

DongleID: 629c4aced073d15a
Discord User: bsk#7841

* Attempt to steer below 28mph for CX9

* undo comment

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-12-07 16:50:14 -08:00
Shane Smiskol b3fae2d113 Kona: adjust friction (#26720)
adjust friction (* 1/0.7)
2022-12-07 15:22:02 -08:00
Shane Smiskol a7fb5da6e5 Chrysler: fix LKAS fault for 2017 Pacifica (#26711)
* gate on FW

* fix

* reverse docs

* fix

* Revert "fix"

This reverts commit a0f2558fba0adc59c70eb92ffb8bd815bf033979.

Revert "reverse docs"

This reverts commit 9a46c517dfa7182f2f30501de801e35f7e1004c4.

Revert "fix"

This reverts commit 7b4d4bd3d2c2216890ea1877d52fdfbd9cec3ed7.

Revert "gate on FW"

This reverts commit 296826e71323e63f8e57b8988e573cef33149022.

* use a flag

* fix

* draft

* clean up

* clean up

* more clear

* comment

* remove
2022-12-07 12:04:33 -08:00
AlexandreSato fa0bf404c8 Update comment on sound.cc volume based(speed ->noise) (#26719)
Update sound.cc
2022-12-07 09:57:30 -08:00
Shane Smiskol cf3ced9d17 Car docs: update CAN-FD footnote (#26718)
* Update footnote

* link to obd-c

* update
2022-12-06 23:32:58 -08:00
alancyau 47977b2c0e 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>
2022-12-06 16:37:18 -08:00
Shane Smiskol 5661738372 Car docs: move shop footnotes into openpilot (#26715)
move shop footnotes into openpilot
2022-12-06 15:00:11 -08:00
Shane Smiskol 2d5e2d992a Kia Sorento: fix dash speed matching (#26582)
* exception for Sorento

* comment
2022-12-06 01:03:59 -08:00
Adeeb Shihadeh 6e0893299a navmodeld: only render necessary frames (#26698) 2022-12-05 17:41:32 -08:00
Shane Smiskol f36e8bc3c7 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 7b0bfabb95.
2022-12-05 17:35:19 -08:00
Shane Smiskol 9ea72b6550 Longitudinal tests: clean up (#26708)
* refactor test_cruise_speed.py

* clean up long tests

* and here
2022-12-05 17:34:57 -08:00
Shane Smiskol 973ecdc0c9 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
2022-12-05 15:24:54 -08:00
Shane Smiskol be0c2dbbf9 Longitudinal planner: fix tests (#26707)
fix tests
2022-12-05 15:23:00 -08:00
Jason Young 2d0e29d60e VW MQB: Add FW for 2018 Volkswagen Atlas (#26702) 2022-12-05 13:59:36 -08:00
Shane Smiskol e6fcc2d6aa planner: read experimental mode from controlsState (#26553)
read from controlsState
2022-12-05 13:58:15 -08:00
Dean Lee f84b1f2d9f Sensord: remove unused pm_mutex (#26705)
remove unused mutex
2022-12-05 13:05:41 -08:00
Nelson Chen 0398f3ecf4 Undo accidental revert of Toyota: Add FW for 2023 Toyota Camry Hybrid #26654 (#26699)
Fix accidental revert of 1f4554b0c0 in c0d545523e
2022-12-04 14:46:52 -08:00
Adeeb Shihadeh 2976260b4f Hyundai: update Kona lat accel factor 2022-12-04 11:33:58 -08:00
cydia2020 7b0bfabb95 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
2022-12-03 04:31:31 -08:00
Shane Smiskol 5b10deba2e Toyota: log ACC faults (#26682)
* add acc faulted

* use faster signal

* bump

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

* bump opendbc
2022-12-03 02:05:24 -08:00
Adeeb Shihadeh 122c314358 Hyundai: setup alt steering limits (#26685)
* Hyundai: setup alt steering limits

* value

* bump panda
2022-12-02 23:46:26 -08:00
Shane Smiskol 3e2a49c6e5 GM: add Bolt EV test route (#26681)
* bolt ev!

* releases

* it's a trim
2022-12-02 22:09:42 -08:00
Jason Young ea857b0f71 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>
2022-12-02 19:26:04 -08:00
Lee Jong Mun 92296ce55d remove unused space (#26680) 2022-12-02 18:53:50 -08:00
martinl 10085d1e3f 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>
2022-12-02 15:35:44 -08:00
Erich Moraga c0d545523e 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>
2022-12-02 13:36:48 -08:00
Mitchell Goff bb8a38a050 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>
2022-12-02 13:14:30 -08:00
Adeeb Shihadeh 9cc06e9ea6 boardd: misc spi fixes (#26670) 2022-12-02 11:51:25 -08:00
Shane Smiskol de061eacbe 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.
2022-12-02 02:23:51 -08:00
Shane Smiskol d087fab2c0 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>
2022-12-02 00:11:29 -08:00
Vybhav 1f4554b0c0 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>
2022-12-01 22:03:15 -08:00
EdwardApollo 30165134e8 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.
2022-12-01 14:18:32 -08:00
Jason Wen 1adf106da6 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>
2022-12-01 14:11:12 -08:00