Commit Graph

7779 Commits

Author SHA1 Message Date
Justin Newberry 6c4a4e5d74 Homogenize Steering Fault Avoidance (#29140)
* fix subaru fault

* try this!

* wip

* try this

* this more or less worked

* this is all under gen2

* that needs to be up there

* comment

* steer_angle

* test

* wip

* wip

* sync

* wip

* cleanup

* remove print

* use sets and fix unittests

* common fault avoidance

* common fault avoidance

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* revert subaru to get this part merged

* revert name change

* revert name change

* revert name change

* same as before

* add test case

* also verify zero tolerance

* keep the current behavior

* split into multiple tests for easier debugging

* added comments and remove tests

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a19f8dce92bfe7242e64160cb86364d728b01d97
2023-08-01 10:27:06 -07:00
Justin Newberry 401f760418 Mapsd: Test recovery from internet drop (#29044)
old-commit-hash: ce679009aebd4a05e6bf9f0632ad2c7b752b41a4
2023-08-01 09:23:26 -07:00
Justin Newberry 7648f35b1c Car Docs: (optionally) Display a list of tools (#28782)
* display tools

* 5/16 also works

* cleanup

* static fix

* fix static analysis

* merge

* just use basepart

* use filter
old-commit-hash: 1e1cc638d8e9fa408a02a57d689c13c2219d823d
2023-08-01 00:06:21 -07:00
Lee Jong Mun de51cfd9e5 controls: use common car interface acceleration limits (#29184)
* Duplicate Accel param

using interfaces accel param

* revert brand accel value

* import error

* sort

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a61df2bdde4c607c7831bcf7be968cc2f12b0fdf
2023-07-31 22:56:47 -07:00
Shane Smiskol 8540c4dcc6 FW query timing test: fix total time ref
old-commit-hash: 328bfefb5a6f2519210b04c802f6a0b9fbff0637
2023-07-31 22:18:06 -07:00
Dean Lee 823b570082 ui/OnroadWindow: do not update state when offroad (#29134)
do not updateState when offroad
old-commit-hash: da9155505627cf4490704bf928e71f77a094337f
2023-07-31 20:25:15 -07:00
Pavel Galashin fcd84e35b9 Mazda: fingerprint 2023 Mazda CX-5 Carbon Edition (#29092)
fingerprint 2023 Mazda CX-5 Carbon Edition
old-commit-hash: 9992f852b2c9b4170396499be1f7ea7a44a3c8b6
2023-07-31 19:51:44 -07:00
Shane Smiskol e66c88e20c fingerprinting: always log CAN fingerprint (#29192)
* always log CAN fingerprint

* called finger
old-commit-hash: c8050cf6b379b70d1734d44d363b5d16fe8939f8
2023-07-31 18:26:05 -07:00
Dean Lee b80325aa04 swaglog: enable type-checked against format string (#29096)
* check&fix fmt

* bump rednose

* correct format string

* bump rednose

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 940954c13e4fb352618448e435b5c1a722fdc3aa
2023-07-31 17:49:50 -07:00
Kacper Rączy 67ac96c8b4 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
old-commit-hash: 547a033a3c32f05f2dd678280cee4d7378b60b83
2023-07-31 16:30:58 -07:00
Justin Newberry cb45be4b6f Subaru: New LKAS Angle based cars in dashcam only (#29190)
* dashcam mode only

* fix name

* added those cars in dashcam mode only
old-commit-hash: 38954418f097f5267505df67ff275f7830191022
2023-07-31 13:58:33 -07:00
Iamz a34c411578 Multilang: th translation update (#29183)
Update Thai translations
old-commit-hash: 157568c0c1ffc114f8666d439ab11bc6f95fbb63
2023-07-31 13:39:01 -07:00
Nima Khodaveisi 8fdb381e42 dmmonitoringmodeld: remove unused libyuv import (#29180)
old-commit-hash: 24c7b044de53686bd16eec2ece0951c8c96f010c
2023-07-31 13:23:13 -07:00
YassineYousfi af69774431 models/README: DM input is only luma (#29188)
dm input = only luma
old-commit-hash: 14e524d52b24647c140fbccd0d1d4badb8ecd103
2023-07-31 12:57:22 -07:00
Adeeb Shihadeh 8bcaf1f942 increase min duration of steer saturated alert (#29191)
* increase min duration of steer saturated alert

* update refs
old-commit-hash: 347620556946eb365dc61363079655ae5a4a891d
2023-07-31 12:48:11 -07:00
Cameron Clough b07e2bdb4a docs: remove experimental mode comments from unsupported cars
old-commit-hash: 2fd6310352c39f98501f8467c62854729197fa1e
2023-07-30 20:38:20 +01:00
Cameron Clough 141948c1fa docs: CAN FD cars require a comma 3X or CAN FD panda kit (#29182)
old-commit-hash: 2762a088f12b2e0f0cffca148bf35c8423daae6b
2023-07-30 20:29:56 +01:00
Marcus Millspaugh a185de7fdc 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>
old-commit-hash: d7e857730121c7c6426ebd7310c1db1e534c692c
2023-07-30 10:05:21 -07:00
Shane Smiskol fdc00cf0b6 Experimental mode toggle description: missing spaces (#29167)
* Update settings.cc

* more missing spaces

* scons

* vanish

* fix that
old-commit-hash: 6fe480b232ab85282b06f50473c12c492b5364fd
2023-07-27 14:00:41 -07:00
Shane Smiskol 8837deee98 map renderer: log unexpected map states (#29160)
log unexpected mapChange signals
old-commit-hash: 7c62c161969c7a67a6fc2db53265383a4e21b927
2023-07-26 20:36:15 -07:00
Shane Smiskol 26f3fdae3d map renderer: log when initializing layer (#29157)
Update map_renderer.cc
old-commit-hash: 3f33d72a4ca453d347a22ba93d939343411dd548
2023-07-26 16:34:23 -07:00
Adeeb Shihadeh fff24a37bc thermald: don't show inavlid time alert until panda is up (#29153)
old-commit-hash: 77babcc60fb56aac111cc3868d3f000338066911
2023-07-26 14:31:53 -07:00
AlexandreSato 68909e19d2 Multilang: update pt-BR translations (#29152)
update pt-BR translation
old-commit-hash: 13822a0ec024f0ef8fa8fe57b5b5a779570dc748
2023-07-26 09:54:10 -07:00
Shane Smiskol b629ac9057 nav: increase settings button resolution (#29147)
* Update icon_directions_outlined.svg

* simplify
old-commit-hash: cae1853ff764f61aa662a17db976c6e307347fdb
2023-07-25 21:12:01 -07:00
Lee Jong Mun c386ddcd3f kor translation update (#29145)
old-commit-hash: c354451216110565f818d76271f73efcb813b04f
2023-07-25 20:34:16 -07:00
Adeeb Shihadeh a5f5b72c99 jenkins: run tests with pytest (#29143)
* jenkins: run tests with pytest

* typo

* fix
old-commit-hash: 6b83724c50d54b99448e9c7aec0aa5dc8b690952
2023-07-25 17:06:43 -07:00
Adeeb Shihadeh dcbe0432fa boardd: add flag to skip fw version check (#29142)
old-commit-hash: 48e10d1f9481fe8aa71c2e0676b168bcd5b89dbf
2023-07-25 16:22:24 -07:00
Adeeb Shihadeh 178d9adec3 ui: less confusing wifi training (#29137)
* ui: less confusing wifi training

* update

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0922a1040f3fba4d446f1f1ae03df897375a9341
2023-07-25 13:32:00 -07:00
Harald Schäfer 069e9ef4f8 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>
old-commit-hash: 9c3c7f0dda4dd3355fa9a85bc6068fddef66b79b
2023-07-25 10:31:25 -07:00
Shane Smiskol bb46c0e3a0 navd: fix hysteresis when reaching destination (#29032)
fix destination hysteresis when reaching destination
old-commit-hash: 431a2542c99b0bccf79cbdd9936175b6b2ea01dc
2023-07-25 01:43:28 -07:00
Shane Smiskol ec900d0389 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
old-commit-hash: 412ed6a017acef84e42395299042717d7120544b
2023-07-25 01:28:17 -07:00
Shane Smiskol d4ec764235 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.
old-commit-hash: 0dd1dcc7d06e8d5873dc9a2fa5c3e220295bfc1c
2023-07-24 22:27:01 -07:00
Adeeb Shihadeh fcdc91aa35 mapsd exit needs some work
old-commit-hash: 571bf47b0a1438ef2e09437e4749f150969f57ec
2023-07-24 20:22:14 -07:00
Vivek Aithal 3b18903574 [commabody] Support both self-balancing bodies and the wheeled bodies (#29118)
* add wheeled body support

* add WheeledBody param

* make movement less jerky
old-commit-hash: 92448012f05a505d09f4c083e116a20e9f5b106d
2023-07-24 19:49:51 -07:00
Shane Smiskol 6d9a313f19 ui/map: hide settings with showing map (#29127)
consistent map showing behavior
old-commit-hash: 13dc0325b237a378304bf2a54b66ecb501fc2bea
2023-07-24 18:25:46 -07:00
Adeeb Shihadeh c7dc2ae686 boardd: handle false positive ignitions on red panda setups (#29126)
old-commit-hash: dc25e7c3e392944e0a5bd064fbeaaafe2e77c571
2023-07-24 16:47:19 -07:00
Adeeb Shihadeh 32a6898820 boardd: reduce jitter around nacks (#29123)
* reduce jitter

* Update selfdrive/boardd/spi.cc

---------

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

* add comment

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 787d3b17147fc21bf3c93f7555a0e9aafe24a731
2023-07-23 20:36:13 -07:00
Shane Smiskol 982f42ce98 disable_ecu: support sub-addresses (#29112)
allow sub_addrs
old-commit-hash: a31b1dcf16857ac94ce337fd5b6e1b4ab6b7d991
2023-07-23 18:34:35 -07:00
Dean Lee 916784cfbe ui/settings: use existing params instance (#29109)
use exsting params
old-commit-hash: bcfb9d694061e5aef5e0e6bb3d756407b57315a2
2023-07-23 17:45:19 -07:00
Shane Smiskol 0a6b589f23 dmonitoringmodeld: initialize model first (#29080)
* hacky fix

* even better

* ordering

* clean up

* fix model replay

* add comment

* catch sigint
old-commit-hash: 12ed894362dd22513a21de6689a31511b791e37b
2023-07-23 09:28:22 -07:00
Dean Lee 8d2a08723a ui/map: remove unused variables (#29098)
old-commit-hash: 980ba1312fc587b735c71887251e16dd20f6cec3
2023-07-22 12:24:16 -07:00
Maxime Desroches 06125f1309 Test scons multithreaded random build (#29082)
* random build

* name

* 2 pass

* clean after

* fail on this

* fix deps

* format

* var

* try without lfs
old-commit-hash: 97eec45d42a67c3e840a6a08fab2e421b2825de7
2023-07-21 21:57:27 -07:00
Adeeb Shihadeh c261f97f6c torqued: fix cache loading (#29088)
* torqued: fix cache loading

* rm that
old-commit-hash: 4bac67c0f5323ba65f40ae31ed1cbb4cf2ccc34e
2023-07-21 17:28:04 -07:00
Kacper Rączy 33ea9fed74 test_fuzzy: fix keyword argument (#29083)
Fix fuzzy test
old-commit-hash: 4793772c4786279e17093dbfdbbd543648f1537b
2023-07-21 14:58:14 -07:00
Saber422 e1304ee60e 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>
old-commit-hash: 33ac7ce44c67d5c4ed5928f2a711c50cd6aacccb
2023-07-21 13:18:45 -07:00
Dean Lee ee42f316d7 ui/MapSettings: remove function shorten (#29078)
old-commit-hash: cc551fe24bf62e1825b36b1b9d37df34e84b0188
2023-07-21 19:51:25 +01:00