Commit Graph

1286 Commits

Author SHA1 Message Date
Dean Lee
578b8fba1a networking: create scanning label once (#25782)
* create scanning label only once

* rename

* fix

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-14 12:33:56 -07:00
Dean Lee
1b0f202d7b ui: prev_frame_id should be uint32_t (#25781)
uint32_t
2022-09-14 01:58:10 -07:00
Dean Lee
27e1ec8fd3 ui: multilang date (#25741)
* multilang date

* update translations

* add language to uistate

* update translations

* use it here too

Co-authored-by: sshane <shane@smiskol.com>
2022-09-13 03:02:13 -07:00
Dean Lee
ef767f6332 MapPanel: refresh only when visible and destination changes (#25739)
rebuild widgets only when mappanel is visible
2022-09-12 22:54:33 -07:00
Dean Lee
722e4641fc prime.cc: call update() after QR code changed (#25740) 2022-09-12 10:30:58 -07:00
ambientocclusion
f6398ea786 Multilang: add missing Japanese translations (#25727) 2022-09-11 03:35:57 -07:00
Dean Lee
115eed9a54 cleanup map_helpers.cc (#25706) 2022-09-10 14:39:57 -07:00
Dean Lee
4974ca03a8 ui: stop timer if PairingQRWidget is hidden (#25671) 2022-09-08 16:46:52 -07:00
Dean Lee
69e9b285b3 UI/map: remove redundant QString ctor (#25704) 2022-09-08 15:53:23 -07:00
Dean Lee
d9ca45ed1b map_helpers: pass parameters by const reference (#25701)
pass parameters by const reference
2022-09-08 11:56:39 -07:00
Lee Jong Mun
015090de92 Multilang: add missing translations (#25705)
kor translation update

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-08 11:55:21 -07:00
Adeeb Shihadeh
6136868557 ui: fix network page crash 2022-09-08 11:39:54 -07:00
Adeeb Shihadeh
3ef37fe2e8 split out experimental long toggle (#25698)
* split out experimental long toggle

* clean up

* update translations
2022-09-07 20:38:04 -07:00
Adeeb Shihadeh
655a64b603 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
2022-09-07 17:12:49 -07:00
Cameron Clough
a8134f2265 e2e long yellow path (#25679)
* yellow brick road

* live toggling

* path color from acceleration

* more yellow
2022-09-07 08:58:33 -07:00
AlexandreSato
c317bb464d 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>
2022-09-07 00:26:37 -07:00
Shane Smiskol
719d5f7856 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
2022-09-06 13:23:41 -07:00
Rewat S
bc9b862d27 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>
2022-09-06 11:47:11 -07:00
Lee Jong Mun
1632c2aa62 Korean: add missing translations (#25647)
* kor translate update

* more translation fix

* better

* this pr e2e long only

Co-authored-by: sshane <shane@smiskol.com>
2022-09-05 16:11:22 -07:00
Dean Lee
f44ebb9f1e ui/sidebar: remove unused variable params (#25667)
* remove params

* update translations

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-09-05 13:20:05 -07:00
HaraldSchafer
01a73b14d8 Toggles must be alphabetical (#25654)
toggles must be alphabetical
2022-09-04 12:04:28 -07:00
AlexandreSato
3183b00ff2 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
2022-09-02 16:34:28 -07:00
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