* Add navd folder
* prints route instructions to console
* broadcast NavInstuction without lanes
* show basic instructions and eta
* parse out lane info
* use swaglog
* clip distance on ui side
* draw lane directions
* show route
* add to process config
* add to release files
* small cleanup
* show route without gps
* pop open map on initial route
* fix error messages around no gps
* done
* make persistent process
* handle end of route
* clear route on offroad
* only one timer
* fix layout hacks
* explicit rendering at 20Hz
old-commit-hash: bef686f275
* use mapbox proxy
* remove MapboxToken param
* do not log jwt
* remove import
* move to staging url
* put has_prime in ui state
* logic was flipped
* Update selfdrive/ui/qt/maps/map.h
old-commit-hash: cca07c0c73
* 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>
old-commit-hash: a034926264
* 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>
old-commit-hash: f0389f7e2d
* Qt logging through cloudlog
* sort imports
* rename to swaLogMessageHandler
* move to util
* info is high enough
* smaller diff
old-commit-hash: 54b6a9f121
* some common changes
* rename to joystick
* add alert and update controlsd to work with joystick
* update joystickd
* Update Joystick readme
* assume we have inputs
* only send gb or steer when engaged_toggle is true
* Update instructions
* fix --ip
* Easier to understand at a glance
* much better
* -a
* receive events and send msg in same loop
* always import
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* combine logic and clean up
* use argparse
* outdated, and use normal class
* rm
* bit of a refactor
* refactor part 2 / 3
* much better (3 / 3)
* Simplify
* bump cereal and update readme
* capitalize
* Update tools/joystick/joystickd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update tools/joystick/joystickd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* make joystick abstraction class clearer
* use interp, clearer without comments
* no need to use apply_deadzone
* more explicit
* define btns and axes once
* split function by use_keyboard again, but simpler
* we can use handle_button as a reset function
* need to flip sign
* remove
* invert axes map for kb, easier to read the button mapping
* apply changes from review
* new lateral log for debug mode
* bump
* add saturated
* static alert
* joystick_mode
* conditionally subscribe
* Update selfdrive/controls/controlsd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* move params instantiation
* Spoof active and enabled
* Only allow car to engage
* no startup alert if joystick
* Update controlsd.py
* Should be orange not enabled, green enabled
* no more button states
* should work
* blue
* submaster conflates, so only send when we have an update
* final change
* remove msg
* clean up a bit
sort of clean up
clean up a bit
remove msg
* this was right
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* lowercase
* suggestions from code review
* forgot laptop
* bump to latest
* fixes
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com>
old-commit-hash: ae77f693a2
* 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
* refactor submaster
* rebase master
* CAPNP best pratice
* zero initialize
* vwp_w has not been initialized before UIState()
* no static
* rebase master
* Minimize refactoring
* cleanup
* remove gpsOk
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 533bc30c2e
* 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>
old-commit-hash: db9319405b