Commit Graph

9967 Commits

Author SHA1 Message Date
Shane Smiskol
80bbba14f7 test_models: panda safety tx test (#28949)
* draft

* assertrue

* this is way too complicated, even with unittest discover

* works

* test we can send resume button

* nice catches this

* fix

* fixed

* not needed

* draft

* works

* comment out to let catch

* clean up into a function

* clean ups

* final clean up

* no this is final

* bump

* simplify

* simplify

* pass

* bump

* globals don't work inside methods

* space
2023-07-20 23:16:43 -07:00
Shane Smiskol
d70c4916db nav: improve no route alert text (#29076)
* kind of

* Revert "kind of"

This reverts commit 25abbbf1764b0f7e8fbcb83e37159ba6f8cdf641.

* more generic alert text, whenever we're waiting for navd.

* actual better comment

* update translations
2023-07-20 22:40:31 -07:00
Adeeb Shihadeh
1945c356c2 agnos 8 (#28843)
* agnos 8

* update to python 3.11.4 (#27452)

* rebase

* optional

* lower cython

* TEMP don't pull cl to use python3.11

* Revert "lower cython"

This reverts commit c5132f8a2727c212bdfc01e77aa53e50a17ead9d.

* fix cython

* remove tensorrt

* carla + opencv

* macos

* update timm and smp

* pynvc

* https

* downgrade numpy

* pin scipy

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>

* revert that

* fix linter

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
2023-07-20 21:56:57 -07:00
Dean Lee
0b8d35b132 ui/map: fix ETA widget text spacing (#29065)
* fix eta spacing

* fix unit color

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
2023-07-20 21:10:17 -07:00
Justin Newberry
a8396f6a12 Nav: Reset backoff on route clearing (#29067)
* nav backoff reset

* need to reset countdown as well

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-07-20 20:40:01 -07:00
Adeeb Shihadeh
716d0d5918 process replay: remove sorting before comparison (#29072)
* process replay: remove sorting before comparison

* keep ignore msgs
2023-07-20 19:22:59 -07:00
Kacper Rączy
0faab606b0 radard: cleanup and refactor (#29071)
Re-structure + add typing
2023-07-20 18:11:26 -07:00
Shane Smiskol
e4dc86f44d ui: set global map transition duration (#29061)
* this works!

* revert properties

* more clean up

* more

* more

* add comment

* final
2023-07-20 16:11:23 -07:00
Kacper Rączy
81e8cf414e process_replay: ability to permanently unlock some sockets (#29070)
Add unlocked_pubs for keeping some sockets permanently unlocked
2023-07-20 16:03:58 -07:00
Adeeb Shihadeh
2ff33663a7 bump panda (#29066)
* bump panda

* update bootstub
2023-07-20 15:29:29 -07:00
Adeeb Shihadeh
0b71c395ce add seg preservation to release notes 2023-07-20 14:44:26 -07:00
Dean Lee
942a2f9760 ui/map: move MapInstructions & MapETA to separate files (#28976) 2023-07-20 21:58:46 +01:00
Cameron Clough
98a30f10f4 deleter: preserve flagged segments (#28814) 2023-07-20 21:30:26 +01:00
Shane Smiskol
5b368a67ea 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?
2023-07-20 04:01:55 -07:00
Shane Smiskol
d0ea8be95f nav: set icon anchor for destination pin (#29054)
* anchor!

* whoops

* fix anchor
2023-07-20 01:28:21 -07:00
Mitchell Goff
ba03e94290 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>
2023-07-20 00:54:42 -07:00
Adeeb Shihadeh
a83dec9d94 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
2023-07-19 23:35:33 -07:00
Maxime Desroches
2ec1a2cf70 bump rednose (#29051)
rednose
2023-07-19 20:48:34 -07:00
Harald Schäfer
ca699e3989 radard: no clustering (#29010)
* First commit

* cleanup

* Update ref

* Doesnt deserve two files

* cleanup radard
2023-07-19 20:31:40 -07:00
Dean Lee
269ceca27a common/swaglog: remove trailing semicolon from macros (#29042) 2023-07-19 19:46:42 -07:00
Adeeb Shihadeh
83c5d11dff controlsd: write ControlsReady in thread (#29048) 2023-07-19 19:13:18 -07:00
Harald Schäfer
9054590c95 Rawgpsd: retry even more on setup (#29045) 2023-07-19 18:54:27 -07:00
Dean Lee
319ce562f2 cabana: cleanup MessageViewHeader & MessageBytesDelegate (#29040)
* cleanup

* remove double ;
2023-07-19 18:39:55 -07:00
Kacper Rączy
f74f1def29 process_replay: API docs (#29041)
* Update process_replay README

* Expose get_custom_params_from_lr in top-level module
2023-07-19 17:50:26 -07:00
Robbe Derks
70bbb94dc5 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>
2023-07-19 14:24:57 -07:00
Dean Lee
4584e883dc ui/networking: call isTetheringEnabled out of the loop (#29028) 2023-07-19 12:28:44 +01:00
eFini
7a5dbe6132 long_mpc: clean up get_T_FOLLOW() usage (#29033) 2023-07-19 02:07:01 -07:00
Adeeb Shihadeh
5cfb79e35f boardd: update cython syntax (#29031) 2023-07-18 23:58:51 -07:00
Shane Smiskol
527d13ad67 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
2023-07-18 23:04:55 -07:00
Adeeb Shihadeh
22882a0d22 CI: use locally built image as CL base (#29030) 2023-07-18 22:57:32 -07:00
Justin Newberry
ce2708fa67 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>
2023-07-18 21:26:05 -07:00
Adeeb Shihadeh
60d570349f navd: handle key present with none value (#29025) 2023-07-18 21:19:18 -07:00
Shane Smiskol
18cf253c62 test_car_interfaces: use DT_CTRL 2023-07-18 20:01:22 -07:00
Adeeb Shihadeh
2aa3000371 test_manager: skip mapsd check for now 2023-07-18 19:15:47 -07:00
Adeeb Shihadeh
9c307f2550 Revert "Update pycapnp and Cython (#29021)"
This reverts commit 76ef1b9b9f.
2023-07-18 18:47:35 -07:00
Kacper Rączy
1235110983 regen: blacklist-procs option (#29024)
* Add blacklist-procs option to regen

* Keep the original process order
2023-07-18 17:13:23 -07:00
Maxime Desroches
76ef1b9b9f 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>
2023-07-18 16:40:36 -07:00
Maxime Desroches
56a0f9e074 Force build of openpilot-base for OpenCL tests (#29022) 2023-07-18 16:25:05 -07:00
Shane Smiskol
7a673c87ff 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
2023-07-18 15:52:59 -07:00
Kacper Rączy
b2d0f74ec3 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
2023-07-18 14:56:24 -07:00
Lee Jong Mun
ced37db5e6 Multilang: kor translation update (#29018) 2023-07-18 11:41:09 -07:00
Vivek Aithal
f7471f9108 [Qcom GPS] BearingAccuracyDeg should not be 0 when inaccurate (#28989)
change bearingAccuracyDeg from 0 to 180 deg, when invalid
2023-07-18 11:21:11 -07:00
AlexandreSato
889e118a1b Multilang: update pt-BR translations (#29015) 2023-07-18 10:37:51 -07:00
Shane Smiskol
29837b8728 IsoTpParallelQuery: log empty responses (#29014)
* check if None

* log instead

* clean up

* should mark done
2023-07-18 03:43:56 -07:00
Cameron Clough
e7c858d590 Ford: align car groups with convention
no plural
2023-07-18 11:42:15 +01:00
Shane Smiskol
c01ba907c0 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
2023-07-18 01:58:21 -07:00
Shane Smiskol
c9f80e89b7 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
2023-07-18 01:49:01 -07:00
Shane Smiskol
44f7b312a0 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
2023-07-18 01:42:51 -07:00
Harald Schäfer
601d133bba 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
2023-07-17 23:58:57 -07:00
Harald Schäfer
8f3037c956 Cloudlog: cleanup zmq cloudlog warnings (#28896)
* Laikad: cleanup zmq cloudlog warnings

* Handle in cloudlog

* whitespace

* whitespace

* suppress before reconnecting in thread
2023-07-17 23:06:13 -07:00