Adeeb Shihadeh
e04455cbaa
selfdrived: controlsd only does controls ( #33485 )
...
* selfdrived
* process replay
* lil more
* set the valids
* rename that
2024-09-06 17:16:32 -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
1b3ba1c7ee
ui: multilang offroad alerts ( #28512 )
...
Co-authored-by: Shane Smiskol <shane@smiskol.com >
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
old-commit-hash: 2b800cf2e79048bbccb821135d1cf03ec7a580b0
2023-06-22 15:04:28 +01:00
Adeeb Shihadeh
46cfb5c45b
good updater experience ( #25724 )
...
* good updater experience
* set params on startup
* no fetch on first loop
* little type hinting
* little more
* update translations
* always set params with valid overlay
* wrap check
* use the param
* more wrapping
* vanish
* cleanup
* remove that
old-commit-hash: c4e63d14ab158118efc6eadd0e20d8d533f9e046
2022-09-15 15:12:36 -07:00
Shane Smiskol
2c5e890a23
UI: wrap all text for translation ( #24961 )
...
* rough multiple language demo
* more wrappings
* stash
* add some bad translations
* updates
* map from french to spanish still has same problem of needing to call setText on everything
* add files
* restart UI
* use return code
* relative path
* more translations
* don't loop restart
* Toggle and prime translations
* try on device
* try QComboBox with readable style
* stash
* not yet scrollable
* stash
* dynamic translations (doesn't work for dynamic widget strings yet)
* clean up multiple option selector
* store languages in json
* try transparent
* Try transparent popup
* see how this looks
* tweaks
* clean up
* clean up
* clean up 2 and missing tr
* wrap more strings
* missing updater
* fixes
* add basic test to ensure all strings wrapped
* try in CI
* clean up
* test name
* fix test
* always install qt dev tools
* fix deps
* fast test
* add section so it prints multiple errors
* debug
* debug
get rid of those
* make any difference?
* comment
* oh...
* run with offscreen platform
* try out section
* clean up
* fix missing wrappings (it works!)
* move down
* space
* clear relevant params, set TICI=1
old-commit-hash: 879a7c3201a037c27c92ad6b92143114f52f29d3
2022-06-29 14:47:46 -07:00
Adeeb Shihadeh
9a45a3b99b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b01f34de9714c99228f411558b44231
2022-06-11 16:38:24 -07:00
Adeeb Shihadeh
f4675fc260
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
old-commit-hash: cb8885cffb313bea258c012c3026461a22bf8135
2022-05-18 14:11:57 -07:00
Adeeb Shihadeh
29f6b5cb98
allow update snoozing ( #22876 )
...
* allow update snoozing
* not immediately visible
* dismiss and close
* grey button
old-commit-hash: e528e2e3e2760c52266b126a803a0f7bb872cf3d
2021-11-11 15:32:25 -08:00
Adeeb Shihadeh
17faf6e48f
UI: button released -> clicked ( #21606 )
...
old-commit-hash: 92157480800d604b9a53873a66ecb7fcdd622535
2021-07-17 13:58:09 -07:00
Dean Lee
f587147efe
OffroadHome: separate the update and alert buttons ( #21326 )
...
* refactor
* better loop
* remove stretch
* only refreshed by timer
* fix wrong bg color
* descending sort alert labels by severity
* remove duplicate stylesheet
* Update selfdrive/ui/qt/widgets/offroad_alerts.cc
* rebase master
* qt best pratice
* split offroadAlerts
* only show first time
* short variable name
* space
* don't do refresh in every showEvent
* Revert "don't do refresh in every showEvent"
This reverts commit 2b0032fb0af7138e9d9df1ad052c589fd96d2e05.
* cleanup
rename name to key
cleanup
* add stretch back
* hide alert widgets when not alerts
* rebase master
* fix flash on startup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: e836ed7f6e9fd53f386b8dd07bcb0aa39b8f571f
2021-07-10 14:09:05 -07:00
Adeeb Shihadeh
b4e26fa46b
fix offroad alert precedence ( #21517 )
...
old-commit-hash: 5a20cc6cae95f0f3eb7518acbce8fa380fb9ad80
2021-07-07 20:07:27 -07:00
Dean Lee
63ff493fe8
UI widgets: remove unnecessary setLayout ( #21232 )
...
* remove setlayout
* remove setLayout
* space
* Update selfdrive/ui/qt/maps/map.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 8f5c7e7bb5e4796708a8be672529bf65e89edaca
2021-06-12 21:28:17 -07:00
Dean Lee
3a698faadc
Use full include path ( #21194 )
...
old-commit-hash: b06b3ecb60c651dacf079513635f7d9d99228783
2021-06-08 12:09:30 -07:00
Adeeb Shihadeh
8002b848b6
offroad alert for unregistered devices ( #20870 )
...
* offroad alert for unregistered devices
* update tests
* add param
* fix stretch
old-commit-hash: b93ccc465dbc8b847b65f7d062182465344dac4d
2021-05-11 03:18:45 -07:00
Dean Lee
cd50782410
OffroadAlert: add stretch at the bottom ( #20856 )
...
old-commit-hash: b0e2374635ba85dcbc9eeeb040dcff924b1ffb24
2021-05-08 22:21:00 -07:00
Dean Lee
e333e4f189
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 7222d0f20dc8edfe0d2f3417d1ce7c84fbd32805
2021-05-08 22:15:17 -07:00
Adeeb Shihadeh
2fb8b563eb
UI: fast startup ( #20781 )
...
* faster startup
* faster
* cleanup
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: ed3b6bd90cb882b543bfaa680c4f09f356439b65
2021-05-04 10:05:23 -07:00
Dean Lee
9a827fea20
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
old-commit-hash: 81491dc57f5080c602a0be58dd5f9feba2fa31b9
2021-05-03 11:53:11 +02:00
Dean Lee
309a873e7d
Qt: use new signal slot syntax ( #20783 )
...
* new signal slot syntax
continue
* continue
old-commit-hash: 4781598e1228b3f8707afa7237864f4cb4df9d71
2021-05-01 14:12:35 -07:00
iejMac
bcbf844dda
alerts background color fix ( #20568 )
...
old-commit-hash: 86a78581e392c7205a6ba62401ad7589963a8497
2021-04-02 14:03:49 -07:00
iejMac
a2e14a8a0c
Qt scroller class ( #20549 )
...
* initial commit
* class works
* cleanup
* naming
* text window
* fixes
* alerts are now scrollable
* dismiss
* fixed placement
* realease scrolling
* better
* better
* revert text
* naming
* parent
old-commit-hash: 9afa14c47fa40023cf1abb1956d7e2815aab9409
2021-04-01 14:03:31 -07:00
Dean Lee
405df8b165
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
old-commit-hash: 98e55996f67aaaf715c941d417ae4d3b0187f388
2021-03-30 12:54:59 +02:00
Dean Lee
86a217dca7
OffroadAlert: update alerts inplace ( #20463 )
...
* refactor
* cleanup
* use QWdiget instead of QStackWidget
* continue
* remove duplicate setMargin
* dont parse alerts if updateAvailable
* kind of works
* alerts work
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: bf1001e54b8a0a3f18fe1022f4ffd2e46f74e432
2021-03-29 21:50:16 -07:00
Adeeb Shihadeh
96378a5b91
offroad alert improvements ( #20443 )
...
* alert niceties
* cleanup
* move the button
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 0ccaec495c16111f4be47ec9e4104750efed586c
2021-03-22 22:54:22 -07:00
Adeeb Shihadeh
594c5f1f4b
remove redundant update available title
...
old-commit-hash: ce5d93da449ffb4eb5eeb869b98865f9d7253499
2021-03-21 21:06:34 -07:00
Dean Lee
38978fff45
OffroadAlert: read alert keys in constructor ( #20408 )
...
old-commit-hash: c9ac15bb96ddf7d1aa7ae4eef4436aa1648761ec
2021-03-19 13:30:51 -07:00
Adeeb Shihadeh
77bc36dc52
fix reboot button in offroad alerts
...
old-commit-hash: 4097fe150a882856fcddbcfa43640342ef5fdd6b
2021-03-15 20:14:19 -07:00
Adeeb Shihadeh
10bf2690f1
fix font weights in qt ui
...
old-commit-hash: d75ff1504876e4da40097504672f2ba360821ca3
2021-02-05 17:50:19 -08:00
grekiki
eea78cd686
Qt parents3 ( #19870 )
...
Not just parents, we also made the UI look nicer.
old-commit-hash: 2eb81aa1d33887bd11083bc4f57e6f51271198f9
2021-01-22 13:51:26 +01:00
Willem Melching
17280ef5ef
offroad alerts: put back reboot button
...
old-commit-hash: 0cf3da17be09b5cb5f3d4ea2aee5e7d927be9281
2021-01-04 11:24:06 +01:00
Adeeb Shihadeh
7dd876805f
offroad home style ( #19593 )
...
* make drive stats look nicer
* offroad alerts style
* rest of alerts
* move that
* fix up colors
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: ce48d3c91eb66924ca20c0bcbd14a74e88207997
2020-12-25 01:02:47 -08:00
Adeeb Shihadeh
6371eda194
build Qt UI with clazy ( #19537 )
...
* clazy, level0
* level1
old-commit-hash: 069189fd7fd9dc677b29725f92fd3b4b80911d8a
2020-12-18 19:26:59 -08:00
grekiki
2e07e45bed
UI style improvements with improved keyboard ( #2710 )
...
* fix spaces and make spacebar dynamically sized
* some spaces and a comment
* more spaces
* const
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 3e466aa528dfaf40063c209189bb3c9ece3bf26b
2020-12-08 12:00:51 +01:00
Adeeb Shihadeh
672d0d4727
move offroad alerts to home screen ( #2681 )
...
* move offroad alerts to home screen
* offroad aletrs work, but sidebar doesn't look nice
* fix sidebar
* looks better
* cleanup
* little bigger
Co-authored-by: grekiki <gregor1234567890@gmail.com >
old-commit-hash: 8320a153fb530f973669fa1aafa693a17d4ef035
2020-12-04 15:21:55 -08:00
grekiki
e4b5b9a297
Offroad alerts ( #2664 )
...
We now have a working offroad alerts
old-commit-hash: 744a3317e3ab608fadc9b172dd16897b8bbdc55e
2020-12-01 16:39:14 +01:00