Adeeb Shihadeh
1b62c55e8d
nav: add mapRenderState ( #26734 )
...
* nav: add mapRenderState
* bump cereal
* bump again
old-commit-hash: c3b3c10232
2 years ago
Bin Zhu
6235dcc55f
Added old firmware version to support Lexus NX 2020 ( #26679 )
...
Added old firmware version for Lexus NX 2020
old-commit-hash: 08b7fa7c44
2 years ago
Shane Smiskol
ae26b6fb0f
Car controls: common angle limiting function ( #26732 )
...
* common angle limiting function
* save a line
old-commit-hash: 41667d020a
2 years ago
Dean Lee
1b9b62f934
CameraView: remove double semicolon ( #26728 )
...
remove double semicolon
old-commit-hash: 1c5c0e723c
2 years ago
Shane Smiskol
883be4410f
LatControl: remove duplicate logic for saturation ( #26725 )
...
this is already checked
old-commit-hash: d97336d532
2 years ago
Cameron Clough
1ca9fa7fce
soundd: tune volume to reach max at slightly higher noise level
...
old-commit-hash: d64a5020b2
2 years ago
Adeeb Shihadeh
01db07375c
nav model replay ( #26697 )
...
* nav model replay
* set token
* fix gh actions
* update refs
* fix pc
old-commit-hash: 1da6f6a6e2
2 years ago
alancyau
eb6173a222
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>
old-commit-hash: 9c62513ffa
2 years ago
Shane Smiskol
c02a3ae7a4
Kona: adjust friction ( #26720 )
...
adjust friction (* 1/0.7)
old-commit-hash: b3fae2d113
2 years ago
Shane Smiskol
890d63840d
Chrysler: fix LKAS fault for 2017 Pacifica ( #26711 )
...
* gate on FW
* fix
* reverse docs
* fix
* Revert "fix"
This reverts commit a0f2558fba
.
Revert "reverse docs"
This reverts commit 9a46c517df
.
Revert "fix"
This reverts commit 7b4d4bd3d2
.
Revert "gate on FW"
This reverts commit 296826e713
.
* use a flag
* fix
* draft
* clean up
* clean up
* more clear
* comment
* remove
old-commit-hash: a7fb5da6e5
2 years ago
AlexandreSato
6bc328535c
Update comment on sound.cc volume based(speed ->noise) ( #26719 )
...
Update sound.cc
old-commit-hash: fa0bf404c8
2 years ago
Shane Smiskol
ecf87de6da
Car docs: update CAN-FD footnote ( #26718 )
...
* Update footnote
* link to obd-c
* update
old-commit-hash: cf3ced9d17
2 years ago
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: 47977b2c0e
2 years ago
Shane Smiskol
bc903ca4d9
Car docs: move shop footnotes into openpilot ( #26715 )
...
move shop footnotes into openpilot
old-commit-hash: 5661738372
2 years ago
Shane Smiskol
d6ee345c14
Kia Sorento: fix dash speed matching ( #26582 )
...
* exception for Sorento
* comment
old-commit-hash: 2d5e2d992a
2 years ago
Adeeb Shihadeh
c2261c5372
navmodeld: only render necessary frames ( #26698 )
...
old-commit-hash: 6e0893299a
2 years ago
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: f36e8bc3c7
2 years ago
Shane Smiskol
7a2dc6eca5
Longitudinal tests: clean up ( #26708 )
...
* refactor test_cruise_speed.py
* clean up long tests
* and here
old-commit-hash: 9ea72b6550
2 years ago
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: 973ecdc0c9
2 years ago
Shane Smiskol
6f76a592f7
Longitudinal planner: fix tests ( #26707 )
...
fix tests
old-commit-hash: be0c2dbbf9
2 years ago
Jason Young
c5abe3f139
VW MQB: Add FW for 2018 Volkswagen Atlas ( #26702 )
...
old-commit-hash: 2d0e29d60e
2 years ago
Shane Smiskol
4bf3cebb21
planner: read experimental mode from controlsState ( #26553 )
...
read from controlsState
old-commit-hash: e6fcc2d6aa
2 years ago
Dean Lee
f54d8b9f04
Sensord: remove unused pm_mutex ( #26705 )
...
remove unused mutex
old-commit-hash: f84b1f2d9f
2 years ago
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: 0398f3ecf4
2 years ago
Adeeb Shihadeh
329ad14b05
Hyundai: update Kona lat accel factor
...
old-commit-hash: 2976260b4f
2 years ago
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: 7b0bfabb95
2 years ago
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: 5b10deba2e
2 years ago
Shane Smiskol
88d2f378d4
Toyota: log EPS fault from LKA cmd message drop out ( #26687 )
...
* log additional faults
* bump opendbc
old-commit-hash: d3a66015ad
2 years ago
Adeeb Shihadeh
bc57172b36
Hyundai: setup alt steering limits ( #26685 )
...
* Hyundai: setup alt steering limits
* value
* bump panda
old-commit-hash: 122c314358
2 years ago
Shane Smiskol
203ade9602
GM: add Bolt EV test route ( #26681 )
...
* bolt ev!
* releases
* it's a trim
old-commit-hash: 3e2a49c6e5
2 years ago
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 14c7412bf7
.
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ea857b0f71
2 years ago
Lee Jong Mun
a5f952c69b
remove unused space ( #26680 )
...
old-commit-hash: 92296ce55d
2 years ago
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: 10085d1e3f
2 years ago
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: c0d545523e
2 years ago
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: bb8a38a050
2 years ago
Adeeb Shihadeh
dda7913a33
boardd: misc spi fixes ( #26670 )
...
old-commit-hash: 9cc06e9ea6
2 years ago
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 0898cbeec7
.
old-commit-hash: de061eacbe
2 years ago
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: d087fab2c0
2 years ago
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: 1f4554b0c0
2 years ago
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: 30165134e8
2 years ago
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: 1adf106da6
2 years ago
Harald Schäfer
b1e87f4df2
thermald: add minimum offroad time to low voltage shutdown ( #26660 )
...
* voltage cleanup thermald
* Fix voltage shutdown test
old-commit-hash: 196caa095b
2 years ago
Bruce Wayne
3b889f1efd
Revert "voltage cleanup thermald ( #26658 )"
...
This reverts commit ff0119d67a793f8caf7362ba980dae29e70716b4.
old-commit-hash: 7a9d96759d
2 years ago
Harald Schäfer
3f7428c731
voltage cleanup thermald ( #26658 )
...
old-commit-hash: 92e985c583
2 years ago
Robbe Derks
d00e7ee24b
Simple CAN chunks ( #25373 )
...
* simple chunks
* more sizeofs
* fix unit tests
* bump panda
* bump panda
* don't fail for too little data
* bump panda
* bump panda
* bump panda
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fee6f2efac
2 years ago
Vivek Aithal
44a02b6331
[torqued] Set Hyundai Ioniq 5 2022 values ( #26554 )
...
set ioniq values, different from ev6, from offline data
old-commit-hash: 9e0607806f
2 years ago
royjr
d56ebf1c20
Honda: Add missing modified firmware comment ( #26648 )
...
Update values.py
old-commit-hash: 17e06bdc93
2 years ago
Cameron Clough
9bcf83f493
micd: scale sound volume with ambient noise level ( #26399 )
...
* test changing sound volume
* test changing sound volume
* create system/hardware/pc/hardware.h
* implement Hardware::set_volume using pactl
* soundd: use Hardware::set_volume
* add sounddevice dependency
* sounddevice example
* simple micd
* cleanup
* remove this
* fix process config
* add to release files
* hardware: get sound input device
* no more offroad
* debug
* calculate volume from all measurements since last update
* use microphone noise level to update sound volume
* fix scale
* mute microphone during alerts
* log raw noise level
* hardware: reduce tici min volume
* improve scale
* add package
* clear measurements on muted
* change default to min volume and respond quicker
* fixes
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* logarithmic scaling
* fix
* respond quicker
* fixes
* tweak scaling
* specify default device
* Revert "hardware: get sound input device"
This reverts commit 50f594f7a3bab005023482bc793147a8c8dae5d7.
* tuning
* forgot to update submaster
* tuning
* don't mute microphone, and clip measurement
* remove submaster
* fixes
* tuning
* implement Hardware::set_volume using pactl
* Revert "test changing sound volume"
This reverts commit 4bbd870746
.
* draft
* draft
* calculate sound pressure level in dB
* fix setting
* faster filter
* start at initial value
* don't run command in background
* pactl: use default sink
* use sound pressure db
* tuning
* bump up max volume threshold
* update filter slower
* fix divide by zero
* bump cereal
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 108ff15f5d
2 years ago
Jason Wen
de325bd458
Hyundai: Add FW for 2022 Tucson Hybrid ( #26647 )
...
old-commit-hash: 470fe9ce34
2 years ago
Shane Smiskol
8da61ba4cc
Honda Nidec: put max PCM gas into CarControllerParams ( #26645 )
...
* limit gas
* bump panda
* not sure why it was represented like this
old-commit-hash: 997b2e11ae
2 years ago