* Indicate whether nav is enabled in UI
* update border spacing on both enabled and navEnabled change
* update less
* more
* cleanup
* simplify
* fix
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* border is for engagement state
* round shading too
* alerts =/= status
* no debug print
* Full still full
* more cleanup
* more radius
* Update mui too
* normal black
* cleanup
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
* will draw
* gradient
* bg
* add sense of depth
* refactor
* cleanup
* fix endpoint
* clean up
* use array
* 1 matmul
* lives in modeldata
* standstill only
* remove bad pts
* do less math
* smooth
* kind
* fix d
* lineswidth
* fade in and out
* hide
* quick
* gray out
* fix joints
* offset
* rest icon
* clean up
* circle as state
* longlat
* new design
* gap and g
* scaledown, fix jts and unlock not standstill
* width
* different
* intermediate
* sand
* motion effect
* vis
* fix bg
* clean up
* t
* btn_size
* small speedup
* sligh
* clean up
* facelift
* match .2
* .4 is good
* size
* no ss
* rhd compat
* less filt
* more line
* engaged
* not white
* drop prop
* this is fine
* independent falg
* sg
* dont look like hitman
* cleanup
* little more
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* ui: tap experimental mode icon to toggle
After experimental mode has been enabled for the first time (confirmed),
it can be toggled by tapping the engage-ability/experimental mode icon
in the upper right.
Closes#27002
* replace with QPushButton
* fixes
* cleanup
* draft
* draft
* before qpushbutton
* icon, clean up button, clicked goes to toggles
* fix icon
* add imgs
* img
* make square
* works with layouts!
* fix gradient
* this looks good
* clean up
* clean up
* remove padding around couch
* use scene's experimental_model, new onroad design
* rename widget
* def want 3
* update translations
* add img
* add 25px of padding!
* make 300px (no change)
* clean up old images
* 5 px smaller
* add white img
* fix from merge
* no style sheets
* see how this looks on device
* aliased vertical line (clean up)
* clean up
* imgs
* couch
* delete
* bye bye
* expand toggle support
* clean up
* fix dynamic icon
* make exp icon dynamic
* order
* move to offroad
* driverview
* auto choose
* useless
* remove
* modeld not use toggle
* remove from params
* should have commissue anyway
* delete icon file
* deal with init more elegantly and prohibit switching when engaged
* nonblock save when not unstable
* filter very low speeds
* a few more secs dont harm
* draw icon
* match
* radius
* use const
* ref commit
* new transs
* put_bool_nonblocking
* 5k route tune
* ref comm
Co-authored-by: Comma Device <device@comma.ai>
* compute x and y offsets using calibration
* fix default calibration
* clamp to max values
* only use when valid
* not while calibrating
* less diff
* cleanup zoom
* basic US design
* place based on center position
* fix typo
* eu sign without rounded box
* same as steering wheel icon
* proper rounded bottom for eu sign
* add border
* proper placement/sizes
* needs to be semi bold
* color changes
* only when engaged
* move helpers into util.h
* Fix MAX placement
* only change color when at least 5 over
* implement override state
* pixel perfect spacing around us sign
* stash
* Revert "stash"
This reverts commit f0019010e28ffb6d70b3c84666572f30c22077c9.
* new laneless ui
* clean up
* always draw lane lines
* no compensation
* make sure it's long enough
* debug time
* tune design
* tune design 2
* correct scaling with new updated curve hue
* debug time
* full test
* revert test
* move yellow back a bit
* move ui_draw_world to qt
* draw world if world_objects_visible is true
* cleanup
* cleanup includes
* continue
* cleanup
* cleanup
* enable multisampling on all devices
* navd: render simple map
* render route
* offscreen rendering
* cleanup
* more cleanup
* render into visionIPC
* rename class
* split position update from route update
* stop broadcast if not active
* gate vipc server behind flag
* add python library
* faster
* no vipc from python
* put behind extras
* only send when loaded
* add glFlush just to be sure
* cleanup settings into helper function
* function ordering
* broadcast thumbnails
* put behind param
* adjust zoom level
* add route to python bindings
* revert that freq change
* add logging if map rendering is enabled
* use rlogs if available
* bump cereal
* use CameraViewWidget
* no timer, updateFrame after frameSwapped
* use QOpenGLShaderProgram
* merge master
* remove that
* new function setStreamType
* continue
* remove showEvent
* cleanup
* cleanup
* little more
* fix black screen on startup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* draw border in OnroadAlerts
* non transparent
* no scissor
* set video_rect to the full size
* fix header gradient
* Revert "fix header gradient"
This reverts commit f5565c19d5cabda22fe6b60af23dc26727ecd5bc.
* Revert "set video_rect to the full size"
This reverts commit c012db105a8cabd140971208431d83ae3592b70e.
* fix scissor
* fix header gradient
* set scissor box to video_rect when draw lines
* move up eta
* init alert_size to NONE
* remove glScissor
* cleanup
* rename draw_video_frame to draw_vision_frame
* remove space
* add comment
* move border to OnroadWindow
* cleanup signals
* fw declare MapWindow
* fix build err
* remove viz_rect
* fix build err
* continue
* cleanup
* text rect:no border
* use signals
* remove space
cleanup
* merge master
* fix map eta
* get bgColor from alerts
* update alerts in OnroadWindow
* add function clearAlert
* repaint border
* init bg color to STATUS_DISENGAGED
* no black frame
* cleanup
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* 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>
* revive #19877
* looks like a sidebar
* more like a sidebar
* cleanup
* fix qcom2
* style
* that's the sidebar
* more space
Co-authored-by: Comma Device <device@comma.ai>