Adeeb Shihadeh
a2f9259ebf
sidebar: indicator for GPS fix ( #21556 )
...
* sidebar: indicator for GPS fix
* fix cutoff
4 years ago
Adeeb Shihadeh
8b6cf406ab
remove gps accuracy from sidebar
4 years ago
Dean Lee
13b2ce9391
UI: remove zoom from struct UIState ( #21520 )
4 years ago
Dean Lee
514111ca85
ui.h: const bg_colors ( #21169 )
4 years ago
Adeeb Shihadeh
2ddfd82913
limit icon flickering in UI ( #21132 )
4 years ago
Adeeb Shihadeh
9876723169
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>
4 years ago
Willem Melching
93424ec6b4
cleanup brightness params ( #21066 )
4 years ago
George Hotz
f43671c987
Move MCLK from 24 -> 19.2 mhz + Add accuracy in sidebar ( #20960 )
...
* wip
* one day i'll flip that right
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
ccdec0291d
Update visionIPC stream and intrinsic matrix when going onroad ( #20947 )
...
* Choose correct vipc stream when going onroad
* whitespace
4 years ago
Dean Lee
0495426535
Cleanup includes ( #20925 )
...
* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream>
4 years ago
Dean Lee
533bc30c2e
UI: remove duplicate capnp readers ( #20855 )
...
* 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>
4 years ago
Dean Lee
7222d0f20d
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>
4 years ago
Adeeb Shihadeh
e1a58e6268
match nvg sidebar ( #20847 )
4 years ago
Adeeb Shihadeh
f907219957
Qt onroad alerts ( #20776 )
4 years ago
Adeeb Shihadeh
8a280fbb8e
bump cereal
4 years ago
Dean Lee
81491dc57f
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
4 years ago
Adeeb Shihadeh
db9319405b
Qt Sidebar ( #20775 )
...
* 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>
4 years ago
Adeeb Shihadeh
140e6248e2
UI: refactor GLWindow ( #20764 )
4 years ago
Willem Melching
1fc7bcca43
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>
4 years ago
Dean Lee
98e55996f6
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
4 years ago
Adeeb Shihadeh
c030493eb6
sound cleanup ( #20491 )
...
* fix high CPU usage when playing repeated sounds
* fix build
* fix cpu usage
* same behavior for now
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
f811dcc0cb
always qt
4 years ago
Adeeb Shihadeh
7f56991b41
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>
4 years ago
HaraldSchafer
7ee79c9923
New KL model + laneless toggle ( #20454 )
...
* New model: 0bf38240-6b55-42b0-bcfb-da08ff5cd0b9/650
* laneless baby
* hardcode model difference for now
* kale toggle
* kale emoji
* sensible description
* make clear it is not just for ui
* emojis dont work yet
* 9671a8fe-539f-4a04-a163-54571df21139/650
* new model
* only read param on rising edge of ignition
* update toggle text
* fix that
* update refs
Co-authored-by: mitchell <mitchellgoffpc@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
d45550c424
UI HW Abstraction layer ( #20301 )
...
* start cpp hw abstraction layer
* cleanup
* only set brightness on change
* confirmation dialogs
* add to release files
* fix tici brightness
* using percentage now
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
dd603a89f6
UI: Move the variables need to be updated by socket to UIScene ( #19783 )
...
* move variables into UIScene
* rebase master
* rebase master
* rebase master
* rebase master
* rebase master
* rebase master
* fix build error
* cleanup
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Dean Lee
8db3eea6c5
UI: rename frontview to driver_view ( #20228 )
4 years ago
Adeeb Shihadeh
1c369a9009
Qt on NEOS ( #20153 )
...
* qt on neos
* cleanup
* check arch
* fix pc
* fix mac
* base libs
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
312b681a46
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
4 years ago
Adeeb Shihadeh
b3cf60cd0b
use gpsOK flag from locationd
4 years ago
HaraldSchafer
ab0456c0eb
fixup ui ( #20049 )
...
* fixup ui
* works
* new formate
* more cleanup
* works I assume we need a library somehow
* more readable
* fix lead sign
* put on road
* transformations lib
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
c2aefab553
UI: remove struct track_vertices_data ( #20018 )
...
* remove struct track_vertices_data
* space
* rebase master
4 years ago
Adeeb Shihadeh
54b59783cb
show sat count in sidebar ( #20028 )
...
* show sat count in sidebar
* fix
* revert that
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
a7fe4560a6
move global SET_SPEED_NA to function that uses it ( #20026 )
4 years ago
Adeeb Shihadeh
000bd226aa
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
4 years ago
Dean Lee
c22d6e315d
UI: mv sidebar_collapsed&viz_rect to struct UIState ( #19782 )
...
* mv sidebar_collapsed&viz_rect to struct UIState
* rebase master
* rebase master
* rebase master
* revert that
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
6bd9e5ca6a
draw lead indicator in 3D ( #19793 )
...
* lead indicator in 3D
* more
* Update selfdrive/ui/ui.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Dean Lee
6583206ed4
convert framebuffer to class ( #19800 )
...
* class FrameBuffer
* fix build error
* remove bootlog
4 years ago
Dean Lee
9efc499ed9
ui: remove satelliteCount ( #19878 )
4 years ago
Dean Lee
1796f63211
use std::map for images ( #19768 )
...
* use std::map for fonts&images
* rebase master
* use std::string
* remove cmp_str
* Update selfdrive/ui/paint.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
cc2d62a938
UI: refactor transform ( #19658 )
...
* refactor transform
* always draw chevron if there is a lead
* remove nvgSave&nvgRestore
* keep one point outside the screen
* zoom chevron
* more size
* still use margin
* still use margin
4 years ago
Dean Lee
cef469cbed
convert glutil.c to gltuil.cc & add class GLShader ( #19720 )
...
* c++ glutil
* function getUniformLocation
* rebase master
4 years ago
Dean Lee
b3107e153c
Refactor image texture stuff into class ( #19719 )
...
* Refactor image texture stuff into class
* cleanup
* Update selfdrive/common/visionimg.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Willem Melching
92257e4dff
ui.cc: fix driverview ( #19723 )
4 years ago
Dean Lee
de309b156d
Refactor alert blinking ( #19583 )
...
* add function get_alert_alpha()
* continue simplify
* reset alpha to 1.0 if blink_rate is 0
* review
* sine wave
* rebase master
* use time
* use cos
4 years ago
Dean Lee
4231b5b329
refactor ui_draw_driver_view ( #19597 )
...
* refactor ui_draw_driver_view
* continue simplify
* fix gap
4 years ago
Willem Melching
fb496c692a
VisionIPC 2.0 ( #19641 )
...
* Squashed vipc
* Update release files
* Remove else
* add visionipc to release files
* use poller in vipc receive
* opencl framework instead of lib on macos
* Fix camera webcam
* Fix opencl on mac in ui
* more webcam fixes
* typo in ui sconsfile
* Use cur_yuv_buf
* visionbuf c++ class
* Camera qcom was still using visionbuf_allocate
* Turn loggerd back on
* fix snapshot
* No build needed
* update test camerad
* no more release callback
* make encoder c++
* Revert "no more release callback"
This reverts commit e5707b07002fee665d0483d90713154efc2d70d4.
* fix exit handlers
* No need to check errno
* move release callback call
* s/VIPCBufExtra/VisionIpcBufExtra/g
* use non blocking connect
* ui use non blocking connect
* Lower condition variable wait time
* Snapshot cleanup
* bump cereal
* bump cereal
4 years ago
Willem Melching
37cb4bec63
UI: refactor model related functions ( #19657 )
...
Squashed commit of the following:
commit 7d7fb15e4cdd0e47fa38f949f79581dc611db015
Author: Willem Melching <willem.melching@gmail.com>
Date: Wed Jan 6 11:31:09 2021 +0100
no extern
commit 901893966e3f908435bceb8777253dfa916a3d91
Merge: 9816e01e d8e864e3
Author: Willem Melching <willem.melching@gmail.com>
Date: Wed Jan 6 11:27:29 2021 +0100
Merge branch 'master' into refactor_model_draw
commit 9816e01e6ff0284521fa18b07ec15b3900577687
Author: deanlee <deanlee3@gmail.com>
Date: Wed Jan 6 04:02:08 2021 +0000
fix lead_d
commit 6fa500dbce26544cc3fdeb4d9b0d2d654382a40b
Author: deanlee <deanlee3@gmail.com>
Date: Tue Jan 5 13:18:20 2021 +0000
populate model data in update_socket
commit e25db7e28c1b543a04c3e837aa44431c42dbb5b2
Author: deanlee <deanlee3@gmail.com>
Date: Tue Jan 5 12:59:13 2021 +0000
update model in function
commit 0834a3ffe7eaa080671f13c32dd6475ae5392d5b
Author: deanlee <deanlee3@gmail.com>
Date: Tue Jan 5 12:50:21 2021 +0000
continue
commit 95b08679c2593eb0770a68b3cf1a59f1fb3b74f4
Author: Willem Melching <willem.melching@gmail.com>
Date: Tue Jan 5 13:26:34 2021 +0100
Update selfdrive/ui/paint.cc
commit 0eef065ae4f96c2ee5d97b4ccdfdbf0ae4945385
Author: Dean Lee <deanlee3@gmail.com>
Date: Tue Jan 5 20:11:01 2021 +0800
Update selfdrive/ui/paint.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com>
commit 955ad9b03a176174b86b28d5bb6f48d6e2a09281
Author: deanlee <deanlee3@gmail.com>
Date: Thu Dec 31 04:45:31 2020 +0000
refactor model related functions
4 years ago
Dean Lee
0c4e2fadc8
UI:shorten variable name ( #19633 )
4 years ago
Adeeb Shihadeh
ce48d3c91e
offroad home style ( #19593 )
...
* make drive stats look nicer
* offroad alerts style
* rest of alerts
* move that
* fix up colors
Co-authored-by: Comma Device <device@comma.ai>
4 years ago