Commit Graph

12534 Commits

Author SHA1 Message Date
Shane Smiskol
a160f1a624 IsoTpParallelQuery: extend timeout for every frame type (#29654)
* recv returns updated

* bump panda

* bump

* bump
2023-08-26 07:00:46 -07:00
Shane Smiskol
74a0a8f7b7 Revert "ui/network: don't refresh on connect (#29651)" (#29653)
This reverts commit 6ea564b33e.

Revert "ui/network: refresh IP address on connect"

This reverts commit 46c32613fc.
2023-08-26 05:23:20 -07:00
Shane Smiskol
46c32613fc ui/network: refresh IP address on connect 2023-08-26 05:15:05 -07:00
Shane Smiskol
6ea564b33e ui/network: don't refresh on connect (#29651)
* don't refresh when showing connected status

* fix

* fix

* can remove that nowe
2023-08-26 04:13:19 -07:00
Dean Lee
9fe3df5d75 ui/networking: show "connecting" immediately after clicking on a network (#29378)
* fix connecting not show

* clear connect state

* pass network by value

* add comment

* move pass by value to anoter pr

* should always use function to set connecting_to_network

* remove connecting when forgetting

* out here

* can't do this :(

* Revert "can't do this :("

This reverts commit e06145202de34142e74667c876dc22442eb30796.

Revert "out here"

This reverts commit 8ca7b47a28854a92d95fcb5c5fc435e140f9af2c.

Revert "remove connecting when forgetting"

This reverts commit 671db0b5e76b6266a48f20bf4a1fd40cad4f90a4.

Revert "should always use function to set connecting_to_network"

This reverts commit a220b518fa2a4103046f9522afada80db76ae90d.

* makes sense to keep this the same

* not in between slots

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-26 03:54:19 -07:00
Dean Lee
547f69f5f3 ui/networking: fix icon label alignment issue (#29650)
fix align issue
2023-08-26 03:19:30 -07:00
Shane Smiskol
6bb97c416f wifiManager: empty path helper (#29648)
empty helper
2023-08-26 01:50:18 -07:00
martinl
a1bf66a0d2 Subaru: Ascent 2023 dashcam mode (#27583)
* Subaru: Add support for 2023 Ascent

* Update supported cars list

* Remove tester present from fw query

* merge master

* fix merge issues

* minimize diff

* add comment about 23 ascent

* add comment

* correct spot

* fix name

* nocap

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-25 20:55:21 -07:00
Irene
b3e4eb15dc Toyota: forward openpilot FCW to cluster when engaged (#25677)
* move ui message handling out of condition

* relay openpilot fcw to car

* only send normal fcw if DSU is unplugged

* add comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-25 20:17:05 -07:00
Shane Smiskol
3b69187b67 Kia: add test route for Optima Hybrid (#29520)
* add Optima H FW

* undashcam

* add to routes, but keep in dashcam mode for now

* rearrange
2023-08-25 20:12:57 -07:00
multikyd
5c6a8ac7cc HKG: Add Optima Hybrid to HEV and legacy safety mode lists (#29644)
* add Optima H FW

* undashcam

* HKG: Add to Hev and Legacy safety mode for Optima Hybrid

* remove extras

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-25 19:20:49 -07:00
mitchellgoffpc
807410e0ac Remove no-thneed build flag 2023-08-25 19:09:25 -07:00
mitchellgoffpc
e0287fa93e Remove USE_THNEED check from run.h 2023-08-25 19:05:49 -07:00
Dean Lee
17bfff8e10 ui: add translation files to assets.qrc (#29597)
* move translation files to assets.qrc

* cleanup

* add main_en

* dynamically add

* not sure if required

* revert to master

* move translations above assets

* add translations to qrc file

* comment

* now add translations_assets_src to assets sources

* this is built

* add to .gitignore

* consistent name

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-25 19:05:35 -07:00
Kacper Rączy
a4a0429fca modeld: fix bash scripts (#29643)
Fix shebang. Fix LD_PRELOAD
2023-08-25 18:56:06 -07:00
Adeeb Shihadeh
d35beffbce CI: use buildjet for process replay (#29277)
* squash for pr

* backoff to 4vcpu

* review suggestions

* simplify

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
2023-08-25 18:50:21 -07:00
Shane Smiskol
2b4255b19e ui: rebuild translations when widgets are modified (#29640)
fix translations not being updated for widgets
2023-08-25 17:25:38 -07:00
Adeeb Shihadeh
683b3b5966 pandad: recover from bad bootstub (#29638)
* pandad: recover from bad bootstub

* more

* adjust that

* ugh guess multipanda is still a thing

* reset

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-08-25 17:03:00 -07:00
Kacper Rączy
517499294a mpc_lib: fix dependencies (#29621)
* Remove common dependency of lateral mpc

* Replace cereal dir dependency with cereal lib in long mpc

* Add missing files to generated sources

* Typo fix

* messaging_python dep
2023-08-25 16:51:57 -07:00
Shane Smiskol
24f5a6170d car interfaces: handle buttons changing state without going unpressed (#26463)
* rename function first and foremost

* the function

* comment

* move usages over

* probably fine

* comments

* btn

* single line

* not comments

* fix keyword

* is it not clear?

* noEntry while holding cancel

* bumpo

* remove

* better?

* better?

* try this

* try this

* loop

* better

* more clear

* Revert "more clear"

This reverts commit 37e0277e4bfe6f1c553dbbcece6f532a280be62e.

* no optional

* fine

* add comment

* clean up honda

* one line

* can also do this

* but unclear

This reverts commit 1984a72cc8680b23c202695b8aeeb1aa28f7160c.

* bumppanda
2023-08-25 16:47:10 -07:00
Justin Newberry
c46965fc27 CI: use local scons cache instead of building a separate image (#29634)
* use local

* added ci_sim

* revert scons

* dont need these anymore

* same for sim

* fix dockerfiles
2023-08-25 16:06:17 -07:00
Justin Newberry
584239ceb5 CI: add comment about building locally (#29635)
add comment about build
2023-08-25 15:49:07 -07:00
Dean Lee
2484548fdd cabana: improve frequency accuracy (#29631)
* improve frequency accuracy

* apply review

* 2 less lines!

* another!

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-25 15:15:16 -07:00
Adeeb Shihadeh
4d6bb32df2 process replay: parallel by default (#29633)
* process replay: parallel by default

* more is helpful
2023-08-25 14:41:43 -07:00
mitchellgoffpc
ef8e0fef55 Remove thneed logic from snpemodel 2023-08-25 14:37:08 -07:00
Mitchell Goff
72a3c987c0 Rewrite modeld in python (#29230)
* Added modeld.py (WIP)

* No more VisionIpcBufExtra

* Started work on cython bindings for runmodel

* Got ONNXModel cython bindings mostly working, added ModelFrame bindings

* Got modeld main loop running without model eval

* Move everything into ModelState

* Doesn't crash!

* Moved ModelState into modeld.py

* Added driving_pyx

* Added cython bindings for message generation

* Moved CLContext definition to visionipc.pxd

* *facepalm*

* Move cl_pyx into commonmodel_pyx

* Split out ONNXModel into a subclass of RunModel

* Added snpemodel/thneedmodel bindings

* Removed modeld.cc

* Fixed scons for macOS

* Fixed sconscript

* Added flag for thneedmodel

* paths are now relative to openpilot root dir

* Set cl kernel paths in SConscript

* Set LD_PRELOAD=libthneed.so to fix ioctl interception

* Run from root dir

* A few more fixes

* A few more minor fixes

* Use C update_calibration for now to exactly match refs

* Add nav_instructions input

* Link driving_pyx.pyx with transformations

* Checked python FirstOrderFilter against C++ FirstOrderFilter

* Set process name to fix test_onroad

* Revert changes to onnxmodel.cc

* Fixed bad onnx_runner.py path in onnxmodel.cc

* Import all constants from driving.h

* logging -> cloudlog

* pylint import-error suppressions no longer needed?

* Loop in SConscript

* Added parens

* Bump modeld cpu usage in test_onroad

* Get rid of use_nav

* use config_realtime_process

* error message from ioctl sniffer was messing up pyenv

* cast distance_idx to int

* Removed cloudlog.infos in model.run

* Fixed rebase conflicts

* Clean up driving.pxd/pyx

* Fixed linter error
2023-08-25 14:36:26 -07:00
Dean Lee
c6c6877263 util.cc: remove duplidate #include (#29632)
remove duplidate #include
2023-08-25 14:34:46 -07:00
Adeeb Shihadeh
c9e227a9c0 update azure-storage-blob (#29411)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-08-25 22:01:10 +01:00
Harald Schäfer
f1b8a86464 K1FD: generate kalman gain at init (#29610)
* K1FD: generate kalman gain at init

* Update interfaces.py

* Update interfaces.py

* Update interfaces.py

* Update ref_commit
2023-08-25 13:44:03 -07:00
Harald Schäfer
47a839ab1f bump laika (#29628) 2023-08-25 13:14:16 -07:00
Adeeb Shihadeh
6b5a0b3498 include all model runners in release 2023-08-25 12:02:22 -07:00
Dean Lee
1e62999e75 v4l_encoder: convert macro checked_ioctl to funtion (#29609)
* break to multiple lines

* convert to function

* format errno

* use safe_ioctl

* cleanup
2023-08-25 11:05:22 -07:00
Dean Lee
86386fd87f scons: fix always generating car_fingerprint_to_dbc.json (#29625) 2023-08-25 10:39:55 -07:00
Dean Lee
2709cd6538 common/tests: combine multiple test binaries into one (#29623) 2023-08-25 10:35:39 -07:00
Dean Lee
7270c64872 common/gpio: use util::safe_ioctl (#29624)
use util::safe_ioctl
2023-08-25 08:20:43 -07:00
Justin Newberry
c0b9458a45 CI: move cache dir to workspace directory (#29622)
* comma dir

* mkdir

* fix issues

* test

* fix that

* fix

* do the other ones too

* missed that

* fix

* fix pr comments by moving into two different directories

* fix location

* fix that

* only change current

* fix
2023-08-25 01:41:04 -07:00
Shane Smiskol
ed6e72ae1f car/__init__: missing ending newline 2023-08-25 00:43:29 -07:00
Shane Smiskol
ae2a6537b7 fingerprinting: log FW query time (#27880)
* Update car_helpers.py

* put in carParams

* bumpcereal

* rename

* bump cereal

* add cached

* bump cereal

* just add to fingerprinted event
2023-08-24 21:11:01 -07:00
Adeeb Shihadeh
465a72a87d bump panda (#29619)
Co-authored-by: Comma Device <device@comma.ai>
2023-08-24 19:22:48 -07:00
Adeeb Shihadeh
36cc41f619 CI: remove redundant apt installs (#29617)
* CI: remove redundant apt installs

* split build and test

* faster build
2023-08-24 17:32:15 -07:00
Adeeb Shihadeh
e863828051 CI: workaround syntax error in azure lib (#29618) 2023-08-24 17:18:11 -07:00
Justin Newberry
90cb417caa CI: use GITHUB_ENV for env variables (#29616)
export doesn't work across steps
2023-08-24 17:03:25 -07:00
Mitchell Goff
e2e39d100b Added cython bindings for model runners and commonmodel (#29607)
* Added cython bindings for model runners and commonmodel

* Removed cython language_level=3

* loop to set CXXFLAGS for both envs
2023-08-24 17:00:26 -07:00
Harald Schäfer
8205590624 Locationd: enable laikad (#29570)
* experiment

* llk back

* update refs

* update ref

* no internet

* Update ref
2023-08-24 16:51:45 -07:00
Justin Newberry
1ee6ed4b16 Linter: remove pylint (#29611)
remove pylint
2023-08-24 16:30:54 -07:00
Justin Newberry
ede9f2cda5 CI: fix docker push (#29614)
* fix those

* fix docker push too

* dont need that twice
2023-08-24 16:30:33 -07:00
Justin Newberry
3d9f238bf9 CI: use scripts for docker build (#29599)
* use scripts

* remove common

* do login in the workflow

* separate step

* cleanup

* one script is cleaner

* keep it consistent

* review suggestions

* move in ci too

* PR cleanup
2023-08-24 16:09:08 -07:00
mitchellgoffpc
7dae580441 Moved thneed src to top of modeld sconscript 2023-08-24 15:12:01 -07:00
Shane Smiskol
b8fb260558 ui/map: clip vehicle speed to min of 10 m/s (#29601)
* all the changes I want to make

* Revert "all the changes I want to make"

This reverts commit c18132b73eb9bba4d7871631d7cd4155eb7efcd0.

* add initialized

* clip to 10 m/s

* fix bug

* rm

* here?
2023-08-24 15:09:30 -07:00
Bruce Wayne
e7418cfa39 KF1D: add steady state kalman code 2023-08-24 15:04:47 -07:00