Commit Graph

10318 Commits

Author SHA1 Message Date
Vivek Aithal 2fe3231b49 CHEVROLET SILVERADO 1500 2020: Make Silverado lateral tune non-linear (#29540)
add nonlinear values to silverado
2023-08-22 16:11:21 -07:00
Adeeb Shihadeh e0e139a233 soundd: update cpu usage 2023-08-22 15:16:38 -07:00
Adeeb Shihadeh 2cd311da29 add pytest-subtests package (#29536) 2023-08-22 14:31:03 -07:00
Kacper Rączy df9564e172 devcontainer: CI fix (#29534)
Export xauthority before running devcontainer
2023-08-22 14:14:14 -07:00
Harald Schäfer fda3106c28 Revert laikad llk (#29535)
* Revert "bump laika (#29522)"

This reverts commit 3523bef732.

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

This reverts commit fd3b8a3d75.
2023-08-22 14:12:51 -07:00
Dean Lee 55c156dfb2 soundd: set volume on changes (#29389)
* set volume on change

* async set volumn

* Revert "async set volumn"

This reverts commit 7bc88c498353fff158b0de3d1923aa2c0f004a37.
2023-08-22 14:09:03 -07:00
Adeeb Shihadeh 65ad8fd8e7 bump cereal (#29532) 2023-08-22 14:03:27 -07:00
Adeeb Shihadeh 6a5725bb38 sensord: update cpu usage after removing light sensor 2023-08-22 14:03:15 -07:00
Dean Lee 5765c1d978 ui/settings: Don't apply styles to more elements than needed. (#29463) 2023-08-22 14:00:01 -07:00
Adeeb Shihadeh 952d720b6e add cpplint (#26855)
* setup cpplint

* only start that

* check line length

* check these

* rm exceptions
2023-08-22 13:55:23 -07:00
Shane Smiskol 2c835b81d9 Hyundai: remove Ioniq EV 2022 from legacy safety mode (#29531)
* fw

* remove from legacy

* update docs
2023-08-22 12:59:56 -07:00
Shane Smiskol f546e92774 Kia: move Optima Gen 4 FL out of legacy safety mode (#29530)
move Optima Gen 4 Facelift out of legacy
2023-08-22 12:41:52 -07:00
Robbe Derks d71a7190f1 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>
2023-08-22 11:47:09 -07:00
Adeeb Shihadeh 91dc8457ae Revert Qt MOC hacks (#29528)
* Revert "CI: prevent moc from running in cache population step (#29401)"

This reverts commit d1aedccfbe.

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

This reverts commit 59abb469ea.

* don't change moc path
2023-08-22 11:16:58 -07:00
Kacper Rączy d1aedccfbe 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
2023-08-22 10:47:56 -07:00
Adeeb Shihadeh c5c73c4ddb pre-commit: autoupdate hooks (#29524)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-08-22 10:39:45 -07:00
Willem Melching e8094affae ratekeeper.h: add missing <cstdint> include (#29523) 2023-08-22 15:21:16 +01:00
Cameron Clough 92a7d702fc 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>
2023-08-21 23:29:15 -07:00
Harald Schäfer 3523bef732 bump laika (#29522) 2023-08-21 23:16:49 -07:00
Harald Schäfer fd3b8a3d75 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
2023-08-21 22:51:02 -07:00
Felixowns 0c4b91975b 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>
2023-08-21 21:28:13 -07:00
Justin Newberry 3492e80d19 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
2023-08-21 20:51:27 -07:00
Justin Newberry ec5e3bef95 CI: simulator disable pull to save local space (#29517)
we don't need to pull since the image is different most of the time
2023-08-21 20:01:52 -07:00
mitchellgoffpc 7699444816 Set paths for cl kernels and onnx_runner.py in modeld SConscript 2023-08-21 19:38:40 -07:00
mitchellgoffpc 72950cd9bc Add cl_create_context function 2023-08-21 19:32:48 -07:00
mitchellgoffpc 24090d2121 Move USE_RUNTIME flags into runmodel.h 2023-08-21 19:26:48 -07:00
mitchellgoffpc 8c478708ee exit if onnxmodel exec fails 2023-08-21 19:23:23 -07:00
Greg Hogan b24bbe4607 script to install only ubuntu dependencies (#29510)
* script to install only ubuntu dependencies

* update Dockerfile

* add shebang
2023-08-21 16:32:35 -07:00
Shane Smiskol b373e5d5ec Revert "Subaru: always show LKAS active (#27945)" (#29515)
This reverts commit 8f1e67f625.
2023-08-21 16:25:13 -07:00
Justin Newberry 9188c56069 CI: remove old docs base image push (#29512)
remove that push
2023-08-21 15:32:41 -07:00
Justin Newberry 197460e061 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
2023-08-21 15:11:31 -07:00
Justin Newberry b20eba5f1d Subaru: longitudinal incorrect "inactive" rpm (#29496)
* fix incorrect base rpm issue

* "min" name is better
2023-08-21 14:54:42 -07:00
Jason Wen bfa714ef3b 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>
2023-08-21 14:34:53 -07:00
Shane Smiskol de7bcb04fc add enhancement todo for hyundai fuzzy FP 2023-08-21 14:32:56 -07:00
Shane Smiskol 229c43a808 Kia: update supported Sorento PHEV package (#29509)
* Sorento PHEV includes all

* update docs
2023-08-21 14:11:32 -07:00
Adeeb Shihadeh 985af1ce3c tici: add wait_for_power helper (#29507)
* tici: add wait_for_power helper

* deque

* cleanup

---------

Co-authored-by: Bruce Wayne <batman@z840-provisioning2.internal>
2023-08-21 13:46:00 -07:00
Justin Newberry fc9a623d69 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>
2023-08-21 13:31:57 -07:00
Kacper Rączy 0f7be5b1e6 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>
2023-08-21 13:30:48 -07:00
Caleb Stultz 551b0cc8f2 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
2023-08-21 10:43:31 -07:00
Dean Lee 71d8f41ed8 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>
2023-08-21 09:41:17 -07:00
Adeeb Shihadeh f5071411cb sensord: rm light sensor (#29503) 2023-08-20 22:38:39 -07:00
Dean Lee 3eef63af9b common: C++ RateKeeper (#29374)
* c++ RateKeeper

* add to files_common

* use util::random_int

* improve monotor_time

* remove ~ratekeeper
2023-08-20 21:27:02 -07:00
Adeeb Shihadeh ff068dd722 move mypy config into pyproject.toml (#29501)
* move mypy config into pyproject.toml

* rm reference
2023-08-20 21:08:04 -07:00
Adeeb Shihadeh a9626f95b6 add openpilot prefix to imports (#29498)
* add openpilot prefix to imports

* more

* more

* fix docs

* fix linter

* bump submodules

* fix patched tests

* update dynamic imports

* debug

* Revert "debug"

This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
2023-08-20 20:49:55 -07:00
Adeeb Shihadeh d61f86d339 replace custom clock helpers with time module (#29499)
* replace custom clock stuff wtih time module

* fix double

* fix release

* bump cereal

* update type

* fix one more
2023-08-20 18:50:58 -07:00
Harald Schäfer bc4b75822a update process replay timeout (#29478)
* Always dict differ

* Update selfdrive_tests.yaml

* bump up more

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-08-20 17:24:33 -07:00
Adeeb Shihadeh 5690386d8d update clone instructions (#29490)
* both

* Update README.md

* Update README.md
2023-08-20 15:13:24 -07:00
Lee Jong Mun 1f056f3217 kor translation update (#29493) 2023-08-20 15:05:25 -07:00
Harald Schäfer 1dea20e574 Proc replay: field tolerance unused (#29479)
field tolerance unused
2023-08-20 13:05:18 -07:00
Cameron Clough 3861fca940 agnos: alt system image 2023-08-20 20:18:52 +01:00