Shane Smiskol
a65199b555
ui: update calibration limits text ( #30014 )
...
* update translations
* update text
* round down
old-commit-hash: a0c8df3d730eec50901235181a201cee91143e12
2023-09-22 21:38:07 -07:00
Alexandre Nobuharu Sato
e974ef9133
Duplicated #include in settings.cc ( #29951 )
...
old-commit-hash: 8a0711a67d8bc00913db841f65f443e7472fd699
2023-09-17 15:19:43 -07:00
Dean Lee
f48dc2b0ef
common/params: not copyable ( #29834 )
...
old-commit-hash: 7816edda57894c7967fcd931294a31d000e6508c
2023-09-07 21:44:58 -07:00
Shane Smiskol
02a5c081cc
navd: locationd is only trusted source ( #29803 )
...
* finish revert for https://github.com/commaai/openpilot/pull/27579
* comment out
* clean up
old-commit-hash: 96fd66e4e294c05601a93fd298740a6dfebf564e
2023-09-06 15:47:21 -07:00
Dean Lee
aafed83acc
ui/CameraView: fix divide by zero issue ( #29770 )
...
old-commit-hash: a1306114bc8de7d55137258088d8d042afb86018
2023-09-06 13:25:40 -07:00
ZwX1616
641d52aa2d
ui: brighten cameraview ( #29744 )
...
* test
* test2
* Revert "test2"
This reverts commit 22e38f82ae81f625f00179413f4c5f869a6de23e.
* Revert "test"
This reverts commit 717490c1bcddcd5339aed85d4716a58495a5c52c.
* looks fine
* mid
* description
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: a08cdfdda7e1a2bc50024bffc45295a322da42f9
2023-09-05 10:59:58 -07:00
Cameron Clough
98b99d99ee
MapPanel: provide QObject::connect context ( #29731 )
...
old-commit-hash: 08903fb4e02b780fefe7b30cf7b87562f492141a
2023-08-31 11:44:48 +01:00
Shane Smiskol
aa247b65aa
Revert "ui/driverview: inherit from CameraWidget" ( #29718 )
...
Revert "ui/driverview: inherit from CameraWidget (#29661 )"
This reverts commit 28a4d1de50948a93160a06e20f1666bab88389ab.
old-commit-hash: d9fedaa0a42685868ba262a111d7aec06208764f
2023-08-30 14:49:02 -07:00
Dean Lee
56f3b1b6fa
ui/driverview: inherit from CameraWidget ( #29661 )
...
old-commit-hash: 6c73a924fa7780fc31776060cf63cce3b85981cb
2023-08-30 16:41:58 +01:00
Dean Lee
d5dba43885
ui/networkmanager: add #pragma once ( #29678 )
...
#pragma once
old-commit-hash: a49dfa2969df29d49e7bd1d9dbfeb2627c5c398c
2023-08-28 11:40:51 -07:00
Dean Lee
3627574114
ui: rename QDialogBase to DialogBase ( #29675 )
...
rename QDialogBase to DialogBase
old-commit-hash: c36774dfba513f6ea64cff06b215c355ee059dff
2023-08-28 01:57:49 -07:00
Dean Lee
875b160fc6
ui/network: move to selfdrive/ui/qt/network/ ( #29656 )
...
* move to ui/qt/network
* wifimanager->wifi_manager
old-commit-hash: 125bd2cd9ef930f23c8d435ccf2a76b91228abe8
2023-08-27 15:23:19 -07:00
Dean Lee
888b60b214
ui/driverview: use common SubMaster ( #29660 )
...
old-commit-hash: 3a46a853cb22efe0053cf7e99fc7c8e7e676a455
2023-08-27 10:57:31 -07:00
Cameron Clough
69d7ecac9c
ui/NavManager: parse location timestamp from API ( #29665 )
...
old-commit-hash: 3d1a6f61463f022462c93a331add64af1cb48e94
2023-08-27 16:18:42 +01:00
Dean Lee
2e4a23510a
ui/MapSettings: sort destinations by recent activity ( #29079 )
...
old-commit-hash: 12073c07afbd0de42ed475c9368ad9f51fd0c631
2023-08-27 15:13:43 +01:00
Dean Lee
ce0e2ec905
AGNOS setup: multi-lang support ( #25680 )
...
* multilang
* update translations
* Specifies dependency
* load lang from json file
* update translations
* fix white border
* remove stretch
* update translations
* fix tr
* no default language
* update translations
* rm main_en.qm
* cleanup
* cleanup
* add language files
* remove type=unfinish
* build languages before assets
* depends lrelease
old-commit-hash: 0767a6dee5355d1d7c0b6aaed8f358d9045268a9
2023-08-26 08:17:07 -07:00
Dean Lee
74195e1d78
ui/driverview: hide on interactive timeout ( #29464 )
...
* hide on interactiveTimeout
* cleanup
* requestDone->closeView
* dont reset timeout on hideEvent
---------
Co-authored-by: sshane <shane@smiskol.com >
old-commit-hash: b6b255c10355c40fd8c53703720f8e1b12958855
2023-08-26 07:47:18 -07:00
Shane Smiskol
8f0ab9a105
Revert "ui/network: don't refresh on connect ( #29651 )" ( #29653 )
...
This reverts commit 500d58e5bf59e25ec973c6f635c6cf292c7a65ad.
Revert "ui/network: refresh IP address on connect"
This reverts commit 866c41a9249f98460436bae26def13be8c03a4fc.
old-commit-hash: 74a0a8f7b7f915a3fbb7bd26d77030ee89c02c6b
2023-08-26 05:23:20 -07:00
Shane Smiskol
045c092df8
ui/network: refresh IP address on connect
...
old-commit-hash: 46c32613fccd22e356c0b3092b61132ce264ae49
2023-08-26 05:15:05 -07:00
Shane Smiskol
b14dc6be99
ui/network: don't refresh on connect ( #29651 )
...
* don't refresh when showing connected status
* fix
* fix
* can remove that nowe
old-commit-hash: 6ea564b33ec6066bea1cc9829ce7c3078fdd735d
2023-08-26 04:13:19 -07:00
Dean Lee
511dcacf06
ui/networking: show "connecting" immediately after clicking on a network ( #29378 )
...
* fix connecting not show
* clear connect state
* pass network by value
* add comment
* move pass by value to anoter pr
* should always use function to set connecting_to_network
* remove connecting when forgetting
* out here
* can't do this :(
* Revert "can't do this :("
This reverts commit e06145202de34142e74667c876dc22442eb30796.
Revert "out here"
This reverts commit 8ca7b47a28854a92d95fcb5c5fc435e140f9af2c.
Revert "remove connecting when forgetting"
This reverts commit 671db0b5e76b6266a48f20bf4a1fd40cad4f90a4.
Revert "should always use function to set connecting_to_network"
This reverts commit a220b518fa2a4103046f9522afada80db76ae90d.
* makes sense to keep this the same
* not in between slots
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 9fe3df5d75bcaca3ea5be9e1d22bc00515c6e018
2023-08-26 03:54:19 -07:00
Dean Lee
dff265fff2
ui/networking: fix icon label alignment issue ( #29650 )
...
fix align issue
old-commit-hash: 547f69f5f38768dcbc62c9e42a7ef250d233fe01
2023-08-26 03:19:30 -07:00
Shane Smiskol
dc4177c344
wifiManager: empty path helper ( #29648 )
...
empty helper
old-commit-hash: 6bb97c416ff7a2cbbd5bbde6e49757f7db6f1523
2023-08-26 01:50:18 -07:00
Dean Lee
65c5464138
ui: add translation files to assets.qrc ( #29597 )
...
* move translation files to assets.qrc
* cleanup
* add main_en
* dynamically add
* not sure if required
* revert to master
* move translations above assets
* add translations to qrc file
* comment
* now add translations_assets_src to assets sources
* this is built
* add to .gitignore
* consistent name
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 17bfff8e10582d6a15088004662d7cf11b903793
2023-08-25 19:05:35 -07:00
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16e2ade0dd887c0687243aee769043e5
2023-08-24 16:30:54 -07:00
Shane Smiskol
dcf9d9e3a7
ui/map: clip vehicle speed to min of 10 m/s ( #29601 )
...
* all the changes I want to make
* Revert "all the changes I want to make"
This reverts commit c18132b73eb9bba4d7871631d7cd4155eb7efcd0.
* add initialized
* clip to 10 m/s
* fix bug
* rm
* here?
old-commit-hash: b8fb26055825f4ee35f647b6d84c2e6e6878a93f
2023-08-24 15:09:30 -07:00
Shane Smiskol
9a1f82a853
ui/map: initialize speed filter with current speed ( #29605 )
...
fix map starting from 0 zoom
old-commit-hash: b9d77afd7e91d46916b471bdc067f83edb2d64de
2023-08-24 14:53:47 -07:00
Dean Lee
a1fe0701e9
ui: remove Q_PROPERTY from AnnotatedCameraWidget ( #28745 )
...
old-commit-hash: b234cb022356baceba3fb4a990c7c483216bd860
2023-08-24 11:09:26 -07:00
Dean Lee
de809632bf
cpplint: add filter whitespace/comma ( #29595 )
...
old-commit-hash: 7bfd3dac811ae95bfd09495e88377dfbaacda393
2023-08-24 10:42:06 -07:00
Dean Lee
c4ae679878
ui/map: delete map after unsubscribing from prime ( #29136 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
old-commit-hash: 792ad7d81677ebb95888541bac14fb6089c1e5fc
2023-08-24 16:51:53 +01:00
Dean Lee
0984736972
cpplint: add filter build/include_subdir ( #29585 )
...
old-commit-hash: 21da5a216fc8f5269d2deedc538c2f543a1c270a
2023-08-24 15:42:17 +01:00
Cameron Clough
c7820cf1cc
ui: hasPrime/primeChanged helper ( #29590 )
...
old-commit-hash: 05e91c074d0fbabfd3475d4f34b975819159519b
2023-08-24 12:47:22 +01:00
Dean Lee
c6db4c515c
ui: use enum PrimeType for prime_type ( #29491 )
...
old-commit-hash: 99279b8eef43586aa09d001668355fa41e01b98f
2023-08-24 12:26:45 +01:00
Dean Lee
f7efad93e4
ui/map_instructions: restore padding ( #29548 )
...
* restore padding
* fixes
* fix left and right margins
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 4ea78330605cc3e46005e3d0f8915ef8a60c952a
2023-08-23 23:32:01 -07:00
Dean Lee
56b582a059
cpplint: add filter whitespace/forcolon ( #29582 )
...
whitespace/forcolon
old-commit-hash: ac939029835542a02b866e8a0d174f09773e4e6e
2023-08-23 22:46:02 -07:00
pencilpusher
cc4f6c5fbe
ui/map: keep the car icon aligned to its bearing ( #29482 )
...
* rotate icon with current bearing
When user is rotating the map, the car icon should stay fixed on the cars bearing, not the map.
* spacing
* comment
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 472151b6a004d387532415039196c2165f7d32df
2023-08-23 17:33:58 -07:00
Dean Lee
5ac4f52c6f
ui/PrimeUserWidget: cleanup layout ( #29492 )
...
cleanup layout
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 5fcb7e9038ec9054dcdb8d9b832bea2f597d6aa9
2023-08-23 16:34:18 -07:00
Dean Lee
db211ce617
cpplint: add filter whitespace/parens ( #29565 )
...
old-commit-hash: 5480d32bb5d98d57100fd709b9ffe7bfcc6e020a
2023-08-23 14:25:05 -07:00
Dean Lee
97e9d55588
cpplint: build/include_what_you_use ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Dean Lee
004a097c95
cpplint: add readability/braces filter ( #29554 )
...
old-commit-hash: 363740a497620249066522c87ddb03e1362749d4
2023-08-23 10:13:46 -07:00
Dean Lee
11b5cfa422
ui/settings: Don't apply styles to more elements than needed. ( #29463 )
...
old-commit-hash: 5765c1d978c5890513e55398490447590d3b1d3e
2023-08-22 14:00:01 -07:00
Adeeb Shihadeh
701cd6f6fe
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
old-commit-hash: 952d720b6e854b3ebbb9fd0fd82cd38f3ae04b90
2023-08-22 13:55:23 -07:00
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
Dean Lee
ff74c8c4cb
ui/map_instructions: center lanes ( #29465 )
...
* center lanes
* test
* similar spacing and no need for stretchj
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 9ea2cd8d0b5b697ffe7ae38a318ef44e5233ea44
2023-08-19 01:23:42 -07:00
pencilpusher
fc14939f02
ui/map: interactive counter fix ( #29470 )
...
* use interactive_counter instead of separate zoom and pan counters
* use interaction_counter instead of separate zoom and pan counters
* same styling
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: f2d22075ebd3f5e17628d1cf1ea102c7ce0bbb09
2023-08-19 00:07:52 -07:00
Dean Lee
3078da290d
ui/map: better rounding for distances ( #29151 )
...
* round distance
* use same format in ETA
* remove vanish
* restore translate
* use nearbyint
* update translations
* mark finished
* consistent style
* we don't include this anywhere in ui, needed?
* fix missing std
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: efefcfdca581fd75868b993426dfde21c21c1531
2023-08-17 22:58:18 -07:00
Shane Smiskol
709850e304
map eta: use pair ( #29460 )
...
use pair
old-commit-hash: d827cd6a83cbcc4f8231706f085df0d2ec5ef69f
2023-08-17 22:42:12 -07:00
Shane Smiskol
593322dfa9
ui/map: slight turn lane types ( #29446 )
...
* add slight turns
* bump cereal
* revert
* hmm, i like this better
* whops
* fix
* bump
old-commit-hash: 6d2922b8e6f6ef29b6d17ea7a1c3d16b40e2236f
2023-08-17 20:51:52 -07:00
Dean Lee
023cd0492f
ui/networking: do not skip the connected network ( #29396 )
...
* do not skip connected network
* simplify
* revert
* revert
* no implicit
* ifwt
* fix missing ssid
* makes more sense to only update security_type once (first vs. last)
* better comment
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: b8b1e17a21390d9a80b1b0643c0001129292576c
2023-08-17 14:43:40 -07:00
Dean Lee
4857b61f8f
ui/networking: pass network by value ( #29448 )
...
old-commit-hash: 1887d9197ab495bb8f4dd2826730e6d53528dd65
2023-08-17 11:37:42 -07:00