Commit Graph

10519 Commits

Author SHA1 Message Date
Cameron Clough b120aec2f5 deleter: preserve flagged segments (#28814)
old-commit-hash: 98a30f10f447b3c28d92f089012ec66c93066bf0
2023-07-20 21:30:26 +01:00
Shane Smiskol a7b32acd4b nav: show warning for routing problems (#29055)
* all my debugging stuff

* this works

* add comment

* bb navd

* navInstruction is valid when we get a non-empty route response

* now don't need this

* stash

* big cleanup

* clean up

* clean up

* debug

* final clean up

* one line

* flip order

* update translations

* is this simpler?
old-commit-hash: 5b368a67eadff384e8c38085a5e8f10ecd37c1e5
2023-07-20 04:01:55 -07:00
Shane Smiskol 3a41e53b08 nav: set icon anchor for destination pin (#29054)
* anchor!

* whoops

* fix anchor
old-commit-hash: d0ea8be95fd5900930070b55c8582bafd329639e
2023-07-20 01:28:21 -07:00
Mitchell Goff 949375984f nav: draw destination pin on top of navigation path (#29050)
* Draw destination pin on top of navigation path

* fix draw ordering

fix draw ordering

* add todo

* rename to feature

* draft

* clean up

* testing

* testing 2

* Revert "testing 2"

This reverts commit fc236aafbc14bbdc5ddb52fb56265302247ddf4b.

* Revert "testing"

This reverts commit 982a508ad701268ebdae910980fd5464454f44a8.

* clean up

* add todo

* show!

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

* lgtm

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ba03e9429044e40477c3b1f38737688f5a24f4b4
2023-07-20 00:54:42 -07:00
Adeeb Shihadeh e56ac872e1 CI: add docker images tagged with git commit (#29052)
* CI: add docker images tagged with git commit

* tag later

* debug

* fix tag

* test that

* cleanup
old-commit-hash: a83dec9d9441a0ad768494d046b5782d04fdbfc1
2023-07-19 23:35:33 -07:00
Maxime Desroches 69e6ec4cc2 bump rednose (#29051)
rednose
old-commit-hash: 2ec1a2cf7069b5391a3ebebce4be03817ab96af2
2023-07-19 20:48:34 -07:00
Harald Schäfer 8a48732784 radard: no clustering (#29010)
* First commit

* cleanup

* Update ref

* Doesnt deserve two files

* cleanup radard
old-commit-hash: ca699e3989bd31849f168f665fc89c71667b008a
2023-07-19 20:31:40 -07:00
Dean Lee 05b2a0b884 common/swaglog: remove trailing semicolon from macros (#29042)
old-commit-hash: 269ceca27a5fedc1eadd71503cf13450a061b382
2023-07-19 19:46:42 -07:00
Adeeb Shihadeh e51ad90e92 controlsd: write ControlsReady in thread (#29048)
old-commit-hash: 83c5d11dff755ae8207c6ec4fe422d7d1234aea3
2023-07-19 19:13:18 -07:00
Harald Schäfer fccb8f0a6d Rawgpsd: retry even more on setup (#29045)
old-commit-hash: 9054590c95b6abbe002e7b44dd14249ded12bf8d
2023-07-19 18:54:27 -07:00
Dean Lee f8c108e8e8 cabana: cleanup MessageViewHeader & MessageBytesDelegate (#29040)
* cleanup

* remove double ;
old-commit-hash: 319ce562f270f6b4320b53e9d6d67452a3b77027
2023-07-19 18:39:55 -07:00
Kacper Rączy 50fc92eab9 process_replay: API docs (#29041)
* Update process_replay README

* Expose get_custom_params_from_lr in top-level module
old-commit-hash: f74f1def29877e3b444ed59ea307c57455934ea0
2023-07-19 17:50:26 -07:00
Robbe Derks f305305754 Panda logs (#28511)
* log in pandaStates

* Revert "log in pandaStates"

This reverts commit 87ee283ac45c2eeed94d9a958927e3072ec4460f.

* log to param

* dumps datetime

* cloudlog instead

* add truncation

* fix

* try isotimestamp

* duh

* more fixes

* should be __class__

* add some time to account for log gathering

* use new fast interface

* Revert "add some time to account for log gathering"

This reverts commit 2c08ad48052dfc0546530059a0cda03b04c4939a.

* cleanup

* simple test

* fix wrong serial

---------

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 70bbb94dc56a62f82a96254b0c08f043a87c8718
2023-07-19 14:24:57 -07:00
Dean Lee ff94bdb79d ui/networking: call isTetheringEnabled out of the loop (#29028)
old-commit-hash: 4584e883dcf93079ad958da2042229750a3e260d
2023-07-19 12:28:44 +01:00
eFini 05181ed6b1 long_mpc: clean up get_T_FOLLOW() usage (#29033)
old-commit-hash: 7a5dbe6132cc363570fe6fac106661f01b1319e2
2023-07-19 02:07:01 -07:00
Adeeb Shihadeh 3eee5ac744 boardd: update cython syntax (#29031)
old-commit-hash: 5cfb79e35ffecf1a37759f22d084fa4aeb959ef4
2023-07-18 23:58:51 -07:00
Shane Smiskol 71ebb6fd03 Toyota: add hybrid ECU FW versions for 2023 RAV4 Hybrid (#29023)
* add hybrid FW for a2c30de116fe186d

* add hybrid FW for 60b363805ee9fc06

* add hybrid FW for 5b05f9d3f9574132 & 459707e5f696e897

* remove from extra_ecus, we can't conditionally mark not logging

* add likely protocols
old-commit-hash: 527d13ad6782c6b03bf57b49fb8a99de324ae05b
2023-07-18 23:04:55 -07:00
Adeeb Shihadeh e9648cf860 CI: use locally built image as CL base (#29030)
old-commit-hash: 22882a0d227d3b817da66ac1bbd08b4986ca42bd
2023-07-18 22:57:32 -07:00
Justin Newberry f465c3f3ac Updated: fix setting update time (#29004)
* sleep in launch

* set time loop

* log

* try longer delay + logging

* try longer delay + logging

* fix order of update

* fix order of update

* fix order of update

* revert panda

* also don't show connectivity error without failed checks

* slightly cleanup updated

* fix type error

* init overlay first

* minimal diff

* comment

* minimal diff

* minimal diff

* explicit parameter to make it clear

* explicit parameter to make it clear

* use finally

* dont use finally

* PR cleanup

* reduce frequency

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ce2708fa67e9f2b7117e710054e25ed631fa1816
2023-07-18 21:26:05 -07:00
Adeeb Shihadeh 5f8e1afc88 navd: handle key present with none value (#29025)
old-commit-hash: 60d570349f304c2e944dc279ac419c67093397b0
2023-07-18 21:19:18 -07:00
Shane Smiskol 32d6b9994e test_car_interfaces: use DT_CTRL
old-commit-hash: 18cf253c625a8ae8b60e7b04f5859add37a3ad19
2023-07-18 20:01:22 -07:00
Adeeb Shihadeh d76b76c090 test_manager: skip mapsd check for now
old-commit-hash: 2aa3000371e2c9242237e63a01722f28c4c4bd46
2023-07-18 19:15:47 -07:00
Adeeb Shihadeh 33e6aad83b Revert "Update pycapnp and Cython (#29021)"
This reverts commit 9f80430d3958cbcf4fb9b67a428f45fd034c5649.

old-commit-hash: 9c307f2550ccade43409c9a5835203fdc355f26c
2023-07-18 18:47:35 -07:00
Kacper Rączy 6b94f83d85 regen: blacklist-procs option (#29024)
* Add blacklist-procs option to regen

* Keep the original process order
old-commit-hash: 1235110983b9cd65af43530b35f26b8d790b3e96
2023-07-18 17:13:23 -07:00
Maxime Desroches 6ba97408e9 Update pycapnp and Cython (#29021)
* cython + pycapnp

* from_bytes with context

* poetry lock

* limit numpy

* force build

* Revert "force build"

This reverts commit 8c7cb00421da9d0f1b7da2c94f75e9c43733f840.

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 76ef1b9b9f725834256d7b3429e2805739ccbed5
2023-07-18 16:40:36 -07:00
Maxime Desroches 4aaceac124 Force build of openpilot-base for OpenCL tests (#29022)
old-commit-hash: 56a0f9e07414645ea54429a365a5557b1f143d7f
2023-07-18 16:25:05 -07:00
Shane Smiskol 372ae37d91 nav: show green path when enabled (#29020)
* draft

* draft

* clean up

* clean up

* cleaner

* needs to be here to work

* or this works

* works too

* stash

* clean up qdebugs

* revert to master

* reapply changes

add bool

* consistent cmts

* clean up

* can be simpler combined

* clean up/fix
old-commit-hash: 7a673c87ffd8bac16debd306977d00e0db156360
2023-07-18 15:52:59 -07:00
Kacper Rączy 4c6efa638c process_replay: support for replaying multiple processes simultaneously (#28829)
* first working ProcessContainer and _replay_multi_process implementation

* Setup controlsd config_callback

* Add vision ipc support

* Remove old code

* add todo

* Update estimated processing times

* Use deepcopy when getting configs

* Rework the API to support passing multiple names or configs

* Add get_custom_params_from_lr

* Add more typing

* Enable simulation for controlsd

* Fix typing issues

* Regen refactor

* Fix linter issues

* Make wideRoadCameraState optional

* Move DummySocket to helpers

* Improve typing in regen

* Minor improvements

* Maintain sort order of internal_pub_queue using heapq

* Move ProcessContainer elsewhere

* Fix internal heap

* Change comment

* Remove subtest_name from ProcessConfig

* Update cereal

* Add newline
old-commit-hash: b2d0f74ec3cc48faa6b54c26267d53ac554e140f
2023-07-18 14:56:24 -07:00
Lee Jong Mun fe217d60bc Multilang: kor translation update (#29018)
old-commit-hash: ced37db5e6a70edc4aa628f04adc3e64ccb01d25
2023-07-18 11:41:09 -07:00
Vivek Aithal cb60085777 [Qcom GPS] BearingAccuracyDeg should not be 0 when inaccurate (#28989)
change bearingAccuracyDeg from 0 to 180 deg, when invalid
old-commit-hash: f7471f9108472cc53ea88052df32927d16c68289
2023-07-18 11:21:11 -07:00
AlexandreSato 495d345e0b Multilang: update pt-BR translations (#29015)
old-commit-hash: 889e118a1b91898e6f3682fbfad7e7e8522c2d49
2023-07-18 10:37:51 -07:00
Shane Smiskol e5e1fd12b0 IsoTpParallelQuery: log empty responses (#29014)
* check if None

* log instead

* clean up

* should mark done
old-commit-hash: 29837b872802db8b445653f63c2c1ab67e7a27af
2023-07-18 03:43:56 -07:00
Cameron Clough 9741ecfe0f Ford: align car groups with convention
no plural

old-commit-hash: e7c858d590f84c4f476ec0a01eae67f49f7a114b
2023-07-18 11:42:15 +01:00
Shane Smiskol 9112df2b5e Toyota LTA: limit max angle with applied torque (#28848)
* draft

* clean up

* there was a bug, need to subtract from last_angle essentially

* Revert "there was a bug, need to subtract from last_angle essentially"

This reverts commit a595e4af64523665519fd450dbeb2fefd293ce2b.

* maybe

* Revert "maybe"

This reverts commit cc96523cc28b82e74018011e5a476be2e6f68d92.

* or can do this

* this seems simpler and actually would work

* update comment

* fix that case

* joystick testing

* revert testing changes

* comment should be more clear

* can have full thing

* bump panda to lta

* revert cc

* this seems to work well

* constants

* try setme_x64

* 99 just winds up torque?!

* try less torque

* add corolla

* clean up

* clean up

* clean up

* clean up

* better name

* -which

* fix

* fix typo

* use params
old-commit-hash: c01ba907c029ee76ba4c7084a7ae598b6c9fbaae
2023-07-18 01:58:21 -07:00
Shane Smiskol e69c1bff7f test car interface: fuzzy CarParams (#28931)
* bump

* should be bytes

* draft fuzzy car params

* stash

* bump

* bump

* this is explored!

* some clean up

* more clean up

* clean up

* can't easily

* clean up

* no import

* Apply suggestions from code review

* move into a function

* Update selfdrive/car/tests/test_car_interfaces.py

* Update selfdrive/car/tests/test_car_interfaces.py

* Update selfdrive/car/tests/test_car_interfaces.py

* come onn

* we know it will return a dict here
old-commit-hash: c9f80e89b7ab837b9a5402723e4e028155354dde
2023-07-18 01:49:01 -07:00
Shane Smiskol 6ee48e6a6d test car interfaces: more GM coverage (#28954)
* Update test_car_interfaces.py

* Update selfdrive/car/tests/test_car_interfaces.py

* make it fail

* catches crashed, not blocked
old-commit-hash: 44f7b312a0be638011a6f0b65fbb3f16e71b83ee
2023-07-18 01:42:51 -07:00
Harald Schäfer a94a56db49 qcom gps: Always pull in thread (#28951)
* Laikad: cleanup zmq cloudlog warnings

* Handle in cloudlog

* whitespace

* whitespace

* Always pull in thread

* Stop downloading when you have fix

* check if exist

* Atomic move after download

* Increase wait

* merge
old-commit-hash: 601d133bbaa1d737fca20db96bb13b2b1ded6b92
2023-07-17 23:58:57 -07:00
Harald Schäfer fa823fadd2 Cloudlog: cleanup zmq cloudlog warnings (#28896)
* Laikad: cleanup zmq cloudlog warnings

* Handle in cloudlog

* whitespace

* whitespace

* suppress before reconnecting in thread
old-commit-hash: 8f3037c956343453957571b61cfd1c3063cbbbab
2023-07-17 23:06:13 -07:00
Shane Smiskol f505f3be3a Revert "CANPacker: assert no undefined signals (#28942)" (#29013)
This reverts commit b5945d267999178690154df33cbe1dcd94f6f5cd.
old-commit-hash: fccd334dc9989380cc070324c661cae3e8787058
2023-07-17 22:41:38 -07:00
Shane Smiskol 829864218a ui: change last reference to experimental longitudinal (#29009)
* change experimental longitudinal language to alpha

* vanish

* Update selfdrive/ui/qt/offroad/settings.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* update translations

* vanish

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0bea1419e37ae13719c39b18ffa17059d1795376
2023-07-17 21:33:06 -07:00
Shane Smiskol d38f321d6e nav: show when using navigate on openpilot (#28958)
* draft

* clean up

* helper

* comment

* debug

* Revert "debug"

This reverts commit d30ff3e996e73818e14f28b51afed206337bf6da.

* nav path

* transition

* revert width transition

revert width transition

* 400 is better, hard to see flicker at 500

* add width back

* tune

* tune

* 12 might be good

* 400ms is good

* lower case company lcc

* up here

* up here

* clean up

* multiple lines

* self explanetory
old-commit-hash: 358a86b63682c4ed5d570020d254a9654c0d61df
2023-07-17 21:28:10 -07:00
Shane Smiskol c258e9d64a experimental mode: gate nav (#29007)
* first draft copy, needs updates

* gate behind exp mode

* can be one line

* this is no longer true

* toggle isn't just e2e long now, rename

* don't enable/disable

* kinda works!

* remove old giant qstring

* comment clean up

* similar breakpoint

* more clean up

* fixup onroad

* preserve planner behavior, and we don't need to look at confirmed param if we're onroad

* update translations

* vanish translations

* use scene for op long

* lowercase!

* updated copy

* need to check longitudinal here now too

* clean up!

* here is better

* used

* no nav emoji

* don't check param if not valid

* revert this

revert this

* ed

* revert experimental mode longitudinal checks (still need to revert toggle change)

* revert

* logic works

* revert test

* fix

* update translation

* fix (reset and update)
old-commit-hash: 6bc28fc7698415e41610ddd04bb3ce473870591e
2023-07-17 21:18:18 -07:00
Kacper Rączy fe2fc9dd11 onnx_runner: force determinism (#29000)
old-commit-hash: 8ce72760e784760eb26b9dc87e12919943397c37
2023-07-18 05:52:07 +02:00
Shane Smiskol 6f078534b8 ui: rename experimental mode toggle variable
old-commit-hash: 6e50706baa2dcbc7f3439ac10ab1a04b12ffb7cf
2023-07-17 20:38:38 -07:00
Shane Smiskol f9c6c9e8c3 Revert "experimental mode: gate navigate on openpilot (#28883)" (#29005)
This reverts commit 929880496515e3f995634e561145802bf15a60ea.
old-commit-hash: b5b431c12d54aaa115f9750da6d49e62a6d31778
2023-07-17 19:56:38 -07:00
Dean Lee bd93cd7db3 encoder: remove function publisher_init, init PubMaster in constructor (#28980)
old-commit-hash: 65fe3c8c344233832e6aa79a2007ff5624a2c914
2023-07-17 19:25:41 -07:00
Shane Smiskol 4185aeb93b Nissan FPv2: use default diagnostic session (#28634)
* Revert "Nissan FPv2: log different diagnostic session types (#28585)"

This reverts commit 7b90843ea98d6034327e311c7025b9abc519055c.

* switch to standard KWP2000 diagnostic session type

* we're speedy again
old-commit-hash: 35aaf90587536e9ef5edfc1ec30c3fa2f1506aef
2023-07-17 18:21:18 -07:00
Adeeb Shihadeh 98972afe8a installer: openpilot-nightly installs nightly (#28997)
old-commit-hash: 2d6ff7b7b1a8b61d476d3ffba158c94bad9b0c1a
2023-07-17 17:01:41 -07:00
Shane Smiskol 38f28534dc Ford: fix CAN FD fingerprinting (#28995)
* fix CAN FD fingerprinting for now

* comment

* this is the simplest for now

* revert

* cmt

* todo and fixme!
old-commit-hash: 047bb46d3a0e73d1c7160252bcb6f2f7358980ee
2023-07-17 16:56:13 -07:00
Cameron Clough c22ad5e0cf loggerd: fix whitespace and indentation
old-commit-hash: f14447ad660b16755449a6fbe7fc0b9426227c50
2023-07-17 22:55:20 +01:00