Commit Graph

8701 Commits

Author SHA1 Message Date
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
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: fee6f2efacf41d2bd964754d0e5e193e18e16f16
2022-12-01 09:12:16 -08:00
Adeeb Shihadeh bec9751d00 add new panda SConscript to release files
old-commit-hash: 92ddd3c57e03f2ba602b147790eed4bb7b97a24c
2022-12-01 00:28:40 -08:00
Vivek Aithal 44a02b6331 [torqued] Set Hyundai Ioniq 5 2022 values (#26554)
set ioniq values, different from ev6, from offline data
old-commit-hash: 9e0607806fcb5d1a5a00eb8ec0a0ef05fb6fd7f3
2022-11-30 23:27:02 -08:00
Adeeb Shihadeh d7d75811b5 Update RELEASES.md
old-commit-hash: 50f4328b904cf4debd278834adcf83107a3d4e5c
2022-11-30 23:16:48 -08:00
Adeeb Shihadeh 5f4cc55c2c sim: disable micd (#26653)
old-commit-hash: 996a6c06d4522100357e04fea0182d33dc6e7f23
2022-11-30 23:12:35 -08:00
royjr d56ebf1c20 Honda: Add missing modified firmware comment (#26648)
Update values.py
old-commit-hash: 17e06bdc93c2fac37e72eec5ac569307023cfb29
2022-11-30 22:21:48 -08:00
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 4bbd870746ec86d1c9871a6175def96cf7f751a6.

* 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: 108ff15f5dc16f79a36a2d33397b36dba42d70cf
2022-11-30 21:56:03 -08:00
Cameron Clough 8a4a390d6f Fix OpenCL driver URL (#26650)
old-commit-hash: 3d2f6c1dc05c716acb40ed612719f7d0ba3d2a8f
2022-11-30 21:45:44 -08:00
Jason Wen de325bd458 Hyundai: Add FW for 2022 Tucson Hybrid (#26647)
old-commit-hash: 470fe9ce34eeccc8cb0ab27f7b8cee603904d5a1
2022-11-30 20:57:05 -08:00
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: 997b2e11aef4ccc801a075dea13ed4aa9a5de27c
2022-11-30 20:36:19 -08:00
Shane Smiskol 5f8b46eabe Build panda/SConscript (#26646)
* panda/SConscript

* think this is right?

* bump panda

* fix test_models

* use a filter

* bump panda to mater

* more aesthetic ordering

* alphabetical :(

* alphabetical :(
old-commit-hash: 01dac5d06bcd518e6c2daab8c41979b0553b73a6
2022-11-30 20:27:55 -08:00
Cameron Clough 303b5532ad soundd: change system sound mixer volume (#26633)
* test changing sound volume

* create system/hardware/pc/hardware.h

* soundd: use Hardware::set_volume

* implement Hardware::set_volume using pactl

* Revert "test changing sound volume"

This reverts commit 4bbd870746ec86d1c9871a6175def96cf7f751a6.

* don't run command in background

* pactl: use default sink
old-commit-hash: 02b5b6fe1f9f919f0cafea3efc6be2403a3f7139
2022-11-30 15:36:25 -08:00
Cameron Clough 132e5fe200 tools: pyenv setup fix (#26601)
* setup pyenv immediately

* sudo

* fix
old-commit-hash: 821d8ff12f3b9c9c9ba852dd7160f5a72d3d761d
2022-11-30 15:11:26 -08:00
ZwX1616 1454368a1a Update RELEASES.md
old-commit-hash: cb4fef580c8c71744b9b5b91be17f73b6fcdd097
2022-11-30 13:11:50 -08:00
ZwX1616 cd3a3235e7 DM: no reset on steer if distracted (#26567)
* only for attentive fast resets

* oops wheeltouch

* update test
old-commit-hash: 553da4ef30b709d754fb89b5519ce182a9ace3e2
2022-11-30 13:00:36 -08:00
Dean Lee 4f1ff1d253 Cabana: sort signals by address in logs view (#26639)
cleanup
old-commit-hash: 2b916044f5e7e6466709bd45301765d0b7599eec
2022-11-30 12:40:36 -08:00
Shane Smiskol 634a6c9802 Deprecate noTarget event (#26638)
deprecate notarget
old-commit-hash: 5409895ab2668284df7b688ce513fa0ef1e57be2
2022-11-30 02:32:47 -08:00
Shane Smiskol 02b7ec98ae bump panda (#26637)
old-commit-hash: bea73943733a2a38a8cacd7de25d78b067460f2b
2022-11-30 00:08:55 -08:00
Shane Smiskol 3d161c4d42 controls: remove noTarget event (#26632)
remove noTarget alert
old-commit-hash: 41610fe8ae7019264f09fbbb5db64e48b45b7ca0
2022-11-29 23:12:58 -08:00
Shane Smiskol d1dee4625a controlsd: preEnable on brake at a standstill (#26273)
* pre-enable on brake at standstill

* test by getting rid of noTarget

* Update events.py

* rename

* stash what we got so far

* cmt

* not sure if best way to fix, but enabled with current states defs is fine

* no noEntry in preEnabled

* bumpcereal

* uncomment

* Update ref_commit

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dbe512d167a51f02fe276e17a8794de2137d0e14
2022-11-29 17:34:10 -08:00
Adeeb Shihadeh a6f2f2d751 boardd: cleanup defs from panda (#26628)
* more stuff

* bump pnada
old-commit-hash: c3e3047080cdcfd5fbe275534fdf6980903aebdf
2022-11-29 16:05:46 -08:00
Shane Smiskol 76e7a45284 controls: preEnabled doesn't consider noEntry (#26627)
preEnabled doesn't consider noEntry
old-commit-hash: 8ad8d4e1c2887bcd22ab7048960ed6a1a7f8e3f6
2022-11-29 13:11:03 -08:00
Shane Smiskol d6f6b0de91 Car interface: set tire stiffness in common function (#26625)
* common stiffness

* GM uses factors
old-commit-hash: 712b9014d708ce77e87e2d1bb4dfe2d7665a8414
2022-11-29 12:50:27 -08:00
Vivek Aithal 238e63bc2a [controlsd] Refactor apply_deadzone in Lateral Torque Control (#26626)
rename apply_slack to apply_center_deadzone, remove unused prius offline values
old-commit-hash: 3a4f19f0ee454a9c8d7c55d66e794ef20c4b4f01
2022-11-29 12:46:08 -08:00
Shane Smiskol 8aadc8dda6 Car interface: set common params after port (#26613)
* remove pylint exception, _get_params takes no defaults

* clean up

* mock uses it too

* unused

* unused

* fix that

* bump

* Update selfdrive/car/interfaces.py
old-commit-hash: 860f441e2f122173c5034656aeed5706fd41e38f
2022-11-29 11:49:13 -08:00
Dean Lee 4887149d38 Cabana: execute generate_dbc_json.py after building (#26620)
* use env.command to generete json after build

* Update tools/cabana/SConscript

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f9bb024a464f8714a1edc7190985fcb612415eec
2022-11-29 11:42:56 -08:00
Jason Young e03b42a61c VW PQ: Follow-to-Stop support (#26616)
old-commit-hash: 44e9ea23bd6900d9d43216855bbc68704e4358ba
2022-11-29 11:15:16 -08:00
Vivek Aithal 5bc529bf20 [controlsd] Toyota Prius 2017 (#26455)
* increase lag on prius

* better offline values computation

* split prius ecu more, set deadzone to 0

* add deadzone back

* replace deadzone with slack

* reduce deadzone to 0.2

* update refs
old-commit-hash: 0706b03e8cf41f7d51c9a42f01bda2084bfe3be6
2022-11-29 10:47:13 -08:00
Shane Smiskol 832b2d7168 mock: remove steering angle (#26614)
* fix yaw rate in mock interface

* clean that up

* revert

* clean up
old-commit-hash: b4da592a3ca9bfda7766ecb5021a8ce17dfd6abe
2022-11-29 01:54:59 -08:00
Andrew ada0539d18 Hyundai: add more Kia K5 FW (#26590)
* add some values

* consistent ,

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f64e69eb11e1b9efc5fb3f9b893d1e42a9809d0f
2022-11-29 01:13:43 -08:00
uppercaseVar c6990585bb Add ECU fw for 2016 Golf GTI (#26591)
Added ECU for 2016 Golf GTI
old-commit-hash: b2fd699c21656d6cc7959c3ecd900b5a08456950
2022-11-29 01:08:58 -08:00
James beadbb1b39 Fixed typo in CARLA README.md (#26615)
old-commit-hash: 67fb3441463976d016a6ca0499abdc8691238f2d
2022-11-29 01:05:38 -08:00
Erich Moraga 6bab37e878 Add missing RAV4_TSS2 ABS f/w (#26617)
`@IDJ#0879` 2019 Toyota RAV4 (ICE)  DongleID/route e7cd4ae3bee72b52|2022-11-29--14-33-40
old-commit-hash: b18dfef8a6fdd1b38be316193f704b380e8f0dd2
2022-11-29 01:03:02 -08:00
Scott Leibrand 5b6ba63253 One-word grammar fix to docs/INTEGRATION.md (#26621)
Grammar fix
old-commit-hash: 7b1122e831f0219c2f4c660cca6f45c1e8a3162a
2022-11-29 00:38:18 -08:00
Kurt Nistelberger 2b9010b467 CI: gps test hackrf support (#26364)
* first ignore

* init gps test

* make LimeGPS git clone

* revert ignore

* .

* remove prebuilt bins

* gps test v1

* add static signal gen script

* update readme

* remove LD_PRELOAD by using rpath, update values after testing

* .

* remove LD_PRELOAD

* .

* fix README

* .

* .

* .

* gps test v1

* cleanUp

* init

* update fuzzy tests

* .

* finalize qcom gps tests

* .

* .

* .

* add downloader

* finalize unit tests

* .

* .

* inc limeGPS startup time

* tmp

* loosen init time

* .

* .

* .

* add ublox warmstart test

* .

* improve location tests

* .

* .

* .

* .

* .

* .

* .

* .

* last cleanUp

* .

* .

* add hackrf support

* hackrf support

* .

* .

* .

* .

* .

* .

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: a48ec655ac4983145bc93c712ecabac75b886e11
2022-11-28 16:13:54 -08:00