Dean Lee
7222d0f20d
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>
4 years ago
Willem Melching
ab319d4f54
Replace ifdef with hw abstraction layer ( #20843 )
...
* Replace ifdefs with hardware abstraction layer (#20801 )
* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error
* Fixes after ifdef clenaup (#20842 )
* inheritance doesnt work with static
* fix debayer
* small cleanup
* Update selfdrive/camerad/cameras/camera_common.cc
* Update selfdrive/ui/qt/offroad/settings.cc
* Update selfdrive/common/modeldata.h
* flip conditions
* fix comment
Co-authored-by: Dean Lee <deanlee3@gmail.com>
4 years ago
Willem Melching
3a95d3ccaa
Revert "Replace ifdefs with hardware abstraction layer ( #20801 )"
...
This reverts commit 757d2923d2
.
4 years ago
Dean Lee
757d2923d2
Replace ifdefs with hardware abstraction layer ( #20801 )
...
* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error
4 years ago
Adeeb Shihadeh
ed3b6bd90c
UI: fast startup ( #20781 )
...
* faster startup
* faster
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
81491dc57f
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
4 years ago
Dean Lee
4781598e12
Qt: use new signal slot syntax ( #20783 )
...
* new signal slot syntax
continue
* continue
4 years ago
Adeeb Shihadeh
140e6248e2
UI: refactor GLWindow ( #20764 )
4 years ago
iejMac
0fe155b7c3
UI: close dialogs on settings close ( #20541 )
...
* this works
* fix
* fix
* fix
* blacklist
* style
* tabs
* tabs
* temporary
* hideEvent
* fix
* changes
* dont need this
* works
* no signal
* Merge branch 'master' of github.com:commaai/openpilot into ui_close_after_timeout
* works
* cleanup
* little more cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
a3df0e9827
upload raw on tici
4 years ago
Adeeb Shihadeh
2eac604993
lte toggle ( #20683 )
4 years ago
iejMac
928fbecec0
UI: Reset settings state when hiding panels ( #20670 )
...
* git stat
* first panel and button reset
* progress
* toggles parent + list
* check if label nullptr
* style
* fixes
* fixes
* remove line
* white space
* tabs and spaces
4 years ago
Adeeb Shihadeh
11cc0b52ce
Raw upload toggle ( #20665 )
...
* upload toggle
* better description
* icons
4 years ago
Willem Melching
1fc7bcca43
ecam toggle ( #20597 )
...
* use ecam in ui
* needs reboot
* use in modeld
* typo
* effective FL is longer in center
* normalize zoom by focal dist
* read param before init
* make 2x as wide
* review comments
* more explicit
* fix camera offset
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
4 years ago
iejMac
27ebd334dc
close android activities when settings is closed ( #20604 )
...
* close android activities
* new line
* only if activity is launched
* fix
4 years ago
Dean Lee
57fe8488ac
Qt: show current calibration values ( #20455 )
...
* show current calibration
* read calibration from capnp
* use CalStatus
* cleanup calibrationd.py
* remove import capnp
* keep json writing,remove comment
* fix test error
* cleanup
* remove test_read_saved_params
* cleanup
* write out capnp
* restore test
* clean up
* get calibration from CalibrationParams
* cleanup
* update calibration when the description is visible
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
iejMac
9afa14c47f
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
4 years ago
Dean Lee
98e55996f6
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
4 years ago
Dean Lee
32c4cf00c2
faster driverview start ( #20507 )
4 years ago
iejMac
3e190435e3
settings scrolling improvement ( #20525 )
...
* no overshoot
* removing line
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
c73781f840
scrolling improvements ( #20524 )
...
* fix scrolling problem
* continue
* set panel margin in one place&add stretch to prevent title flicker
* adjust padding
* remove stretch
* no border
* fix padding
* better padding
* cleanup
* continue
* add stretch to prevent flicker
* reduce padding
* typo
* revert taht
* no background
* pretty good
* remove
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Comma Device
624065cb5b
fix offroadTransition signal name
4 years ago
iejMac
d63dab950a
disable buttons when onroad ( #20475 )
...
* disables reset calib
* works for all buttons
* naming convention + final works on PC
* stylesheets + works on manager.py
* fixing stylesheet
* add that backg
* no reviewing while onroad
* better disabled hint
* little cleanup
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Comma Device
aa457a348a
show serial number in settings
4 years ago
Adeeb Shihadeh
a2084c2a60
filter out touches while in android activity ( #20515 )
...
* filter touches while in android activity
* only check after launching activity
* move to hw abstraction layer
* little cleanup
* remove print
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Comma Device
364b083c59
UI: limit version string length for master-ci
4 years ago
HaraldSchafer
4c24385018
new description for laneless ( #20474 )
...
* new description
* emoji
4 years ago
iejMac
806226820c
review training guide button ( #20466 )
...
* works
* move the param deletion
* clean that up
* Revert "move the param deletion"
This reverts commit 31d8a65f00
.
* clean up
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
HaraldSchafer
7ee79c9923
New KL model + laneless toggle ( #20454 )
...
* New model: 0bf38240-6b55-42b0-bcfb-da08ff5cd0b9/650
* laneless baby
* hardcode model difference for now
* kale toggle
* kale emoji
* sensible description
* make clear it is not just for ui
* emojis dont work yet
* 9671a8fe-539f-4a04-a163-54571df21139/650
* new model
* only read param on rising edge of ignition
* update toggle text
* fix that
* update refs
Co-authored-by: mitchell <mitchellgoffpc@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
c89e17e0d5
add descriptions in settings ( #20453 )
...
* add descriptions
* scroll scroll
* clean up
* try this
* scrolling on touch
* better scrolling
* we can afford 30fps
* remove that
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
43ce7165c4
Remove lane change toggle and default LDW to off ( #20442 )
...
* remove lane change toggle and default LDW to off
* update refs
4 years ago
Adeeb Shihadeh
61a0129fdc
tici touch ups ( #20434 )
...
* tici touch ups
* trim
* less squish
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
647c5804b8
small style improvement in settings
4 years ago
Adeeb Shihadeh
e547a97216
Qt UI: SSH keys ( #20430 )
...
* rename
* toggle control
* SSH toggle
* hw
* qcom
* lines
* fix that
* start refactoring
* adding keys
* hacky remove
* alerts
* fix qcom ssl
* use the same widgets everywhere
* clean up
* more cleanup
* little more
* bigger
* fix tethering toggleg
4 years ago
Comma Device
eda9538cc3
fix margin on c2
4 years ago
Dean Lee
8be2e07f4f
Qt: use the AbstractControl for multiple types of controls ( #20417 )
...
* class ClickableLabel
* scrollable widget
* rename to controls.cc
* rename to AbstractControl
* cleanup
* remove useless stylesheets
* change button stylesheet
* cleanup
* better margin
* cleanup
cleanup
* remove bottom line from AbstractControl
* no scrolling for now
* add those back
* style
* clean up
* don't need a function for that
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
ddde7efb4b
Qt: update developer page when it's visible ( #20396 )
...
* simplify&cleanup
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
d34e414a65
SettingsWindow: use list instead of map to preserve insertion order for sidebar items. ( #20424 )
...
* use a list instead of map to preserve insertion order
* unused signal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Comma Device
7954256a09
fix margin after setting DPI
4 years ago
Adeeb Shihadeh
b60cd8d0a0
record front lock ( #20400 )
...
* record front lock
* only if set
* add to internal installer
* move that
* change that bck
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
d45550c424
UI HW Abstraction layer ( #20301 )
...
* start cpp hw abstraction layer
* cleanup
* only set brightness on change
* confirmation dialogs
* add to release files
* fix tici brightness
* using percentage now
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
d8418f2abe
qt confirmation dialogs ( #20202 )
...
* confirmation dialog widget
* looks pretty good
* fix qcom2
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
c7dd344f2e
neos networking ( #20165 )
...
* neos networking
* tethering
* cleanup
* stretch
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
grekiki
a53c361bd4
Qt-UI add driver monitoring view in offroad ( #20148 )
...
* should work, need to test onroad
* reduce diff
* Update home.cc
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
1c369a9009
Qt on NEOS ( #20153 )
...
* qt on neos
* cleanup
* check arch
* fix pc
* fix mac
* base libs
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
f9d8652cbd
Qt UI refactoring + improvements ( #20033 )
4 years ago
Adeeb Shihadeh
d75ff15048
fix font weights in qt ui
4 years ago
grekiki
7408569c1b
Add Github SSH keys ( #19879 )
4 years ago
Willem Melching
c9aa9b0178
qt ui: remove line between poweroff/reboot
4 years ago
grekiki
2eb81aa1d3
Qt parents3 ( #19870 )
...
Not just parents, we also made the UI look nicer.
4 years ago