Commit Graph

7403 Commits

Author SHA1 Message Date
Adeeb Shihadeh bc0aa1c598 manager: remove old unkillable process handling (#29209) 2023-08-01 22:18:58 -07:00
Mitchell Goff 663fc0d8fe 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
2023-08-01 19:23:18 -07:00
Kacper Rączy c640429406 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
2023-08-01 16:18:46 -07:00
Shane Smiskol dba4492aa0 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
2023-08-01 14:02:15 -07:00
Shane Smiskol 4474cb734f Car docs: clean up docs_definitions (#29201)
* two spaces around class

* inch

* easier to read
2023-08-01 13:24:51 -07:00
Adeeb Shihadeh 39ce23420c pre-commit: autoupdate hooks (#29198)
* Update pre-commit hook versions

* fix

* bump submodules

* one more

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-08-01 12:32:21 -07:00
AlexandreSato 3eaf3555af Multilang: update pt-BR translation (#29197) 2023-08-01 11:01:25 -07:00
Justin Newberry a19f8dce92 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>
2023-08-01 10:27:06 -07:00
Justin Newberry ce679009ae Mapsd: Test recovery from internet drop (#29044) 2023-08-01 09:23:26 -07:00
Justin Newberry 1e1cc638d8 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
2023-08-01 00:06:21 -07:00
Lee Jong Mun a61df2bdde 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>
2023-07-31 22:56:47 -07:00
Shane Smiskol 328bfefb5a FW query timing test: fix total time ref 2023-07-31 22:18:06 -07:00
Dean Lee da91555056 ui/OnroadWindow: do not update state when offroad (#29134)
do not updateState when offroad
2023-07-31 20:25:15 -07:00
Pavel Galashin 9992f852b2 Mazda: fingerprint 2023 Mazda CX-5 Carbon Edition (#29092)
fingerprint 2023 Mazda CX-5 Carbon Edition
2023-07-31 19:51:44 -07:00
Shane Smiskol c8050cf6b3 fingerprinting: always log CAN fingerprint (#29192)
* always log CAN fingerprint

* called finger
2023-07-31 18:26:05 -07:00
Dean Lee 940954c13e 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>
2023-07-31 17:49:50 -07:00
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