Commit Graph

7934 Commits

Author SHA1 Message Date
Adeeb Shihadeh 96be4599e7 reduce min lane change speed to 15mph (#25689)
old-commit-hash: 445492a6d8d9bceb78def0511552f154be0ffd4f
2022-09-07 16:50:25 -07:00
Cameron Clough 2347e913a0 rename esp ECU to abs (#25640)
* rename esp ecu to abs

* bump cereal
old-commit-hash: e9c87daef6534906c728da9a191866926bbfbfe4
2022-09-07 14:25:57 -07:00
ioniq5-cz df68e38d5a Hyuyndai: add missing FW versions for 2022 Ioniq 5 (#25691)
old-commit-hash: 9bb29240b04e979bc79d929fa526fd29bd4071a6
2022-09-07 13:25:48 -07:00
HaraldSchafer 38f7880951 Live e2e long toggling (#25685)
Live toggling
old-commit-hash: 8857e02dd4e141680476644a07fa3c9cd2ae9364
2022-09-07 11:29:19 -07:00
Cameron Clough 1d78524b9d e2e long yellow path (#25679)
* yellow brick road

* live toggling

* path color from acceleration

* more yellow
old-commit-hash: a8134f226589675b2d1619bc6ed8b0d9c6a37ba7
2022-09-07 08:58:33 -07:00
AlexandreSato f9fe0fd594 Multilang: formal pt-BR translations (#25669)
* fix and improve pt-BR translation

* Shorter phrase for Finish Setup

* Concluir are better than Encerrar bacause means sucessfuly

* improve pt-BR, DEVbrazilians use english as default

* fix "atualizador" text cutoff

* miss mark as finish on qt linguist

* Multilang: improve pt-BR translation

* Update selfdrive/ui/translations/main_pt-BR.ts

looks good!

Co-authored-by: Shane Smiskol <shane@smiskol.com>

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c317bb464d1daa73e870fb55ae95377a580cf7af
2022-09-07 00:26:37 -07:00
Shane Smiskol 99de612d67 Toyota: fix permanent LKAS faults (#25620)
* Fix permanent LKAS Toyota faults

* comment and global variable

* EPS

* comments

* move up

* comment
old-commit-hash: c5dc10bd2f063e2233795a66e45b6f17dffbd5c1
2022-09-07 00:18:01 -07:00
Bruce Wayne 77716364b8 bump cereal
old-commit-hash: 285ce30996e75e80e419ff2ef2d43cdb96fcb530
2022-09-06 22:00:09 -07:00
HaraldSchafer 0b87a4ddb1 More conservative lead policy in e2e long mode (#25684)
* Add params for lead and danger

* fix long params

* E2e passes simple maneuver tests

* Make tests run with e2e long mode

* Slightly more error allowed in e2e mode

* FCW back and populate long source field

* Fix planner name

* FCW still doesnt work

* Slightly less aggressive

* Doesn't need to simulate from stop
old-commit-hash: 7899fb79c1b3c56034dea3ceb70955f94fdb5ff4
2022-09-06 21:52:34 -07:00
HaraldSchafer 1c2c840a8a Let planner decide stopping state (#25643)
* Let planner decide stopping

* Refactor stop/start state machine

* Stay stoppe condition

* 1sec from target

* Add starting state

* Add starting state logic

* Undo some changes

* Update ref
old-commit-hash: 210a6163ac9a8ccc425114fd722e864befa77966
2022-09-06 21:30:10 -07:00
Shane Smiskol db668c9a3a Toyota: remove 100°/sec steering lockout (#24067)
* try a method to kill those faults

* cut torque for 1 frame

* sign doesn't seem to matter

* clean up

* better name

* Toyota allows you to keep your apply_steer, better control

* the logic was wrong entire time?

* cut steer for two frames

* Revert "cut steer for two frames"

This reverts commit 13a68ecc568fe1c0cd1f6f0b5f7ff6560efaf9e0.

* better variable names and comments

better variable names and comments

* should be good

* add safety

* actual number of frames

* constant

* bump panda

* bump panda

* bump panda

* bump panda

* bump panda

* bump panda

* bump panda

* fix to use min valid frames

* rm line

* simplify check

* bump panda

* bump panda to master
old-commit-hash: 50d117ed9a0c75a7374e76ec6e42d1a603bb11b0
2022-09-06 19:30:34 -07:00
Shane Smiskol d7e92fecc2 translations tests: ignore line numbers (#25675)
* no line numbers

* remove locations

* test

* ignore line numbers

* revert

revert

* fix that

* use relative

* non bytes, global

* clean up
old-commit-hash: 719d5f78560c393732df240f1b6e053113aef2f8
2022-09-06 13:23:41 -07:00
Shane Smiskol 775d1beb66 LDW: fix deprecated ll prob reference (#25681)
* fix crash when ldw is turned on

* in lane change

* Revert "in lane change"

This reverts commit 98e7224f81d2036689339779e582e2085c9c4d3e.
old-commit-hash: d222461a3e630690d05fbd07ed0d80feadfae944
2022-09-06 13:05:47 -07:00
Adeeb Shihadeh 30326c5a39 Revert "modeld: bug fix in single camera mode of modeld (#25658)"
This reverts commit 4f058225a71ae8678d890a3183b43475ff26bb60.

old-commit-hash: 48efd8374bf7e484ab0580f344407ab57dcff6c8
2022-09-06 13:00:49 -07:00
Rewat S c64db74ce9 Thai: update translations (#25682)
* Add Thai translations

* update to add plurals

remove

* Update translations

* Update Thai translation to match English source.

* Add to badges

* use shorter km/h

* Add test for correct format specifier for plural translations

* pass new test

* Update some sentences to make it clear.
Change short form of some words.

* Hide from the UI

* Thai: Update translations
Update Low voltage alert for better understanding.

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: bc9b862d271e20540cb996c7ad3bbfded37508fc
2022-09-06 11:47:11 -07:00
Adeeb Shihadeh 3c768e8937 fix intel mac build, from #25500
old-commit-hash: 2e013c9d46119412571b8fa5f2d255663b4b22be
2022-09-05 18:07:45 -07:00
Inoichan fcfa38dc50 modeld: bug fix in single camera mode of modeld (#25658)
old-commit-hash: 7cdb538043c40f4c30c83863fa52a1fba8c6f621
2022-09-05 17:52:12 -07:00
Lee Jong Mun 1b2dd97181 Korean: add missing translations (#25647)
* kor translate update

* more translation fix

* better

* this pr e2e long only

Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: 1632c2aa62a2501783b7c4b3aa5b0b7dae7d00f3
2022-09-05 16:11:22 -07:00
ogiechogie 6ea89eea6e VW: Add fingerprint for 2015 Audi A3 MK3 (US) (#25639)
old-commit-hash: 19a33a4845da5c99c8ccd9b5f860f7eaf98d611c
2022-09-05 14:33:43 -07:00
Dean Lee ec96bc52d6 replay: add shortcuts for seeking to the next info, warning, and critical alerts (#25576)
old-commit-hash: 75c434bde708b15f392cea68f897a1450d4d8b78
2022-09-05 14:11:32 -07:00
cydia2020 c43ce9a606 Toyota: add missing HIGHLANDER_TSS2 engine f/w (#25659)
old-commit-hash: a3bc906b113bbe6a5726c2fef4f64f3304cdaf1a
2022-09-05 14:07:47 -07:00
Shane Smiskol da41c19937 Toyota: match dash set speed (#25649)
* toyota: match set speed from dash

* Use unit bit

* Use RSA2

* flip this

* Universal unit signal, set vEgoCluster

* remove this and bump opendbc

* detect if car interface sets cluster fields

* revert

* needs to be cp

* UI_SPEED is actually always in kph?

* forgot to actually convert it

* same in onroad

* try conv factor only for imperial

* Seems like UI_SPEED is not the UI speed at all

* the dash might floor it

* same openpilot behavior

* bump

* ego speed factor is dynamic across speeds, handle Lexus exceptions with
diff msg

* remove test, bump opendbc

* secret formula

* secret formula v2

* 1.03 is sufficient

* try short press

* bump opendbc

* surely this can be cleaned up

surely this can be cleaned up

* use filter

* redo factors

* try UI_SPEED again with a factor

try UI_SPEED again with a factor

* dash applies hysteresis to speed. this matches pretty well, but not exactly

* match only set speed

* clean up

* clean up

clean up

* Update ref_commit

* update refs

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 80533d6c0368b6b2fd797ec0388ed75d74dee80f
2022-09-05 13:57:07 -07:00
Dean Lee 3e40affd38 manager.py: set default lang to main_en (#25666)
* default main_en

* update transaltions

* set default language in manager.py

* after h
old-commit-hash: 71d152bf518f4e2866d6f2cd8c84e1916310d6f2
2022-09-05 13:25:46 -07:00
vanillagorillaa 543bad6f26 small nissan cleanup (#25663)
old-commit-hash: d804b945e2a161a2a53923d70c2ee45c0a3493ce
2022-09-05 13:25:24 -07:00
Justin Newberry a333729bc8 Subaru Legacy 22 fingerprint (#25665)
old-commit-hash: 98484697cb66aa7863f509ef36bef0e51dd96b32
2022-09-05 13:24:17 -07:00
Erich Moraga 74e40f9576 Add missing HIGHLANDER_TSS2 engine f/w (#25657)
old-commit-hash: 23254b454e927a5813f8beb00a4579150a5a7fab
2022-09-05 13:20:56 -07:00
Dean Lee b573e179e0 ui/sidebar: remove unused variable params (#25667)
* remove params

* update translations

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f44ebb9f1ed37b2c3add981bf493e4d7cc7d0ee0
2022-09-05 13:20:05 -07:00
HaraldSchafer cd2636a712 Radard: ignore leads without model confirmation wider than 1.0m (#25664)
Dont stop for cars next to you without model confirmation
old-commit-hash: 4c05c88c10f24d771c76bd8b078426a06a82b4f8
2022-09-04 13:29:13 -07:00
HaraldSchafer b8a6a961fe Remove lane planning code (#25651)
* Remove all lane planning logic

* Revert "Update ref"

This reverts commit 8dcb08ebccbb5641443459ac40601a95cf605682.

* bump cereal

* Update ref
old-commit-hash: 2eff6d0ebd20b95b10726f979b04df028f50d303
2022-09-04 13:07:51 -07:00
HaraldSchafer 421d8ddede Toggles must be alphabetical (#25654)
toggles must be alphabetical
old-commit-hash: 01a73b14d8b23c17bc6c7b314a266d594e88eb55
2022-09-04 12:04:28 -07:00
Shane Smiskol 9ad69e384d Kia: update Forte supported package (#25652)
* Not standard

* https://cdn.dealereprocess.org/cdn/brochures/hyundai/2020-ioniqhybrid.pdf

* revert
old-commit-hash: 1d86c431ee7a63616e5f0b927280bf82f34c7969
2022-09-02 17:02:54 -07:00
AlexandreSato 1dad1042e1 Portuguese: add e2e long translations (#25650)
* fix and improve pt-BR translation

* Shorter phrase for Finish Setup

* Concluir are better than Encerrar bacause means sucessfuly

* improve pt-BR, DEVbrazilians use english as default

* fix "atualizador" text cutoff

* miss mark as finish on qt linguist

* translate to pt-BR the e2e_long toggle
old-commit-hash: 3183b00ff265602da9f852e23a4230c7e12a475b
2022-09-02 16:34:28 -07:00
HaraldSchafer 754fb9306b Faster a_ego filter (#25646)
* Faster a_ego filter

* :x
Update ref

* typo

* update ref
old-commit-hash: 593dfd0aed6f3bbb37b05ef7c331df08781327d9
2022-09-02 16:19:06 -07:00
Shane Smiskol 846e366a55 GM: update minimum steer speed (#25618)
* EUV is 10 kph

* Update ref_commit

* temp

* Revert "temp"

This reverts commit 90ce28b06ba623e7bd1252798af3c285b465e0ec.
old-commit-hash: 3b602e28443263c043daec4bfa2ca6bc7a13eb56
2022-09-02 13:41:58 -07:00
Jason Young 4765e9f6c0 VW MQB: Add FW for 2023 Volkswagen Atlas (#25648)
old-commit-hash: b805b138453e175e560df60cba9d83e330f1db8d
2022-09-02 12:57:09 -07:00
HaraldSchafer 0cccf195f3 Add e2e long toggle (#25638)
* Add toggle

* Misc fixes

* Update translations

* pre alpha not great
old-commit-hash: faff2b8950c3ae0b0dff69c871381416ce2be416
2022-09-02 00:24:53 -07:00
Robbe Derks ab7ff545c5 camerad: read param to see if we want manual gain (#25642)
* also read params to determine if we want manual gains

* check for larger than 0

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7ecc0409bd767392074a37cdd0b7e44ed9953296
2022-09-01 22:18:44 -07:00
Adeeb Shihadeh 914e926e25 Chrysler: support convenience blinkers (#25644)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: fd7525d806eb6fb6bd397db0dd95325d4175b979
2022-09-01 21:51:48 -07:00
Alex Ye dff8766e8a Toyota: Add missing engine FW 2020 Corolla (#25626)
* Toyota: Add missing engine FW 2020 Corolla

2020 Corolla LE (2ZR-FAE)
Dongle/route: 73fed27d198f6a7d|2022-08-31--17-41-34

* Made entry alphabetical
old-commit-hash: 6b236b4edd2028521e0a36fe59547ee0115751f0
2022-09-01 19:23:49 -07:00
Jeroen 25f275636e bootlog: only do nvme checks on tici (#25634)
old-commit-hash: 502a39219932172d52ee0f280c5200ba11bca0c9
2022-09-01 19:05:15 -07:00
George Hotz 273fab518b modeld: delete unused SNPE stuff after move to tinygrad (#25635)
* delete unused stuff

* remove CL interceptor from thneed since we don't use SNPE anymore

* remove dead files from release

* that's removed

* oops, didn't save
old-commit-hash: 6c39382d71978d20f00286678b2f13e00134bb0a
2022-09-01 18:28:20 -07:00
Shane Smiskol 42f56d1013 Optima 2019: set LKAS icon correctly (#25637)
* are we sure?

* add params

* should work

should work

* fix

* fix

* clean up

* comment

* comment

* Update selfdrive/car/hyundai/hyundaican.py
old-commit-hash: 6e062ea5d269cc844e01667b0e11d4ac16ddabeb
2022-09-01 16:19:21 -07:00
HaraldSchafer 4b8547c7a4 Support e2e long in longitudinal planner (#25636)
* refactor

* Add planer modes to support offline, acc, and blended

* add acceleration

* Fix index

* Update model ref

* Read in model outputs

* Add model msg

* Add e2e logic

* Add source
old-commit-hash: e1b7a37a1f6a341bdc729c186ca5b4d3fb8af9ee
2022-09-01 15:40:25 -07:00
Shane Smiskol 53d41b8967 Update total scons nodes
old-commit-hash: cbe1c89698a20d7eb26897c1e202bcc7d48ee1cd
2022-09-01 13:39:00 -07:00
George Hotz 29cd51b876 modeld: Move from SNPE to tinygrad (#25207)
* compiling, won't work yet

* running with inputs and outputs

* there's some magic chance this works

* no more dlc, include onnx

* yolo tests plz

* bump tinygrad

* files_common + delete dlc

* tinygrad_repo -> tinygrad

* pre commit config

* llops needed

* extra in files_common

* bump tinygrad

* fix indent

* tinygrad/nn/__init__

* tinygrad_repo

* bump tinygrad repo

* bump tinygrad

* bump with native_exp, match maybe

* native_explog is argument

* pyopencl no cache

* 5% chance this matches

* work in float32?

* bump tinygrad

* fix build

* no __init__

* fix recip

* dumb hack

* adding thneed PC support

* fix pc segfault

* pc thneed is working

* to_image

* prints stuff with debug=2

* it sort of works

* copy host ptr is simpler

* bug fix

* build on c3

* this correct?

* reenable float16

* fix private, fixup copy_inputs internal

* bump tinygrad and update ref commit

* fix OPTWG on PC

* maybe fix non determinism

* revert model replay ref commit

* comments, init zeroed out buffers

* upd ref commit

* bump tinygrad to fix initial image

* try this ref

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 40d6f4b65c3776ffd78b3c3285dc5532a802c423
2022-09-01 10:31:14 -07:00
Adeeb Shihadeh 3308e740ea pigeond tests (#25630)
* start pigeond tests

* sm checks

* add some types

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4bb399ba3c13953680522707bba662527fa771b7
2022-08-31 23:12:26 -07:00
Adeeb Shihadeh caac56b92e USB power mode cleanup (#25619)
* first pass at usb power mode cleanup

* fix build

* a sneaky one

* little more

* fix build

* bump pnada

* remove that

* power monitoring cleanup

* fix tests

* bump submodules
old-commit-hash: 28cb1897cb8be80b35b1ce7573066fb36b01d2d7
2022-08-31 21:13:53 -07:00
Shane Smiskol e422f77099 test_fw_query_on_routes: find first non-none path (#25628)
find first non-none path
old-commit-hash: bd9966c4777a7b4393d65cc0f62d726a9fdf1ff1
2022-08-31 17:54:21 -07:00
ZwX1616 cf84a3ba30 camerad: optional exposure params overrides (#25616)
* add params override

* speedup

* put in param list

* clean up names

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e9258cccbed66dd69781b5184e34760fb8cfeb0a
2022-08-31 16:40:25 -07:00
AlexandreSato 23117b4f15 Multilang: improve pt-BR translation (#25623)
* fix and improve pt-BR translation

* Shorter phrase for Finish Setup

* Concluir are better than Encerrar bacause means sucessfuly

* improve pt-BR, DEVbrazilians use english as default

* fix "atualizador" text cutoff

* miss mark as finish on qt linguist
old-commit-hash: 02bf3399956fa6cba84ba3c578771761b8d31c8e
2022-08-31 15:50:56 -07:00