Commit Graph

7387 Commits

Author SHA1 Message Date
Kacper Rączy
547a033a3c process_replay: capture process output (#29027)
* Add ProcessOutputProxy

* Move launcher to its own field

* Move ProcessOutputCapture to its own file

* Return itself from __enter__ of OpenpilotPrefix

* Integrate ProcessOutputCapture into process_replay

* Add note about capture_output_store to README

* ipykernel import is optional

* Disable type checking for link_with_current_proc

* Remove assertion

* Decode outputs to utf-8

* read(self): return empty buf if its none

* Fix type annotations

* Replace fifo with regular file, to avoid hitting fifo size limit
2023-07-31 16:30:58 -07:00
Justin Newberry
38954418f0 Subaru: New LKAS Angle based cars in dashcam only (#29190)
* dashcam mode only

* fix name

* added those cars in dashcam mode only
2023-07-31 13:58:33 -07:00
Iamz
157568c0c1 Multilang: th translation update (#29183)
Update Thai translations
2023-07-31 13:39:01 -07:00
Nima Khodaveisi
24c7b044de dmmonitoringmodeld: remove unused libyuv import (#29180) 2023-07-31 13:23:13 -07:00
YassineYousfi
14e524d52b models/README: DM input is only luma (#29188)
dm input = only luma
2023-07-31 12:57:22 -07:00
Adeeb Shihadeh
3476205569 increase min duration of steer saturated alert (#29191)
* increase min duration of steer saturated alert

* update refs
2023-07-31 12:48:11 -07:00
Cameron Clough
2fd6310352 docs: remove experimental mode comments from unsupported cars 2023-07-30 20:38:20 +01:00
Cameron Clough
2762a088f1 docs: CAN FD cars require a comma 3X or CAN FD panda kit (#29182) 2023-07-30 20:29:56 +01:00
Marcus Millspaugh
d7e8577301 Update Car/Subaru values.py to support 2022 Crosstrek (#29177)
* Update Car/Subaru values.py to support 2022 Crosstrek

Tested via SP, just want support via stock OP

* remove duplicates

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
2023-07-30 10:05:21 -07:00
Shane Smiskol
6fe480b232 Experimental mode toggle description: missing spaces (#29167)
* Update settings.cc

* more missing spaces

* scons

* vanish

* fix that
2023-07-27 14:00:41 -07:00
Shane Smiskol
7c62c16196 map renderer: log unexpected map states (#29160)
log unexpected mapChange signals
2023-07-26 20:36:15 -07:00
Shane Smiskol
3f33d72a4c map renderer: log when initializing layer (#29157)
Update map_renderer.cc
2023-07-26 16:34:23 -07:00
Adeeb Shihadeh
77babcc60f thermald: don't show inavlid time alert until panda is up (#29153) 2023-07-26 14:31:53 -07:00
AlexandreSato
13822a0ec0 Multilang: update pt-BR translations (#29152)
update pt-BR translation
2023-07-26 09:54:10 -07:00
Shane Smiskol
cae1853ff7 nav: increase settings button resolution (#29147)
* Update icon_directions_outlined.svg

* simplify
2023-07-25 21:12:01 -07:00
Lee Jong Mun
c354451216 kor translation update (#29145) 2023-07-25 20:34:16 -07:00
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