Commit Graph

7686 Commits

Author SHA1 Message Date
Adeeb Shihadeh 6cdd601cfe manager: remove old unkillable process handling (#29209)
old-commit-hash: bc0aa1c598
2023-08-01 22:18:58 -07:00
Mitchell Goff 181e9775f7 Clean up model_publish args to simplify cython bindings (#29203)
* Clean up model_publish args to simplify cython bindings

* pass by reference

* Move FCW and model confidence queues into PublishState
old-commit-hash: 663fc0d8fe
2023-08-01 19:23:18 -07:00
Kacper Rączy edc31db6df aarch64: ubuntu build support (#29171)
* Add support for aarch64 pc linux

* Add new libyuv path to release files

* Add libyuv's x86_64 lib dir

* Move left-over platform specific dirs from files_common

* Remove libyuv/lib directory (duplicate)

* Fix mpc Sconscripts

* Remove acados lib path from mpc sources

* Fix typo

* Add watch3 exec on aarch64
old-commit-hash: c640429406
2023-08-01 16:18:46 -07:00
Shane Smiskol e3b5998998 Clean up common steer fault avoidance code (#29200)
* fix spacing

* more spacing

* better names and comments

* this default doesn't make sense

* or this

* explicitly boolean since latActive is
old-commit-hash: dba4492aa0
2023-08-01 14:02:15 -07:00
Shane Smiskol d016d9fad7 Car docs: clean up docs_definitions (#29201)
* two spaces around class

* inch

* easier to read
old-commit-hash: 4474cb734f
2023-08-01 13:24:51 -07:00
Adeeb Shihadeh e33973cdd4 pre-commit: autoupdate hooks (#29198)
* Update pre-commit hook versions

* fix

* bump submodules

* one more

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: 39ce23420c
2023-08-01 12:32:21 -07:00
AlexandreSato 7b70d76cb3 Multilang: update pt-BR translation (#29197)
old-commit-hash: 3eaf3555af
2023-08-01 11:01:25 -07:00
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: a19f8dce92
2023-08-01 10:27:06 -07:00
Justin Newberry 401f760418 Mapsd: Test recovery from internet drop (#29044)
old-commit-hash: ce679009ae
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: 1e1cc638d8
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: a61df2bdde
2023-07-31 22:56:47 -07:00
Shane Smiskol 8540c4dcc6 FW query timing test: fix total time ref
old-commit-hash: 328bfefb5a
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: da91555056
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: 9992f852b2
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: c8050cf6b3
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: 940954c13e
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: 547a033a3c
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: 38954418f0
2023-07-31 13:58:33 -07:00
Iamz a34c411578 Multilang: th translation update (#29183)
Update Thai translations
old-commit-hash: 157568c0c1
2023-07-31 13:39:01 -07:00
Nima Khodaveisi 8fdb381e42 dmmonitoringmodeld: remove unused libyuv import (#29180)
old-commit-hash: 24c7b044de
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: 14e524d52b
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: 3476205569
2023-07-31 12:48:11 -07:00
Cameron Clough b07e2bdb4a docs: remove experimental mode comments from unsupported cars
old-commit-hash: 2fd6310352
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: 2762a088f1
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: d7e8577301
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: 6fe480b232
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: 7c62c16196
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: 3f33d72a4c
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: 77babcc60f
2023-07-26 14:31:53 -07:00
AlexandreSato 68909e19d2 Multilang: update pt-BR translations (#29152)
update pt-BR translation
old-commit-hash: 13822a0ec0
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: cae1853ff7
2023-07-25 21:12:01 -07:00
Lee Jong Mun c386ddcd3f kor translation update (#29145)
old-commit-hash: c354451216
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: 6b83724c50
2023-07-25 17:06:43 -07:00
Adeeb Shihadeh dcbe0432fa boardd: add flag to skip fw version check (#29142)
old-commit-hash: 48e10d1f94
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: 0922a1040f
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: 9c3c7f0dda
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: 431a2542c9
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: 412ed6a017
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: 0dd1dcc7d0
2023-07-24 22:27:01 -07:00
Adeeb Shihadeh fcdc91aa35 mapsd exit needs some work
old-commit-hash: 571bf47b0a
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: 92448012f0
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: 13dc0325b2
2023-07-24 18:25:46 -07:00
Adeeb Shihadeh c7dc2ae686 boardd: handle false positive ignitions on red panda setups (#29126)
old-commit-hash: dc25e7c3e3
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: 4cb8da91d7
2023-07-24 16:37:23 -07:00
Jason Young 3e7ea3e910 VW MQB: Add FW for 2021 Volkswagen Atlas (#29125)
old-commit-hash: 7ee9c4f94f
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: 1776c16f9a
2023-07-24 17:49:20 +01:00
Cameron Clough e65fb3123f athena: stricter socket timeout when onroad (#29017)
old-commit-hash: 4d10ba8af8
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: 787d3b1714
2023-07-23 20:36:13 -07:00
Shane Smiskol 982f42ce98 disable_ecu: support sub-addresses (#29112)
allow sub_addrs
old-commit-hash: a31b1dcf16
2023-07-23 18:34:35 -07:00
Dean Lee 916784cfbe ui/settings: use existing params instance (#29109)
use exsting params
old-commit-hash: bcfb9d6940
2023-07-23 17:45:19 -07:00