Commit Graph

7421 Commits

Author SHA1 Message Date
Adeeb Shihadeh
6b83724c50 jenkins: run tests with pytest (#29143)
* jenkins: run tests with pytest

* typo

* fix
2023-07-25 17:06:43 -07:00
Adeeb Shihadeh
48e10d1f94 boardd: add flag to skip fw version check (#29142) 2023-07-25 16:22:24 -07:00
Adeeb Shihadeh
0922a1040f ui: less confusing wifi training (#29137)
* ui: less confusing wifi training

* update

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-07-25 13:32:00 -07:00
Harald Schäfer
9c3c7f0dda Experimental mode description: update nav (#29130)
* Update description

* Update releases

* Update RELEASES.md

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

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

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

* small tweaks

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-07-25 10:31:25 -07:00
Shane Smiskol
431a2542c9 navd: fix hysteresis when reaching destination (#29032)
fix destination hysteresis when reaching destination
2023-07-25 01:43:28 -07:00
Shane Smiskol
412ed6a017 navd: don't use empty last step banner instructions (#29034)
* fix empty banner instructions when arriving at destination

* bug fixes

* hide distance on arrival

* stash

* simpler

* can also do this, but i don't like modifying the response

* clean up

* rm

* revert

* rm

* flip this order

* move up

* need to flip order

* Revert "need to flip order"

This reverts commit ba961b8e6aa5d9490ab0dc661866cff9c72db91d.

* Revert "move up"

This reverts commit f1a4d8ae883080d52547fdaf9472457050e40669.

* Update selfdrive/navd/navd.py
2023-07-25 01:28:17 -07:00
Shane Smiskol
0dd1dcc7d0 ui: new nav settings button (#29068)
* add image

* remove extra spacing

* add images

* use nav-settings-square-smaller.png

* draft

* clean up

* kinda works!

* nop need to update state

* can just use clicked

* MORE

* remove old button

* slightly smaller (todo change image))

* this works but is ugly

* remove old settings button

* draft

* no it's not

* draft 2.0

* clean up

* clean up

* let's make map_settings_btn public

* since we don't have map, use enabled

* fix image size

* can do clean up in another PR

show

* add line

* rename

* useless spacing

* use old nav icon

* handle DM icon (and test)

* clean up

* no reason

* remove old image

* don't use setCurrentIndex

* Revert "don't use setCurrentIndex"

This reverts commit 6fde765a3cd3a9ee39205614587a23fbfbc60950.

* also can use a ternary

* seems cleanest

This reverts commit f9287230704b94f46b6bb5376d9a17075a20caf7.
2023-07-24 22:27:01 -07:00
Adeeb Shihadeh
571bf47b0a mapsd exit needs some work 2023-07-24 20:22:14 -07:00
Vivek Aithal
92448012f0 [commabody] Support both self-balancing bodies and the wheeled bodies (#29118)
* add wheeled body support

* add WheeledBody param

* make movement less jerky
2023-07-24 19:49:51 -07:00
Shane Smiskol
13dc0325b2 ui/map: hide settings with showing map (#29127)
consistent map showing behavior
2023-07-24 18:25:46 -07:00
Adeeb Shihadeh
dc25e7c3e3 boardd: handle false positive ignitions on red panda setups (#29126) 2023-07-24 16:47:19 -07:00
Adeeb Shihadeh
4cb8da91d7 boardd: reduce jitter around nacks (#29123)
* reduce jitter

* Update selfdrive/boardd/spi.cc

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-07-24 16:37:23 -07:00
Jason Young
7ee9c4f94f VW MQB: Add FW for 2021 Volkswagen Atlas (#29125) 2023-07-24 16:34:30 -07:00
Erich Moraga
1776c16f9a Toyota: add fwdCamera ECU version for 2022 Lexus RX Hybrid (#29060) 2023-07-24 17:49:20 +01:00
Cameron Clough
4d10ba8af8 athena: stricter socket timeout when onroad (#29017) 2023-07-24 17:43:30 +01:00
Adeeb Shihadeh
787d3b1714 tici: restart ModemManager if probing fails (#29114)
* tici: restart ModemManager if probing fails

* add comment

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-07-23 20:36:13 -07:00
Shane Smiskol
a31b1dcf16 disable_ecu: support sub-addresses (#29112)
allow sub_addrs
2023-07-23 18:34:35 -07:00
Dean Lee
bcfb9d6940 ui/settings: use existing params instance (#29109)
use exsting params
2023-07-23 17:45:19 -07:00
Shane Smiskol
12ed894362 dmonitoringmodeld: initialize model first (#29080)
* hacky fix

* even better

* ordering

* clean up

* fix model replay

* add comment

* catch sigint
2023-07-23 09:28:22 -07:00
Dean Lee
980ba1312f ui/map: remove unused variables (#29098) 2023-07-22 12:24:16 -07:00
Maxime Desroches
97eec45d42 Test scons multithreaded random build (#29082)
* random build

* name

* 2 pass

* clean after

* fail on this

* fix deps

* format

* var

* try without lfs
2023-07-21 21:57:27 -07:00
Adeeb Shihadeh
4bac67c0f5 torqued: fix cache loading (#29088)
* torqued: fix cache loading

* rm that
2023-07-21 17:28:04 -07:00
Kacper Rączy
4793772c47 test_fuzzy: fix keyword argument (#29083)
Fix fuzzy test
2023-07-21 14:58:14 -07:00
Saber422
33ac7ce44c VW MQB: Add FW for 2023 Skoda Scala (#28962)
* VW MQB: Add FW for 2023 Skoda Scala

route name:0bbe367c98fa1538|2023-07-15--11-42-25--0

* extend MY

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-07-21 13:18:45 -07:00
Dean Lee
cc551fe24b ui/MapSettings: remove function shorten (#29078) 2023-07-21 19:51:25 +01:00
Vivek Aithal
3612c12b14 [GMC ACADIA DENALI 2018] Move to torque control, non-linear feed-forward (#28923)
* move GMC ACADIA to torque control, with a Bolt-like feedforward

* update offline values

* update offline values

* reduce friction

* update values

* update values

* cleanup
2023-07-21 11:28:48 -07:00
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
Dean Lee
942a2f9760 ui/map: move MapInstructions & MapETA to separate files (#28976) 2023-07-20 21:58:46 +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
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
Adeeb Shihadeh
83c5d11dff controlsd: write ControlsReady in thread (#29048) 2023-07-19 19:13:18 -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
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