Adeeb Shihadeh
4f29e600a7
prime ad: comma connect -> explorer
...
old-commit-hash: ace5ee9d466606584c4eb961c1d0e5fed38cba3c
2021-05-11 14:50:48 -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
Willem Melching
78bf4f5867
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 >
old-commit-hash: ab319d4f54a53e1a0aa1c2c0d94d56a9acef8362
2021-05-06 14:39:05 +02:00
Willem Melching
39c18d4c5a
Revert "Replace ifdefs with hardware abstraction layer ( #20801 )"
...
This reverts commit 9f2ad462f39f4c880f283b71bffbc9248a2b577d.
old-commit-hash: 3a95d3ccaae7168073410cd7d392a9564d9d45ba
2021-05-06 12:29:30 +02:00
Dean Lee
e0282ced49
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
old-commit-hash: 757d2923d2bfcda620b252e21a348ac3f87f3a63
2021-05-06 11:41:46 +02:00
Dean Lee
03f823a3fc
SshControl: use HttpRequest to get ssh keys ( #20784 )
...
* use HttpRequest
* remove eventloop
* rebase master
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 00aa20f55a6df3dbda339cc107efcd23f0c2dc5a
2021-05-04 22:28:41 -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
Comma Device
eda1bcaef9
configure SSL globally on NEOS
...
old-commit-hash: 23faedd25eb6895c86bb890fdbf4f48889ecf4c3
2021-05-02 16:29:02 -07: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
Dean Lee
ee9280d9d3
HttpRequest: passing references in signals ( #20782 )
...
old-commit-hash: ad57cd37595919c84c7c8315222a1141d10993fa
2021-04-30 23:58:12 -07:00
iejMac
ff2138d905
qt replay ( #20602 )
...
* initial commit, works
* remove nui
* working again
* visionipc
* cleanup
* cleanup
* moving VisionIpcServer to Unlogger class
* works
* tab cleanup
* headless mode
* headless mode works
* working headless mode
* gitignore update
* small unlogger refactor
* refactor param in UIState
* works, very slow, hacks
* cleanup
* works
* cleanup
* cleanup
* unused
* works for whole route
* nicer
* a little nicer
* different threshold
* maintains 1 segment window
* works with public api
* comments
* networkTimer works
* cleanup
* unified HttpRequest
* tabs
* tabs
* comments'
* gitignore
* gitignore
* only on PC
* same line else
* no changes in home.cc
* scons
* update scons
* works
* revert mainc.c
* revert home
* else
* just api + problem with api send
* works
* include cleanup
* general json fail
* whitespace
* remove active
* adding request repeater
* removing comments
* tabs
* update comment
* cereal
* fix
* trailing new lines
* grammar
* if whitespace
* indentation
* Update selfdrive/ui/SConscript
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Update selfdrive/ui/qt/request_repeater.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* works
* sort by dir
* no blockSignal
* replay is now QOBject
* cant take const char
* rename inner it
* get width and height from frame readeR
* resolve TODO
* seek in next pr
* spaces
* ui stuff
* fix CI
* remove comments
* no repalce
* trim segment fix
* remove seek from stream
* no cache key
* final changes'
* fix
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 19d962cdf37b80523deba6518057f2e860f65fee
2021-04-24 00:59:09 -07:00
iejMac
fbe27337ca
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 >
old-commit-hash: 0fe155b7c30e9db4bd08b61d8e7e325ec58ac24a
2021-04-23 21:24:53 -07:00
Adeeb Shihadeh
d1d828ad1e
UI: fix initial toggle state after #20670
...
old-commit-hash: a60effc1123254472b16bcd6ef5fbb03a2e4a5f7
2021-04-14 21:02:34 -07:00
iejMac
5dddcac027
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
old-commit-hash: 928fbecec0d88fff684f3eecf1306393ef21be05
2021-04-13 13:42:13 -07:00
Dean Lee
d33538e5f3
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 >
old-commit-hash: 57fe8488ac8bf02ea7f2eb61be2e256ece773cd6
2021-04-06 15:02:40 -07:00
Comma Device
7a01d56255
fix cut off qr code
...
old-commit-hash: 18e60751c2a1792db39731c7e0371c715a422424
2021-04-05 20:14:12 -07:00
Dean Lee
65a52f5163
remove memory leak in create_jwt() ( #20547 )
...
old-commit-hash: d14aba45803fa3b49c48914d0c38f2c8872286b4
2021-04-05 10:05:04 -07:00
iejMac
9238fade18
scrolling in text window ( #20564 )
...
* grid layout + better scrollbar
* style
* style
* tabs
* scrollbar behind button fix
* alerts background color fix (#20568 )
* horizontal style + more space for scrollbar
* fixes
* fixes
* fixes
* remove background on scroll bar
* fix horizontal overflow
* indent'
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 10e4d321977928a7314cd4149ba29ea08798820a
2021-04-03 01:18:26 -07:00
iejMac
bcbf844dda
alerts background color fix ( #20568 )
...
old-commit-hash: 86a78581e392c7205a6ba62401ad7589963a8497
2021-04-02 14:03:49 -07:00
Comma Device
c671dca363
update qt setup
...
old-commit-hash: 204d878c6f538891f36073cf364f14c6561126d9
2021-04-01 22:12:33 -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
846a43b3e4
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 >
old-commit-hash: c73781f840fd82d8969a9d66c57f5726a8a11966
2021-03-29 14:29:23 -07:00
iejMac
4a3e73ddb5
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 >
old-commit-hash: d63dab950a102bc69cca515b6f3ab4ffd896b4fd
2021-03-28 23:32:09 -07:00
Dean Lee
c5194fcb85
Qt: show username for current SSH keys ( #20508 )
...
* Show username for current SSH keys
* Update ssh_keys.cc
* Update ssh_keys.cc
* Update selfdrive/ui/qt/widgets/ssh_keys.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* rename param
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 5cd676797a21215dcf574d545f38ec2e1a0b14f0
2021-03-28 22:32:33 -07:00
Willem Melching
8c296312e3
Cache prime/points widget ( #20497 )
...
* cache prime status on homescreen
* use stacked widget
* add caching and clear on 404
old-commit-hash: d43d62561063c4d3f8b10b08d7bde9ed8bd0f395
2021-03-26 14:53:12 +01:00
Willem Melching
69cc390ffb
drive_stats.cc: fix distance rounding
...
old-commit-hash: 32330bbf8930bf20ef9ef2c54682faa5c30eff6c
2021-03-26 14:52:47 +01:00
Dean Lee
ae8893a77f
Qt: cache home screen state ( #20395 )
...
* cache drive stats
* don't parse response if it's the same as previous
* remove blank line
* cleanup
* update stats in place
* validate json
* add DriveStats to params.pyx
* cleanup
* cleanup
* remove //#include
* simplify
* add cache to RequestRepeater
* rename CachedDriveStats to ApiCacheDriveStats
* rename ApiCacheDriveStats to ApiCache_DriveStats
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 80ae6a7e1b1d1ec231c4719b677fd08b22818ce1
2021-03-26 13:29:30 +01:00
Dean Lee
7756fb0739
Qt input: pass QString by reference ( #20467 )
...
* simple arry for keyboard layout
* revert some changes
old-commit-hash: f7957f681d2b2d336d7d4ad443f08f668af2da64
2021-03-25 14:15:58 -07:00
Adeeb Shihadeh
30f036680b
Qt touchups ( #20465 )
...
* reduce minimum size
* clean that up
* consistent
* feels pretty good
* cleanup
* less laggy toggle
* openpilot
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 7f56991b41c40a765125635919a91bca55815bd6
2021-03-24 21:18:12 -07:00
Adeeb Shihadeh
fd5ea05d20
add description for SSH keys
...
old-commit-hash: c33f839e9d1b7bb4b5f87b70affbe881a2f20795
2021-03-24 00:32:09 -07:00
Adeeb Shihadeh
da90758a55
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 >
old-commit-hash: c89e17e0d53bd643fb236cd637a0041292fb9c14
2021-03-24 00:22:33 -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
fe474a58c4
fix offroad home on tici ( #20435 )
...
* grid layout was a hack
* duplicate slot
* looks better
* fix that
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 106ed2ea6664dc8332412407a87d578db01d42ff
2021-03-22 14:27:37 -07:00
Adeeb Shihadeh
e2eb4034f5
small style improvement in settings
...
old-commit-hash: 647c5804b8e8fc4cc0c43ec32d60ea0468ddb4df
2021-03-22 04:03:11 -07:00
Adeeb Shihadeh
c360723411
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
old-commit-hash: e547a97216d226135e2b3a170fe0c525cc56f0e5
2021-03-22 03:52:28 -07:00
Comma Device
c3c741af70
fix margin on c2
...
old-commit-hash: eda9538cc3e04d0fd8b45d6c73dfb1bb5f72397e
2021-03-22 00:02:49 -07:00
Dean Lee
d7cf75fc64
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 >
old-commit-hash: 8be2e07f4f56bf784bd091d81df442b2718cff84
2021-03-21 23:53:56 -07:00
Adeeb Shihadeh
594c5f1f4b
remove redundant update available title
...
old-commit-hash: ce5d93da449ffb4eb5eeb869b98865f9d7253499
2021-03-21 21:06:34 -07:00
Comma Device
20df6ce147
fix margin after setting DPI
...
old-commit-hash: 7954256a09ab609c8cf8858462116ef5ca65c75f
2021-03-20 22:00:25 -07:00
Adeeb Shihadeh
17a3d6cb68
Qt UI: offroad home touchups ( #20416 )
...
* brand
* fix overlap
* touchup prime widget
* more prime widget cleanup
* don't need background layout
* fix overlap again
* more prime
* looks pretty good
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 0b16ed9dc9a30b18998087e114acf14ff09c9708
2021-03-20 21:18:07 -07:00
Dean Lee
38978fff45
OffroadAlert: read alert keys in constructor ( #20408 )
...
old-commit-hash: c9ac15bb96ddf7d1aa7ae4eef4436aa1648761ec
2021-03-19 13:30:51 -07:00
Dean Lee
1364c0c794
QT: click outside of confirmation dialog to dismiss ( #20394 )
...
old-commit-hash: 90da15778cd69cb791bade97f75bd6c62e723200
2021-03-18 17:39:38 -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
33022f854c
fix rotation on input dialog
...
old-commit-hash: 4c84a33d01d1d2b5e8c32d3f586dd14f3830bd5a
2021-03-02 17:14:32 -08:00
Willem Melching
d83935e19d
Qt ui: fix minimum pass length
...
old-commit-hash: a0987cb0980a8b3b2501a329d5da80f960ea7b95
2021-03-01 13:55:48 +01:00