Dean Lee
e81079461f
networking: draw network strength without images ( #21187 )
...
* draw network strength wighout images
* remove include qpixmap
* space
* lower case
* cleanup
old-commit-hash: 0958bd2253
4 years ago
Dean Lee
f70a79b838
Use C++ header files instead of C header files. ( #21192 )
...
* use cstring instead of string.h
* use cstdio instead of stdio.h
* remove inttypes.h
* use cstdlib instead of stdlib.h
* use cstdint instead of stdint.h
* #include <cstddef>
* cstdlib
* use cmath
* remove stddef.h
* use cassert
* use csignal
* use ctime
* use cerror
* rebase master
old-commit-hash: c53cb5d570
4 years ago
Dean Lee
a88660795a
Properly set parent for widgets ( #21196 )
...
old-commit-hash: 4a74d777f0
4 years ago
Dean Lee
d122a3a2ad
settings.cc: set parent for network & software panel ( #21197 )
...
old-commit-hash: 9e0fb09f9b
4 years ago
Dean Lee
3a698faadc
Use full include path ( #21194 )
...
old-commit-hash: b06b3ecb60
4 years ago
Adeeb Shihadeh
585d98a464
fix settings buttons not disabling if started with ignition on
...
old-commit-hash: 1c952e75b5
4 years ago
Adeeb Shihadeh
61d3b1f177
disable uploading raw by default ( #21128 )
...
old-commit-hash: c76c30fa2d
4 years ago
Adeeb Shihadeh
53be19e8bd
UI: rename developer -> software in settings ( #21117 )
...
old-commit-hash: 895c054213
4 years ago
Adeeb Shihadeh
56e9dbcf99
Qt driverview ( #21063 )
...
* CameraViewWidget
* continue
* cleanup
* mv DriverViewWindow to ui/qt/offroad
* write IsDriverViewEnabled in showEvent/hideEvnet
* sm.update(0) in onTimeout()
* CameraViewWidget
* use unique_ptr for vipc_client
* virtual draw
* fix viewport
* connected()->frameReceived()
* bg_colors use QColor
* fix draw
* rebase master
* whitespace
* apply reviews
* indent
* like onroad
continue
* white space
* continue
* show == false
* remove border
* use widget's size
* fix shadowed rect
* cleanup driverview
* fix transform
* remove video_rect
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9876723169
4 years ago
Adeeb Shihadeh
04e5fbe15e
UI: add button to check for updates ( #21103 )
...
* UI: add button to check for updates
* send signal
* this is better
* that's in the description
* revert that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 65e1d8f633
4 years ago
Willem Melching
387d5b88a0
show 'failed to fetch update' when UpdateFailedCount is updated ( #21096 )
...
* show 'failed to fetch update' when UpdateFailedCount is updated
* update text
old-commit-hash: 867f7d39fd
4 years ago
Adeeb Shihadeh
ddf151dc30
show upload toggle on tici
...
old-commit-hash: c985291e16
4 years ago
Willem Melching
f8c5f2f111
ui: offroad -> while car is off
...
old-commit-hash: f184bae8e0
4 years ago
Willem Melching
8c3d2ed644
Update UI fixes/improvements ( #21089 )
...
* Show latest update time
* utc
* make work more than once
* cleanup
* whitespace
* only while offroad
old-commit-hash: e66bbec52b
4 years ago
Maxime Desroches
88ae07b37b
UI: add missing override identifiers ( #21081 )
...
old-commit-hash: 3c058e0b64
4 years ago
Maxime Desroches
79931cc594
UI: Updated in settings ( #21051 )
...
* last update time + release notes
* remove test
* revert to previous constructor
* change label name
* time format for last update check
* cleanup
* add time formatting function
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e3f6360e45
4 years ago
Willem Melching
a207482fc7
ecam toggle: clear calibration ( #20987 )
...
* ecam toggle: clear calibration
* whitespace
* no more reboot needed
old-commit-hash: 9bb2209c8e
4 years ago
Maxime Desroches
778f54057b
UI: add decline page for the Terms and Conditions ( #20919 )
...
* add decline page
* change action + keep the same layout
old-commit-hash: d44ee69b24
4 years ago
Maxime Desroches
7042222026
Fix Terms and Training guide skip when the screen turns off ( #20942 )
...
old-commit-hash: 553e7d1cce
4 years ago
Willem Melching
efa94a89ff
Mapbox widget ( #20751 )
...
* squash mapbox stuff
* only hacks for pc
* no hack there
* only update when needed
* get destination from param
* no need for user agent
* add athena method
* change nav path color
* layout cleanups
* margin top
* add build scripts
* rename header file
* set pitch
* fix icon blinking
* keep both options
* draw on top to fix last blinking
* only recomput with gps
* fix include
* put map in onroadwidget
* update mapbox plugin to allow specifying directions url
* cycle through views
* dynamic resize
* only when present
* add map_helpers
* whitespace
* small fixes
* let scons decide
* update setup files
* implicit dependency
* fix alerts
* Update selfdrive/ui/SConscript
* move clearLayout to util.h
* only build when map.cc present
* move maps to own folder
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 86aefbe766
4 years ago
Dean Lee
5609f32cee
Cleanup includes ( #20925 )
...
* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream>
old-commit-hash: 0495426535
4 years ago
grekiki
d05c5df569
Qt ui: show open panel on startup ( #20859 )
...
* should work
* spaces
old-commit-hash: 95e8c75ebd
4 years ago
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: 7222d0f20d
4 years ago
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: ab319d4f54
4 years ago
Willem Melching
39c18d4c5a
Revert "Replace ifdefs with hardware abstraction layer ( #20801 )"
...
This reverts commit 9f2ad462f39f4c880f283b71bffbc9248a2b577d.
old-commit-hash: 3a95d3ccaa
4 years ago
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: 757d2923d2
4 years ago
Adeeb Shihadeh
2fb8b563eb
UI: fast startup ( #20781 )
...
* faster startup
* faster
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed3b6bd90c
4 years ago
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: 81491dc57f
4 years ago
Dean Lee
309a873e7d
Qt: use new signal slot syntax ( #20783 )
...
* new signal slot syntax
continue
* continue
old-commit-hash: 4781598e12
4 years ago
Adeeb Shihadeh
b263a8d934
UI: refactor GLWindow ( #20764 )
...
old-commit-hash: 140e6248e2
4 years ago
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: 0fe155b7c3
4 years ago
Adeeb Shihadeh
6d04f375e0
upload raw on tici
...
old-commit-hash: a3df0e9827
4 years ago
Adeeb Shihadeh
e5be410cd5
lte toggle ( #20683 )
...
old-commit-hash: 2eac604993
4 years ago
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: 928fbecec0
4 years ago
Adeeb Shihadeh
483ea36b96
Raw upload toggle ( #20665 )
...
* upload toggle
* better description
* icons
old-commit-hash: 11cc0b52ce
4 years ago
Willem Melching
00b19b6351
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>
old-commit-hash: 1fc7bcca43
4 years ago
iejMac
2883bab710
close android activities when settings is closed ( #20604 )
...
* close android activities
* new line
* only if activity is launched
* fix
old-commit-hash: 27ebd334dc
4 years ago
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: 57fe8488ac
4 years ago
Comma Device
c671dca363
update qt setup
...
old-commit-hash: 204d878c6f
4 years ago
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: 9afa14c47f
4 years ago
Dean Lee
405df8b165
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
old-commit-hash: 98e55996f6
4 years ago
Dean Lee
8c09067b27
faster driverview start ( #20507 )
...
old-commit-hash: 32c4cf00c2
4 years ago
Adeeb Shihadeh
bbdd55bbc6
cleanup tici networking + remove pagination ( #20528 )
...
* remove wifi pagination
* cleanup
* little more cleanup
* fix tethering button
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bd12a787ff
4 years ago
Comma Device
3766830f65
training guide: make coordinates relative to img
...
old-commit-hash: 9896438d15
4 years ago
iejMac
99b3111351
settings scrolling improvement ( #20525 )
...
* no overshoot
* removing line
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3e190435e3
4 years ago
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: c73781f840
4 years ago
Comma Device
ee9bc8cf08
fix offroadTransition signal name
...
old-commit-hash: 624065cb5b
4 years ago
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: d63dab950a
4 years ago
Comma Device
40f5b22071
show serial number in settings
...
old-commit-hash: aa457a348a
4 years ago
Adeeb Shihadeh
5ef648fe02
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>
old-commit-hash: a2084c2a60
4 years ago