* add Rect struct
* simplify layout calculation by using viz_rect
* fix
* add whitespace
* use the correct value for vwp_w
* correct vwp_w again
* rebase
* dd
old-commit-hash: 8417be6f40
* refactor vision
* don't show slow frame message when in preview mode
* change draws to uint32_t
* set vision_seen=false after destroy
* remove vision_connect_thread
* refactor ui_update
* seelp 30ms when vision is not connected
* remove should_swap
* call ui_update_sizes before ui_draw
* rebase
* start bigger UI refactor
* don't need the touch fd
* fix qt build
* more cleanup
* more responsive
* more refactor
* fix for pc
* poll for frames
* lower CPU usage
* cleanup
* no more zmq
* undo that
* cleanup speed limit
* fix sidebar severity for athena status
* not aarch64
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 848301b091
* qt ui boilerplate
* this kinda works
* cleanup
* render inside other widget
* cleanup
* more cleanup
* Not needed
* Handle click
* Draw at 20Hz
* create paint.hpp
* move stuff around
* update sidebar
* Draw vision
* this works again
* add clickable settings button
* Only collapse sidebar when started
* always use qt on linux
* fix width
* scrollable area
* talk to NetworkManager
* code to add a connection
* params toggles
* small cleanup
* add qt5 to dockerfile
* Qt on mac
* Add qt to release files
* fix macos build
* nore more ifdefs needed
* add icons
* make a bit nicer
* Hide scrollbar
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e115c51452
* use struct to store lead status
* remove white space
* use RadarState::LeadData::Reader
* use reader to get thermal data
* use reader
* continue
* remove variables
reset submodules,fix some errors
reset submodules
revert
* remove s->scene.gps_planner_active
* modify
* cleanup
* done
* resolve conflict
* remove irrelevant comment
* remove white space
old-commit-hash: d720f28ecb
* ui:move c-capnp to c++
* move Subsockets into vector
* rename reader to msg
include cereal/gen/cpp/log.capnp
* fix some errors
restore some changes
restore previous
* cleanup codes
cleanup codes
* remove unused variable alert_size
* handle capnproto's enum in a robust way
add break to default
* switch -> std:map
* use static std::map instead of switch
do cleanup
* fix wrong variable name
* use FlatArrayMessageReader instead of custom MessageReader
remove messagehelp.h
Revert "use FlatArrayMessageReader instead of custom MessageReader"
This reverts commit 57d8b6b1e2b4bad908246f35eb068535b1627167.
use FlatArrayMessageReader instead of custom MessageReader
add header file
remove capnp_c lib,add kj lib
include serialize.h
fix
remove duplicate includes
old-commit-hash: ee725534bb
* store athena connected-at time
* refactor
* deref
* dt import
* Athena status based on last ping time param
* upd test for pingtime
* lower error timeout
old-commit-hash: 41bb3ac7ca
* start drawing new sidebar, add assets
* add thermal to ui, draw network_type and battery
* draw sidebar metrics, add freeSpace and paTemp
* draw static panda metric and network strength, start ubloxGnss messaging
* use array for network_img
* start sidebar touch events
* prevent multiple touch events with touch_timeout
* filter old touches, isolate sidebar events
* add hwType check with timeout for panda metric
* cleanup touch poll, handle vision touch, remove frame and black apks
* cleanup per willem comments
* update offroad, only read active_app from cereal
* tweak sidebar behavior, show active app status
* update offroad apk
* read networkstrength from thermal in sidebar
old-commit-hash: 5ba6beed17