Commit Graph

1264 Commits

Author SHA1 Message Date
HaraldSchafer
faff2b8950 Add e2e long toggle (#25638)
* Add toggle

* Misc fixes

* Update translations

* pre alpha not great
2022-09-02 00:24:53 -07:00
AlexandreSato
02bf339995 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
2022-08-31 15:50:56 -07:00
Jeroen
272b6cc8c3 Add Dutch translations (Nederlands) (#25327)
* Add Dutch translations (Nederlands)

* Dutch translation improvements

* Use Qt's plurals

* Improvements to translations

Thanks for the review Willem!

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Shortened a translation to fit screen

Shortened 'Show map on left side when in split screen view.' translation

* update translations

* Shortened 2 translations

* Fix test

* Changed 'CONTROLEREN' to 'CONTROLEER'

* Merge remote-tracking branch 'upstream/master' into dutch-translations (#3)

* Rename KIA_NIRO_HEV to KIA_NIRO_PHEV (#24216)

* Add car port: Kia Niro Plug-In Hybrid 2018

* Add additional FW version

* Low speed lockout 32 MPH

* Add test route

* min_steer_speed in CarInfo

* Remove min_steer_speed from CarInfo

* Add to CARS.md

* run generator

* update min enable speed and regen

* update ci routes

* these are the same car

* i think we only add a note if it's a new platform

* fix HEV -> PHEV

* Add test route

* dup fw

* haha we already support this car in #25187

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

* GM pcmCruise: cancel more reliably (#25454)

* Cancel more reliably

* Apply suggestions from code review

* Try sending multiple

* Apply suggestions from code review

* Apply suggestions from code review

* Update selfdrive/car/gm/carcontroller.py

* lower rate a bit

* try this

* Update selfdrive/car/gm/carcontroller.py

* bump panda

* Car docs: add more videos (#25494)

* Add Civic video

* add mazda cx-9 2022 video link

* GM Bolt EUV: update supported packages (#25496)

* Update values.py

* Update selfdrive/car/gm/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Hyundai: common CAN-FD gear signal (#25498)

* Hyundai: common CAN-FD gear signal

* bump opendbc

* GM: Chevy Silverado 2020-21 support (#25429)

* Silverado support

Co-authored-by: Jason Shuler <jshuler@gmail.com>

* Update docs

* Try 2 m/s/s

* Should be good torque values

* Add Silverado test route

* Add to releases

* Send counter

* can't send multiple or it faults

* Send at 33hz, no counter

* try 25hz, don't line up exactly with car's buttons

* never tried 10hz with same counter

* Update selfdrive/car/gm/gmcan.py

* Make same as pcmCruise branch

* update year and package (different packages needed per-trim)

* Update year in releases

* Revert to 21

* We can use this package name again

* wrong one!

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

* Show CAN error if message counters are invalid (#25497)

* counter check affects can valid

* Apply suggestions from code review

* bump to master

* Hyundai: Car Port for Tucson Hybrid 2022 (#25276)

* Hyundai: Car Port for Tucson Hybrid 2022

* Update RELEASES.md

* Init gear_msg at the top

* FW versions from script

* Button send attempt

* start with some cleanup

* Send button fixed bits

* Define all bytes and only send PAUSE/RESUME

* Use CRUISE_INFO to cancel cruise and resume

* 8-bit counter

* Cleanup ish

* 8 bit counter

* Send at 20ms

* Disengage bits

* Revert bump submodules

* Allow tx on 0x1a0

* Fix byte counts

* Send LFA and HDA icons based on engageability

* Send cruise buttons only on HDA2 cars for now

* Add comments

* Add FLAG_HYUNDAI_CANFD_HDA2 flag

* Update interface.py

* Update carstate.py

* Update carstate.py

* Update carstate.py

* Bump submodules

* Bump panda

* Bump opendbc

* Allow tx with CRUISE_INACTIVE

* GEAR has 24 bytes only

* Generate car docs

* Fix CRUISE_INFO copy

* Remove unused class

* Add CAN-FD busses to unit test

* Bump opendbc

* Revert "Add CAN-FD busses to unit test"

This reverts commit 2f751640408a7f73a9100947cbd95ea13fbb8a48.

* Remove duplicate

* New tune based on data

* Panda safety cleanup

* Include bus 0 in rx checks

* Missed one

* bus 6 check

* Remove redundant check

* Add comments

* Bump opendbc

* Sync with DBC

* Hide LFA icon when disengaged

* Little endian

* fix comment

* more conditions in carcontroller

* update pedal signal

* update tuning

* cleanup carcontroller

* bump panda

* fix mismatch

* alt buttons

* little more cleanup

* update refs for EV6 new safety param

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* remove old boardd stuff

* Ford: add CADS radar interface (#24296)

* Ford: use FORD_CADS radar dbc

* Ford: CADS radar interface impl

Co-authored-by: ReFil <31960031+ReFil@users.noreply.github.com>

* fixup radar interface for FORD_CADS dbc

* CADS treat different scan indexes as separate points

* Ford: support both Fusion and CADS radars

* Ford: rename radars to DELPHI_ESR and DELPHI_MRR

Co-authored-by: ReFil <31960031+ReFil@users.noreply.github.com>

* 0.8.16 release notes

* test_models: no CAN invalid tolerance (#25501)

* don't use end of route segment

* no can invalid cnt tolerance

* start checking can valid immediately once available

* we check counter violations

* README.md: update grammar (#25488)

* first paragraph

* second section

* second section pt2

* third section

* fifth section

* fifth section pt2

* sixth section

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* setup: perform all pyenv setup in a single place (#23408)

* consolidate pyenv setup

* cleanup openpilot_env.sh

* undo openpilot_env.sh changes

* needed on mac

* add that back

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* v4l_encoder: free buf_out in destructor (#25044)

* test onroad: update dmonitoringd cpu usage

* CI: Actions cleanup + speedup (#25514)

* actions cache cleanup

* release build cleanup

* fetch dpeth

* sim: fix gps message (#25521)

fix gps timestamp field renamed

bug introduced in https://github.com/commaai/cereal/pull/341

* GMC: Sierra 2020-21 support (#25523)

* Add Sierra

* actually this package works

* add to releases

* credit

* GM: add Silverado 2021 High Country FP (#25499)

* Add FP from 61c6258cac78af08

* add to dict

* Update Silverado release note (#25526)

* Translations badges: concatenate into one badge (#25522)

* add badge

done correctly

works

Update translation_badge.svg
Update translation_badge.svg
Update translation_badge.svg
Update README.md
Update translation_badge.svg
Update translation_badge.svg
Update translation_badge.svg
Update badge

Update README.md
test this

try this

finalize

remove badges

fixup readme

add to test

fix

fix

rm

* clean up

* no formats

* Fix badge workflow

* user event flagging (#25517)

* setup home_btn in sidebar

* create UserFlag msg

* replay: show and skip to user flags

* update translations

* bump to cereal master

* remove comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update translations

* Toyota: add missing engine and esp FW for Corolla Cross Hybrid (#25532)

add missing engine and esp FW for CorollaCross Hybrid

DongleId 147613502316e718

* HKG: Add FW for 2018 Kia Stinger (#25531)

* HKG: Add FW for 2008 Kia Stinger

* 2018 in disguise

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

* test_models: pass carFw into car interface (#25535)

pass carFw into get_params

* Add Thai translations (#25189)

* 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

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

* update car candidate docs (#25536)

* update car candidate docs

* little more

* that's a nice wikipedia

* quotes

* Silence a PytestCollectionWarning (#25537)

Silence PytestCollectionWarning: cannot collect test class 'TestRoute' because it has a __new__ constructor (from: test_models.py)

* bump version to 0.8.17

* Toyota: log stockAeb on non-TSS2 cars (#25489)

* check PRE_COLLISION

* need to make sure this is right

* revert

* temp, stash

* fixes

* uncomment that

* it's not really cruise/pcm, but acc

remove improt

* revert

* Fix CI

* revert exception

* Revert "revert exception"

This reverts commit 7e2f39097651f17cf3d2ac9f442fab5071e1b9d0.

* this tested enableDsu, but we have other routes that do that

* use segment from db

* remove exception again

Co-authored-by: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Jason Shuler <jshuler@gmail.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: ReFil <31960031+ReFil@users.noreply.github.com>
Co-authored-by: Joseph Wagner <68037585+wjoseph0@users.noreply.github.com>
Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
Co-authored-by: Dean Lee <deanlee3@gmail.com>
Co-authored-by: AlexandreSato <66435071+AlexandreSato@users.noreply.github.com>
Co-authored-by: Rewat S <76684800+taperec@users.noreply.github.com>

* Update translations

* Update selfdrive/ui/translations/languages.json

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

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Jason Shuler <jshuler@gmail.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: ReFil <31960031+ReFil@users.noreply.github.com>
Co-authored-by: Joseph Wagner <68037585+wjoseph0@users.noreply.github.com>
Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
Co-authored-by: Dean Lee <deanlee3@gmail.com>
Co-authored-by: AlexandreSato <66435071+AlexandreSato@users.noreply.github.com>
Co-authored-by: Rewat S <76684800+taperec@users.noreply.github.com>
2022-08-31 11:08:39 -07:00
George Hotz
178e4ebd41 remove old replay from selfdrive/ui/.gitignore 2022-08-31 08:35:00 -07:00
Bartłomiej Pluta
b80424fe27 Added Polish translation file (#25310)
* Added Polish translations

* Updated Polish translation file

* update to add plurals

* Updated Polish translations to use plurals

* remove vanished translations

* update translations

* remove from languages

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-31 00:09:15 -07:00
Adeeb Shihadeh
c6b749fb96 add pyside2 package (#25602) 2022-08-30 15:10:52 -07:00
Adeeb Shihadeh
6590fb2b93 pre-commit: add codespell (#25571) 2022-08-30 11:20:55 -07:00
AlexandreSato
cca8ef4f93 pt-BR Shorter phrase for Finish Setup (#25566)
* fix and improve pt-BR translation

* Shorter phrase for Finish Setup

* Concluir are better than Encerrar bacause means sucessfuly
2022-08-26 11:41:44 -07:00
guilhermicas
2ebbe7eac6 Portuguese: grammar and semantic corrections (#25554)
* Grammar and semantic corrections of Portuguese translation

* Revert "Grammar and semantic corrections of Portuguese translation"

This reverts commit 87c88c24f8872ffa87de16a63151240b7d7c7716.

* fix and improve pt-BR translation

* rename file

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: AlexandreSato <sato_alexandre@hotmail.com>
2022-08-25 23:13:31 -07:00
Dean Lee
3bb2b4df49 getTextRect: pass text by const reference (#25555) 2022-08-25 13:13:38 -07:00
royjr
8245ba4d30 Add Arabic Translation (#25269)
* arabic

* update to add plurals

* Update translations

* don't show lang for now

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-25 12:16:34 -07:00
Jeroen
c62447c784 Fix broken url in translations README (#25546)
Fix url in README.md
2022-08-24 11:16:17 -07:00
Rewat S
a34acc316e Add Thai translations (#25189)
* 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

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-23 16:29:47 -07:00
Shane Smiskol
8b154fe271 Update translations 2022-08-23 11:18:23 -07:00
Cameron Clough
b3cfe962cf user event flagging (#25517)
* setup home_btn in sidebar

* create UserFlag msg

* replay: show and skip to user flags

* update translations

* bump to cereal master

* remove comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-22 21:47:09 -07:00
Shane Smiskol
ad8d3de0d9 Translations badges: concatenate into one badge (#25522)
* add badge

done correctly

works

Update translation_badge.svg
Update translation_badge.svg
Update translation_badge.svg
Update README.md
Update translation_badge.svg
Update translation_badge.svg
Update translation_badge.svg
Update badge

Update README.md
test this

try this

finalize

remove badges

fixup readme

add to test

fix

fix

rm

* clean up

* no formats
2022-08-22 20:39:54 -07:00
Shane Smiskol
844d4d2ece Multilang: add plural translation test (#25491)
Add test for correct format specifier for plural translations
2022-08-18 23:32:11 -07:00
eFini
1de8ad891b Fix is_rhd param name in map.cc (#25464) 2022-08-17 20:21:38 -07:00
Shane Smiskol
721fae7e8e Multilang: language policy (#25414)
* add draft translation merging policy

* Update policy copy

* copy

* add link

* Update selfdrive/ui/translations/README.md
2022-08-16 00:37:11 -07:00
Shane Smiskol
e24da95120 Fix translations 2022-08-15 15:12:46 -07:00
Achilles308
370f58b7d6 UI: fix inconsistent capitalization in toggle title (#25441) 2022-08-15 13:49:43 -07:00
AlexandreSato
42e4efe706 Multilang: add Portuguese (Brazil) translation (#25287)
* Add Portuguese-Brazil translations

* Fixing some Japanese I used as a base.

* Add pt_BR translation

* Add QM file

* multilang: Fix typo and missing pt_BR translation

* fix typos in calibration translation

* pt_BR new translations

* fix translations

* update qm

* add Thai translation tkx tape#7233

* fix pt_BR translation

* improve pt_BR translation

* connect means connection not connected

* update

* plurals and typo

* fix unitTest error

* Add pt badge

* Add test for missing plural translations

* Make sure this doesn't test for translation completeness, we skip that test

* fix missing plurals

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-15 12:14:29 -07:00
cydia2020
f0214d5e83 Multilang: fill missing Japanese translations (#25418)
* japanese translations

* ENTER literally means enter

* This makes more sense

* finished

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-12 16:26:50 -07:00
Adeeb Shihadeh
ac305dacef nav: same icon size for active & inactive lanes (#25383)
* nav: same icon size for active & inactive lanes

* update translations
2022-08-08 15:07:44 -07:00
Adeeb Shihadeh
2cff05be43 UI: exit gracefully (#25388)
* UI: exit gracefully

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2022-08-07 18:41:54 -07:00
Shane Smiskol
088719c86c Fix static analysis 2022-08-05 15:23:22 -07:00
Shane Smiskol
eaf21e53e2 Multilang: test for vanished translations (#25342)
* Test for vanished translations

* this isn't needed anymore

* comment

* remove more unnecessary code since the great pluralization
2022-08-05 14:49:21 -07:00
Shane Smiskol
b6910923d1 vEgoCluster: fix starting from stop (#25350)
* we can't switch back and forth

* update translations
2022-08-03 21:03:53 -07:00
Shane Smiskol
1cf2f9fc13 Multilang: add Japanese to UI (#25339)
* Add Japanese to UI

* Add Enlish and Japanese badges
2022-08-02 19:29:33 -07:00
Shane Smiskol
abf9df336e Fix missing Korean translations (#25340)
Fix missing ko translations
2022-08-02 13:49:03 -07:00
Shane Smiskol
51b1d99f0c Remove obsolete translations (#25338) 2022-08-02 12:47:24 -07:00
Shane Smiskol
ecba873208 Multilang: handle localized plurals (#25337)
* Add localized plural handling

* Do another location with plurals

* fix test
2022-08-02 12:44:21 -07:00
Adeeb Shihadeh
21719aa824 internal installer: set param for disable radar toggle 2022-08-01 09:56:20 -07:00
ZwX1616
22408781f7 Remove RHD toggle: determine by driver side instead (#24802)
* driverview

* auto choose

* useless

* remove

* modeld not use toggle

* remove from params

* should have commissue anyway

* delete icon file

* deal with init more elegantly and prohibit switching when engaged

* nonblock save when not unstable

* filter very low speeds

* a few more secs dont harm

* draw icon

* match

* radius

* use const

* ref commit

* new transs

* put_bool_nonblocking

* 5k route tune

* ref comm

Co-authored-by: Comma Device <device@comma.ai>
2022-07-29 13:52:24 -07:00
Willem Melching
ab236e5ae0 fix finding the lte connection (#25286) 2022-07-26 17:47:40 +02:00
Shane Smiskol
9ab1c492dd Multilanguage badges (#25244)
* Test badge

* fix?

* Test

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* try this

* need to build

* a minute for what

* download and commit test badge

* get dynamically

* fix

* Add to readme

* force push

* should work

* one step

* Update badge

* draft

* clean up

* remove these

* one line is fine

* Adding badges will have to be manual, but that should be fine

* cause error

* continue on error

* hope this doesn't delete the badges

* ugh, allow-failures would be so nice

* whoops

* yep need this

* do this

* now try a push

* clean up

* rm line

* need this

* see if this works

* orange

* does this work?

* ?

* do dis

* needs to be global?

* cool, this works

cool, this works

* run only on master

* add back workflows

* remove that

* sorting

* sorting

* print badge markdown

* it is bytes though?

* run once more

* revert

* looks nicer

* strange

* no decimals

* run again

run once more

* nice workflow_dispatch

* only run on a schedule and remove error handling

* make links absolute

* adjust badge text
2022-07-22 14:07:54 -07:00
cydia2020
daded8ebeb Multilang: finish unfinished Simplified Chinese translations (#25247)
* Finish unfinished translation

* Update main_zh-CHS.ts
2022-07-22 10:18:45 -07:00
eFini
cb73f9dbc3 Chinese (Traditional): Add/improve translations (#25228)
fixed readme

shortened ETA & revert unit
2022-07-21 13:50:04 -07:00
Lee Jong Mun
e66145f9e0 Multilanguage: Korean improvements/translations (#25231)
* Update util.cc

* Revert "Update util.cc"

This reverts commit d7d2f4f6c16785084375b8b8e3ae63dda414c872.

* Multilanguage: kor translations update
2022-07-21 10:24:40 -07:00
Willem Melching
c3e95d5e19 prereq for matching speeds shown on cars dash (#25222)
* prereq for matching speeds shown on cars dash

* also handle fallback in the ui for replay

* update translations

* update ref
2022-07-21 14:48:08 +02:00
Shane Smiskol
c528decd17 multilanguage: compile QM in scons (#25217)
* All in scons

* delete all this

* delete the qm files

* No need to check QM files in test_translations.py anymore

* readme

* add lupdate to third party

* fix

* one line

* update files_common

* readme imp

* add j flag

* add to path

* duplicate scons!

* update readme

* fix path

fix path

fix path

* no path
2022-07-20 18:44:47 -07:00
Shane Smiskol
180c2abdd9 Improve Japanese translations (#25226)
* Minor Japanese improvements

* fix

rm

Co-authored-by: PONPC <fuzitanirenti@yahoo.co.jp>
2022-07-20 14:11:59 -07:00
cydia2020
26dad2423b Multilang: Improve Japanese translations (#25108)
* improve japanese translation

* characteristics is probably the better word to use

* more explicit

* misc fix

* space

* translate Dongle ID

* drive -> driving history

* more appropriate translation for minimum character requirement

This is hacky and should be fixed

* copy the home work of the chinese translators

* full width -> half width

* better speed translations

* device pairing procedures

* main features -> perks

* subscribed -> joined (as member)

* stop update -> pause update

* add japanese to language.json

* qm

* honorific

* shorter texts for buttons

* close -> recent

* maximising driver monitoring performance -> improving driver monitoring performance

* developer perks -> developer facing perks

* expressions

* expressions

* full width exclamation mark

* accel pedal to cancel -> tap accel to cancel openpilot

* qm

* deal with unfinished translations

* qm

* change all mentions of driver camera to interior camera

* failed to obtain update -> error while downloading update

* update translation file

* update qm

* remove google translate

* this device is facing %2's %1 deg, %4's %3 deg

* ja qm

* reword this

* ensure -> confirm

* better wording for device reset page

* more consistent

* wording

* qm

* mark as finished

* update after translation refactor

* bump translation

* update translation to reflect new changes

* Japanese qm

* update translations

* remove from selector

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-07-19 15:56:06 -07:00
Shane Smiskol
464db126a5 Multilanguage: readme improvements (#25214)
* catch2 needs to iterate through the whole function each time to test this (spams warnings)

* Update readme

* Add update the ui header

* build in scons

* release by default

* scons in another pr

Co-authored-by: Vincent Wright <vincentw@kmwperformance.com>
2022-07-19 12:38:58 -07:00
Shane Smiskol
30f21cb8fd Update translations 2022-07-19 12:34:06 -07:00
Adeeb Shihadeh
50f7545ed7 UI: add description for branch switcher 2022-07-19 10:46:03 -07:00
Willem Melching
86c1e8164a navd: add back VisionIPC map renderer (#25212)
* builds standalone

* process live msg

* render into nv12a

* VISION_STREAM_RGB_MAP -> VISION_STREAM_MAP

* cleanup sconscript

* main include cleanup
2022-07-19 16:57:13 +02:00
Shane Smiskol
758069464c Fix release tests 2022-07-18 22:05:11 -07:00
Adeeb Shihadeh
cc3857eb62 updated: add branch switching (#25200)
* switch param

* add to ui

* fix that

* fetch for new branch

Co-authored-by: Comma Device <device@comma.ai>
2022-07-18 21:18:10 -07:00
Greg Hogan
93cd0285ac nav: toggle to show on left side of onroad ui (#25169)
* nav: show on left side of onroad ui

* add toggle

* capitalization

* update translations

* single params object

* skip unfinished translations test

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-07-18 13:57:21 +02:00