Commit Graph

7957 Commits

Author SHA1 Message Date
ambientocclusion 246f03e72b Multilang: add missing Japanese translations (#25727)
old-commit-hash: f6398ea7864779f621f84df65ded7ee083e72c09
2022-09-11 03:35:57 -07:00
cydia2020 858c249f90 Toyota: longitudinal tune condition cleanup (#25676)
* Toyota: clean up long tunes a bit

* Update selfdrive/car/toyota/interface.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2704e2cf4d805712695422b6c8e513ba7f479877
2022-09-10 16:42:28 -07:00
Jason Young 195d076ead VW: Increase stock ACC button spam reliability (#25692)
* VW MQB: Fix/simplify stock ACC button spam

* try this instead
old-commit-hash: 21972605e7ed0f713d89324777afc2c60f862e6c
2022-09-10 16:04:15 -07:00
Dean Lee fd889cf696 cleanup map_helpers.cc (#25706)
old-commit-hash: 115eed9a54ae4f97bbdd0e561b9f796ca4214a9c
2022-09-10 14:39:57 -07:00
Dean Lee 158f9f0cde camera_qcom2: move util functions to separate files (#25720)
old-commit-hash: 1c8aa8816189b464329e12187a81eef85893a724
2022-09-10 14:22:43 -07:00
Jeroen 8e260b430f CI: remove redundant env variables in 'openpilot env setup' (#25721)
old-commit-hash: 1544734a540cf28d12df98038d7b9ecc48f7ffb9
2022-09-10 12:02:27 -07:00
George Hotz 71f609f2cc port OX03C10 (#25161)
* start porting OS04C10

* something

* is the pll why this doesn't work

* understand plls, still doesn't work

* work

* weee something

* working?

* timing

* encoderd works with less cameras

* 1928

* flip image

* color balance

* adjust black level

* extra height maybe

* cleanups

* clean up sensor i2c

* sensors

* approx 20fps

* remove mirror

* 50ms, no fsin yet

* remove imx390 support

* some attempt at AE

* linearize the response

* OX changes (#25697)

* organize

* wb

* best effort but probably messed up by artifacts

* multicam sync

Co-authored-by: Comma Device <device@comma.ai>

* clean up

* more

* fix multiexposure

* start porting OS04C10

* something

* is the pll why this doesn't work

* understand plls, still doesn't work

* work

* weee something

* working?

* timing

* encoderd works with less cameras

* 1928

* flip image

* color balance

* adjust black level

* extra height maybe

* cleanups

* clean up sensor i2c

* sensors

* approx 20fps

* remove mirror

* 50ms, no fsin yet

* remove imx390 support

* some attempt at AE

* linearize the response

* OX changes (#25697)

* organize

* wb

* best effort but probably messed up by artifacts

* multicam sync

Co-authored-by: Comma Device <device@comma.ai>

* clean up

* more

* fix multiexposure

* unbroken AE

* oops

* sort of good AE

* both should work 1

* open then init

* fix debayer

* rename

* fix test build

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aea1a0d5e684daf7682703174233390b0cf79c83
2022-09-09 22:38:00 -07:00
Shane Smiskol ae77b7edc7 FPv2: move car-specific configuration into interfaces (#25711)
* Add VMCU address for EV6

* Rename vmcu

* add to tests

add to tests

* rename to more generic name

* more explicit

* remove print

* Like this much better, removes subtle fingerprinting problems

* clean up

* add test and clean up

* remove hyundai stuffs

* global

* Fpv2Config class

* fix missing fw versions from import order

* unused

* revert for now

* test for fpv2 configs with subtests

* subtests don't work that way

* do toyota as an example

* revert

revert

* do chrysler

* do rest

* stash

* much smaller of a diff than the alternative

* remove unused test

* fix tests

* remove brand from Request

* Make StandardQueries class

* add missing_ecus

clean up

* rename file

* unused

* test implemented

* add comment and rename

add comment and rename

add comment and rename

* should be impossible now

* this is a fixme

* rename to fw_query

* rename this too

* and this

* move vin queries to class

* order

* can use p16!

* formatting

* whoops, this wasn't gated on not len(found_versions)

* make this clear

* Standardize manufacturer software version query
old-commit-hash: 0ef6bb48df63fa07609c170b61584a1d3ef8c320
2022-09-09 16:24:29 -07:00
calledit 88d173a925 VW MQB: Added support for APA racks to EPS configuration tool (#25556)
* Added support for APA racks

APA steering racks use a different bit to represent whether the ECU should enable steering assist.
This change supports those APA steering racks.

* Static analysis fix

* Static analysis fix2

* Code cleanup

* Update selfdrive/debug/vw_mqb_config.py

* Apply suggestions from code review

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
old-commit-hash: fc3bdef89143721172230bcf413a08a0091bca32
2022-09-09 11:20:59 -07:00
Shane Smiskol 30ba3096a3 Longcontrol: fix possible reference before assignment (#25715)
fix possible reference before assignment
old-commit-hash: 056b2ec2edb40ce48871975bdbf19d9652c867f3
2022-09-08 21:43:04 -07:00
Dean Lee 18399bf618 ui: stop timer if PairingQRWidget is hidden (#25671)
old-commit-hash: 4974ca03a8ec1919075cd41da0a80eb1f32f53dd
2022-09-08 16:46:52 -07:00
Ochi Yuma 0f6b5d8b04 third party: add -Wno-unqualified-std-cast-call to fix json11 build (#25686)
only for json11

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0028e062b8f80ff6762f1517191d0a39e3457ed2
2022-09-08 16:00:00 -07:00
Cameron Clough 41bf0b4b34 bump catch2 headers to v2.13.9 (#25678)
old-commit-hash: 9fb2c40cfdd5a4c05c65e90c7d91a2afd267e26b
2022-09-08 15:54:14 -07:00
Dean Lee f2035fe63c UI/map: remove redundant QString ctor (#25704)
old-commit-hash: 69e9b285b3e125e319aedc9b587e4da44adb9913
2022-09-08 15:53:23 -07:00
Adeeb Shihadeh 9d640eecd0 Ford Explorer 2020-21 (#25614)
* add model years

* update Focus steer ratio

* Ford: add EU label to Focus Mk4

* add packages

* add Ford Explorer 2020

Package: Co-Pilot 360 Assist+

Optional on XLT
Standard on Limited, Limited Hybrid, ST and Platinum

https://cdn.dealereprocess.org/cdn/brochures/ford/2020-explorer.pdf

* Ford: steering control with path angle

* Ford: add TJA toggle to buttons

* add Ford Explorer 2021

`62241b0c7fea4589|2022-08-30--11-58-24--0`

Package: Co-Pilot 360 Assist+

Optional on XLT
Standard on Limited, Limited Hybrid, ST and Platinum (same as 2020)

https://cdn.dealereprocess.org/cdn/brochures/ford/2021-explorer.pdf

* Ford: add shiftByWire ECU fw

* angle/steer refactor

* try always stop and go for US models

* no dashcam

* car info

* send resume button

* skip explorer

* escape and focus back in dashcam

* passthru buttons

* fordcan set bus for button message

* toggle off stock traffic jam assist so camera does not enforce driver presence checks

* not used

* update ramp rate/precision notes

* cleanup

* bump steering pressed torque to 0.8 Nm

* add standstill

* bump steer ratio

* try increasing delay?

* fix docs

* add kuga car info

* maybe fix tja toggle?

* compensate for ford roll compensation??

* oops

* better ui

* block non-adaptive

* add note on ui warning for hands on wheel

* try only checking/toggling TJA every 2 seconds

* add car test route

* dashcam only again

* send buttons to camera

* add process replay segment

* cleanup

* bump panda

* add extra FW

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 9241de221099f6c65fd7ed5ed87d6296c17f668d
2022-09-08 15:49:51 -07:00
Dean Lee f4e57aa20d map_helpers: pass parameters by const reference (#25701)
pass parameters by const reference
old-commit-hash: d9ca45ed1b2bc0316aad8ff11470e1a9b96fb09c
2022-09-08 11:56:39 -07:00
Lee Jong Mun 9f442c6d0a Multilang: add missing translations (#25705)
kor translation update

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 015090de9237af02beb5414be65e97ee84c39c45
2022-09-08 11:55:21 -07:00
Shane Smiskol f8f22fabdf Car docs: CAN-FD cars do not yet have op long (#25707)
* CAN-FD cars do not yet have op long

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 973ea7440c1db67d89fd3b77c94ba19b4a77717d
2022-09-08 11:41:29 -07:00
Adeeb Shihadeh 03f6c8e269 ui: fix network page crash
old-commit-hash: 613686855779187db9b20ecee34a4f8b1dd5ce67
2022-09-08 11:39:54 -07:00
Adeeb Shihadeh d9163b86e8 bump opendbc
old-commit-hash: 76ead92f63a3568565b57ae189744c95b776412a
2022-09-07 20:38:24 -07:00
Adeeb Shihadeh c6e4fb646d split out experimental long toggle (#25698)
* split out experimental long toggle

* clean up

* update translations
old-commit-hash: 3ef37fe2e848689dd3ef1e28b6cf14213c9fe069
2022-09-07 20:38:04 -07:00
HaraldSchafer 4b6fbd26a5 Improve Hyundai long control, and conform to longcontrol API boundaries (#25696)
* Variety of experimental improvements

* fix start accel

* typo

* No jerk, no go

* Set jerk limit lower

* Update ref
old-commit-hash: da6c7311a38b1206be5443f8447f5424458671a5
2022-09-07 19:09:37 -07:00
Adeeb Shihadeh e4f9781c17 single longitudinal toggle for e2e and disable radar (#25688)
* single longitudinal toggle for e2e and disable radar

* write disable radar param

* rename

* better param name

* clean that up

* update refs

* update translations

* not live for experimental

* write it out

* vanish
old-commit-hash: 655a64b60318ce44ef0271e03de16e8b135b5268
2022-09-07 17:12:49 -07:00
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