Willem Melching
b05eb4cac6
C3: increase brightness at night a little
...
old-commit-hash: 01e779ef2d
4 years ago
Mitchell Goff
b7b87efed9
Retuned desire model ( #21919 )
...
* New model: d8e7f76f-7bec-4a83-af00-c0fae792527f/950
* Updated process replay refs
* Updated model replay ref
old-commit-hash: 05b37552f3
4 years ago
Willem Melching
e6847fc2af
Improve perceived display brightness ( #21884 )
...
* tweak light sensor function
* CIE 1931 compensation
* before filter
* C3 scaling
* C2 is also linear
* whitespace
* scaling and min brightness
old-commit-hash: 358cdaaefd
4 years ago
Harald Schafer
6695eaacd9
better name
...
old-commit-hash: 543a0c509d
4 years ago
Dean Lee
0a445b571a
fix lead2 not updated ( #21895 )
...
old-commit-hash: 339aa5e3f9
4 years ago
HaraldSchafer
331eb5d553
Draw model leads ( #21864 )
...
* draw model not radar
* compiles
* wrong way
old-commit-hash: 276b00ccb8
4 years ago
arfy slowy
63b3d6024b
fix: spelling typos ( #21861 )
...
* fix: typo spelling grammar
* revert
* Update selfdrive/locationd/calibrationd.py
* more revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d74def61f8
4 years ago
Adeeb Shihadeh
82c9f6734b
UI: maintain frequency before vipc is connected ( #21704 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b13f5e6328
4 years ago
Willem Melching
074f38171a
Fix backlight filter dt and set ts to 10 sec ( #21649 )
...
old-commit-hash: 1cf8396e4c
4 years ago
sshane
748adb4c63
ui: fix finish setup button ( #21538 )
...
old-commit-hash: c10d46d336
4 years ago
Dean Lee
c351c71641
ui/update_line_data: fix assert when max_idx = TRAJECTORY_SIZE-1 ( #21543 )
...
old-commit-hash: f554dc0ae6
4 years ago
Adeeb Shihadeh
e24ff01513
sidebar: indicator for GPS fix ( #21556 )
...
* sidebar: indicator for GPS fix
* fix cutoff
old-commit-hash: a2f9259ebf
4 years ago
Adeeb Shihadeh
468032d27e
remove gps accuracy from sidebar
...
old-commit-hash: 8b6cf406ab
4 years ago
Willem Melching
e0378d41cb
Refactor camerad exposure logging ( #21506 )
...
* simplify gain logging
* clean up metadata
* log grey fractions
* those are not used
* set grey fracs in message
* fix qcom
old-commit-hash: 47be6c751e
4 years ago
Adeeb Shihadeh
82731ecb31
UI: faster offroad transition ( #21466 )
...
old-commit-hash: 30683e6291
4 years ago
Adeeb Shihadeh
5aa30638fe
Fix UI crash when going onroad after onboarding ( #21236 )
...
old-commit-hash: d47b00b45a
4 years ago
Dean Lee
147b355dde
add space after function name and if statement ( #21225 )
...
old-commit-hash: e4e669bb0f
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
Adeeb Shihadeh
78d65db218
limit icon flickering in UI ( #21132 )
...
old-commit-hash: 2ddfd82913
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
Willem Melching
c0984ebb97
cleanup brightness params ( #21066 )
...
old-commit-hash: 93424ec6b4
4 years ago
Willem Melching
6afdeb58f1
Compute on-road screen brightness based on camera exposure ( #21024 )
...
* Compute screen brightness based on camera exposure
* fix up scaling
* remove light sensor completely
* fix gain calculation
* cleanup
* remove comment
* bump offroad brightness
old-commit-hash: 23789c9d4e
4 years ago
George Hotz
6922150ede
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>
old-commit-hash: f43671c987
4 years ago
Willem Melching
60ac2dd4c0
Update visionIPC stream and intrinsic matrix when going onroad ( #20947 )
...
* Choose correct vipc stream when going onroad
* whitespace
old-commit-hash: ccdec0291d
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
Dean Lee
ebe3a39909
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>
old-commit-hash: 533bc30c2e
4 years ago
Adeeb Shihadeh
eb79a7214e
match nvg onroad alerts ( #20854 )
...
old-commit-hash: e06f9828ea
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
Adeeb Shihadeh
7b8f164793
match nvg sidebar ( #20847 )
...
old-commit-hash: e1a58e6268
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
5d82a760db
Qt onroad alerts ( #20776 )
...
old-commit-hash: f907219957
4 years ago
Adeeb Shihadeh
201e0777aa
fix double DM sounds ( #20811 )
...
* fix double DM sounds
* debug script
* bool
* cleanup
* inf
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b9f9e2dfda
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
f5e6a0c9a0
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>
old-commit-hash: db9319405b
4 years ago
Adeeb Shihadeh
b263a8d934
UI: refactor GLWindow ( #20764 )
...
old-commit-hash: 140e6248e2
4 years ago
iejMac
79b165ba7e
ui update_sockets refactor ( #20625 )
...
* separate updates
* update
* no if
* no return
* fix
old-commit-hash: e6d210d526
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
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
30f036680b
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>
old-commit-hash: 7f56991b41
4 years ago
HaraldSchafer
eae1fa481c
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>
old-commit-hash: 7ee79c9923
4 years ago
Willem Melching
a8f562d8c3
Improve screen brightness by also using camera gain ( #20357 )
...
old-commit-hash: 8e14e17020
4 years ago
Dean Lee
6a9fe9d0c5
ui.cc: fix update_lead segfault ( #20351 )
...
* fix update_lead crash
* Check for empty list in update_lead
* use rcv_frame
* update 2 leads in update_leads
* use std::optional
old-commit-hash: fb5873bb6d
4 years ago
Dean Lee
3c98506939
ui/update_model: cleanup ( #20313 )
...
* cleanup
* fix ident
old-commit-hash: 980f8774ba
4 years ago
Willem Melching
4ddc18145b
ui.cc: lane lines have different x values
...
old-commit-hash: 1f24b1eb0f
4 years ago
Adeeb Shihadeh
1c930d1e9e
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>
old-commit-hash: d45550c424
4 years ago
Willem Melching
37db5ca9df
Use exposure for screen brightness ( #20290 )
...
* use camera to set screen brightness
* leave default
* lower default
* fix offroad
* increase offroad brightness
* ifdef ifndef
* fix qcomgp
old-commit-hash: 026a580ee3
4 years ago