Commit Graph

10813 Commits

Author SHA1 Message Date
Greg Hogan
349359d488 venv in code directory (#29452)
put venv in code directory
old-commit-hash: 282fd778aa303542d5752b0edc3e40db8de10696
2023-08-17 15:43:02 -07:00
Kacper Rączy
eb87a31bc5 Unpin numpy (#29421)
* Unpin numpy

* Update lock file

* leave acados comment

* Fix warnings

* Fix more paramsd warnings
old-commit-hash: 62a88e504d9ad82f6d070a11a3499bf89c19d08e
2023-08-17 15:36:14 -07:00
Dean Lee
023cd0492f ui/networking: do not skip the connected network (#29396)
* do not skip connected network

* simplify

* revert

* revert

* no implicit

* ifwt

* fix missing ssid

* makes more sense to only update security_type once (first vs. last)

* better comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b8b1e17a21390d9a80b1b0643c0001129292576c
2023-08-17 14:43:40 -07:00
Justin Newberry
1988b4805e Revert "setup cleanup (#29419)" (#29451)
This reverts commit bc9c60a3f955bb5b96dc41e6072cab47191f8896.
old-commit-hash: 1944945d9dfee6f42a875b119a5cf60daf8ade09
2023-08-17 13:23:06 -07:00
Dean Lee
e1f4ce2fb1 replay/logreader: use unique_ptr for mbr_ (#29440)
old-commit-hash: 61a00d267380f8ea75e5d7b6aeb7d0dc5e17d763
2023-08-17 11:42:35 -07:00
Dean Lee
4857b61f8f ui/networking: pass network by value (#29448)
old-commit-hash: 1887d9197ab495bb8f4dd2826730e6d53528dd65
2023-08-17 11:37:42 -07:00
Justin Newberry
9265919881 SCons: respect cache read only (#29437)
* respect readonly

* gitignore and move to correct folder

* also copy old
old-commit-hash: 59abb469ea4a8443ea07a0638acbc6ece0c9ddd2
2023-08-17 10:30:55 -07:00
Greg Hogan
cce2c732c6 setup cleanup (#29419)
* setup cleanup

* 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)"
old-commit-hash: ad32816fd6bdd744e7f596209822707494d3ba5e
2023-08-17 08:51:16 -07:00
Shane Smiskol
7a291211db Multilang: enable Thai (#29447)
enable thai in the ui
old-commit-hash: fb942020149934aeb59e5fbe644f72fa861a5fe9
2023-08-17 03:16:31 -07:00
Dean Lee
a50a9ef9b4 ui/map: hide icon if no maneuver type (#29084)
hide icon if no maneuver type
old-commit-hash: 202b2f2113d48f517c64f0daf9ad2d61fdb0b7a6
2023-08-17 02:05:19 -07:00
Dean Lee
f667936f3a ui/map: show map on destination set/change (#29327)
* show map on dest set/change

* check for rcv_frame

* clear current_nav_dest

* restore allow_open

* use requestShow

* cleanup

* one check

* revert behavior changes

* Update selfdrive/ui/qt/maps/map.cc

* more obvious

* Update selfdrive/ui/qt/maps/map.cc

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3a277f1b81fbb16673a77a475421a18751127cf2
2023-08-17 01:32:22 -07:00
Shane Smiskol
312d80c877 map: set destination marker visibility once (#29444)
set visibility once
old-commit-hash: da38aed48300ca1db0a1032c12c26b0268ebb03c
2023-08-17 01:02:59 -07:00
Shane Smiskol
c817cb942d CAN fingerprinting test (#29427)
* timing test

* test

* fix

* print

* loop

* clean up

* wider range

* Update selfdrive/car/tests/test_models.py

* Apply suggestions from code review

* run many times

* Update selfdrive/car/tests/test_models.py

* run for many its

* run with unittest and print as list

* Update .github/workflows/selfdrive_tests.yaml

* Update .github/workflows/selfdrive_tests.yaml

* total time is super inconsistent (body)

* Update selfdrive/car/tests/test_models.py

* clean up

* clean up

* clean up

* this works!

* draft

* test suite not as modular

* try something like this

* can do kb, but not too representative

* clean up

* remove kb? it depends on signals

* clean up

* more clean up

* rename

* just measure all CANParsers

* can do all this manually

* but this is way simpler

* comment

* stash

* draft

* draft

* remove old script

* clean up

* revert

* use it

* remove test

* opt

* no partial

* remove

* revert test_models

* test can fingerprinting

* so much simpler!

* fix dict resizing

* simplify

* need to do this

* fix

* move to new file

* rename

* comment

* ignore function-uses-loop-variable
old-commit-hash: fd8f8d8785dd07777f150bd61c7ba9a0ed00d786
2023-08-17 00:57:12 -07:00
Shane Smiskol
52bc87c4f2 upadte process replay refs
old-commit-hash: e4ecb511c9d1342c9e42439004c388b9b15340a7
2023-08-17 00:45:44 -07:00
Shane Smiskol
11466f786b internal test_models: run on more segments (#29443)
100 more
old-commit-hash: ac3f87bad519df408a295d2e007e0de58b11690c
2023-08-17 00:25:14 -07:00
Shane Smiskol
d87466556c Hyundai: match panda standstill check (#29442)
* bump panda

* clean up

* common?

* Revert "common?" (not now)

This reverts commit 197af7cdbb6a8c8e58fcbccca94f7db004ce91e4.

* fix

* no failures!

* remove time

* bump

* bump

* undo
old-commit-hash: 9d0d59ac9b40dabeb5984afc301917242da2515a
2023-08-17 00:06:38 -07:00
Shane Smiskol
15423b0eb8 bump panda
old-commit-hash: ebc5eb7df5028a1f54bfb6defb6a05319d937988
2023-08-16 23:32:37 -07:00
Dean Lee
5cc9fbe23f ui: longer screen timeout for driver view (#27457)
* longer driverview timeout

* Update ui.cc

* reset timeout

* do cleanup

* Apply suggestions from code review

* Update selfdrive/ui/ui.cc

* reset to default timeout on hidden

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f1568b960a3da819c41c62dcaeafb4eb6dd109eb
2023-08-16 22:22:39 -07:00
Arda
0645f2c409 Multilang: add Turkish language (#25765)
* Multilang: add Turkish language

* update translation

* vanish

* move up

* missing %n

* format args

* pass this test now

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d38dc64db0f6346e1b55af9cb9cd9e376aea8e86
2023-08-16 21:45:03 -07:00
Shane Smiskol
96c8511c37 Multilang: check format arguments are consistent (#29441)
* format args

* global
old-commit-hash: 103d39259f874678a3ea8818d8e4a5632c1b25d0
2023-08-16 21:30:47 -07:00
Shane Smiskol
1097d3b53d Multilang: more translation sanity checks (#29439)
* tests

* test finished translations

* fix new test failure
old-commit-hash: 549a4e9a9727c9dd37a4a1ad0e27ff21fa932028
2023-08-16 21:10:25 -07:00
Shane Smiskol
2d42b7bd1d fingerprints: prevent global from changing (#29438)
prevent _FINGERPRINTS from changing
old-commit-hash: 25ac9e214880ca846a209ce35d8d4245bf391d08
2023-08-16 19:52:41 -07:00
Justin Newberry
edbd5d330e CI: use setup script for docs and simulator (#29434)
* use setup

* dont pull lfs for docs

* fix inputs

* bool not supported

* bool isnt supported
old-commit-hash: ad00595ba5f7716840afbdf548a9bdf1290dbfeb
2023-08-16 17:59:42 -07:00
Kacper Rączy
b0877c92e7 Disable pyqt5 on aach64 (#29430)
* Make pyqt5 x64 only

* Add comment regarding pyqt5 wheels
old-commit-hash: 766b5e6e8b4985007d582d30dc062816657f5caa
2023-08-16 14:11:45 -07:00
Justin Newberry
7faefd677b Subaru: Global gen1 experimental longitudinal (#28872)
* Add longitudinal support for Subaru Crosstrek and Impreza

* Update experimentalLongitudinalAvailable check

* Update supported cars list

* bump panda

* Remove/rename es_lkas_msg to es_lkas_state_msg

* Use stockAeb for AEB passthrough

* bump panda

* bump panda

* remove stockFcw from stockAeb

* Subaru: Add FCW_Cont_Beep to stockFcw signals

* bump panda

* bump panda

* update poetry deps: shellingham

* bump panda

* bump panda

* Revert "update poetry deps: shellingham"

This reverts commit 6e9b20964890c8a5c416a17b8aaad4cc16fddcfc.

* Merge fixes

* bump panda

* bump panda

* update supported cars list

* dont use counters for long control

* fix unittests

* submodules update

* only soft disable in long control

* use common functions and cleanup

* apply hystersis correctly

* move to comma repo

* use CanBus

* cleanup

* explicit copy

* behind a flag

* remove unrequired rpm checks

* add comment

* fix flag issue

* we still need to check rpm

* update docs

* enable long for a test route

* unit tests

* inactive throttle fix

* Update subarucan.py

* Update carcontroller.py

* Update carcontroller.py

* inactive throttle fix

* Delete settings

* fix rate limit

* bump submodules

* bump panda

* bump panda

* bump panda

* bump panda

* simplify initial implementation, remove AEB

* reduce initial complexity by not intercepting cruisecontrol or brake_status

* fix fwd hook test

* show pcb off warning

* cleanup and setup for tuning

* fix sumobuldes

* revert unrelated changes

* only whats required

* only whats required

* clean that up

* better comments

* behind the flag for now

* comments and minimize diff

* align stuff

* cleanup for PR

* apply review suggestions

---------

Co-authored-by: Martin Lillepuu <martin@mlp.ee>
old-commit-hash: d6c682b40168241e481aa2904198ac29c8d1a73e
2023-08-16 12:58:09 -07:00
Dean Lee
accd5f471b replay: fix seekTo issue (#29422)
* fix seekTo issue

* remove extra space
old-commit-hash: e8e03197ca73e98c152b94f64060ee57f88d2911
2023-08-16 11:01:14 -07:00
Kacper Rączy
deb8257322 process_replay: prevent creating orphaned processes if replay fails during setup (#29426)
Fix the ability to cleanup, if process container fails during start
old-commit-hash: f07e4fb49a20b915e887f6a834ff3bc3636aa9cf
2023-08-16 10:37:19 -07:00
Shane Smiskol
3fd62cfe23 car_helpers: common CAN fingerprint function (#29417)
* timing test

* test

* fix

* print

* loop

* clean up

* wider range

* Update selfdrive/car/tests/test_models.py

* Apply suggestions from code review

* run many times

* Update selfdrive/car/tests/test_models.py

* run for many its

* run with unittest and print as list

* Update .github/workflows/selfdrive_tests.yaml

* Update .github/workflows/selfdrive_tests.yaml

* total time is super inconsistent (body)

* Update selfdrive/car/tests/test_models.py

* clean up

* clean up

* clean up

* this works!

* draft

* test suite not as modular

* try something like this

* can do kb, but not too representative

* clean up

* remove kb? it depends on signals

* clean up

* more clean up

* rename

* just measure all CANParsers

* can do all this manually

* but this is way simpler

* comment

* stash

* draft

* draft

* remove old script

* clean up

* revert

* use it

* remove test

* opt

* no partial

* remove

* revert test_models
old-commit-hash: b9e36b7faae1ad2a9ff78c72f5169a99f94ca82c
2023-08-16 03:28:50 -07:00
Shane Smiskol
fee3c4b361 bump panda
old-commit-hash: 2703a8e378f6252f2dfbbc8afdfe4ada1d9eabd2
2023-08-16 00:08:54 -07:00
Shane Smiskol
dc6af2820a test_models: check panda cruise state (#29423)
* cruise state test

* add todo

* rename

* clean up

* remove
old-commit-hash: 2d636deb4eabf54044b086d87305fc898f833711
2023-08-15 23:55:53 -07:00
Shane Smiskol
2fc1ed6d5d test_models: add full internal segment list (#29425)
full internal test models seg list

remove avalon and sienna

volt with ascm on

another volt with ascm on

9bc2ee633c361c3d|2023-07-28--20-17-51--2

dashcam mode

c4e21532b6fe3847|2023-07-05--08-34-05--1

can invalid (missing PSCMStatus)

cf6ba99592c48848|2023-07-01--11-36-56--20
old-commit-hash: 4073ffb02bb84fe5e877a1708185c00ff1a35ac2
2023-08-15 23:33:52 -07:00
Justin Newberry
ca79aa56c2 bump panda (#29424)
old-commit-hash: fd09de8a3e05a6ad728de27aabd97b59c6f33634
2023-08-15 23:25:54 -07:00
Jason Young
4c67988f68 HKG: Vehicle mass corrections (#29418)
* HKG: Vehicle mass corrections

* not gross

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e1a64260d38ed76cd55dabca31c2a6edc6024f57
2023-08-15 20:46:57 -07:00
Shane Smiskol
7e716dbc87 CANParser: perf benchmark on route script (#29324)
* timing test

* test

* fix

* print

* loop

* clean up

* wider range

* Update selfdrive/car/tests/test_models.py

* Apply suggestions from code review

* run many times

* Update selfdrive/car/tests/test_models.py

* run for many its

* run with unittest and print as list

* Update .github/workflows/selfdrive_tests.yaml

* Update .github/workflows/selfdrive_tests.yaml

* total time is super inconsistent (body)

* Update selfdrive/car/tests/test_models.py

* clean up

* clean up

* clean up

* this works!

* draft

* test suite not as modular

* try something like this

* can do kb, but not too representative

* clean up

* remove kb? it depends on signals

* clean up

* more clean up

* rename

* just measure all CANParsers

* can do all this manually

* but this is way simpler

* comment

* fix mypy

* this is correct too

* 3 seconds instead of 1.5
old-commit-hash: e2910d0720f0b65496234382847da1ab0d086e4d
2023-08-15 20:06:15 -07:00
Shane Smiskol
6c6fcd8b22 test_models: more typing (#29420)
* not type checked, but we set this in test_car_model

* type this
old-commit-hash: 6ec00f5ee2d07ca0b1b98cf4dc1f19487c08a98f
2023-08-15 20:01:33 -07:00
Maxime Desroches
df3502d8c8 acados: update to 0.2.2 (#28821)
* use 0.2.2

* Add mac binaries

* Replace libqpOASES with symlink on larch64

* Add comment to build script

---------

Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: 4c1b8b71d096e7658fe56598944e3f8bd3e347f0
2023-08-15 15:53:21 -07:00
Justin Newberry
268fb070a8 Subaru: calculate steering angle rate (#29409)
* calculate rate

* added adeeb's comment

* move to selfdrive/car

* that makes way more sense

* much simpler

* fix rate

* preglobal doesn't have a counter

* update ref

* merge

* update ref after merging
old-commit-hash: 7ec52da33ade1b0926b38fb5dc1e2bc52e957bad
2023-08-15 15:28:46 -07:00
Shane Smiskol
4eadeff03f test_models: some typing (#29413)
* type

* also type check this func

* unused
old-commit-hash: 936f8b98177d98e75ebe50ed2a98a4b677b76dc8
2023-08-15 15:25:36 -07:00
Jason Young
b4614b3c28 car interfaces: cleanup tire stiffness calculation (#28263)
* cleanup tire stiffness calculation

* bump cereal

* think these todos still apply

* gm: same default

* revert comments

* bump

* update refs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 90c4bbe8e4ee11f3c1289a0dbb93262824fa430c
2023-08-15 14:17:08 -07:00
Shane Smiskol
30343ec149 Revert "bump cereal (#29412)"
This reverts commit 5249a29fefd5693e40d32683bac1a5a162c5b013.

old-commit-hash: 99a96c7f5489a8658d2bbd6e86a6803bb9efbbfd
2023-08-15 12:30:35 -07:00
Shane Smiskol
21bb02331e bump cereal (#29412)
bump
old-commit-hash: 899c1ece59c555b928d72f1b59b95ce843d4909e
2023-08-15 12:23:25 -07:00
Adeeb Shihadeh
23a899b7f8 pre-commit: autoupdate hooks (#29407)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: 3b849811e5298a59cc723937ec94a458fd6dad88
2023-08-15 10:29:02 -07:00
Dean Lee
3648506b7c cabana: set border color for scatter series (#29408)
old-commit-hash: 9dac6b66f982dc5356821048627d70b18595b39e
2023-08-15 10:28:48 -07:00
Shane Smiskol
92ff85f4b4 Update TOTAL_SCONS_NODES
Should add a CI test for this
old-commit-hash: 3e2903a0c184a203718e2430aa33da6e3b62bf7f
2023-08-14 17:34:19 -07:00
Dean Lee
e0439a516f ui/map: assign the return value to last_position (#29341)
assign the return value directly to last_position
old-commit-hash: 613bbb7e6da40b313dea86af9bfae71c057b375d
2023-08-14 16:39:43 -07:00
Kacper Rączy
4096be66e4 macOS: fix GH actions cache (#29399)
Add lz4 and xz to dep cache exceptions
old-commit-hash: ae649ec68d670cb2d90773906665695807e4dc2e
2023-08-14 16:13:35 -07:00
Shane Smiskol
6be9e66073 jenkins: re-enable test_models (#29394)
* re-enable test_models

* now?

* Remove bad Volt segment

* Update Jenkinsfile

* use first n segments
old-commit-hash: fb235238addb73e04f59fca941040e3785be103e
2023-08-14 16:08:34 -07:00
Adeeb Shihadeh
ca96941da8 add PyQt5 package (#29400)
old-commit-hash: 6c3e5c43623d32210298378cd752c363b6f93c76
2023-08-14 15:13:42 -07:00
Kacper Rączy
7f02996102 replay: increase file descriptor limit macOS (#29346)
* Increase file descriptor limit for replay on macos

* Reword comment

* Move set_file_descriptor_limit to common/util.cc

* Include resource.h header
old-commit-hash: d8bda6feb491f571acf476314ce7de81a431453f
2023-08-15 00:05:27 +02:00
Justin Newberry
1424636288 CI: docs speedup by caching first stage (#29397)
* docs speedup

* fix tags on docs build

* build docs without build-push-action
old-commit-hash: f8cbdcfa40a80567a4f6fc3823e46cb37d219cb1
2023-08-14 14:36:17 -07:00