Commit Graph

10891 Commits

Author SHA1 Message Date
Harald Schäfer 200a8eb8b5 Laikad upgrades: prep for laikad lld (#29545)
* Laikad upgrades: prep for laikad lld

* Update ref commit
old-commit-hash: 8a7281d2859f2fa8d49cb3b679c2eaf5ec8f1729
2023-08-23 00:13:10 -07:00
Shane Smiskol c9ca332b3f Update FW query total time
old-commit-hash: 1ea310b202ecedfad67831cca189970944977145
2023-08-22 23:58:29 -07:00
Shane Smiskol 4699eed8f3 FW Query: test noOBD queries on aux panda (#29547)
* huh, this test just works!

* fix

* Update selfdrive/car/tests/test_fw_fingerprint.py
old-commit-hash: 7de9842245dfb506ec340290469d7412989e2233
2023-08-22 23:43:52 -07:00
Shane Smiskol 3527b47f6d Toyota: prepare to disable radar (#29542)
* try to disable radar

* fix bug and bump panda

* prep

* always attempt longitudinal for testers

* fix rav4

* send ACC_HUD

* bump panda

* revert

* check for failure to disable

* fix arg

* bump to master

* revert to master

* comments only

* correct check

* carcontroller

* something like this

* or this

* use flag

* send PCS HUD

* clean up

* carstate checks

* fix from test models

* consistent
old-commit-hash: 0aa6e2ce41113a8f129ab88762037254f2951f91
2023-08-22 21:17:30 -07:00
Shane Smiskol 5949a8d3c6 Toyota: remove redundant car set union (#29546)
remove confusing union
old-commit-hash: 16a8c9fbf13bf6a61f5704d5a2885b09ce4a8f80
2023-08-22 21:09:33 -07:00
Adeeb Shihadeh e9a497dc5b build.py: retry with less threads (#29543)
* build.py: retry with less threads

* cleanup

* fix no output

* cleanup
old-commit-hash: bb1b641812353e9723cad0aa6f844466c67d9c6b
2023-08-22 20:58:43 -07:00
Shane Smiskol ada18f0da7 Revert "Toyota: prepare to disable radar (#29541)"
This reverts commit 2d56016f4c25f7672ff770958ea65c6bc023e387.

old-commit-hash: cb368163158fe8133b317273f99f011ce1fa2288
2023-08-22 19:50:24 -07:00
Shane Smiskol 1acbc2c55a Toyota: prepare to disable radar (#29541)
* try to disable radar

* fix bug and bump panda

* prep

* always attempt longitudinal for testers

* fix rav4

* send ACC_HUD

* bump panda

* revert

* check for failure to disable

* fix arg

* bump to master

* revert to master

* comments only
old-commit-hash: 61653bf343bc189d9231234a5b95777998096fa6
2023-08-22 17:16:38 -07:00
Justin Newberry 1a29920369 CI: enable missing tests (#29538)
old-commit-hash: 979c96167d5ba2f07a7e0dee7c059c3a2ee4757b
2023-08-22 16:48:02 -07:00
Vivek Aithal ab4788cb3b CHEVROLET SILVERADO 1500 2020: Make Silverado lateral tune non-linear (#29540)
add nonlinear values to silverado
old-commit-hash: 2fe3231b49ea8cd82dd270682a4641ffd016d73a
2023-08-22 16:11:21 -07:00
Adeeb Shihadeh b952317e9b soundd: update cpu usage
old-commit-hash: e0e139a233daf207833ecc3655ca4fd3a86a9f8e
2023-08-22 15:16:38 -07:00
Adeeb Shihadeh 581c26152c add pytest-subtests package (#29536)
old-commit-hash: 2cd311da29241501ef93c15e7de563cb3bfe3070
2023-08-22 14:31:03 -07:00
Kacper Rączy e250480db6 devcontainer: CI fix (#29534)
Export xauthority before running devcontainer
old-commit-hash: df9564e1722f589fa17e15bce55a4f179f58ab70
2023-08-22 14:14:14 -07:00
Harald Schäfer a967592f8f Revert laikad llk (#29535)
* Revert "bump laika (#29522)"

This reverts commit 19ab859e302d52b4f1667f05543ac622ad259e57.

* Revert "Locationd: switch to laikad (#29278)"

This reverts commit 5dda7be8ac08ef6b51283eda74569517bba905f6.
old-commit-hash: fda3106c28af236e8b3dc78bfdca7a1365904d1e
2023-08-22 14:12:51 -07:00
Dean Lee 4f7e9268e8 soundd: set volume on changes (#29389)
* set volume on change

* async set volumn

* Revert "async set volumn"

This reverts commit 7bc88c498353fff158b0de3d1923aa2c0f004a37.
old-commit-hash: 55c156dfb25d4cc594524d197a588a929a99f01f
2023-08-22 14:09:03 -07:00
Adeeb Shihadeh ce7008c70c bump cereal (#29532)
old-commit-hash: 65ad8fd8e7fa74c7eb7e75bba3046e4b9a8c68fc
2023-08-22 14:03:27 -07:00
Adeeb Shihadeh 783463db74 sensord: update cpu usage after removing light sensor
old-commit-hash: 6a5725bb38007d61602c7c495c275d234cd29fac
2023-08-22 14:03:15 -07:00
Dean Lee 11b5cfa422 ui/settings: Don't apply styles to more elements than needed. (#29463)
old-commit-hash: 5765c1d978c5890513e55398490447590d3b1d3e
2023-08-22 14:00:01 -07:00
Adeeb Shihadeh 701cd6f6fe add cpplint (#26855)
* setup cpplint

* only start that

* check line length

* check these

* rm exceptions
old-commit-hash: 952d720b6e854b3ebbb9fd0fd82cd38f3ae04b90
2023-08-22 13:55:23 -07:00
Shane Smiskol 03f174cd66 Hyundai: remove Ioniq EV 2022 from legacy safety mode (#29531)
* fw

* remove from legacy

* update docs
old-commit-hash: 2c835b81d9b206c04b23498c32bece1c8dbfaa52
2023-08-22 12:59:56 -07:00
Shane Smiskol 350461b680 Kia: move Optima Gen 4 FL out of legacy safety mode (#29530)
move Optima Gen 4 Facelift out of legacy
old-commit-hash: f546e9277466d298b1b3c62e70de9cbe002fa5d6
2023-08-22 12:41:52 -07:00
Robbe Derks a04cbced36 Devcontainer (#29259)
* mvp devcontainer. builds, runs and UI works

* fix indentation

* enable color and fix openpilot_env path

* separate dockerfile for devcontainer

* use prebuilt image

* Fix openpilot_env setup

* Add dev container section in readme

* Fix typo

* Fix typo again

* Move dev dockerfile to .devcontainer dir

* Update README

* Add note about x11 forwarding on macos

* Update dev container json

* Fix typo

* Override DISPLAY on macOS

* Mention XAUTHORITY for macOS setup in README

* fix typo

* Add devcontainer CI test

* Rename to devcontainer

* Fix git issues

* ripgrep

* Link instead of vscode manual

* Replace raw path with containerWorkspaceFolder

* Fix typo

* Remove dev tools workflow

* Link away X11 forwarding setup isntructions for mac

* Remove fork consrtaint, add test run of scons

* Add submodules as safe.directories in postStartCommand

* Remove openpilot_env references

* Add scons cache volume

---------

Co-authored-by: Robbe Derks <robbe@localhost.localdomain>
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: d71a7190f1210f5ac97ce16892552ecf495e2437
2023-08-22 11:47:09 -07:00
Adeeb Shihadeh b38403f2ca Revert Qt MOC hacks (#29528)
* Revert "CI: prevent moc from running in cache population step (#29401)"

This reverts commit 34634b95aa15dc608315016c40857f3e16ca4ff9.

* Revert "SCons: respect cache read only (#29437)"

This reverts commit 77cb4da6381fdf94ea98c55d6fcc30db4d24dcf6.

* don't change moc path
old-commit-hash: 91dc8457ae8e9b188c8fe613be5b3aa2e86be276
2023-08-22 11:16:58 -07:00
Kacper Rączy 0c17a4f4d0 CI: prevent moc from running in cache population step (#29401)
* Do not remove moc_files from cache

* Add cache cleanup script

* Use cache cleanup script

* Dry-run in cache population command

* Add newline

* Temporarly disable master only constraint for cache cleanup step

* Add test lines

* one more

* Fix shebang

* Remove debug lines

* Bring back master branch constraints
old-commit-hash: d1aedccfbe3cb880ad54adea578f91c04857d81b
2023-08-22 10:47:56 -07:00
Adeeb Shihadeh c7a05f82e0 pre-commit: autoupdate hooks (#29524)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: c5c73c4ddb819967388f3f9dd28c38596af10397
2023-08-22 10:39:45 -07:00
Willem Melching 4bb83c6849 ratekeeper.h: add missing <cstdint> include (#29523)
old-commit-hash: e8094affae0d7f49bc2b7136882dd1dad9e8dcdb
2023-08-22 15:21:16 +01:00
Cameron Clough a49d2d2619 Ford: test FW query config and versions (#29016)
* Ford: test FW query config and versions

* comments about software p/n

* should keep it in bytes

* don't need car_model

* it prints nicely

* add todo

* Update selfdrive/car/ford/tests/test_ford.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 92a7d702fcc8fd5188918871ed44fa0d4cb7d28f
2023-08-21 23:29:15 -07:00
Harald Schäfer 79b24a03b4 bump laika (#29522)
old-commit-hash: 3523bef732316b534de66dcb9e7d29e53e37e99f
2023-08-21 23:16:49 -07:00
Harald Schäfer 0174c5f21c Locationd: switch to laikad (#29278)
* use_laika

* Update test

* fix spacing

* fix proc replay

* small fix

* Try correct std

* cast correctly

* experimental

* simpler

* update reset thresholds

* improve

* Ready for live running

* outlier reject

* update laika

* add fine speeds

* more experiments

* fixes

* all in laika

* more small tweaks

* outlier rejection not needed

* fix conflict

* no more gpslocation

* update test

* refactor to laika

* runs again

* Update ref
old-commit-hash: fd3b8a3d7511ad3d7c5aa0b82a1e2c28505e5a7f
2023-08-21 22:51:02 -07:00
Felixowns 04fdd1a147 Remove Sonata LF from LEGACY_SAFETY_MODE_CAR (#29521)
* Update values.py

remove sonata_lf from legacy safety mode. added sonata_lf to unsupported longitudinal car

* Update selfdrive/car/hyundai/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0c4b91975b113dbf06203d5ee4537a713d19e5fa
2023-08-21 21:28:13 -07:00
Justin Newberry 3e6ce7d6cd CI: use xdist for car model tests (#29514)
* bump panda

* try multithreaded for car models

* need pytest-cov

* upgraded to poetry 1.5.1 and regenerated
old-commit-hash: 3492e80d19a4395d9481076c916f9ab96a8fb004
2023-08-21 20:51:27 -07:00
Justin Newberry e022ffe528 CI: simulator disable pull to save local space (#29517)
we don't need to pull since the image is different most of the time
old-commit-hash: ec5e3bef956e3f6f2ba7bc1f1eb6e75b0563b987
2023-08-21 20:01:52 -07:00
mitchellgoffpc 8a1e4d8575 Set paths for cl kernels and onnx_runner.py in modeld SConscript
old-commit-hash: 7699444816b04b95407f43ef631760666f1e2a11
2023-08-21 19:38:40 -07:00
mitchellgoffpc faa3ee050d Add cl_create_context function
old-commit-hash: 72950cd9bc6bc09edb2a5e0a8f6ef38af83e7881
2023-08-21 19:32:48 -07:00
mitchellgoffpc b1a10e45d1 Move USE_RUNTIME flags into runmodel.h
old-commit-hash: 24090d21219cb93de18103cda3a6ada02f4ba3f2
2023-08-21 19:26:48 -07:00
mitchellgoffpc b69de80962 exit if onnxmodel exec fails
old-commit-hash: 8c478708ee53c7b473989cd48ac1fdad8702c372
2023-08-21 19:23:23 -07:00
Greg Hogan 69570ef251 script to install only ubuntu dependencies (#29510)
* script to install only ubuntu dependencies

* update Dockerfile

* add shebang
old-commit-hash: b24bbe4607c4b13010b2bbcd340b133b91c146e1
2023-08-21 16:32:35 -07:00
Shane Smiskol f6fd240e95 Revert "Subaru: always show LKAS active (#27945)" (#29515)
This reverts commit a81e7c635e8c52e84f7da2f3e35b0f5ba86c3e3c.
old-commit-hash: b373e5d5ec8ad108925bc4f7aece5977dd405f97
2023-08-21 16:25:13 -07:00
Justin Newberry fe844afac7 CI: remove old docs base image push (#29512)
remove that push
old-commit-hash: 9188c560692d9c3019c291ed8ae0e899b2e4bfdf
2023-08-21 15:32:41 -07:00
Justin Newberry 7205b92bb6 CI: use scons cache mount for building simulator and docs (#29436)
* build docker image with scons cache

* use setup

* scons cache

* added the dockerfile

* add the shell

* docs use cache

* dont pull lfs for docs

* simulator too

* dont pull the cache image

* fix inputs

* inputs

* booleans aren't supported

* bool not supported

* bool isnt supported

* fix

* readonly cache

* fix sim cache too

* respect readonly

* gitignore and move to correct folder

* also copy old

* move to tools/ci

* move to selfdrive/test

* just make the cache writable, it's discarded anyway

* minimize diff in this pr
old-commit-hash: 197460e06136f66f60e10ccefece646cb472b872
2023-08-21 15:11:31 -07:00
Justin Newberry bb3a0f883b Subaru: longitudinal incorrect "inactive" rpm (#29496)
* fix incorrect base rpm issue

* "min" name is better
old-commit-hash: b20eba5f1d28ae623eecf5dbbc22f67ff02d3609
2023-08-21 14:54:42 -07:00
Jason Wen c322a93e1b HKG: Car Port for Kia Sorento Hybrid 2023 (#29322)
* HKG: Car Port for Kia Sorento Hybrid 2023

* Update CARS.md

* Oops

* add test route

* specify segment

* all packages

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: bfa714ef3b4a9cf00b79965bfb0f149b090008ef
2023-08-21 14:34:53 -07:00
Shane Smiskol 804cebf327 add enhancement todo for hyundai fuzzy FP
old-commit-hash: de7bcb04fccaf41b3149e26d353a18598d1030d0
2023-08-21 14:32:56 -07:00
Shane Smiskol 8ba8ffdef4 Kia: update supported Sorento PHEV package (#29509)
* Sorento PHEV includes all

* update docs
old-commit-hash: 229c43a80838a80fb5a7c4c6fc7b968ba04d70cc
2023-08-21 14:11:32 -07:00
Adeeb Shihadeh d46981cac5 tici: add wait_for_power helper (#29507)
* tici: add wait_for_power helper

* deque

* cleanup

---------

Co-authored-by: Bruce Wayne <batman@z840-provisioning2.internal>
old-commit-hash: 985af1ce3cc9849c0c677d2f1a062daef1b8d0dc
2023-08-21 13:46:00 -07:00
Justin Newberry 8abf2d1637 Subaru: remove unused backoff rate calculation (#29368)
* cancel rate

* Update selfdrive/car/subaru/carcontroller.py

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

* leave it as it was for now

* cleanup

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fc9a623d69919897c3e070ed11309c92651611a8
2023-08-21 13:31:57 -07:00
Kacper Rączy 1d47429f8e Setup cleanup vol. 2 (#29456)
* code from setup cleanup #29419

update ci

update ci

export variables for mac os

check env

what is in the profile script?

install pyenv the same everywhere

temporarily disable brew cache

temporarily disable brew cache

try fixing pyenv virtualenv-init

try this

inject shims path earlier

try alternate install method

switch back to brew install

try         eval "$(pyenv init --path)"

add eval "\$(pyenv init --path)"

* Add local .env file to the cache list

* Change .env paths

* debug line

* order?

* remove .env

* Add .venv to caches

---------

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
old-commit-hash: 0f7be5b1e6efa04c59ce2a45afacd650b2e4d417
2023-08-21 13:30:48 -07:00
Caleb Stultz 7681ae50af Remove Kia Sorento from LEGACY_SAFETY_MODE_CAR (#29502)
* Remove Kia Sorento from LEGACY_SAFETY_MODE_CAR

* Update values.py

* Added Kia Sorento to UNSUPPORTED_LONGITUDINAL_CAR
old-commit-hash: 551b0cc8f20794362ce66ecee0afb7cbcf4f97b1
2023-08-21 10:43:31 -07:00
Dean Lee 31ccaa11ab boardd: keepTime after failing to get ignition_opt (#29506)
* keep time after failing to get ignition_opt

* Update selfdrive/boardd/boardd.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 71d8f41ed8fd8644b44420b4f695c5f4ac820e30
2023-08-21 09:41:17 -07:00
Adeeb Shihadeh 29977caa45 sensord: rm light sensor (#29503)
old-commit-hash: f5071411cb460cc64474f533143f37ba3eb54ce6
2023-08-20 22:38:39 -07:00