Willem Melching
b05eb4cac6
C3: increase brightness at night a little
...
old-commit-hash: 01e779ef2d
2021-08-19 16:54:43 +02:00
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
2021-08-12 21:06:26 -07:00
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
2021-08-11 10:27:22 +02:00
Harald Schafer
6695eaacd9
better name
...
old-commit-hash: 543a0c509d
2021-08-10 11:00:35 -07:00
Dean Lee
0a445b571a
fix lead2 not updated ( #21895 )
...
old-commit-hash: 339aa5e3f9
2021-08-10 10:58:28 -07:00
HaraldSchafer
331eb5d553
Draw model leads ( #21864 )
...
* draw model not radar
* compiles
* wrong way
old-commit-hash: 276b00ccb8
2021-08-05 20:35:03 -07:00
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
2021-08-05 12:05:49 -07:00
Adeeb Shihadeh
82c9f6734b
UI: maintain frequency before vipc is connected ( #21704 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: b13f5e6328
2021-07-23 22:14:44 -07:00
Willem Melching
074f38171a
Fix backlight filter dt and set ts to 10 sec ( #21649 )
...
old-commit-hash: 1cf8396e4c
2021-07-19 10:37:24 +02:00
sshane
748adb4c63
ui: fix finish setup button ( #21538 )
...
old-commit-hash: c10d46d336
2021-07-13 14:58:54 -07:00
Dean Lee
c351c71641
ui/update_line_data: fix assert when max_idx = TRAJECTORY_SIZE-1 ( #21543 )
...
old-commit-hash: f554dc0ae6
2021-07-13 15:37:19 +02:00
Adeeb Shihadeh
e24ff01513
sidebar: indicator for GPS fix ( #21556 )
...
* sidebar: indicator for GPS fix
* fix cutoff
old-commit-hash: a2f9259ebf
2021-07-11 15:26:28 -07:00
Adeeb Shihadeh
468032d27e
remove gps accuracy from sidebar
...
old-commit-hash: 8b6cf406ab
2021-07-10 14:40:11 -07:00
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
2021-07-08 15:22:00 +02:00
Adeeb Shihadeh
82731ecb31
UI: faster offroad transition ( #21466 )
...
old-commit-hash: 30683e6291
2021-07-02 00:37:30 -07:00
Adeeb Shihadeh
5aa30638fe
Fix UI crash when going onroad after onboarding ( #21236 )
...
old-commit-hash: d47b00b45a
2021-06-11 16:17:53 -07:00
Dean Lee
147b355dde
add space after function name and if statement ( #21225 )
...
old-commit-hash: e4e669bb0f
2021-06-11 10:17:52 +02:00
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
2021-06-08 13:46:22 -07:00
Adeeb Shihadeh
78d65db218
limit icon flickering in UI ( #21132 )
...
old-commit-hash: 2ddfd82913
2021-06-03 23:06:14 -07:00
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
2021-06-01 20:59:41 -07:00
Willem Melching
c0984ebb97
cleanup brightness params ( #21066 )
...
old-commit-hash: 93424ec6b4
2021-05-28 15:45:41 +02:00
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
2021-05-26 12:21:11 -07:00
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
2021-05-18 22:37:33 -07:00
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
2021-05-18 14:17:38 +02:00
Dean Lee
5609f32cee
Cleanup includes ( #20925 )
...
* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream>
old-commit-hash: 0495426535
2021-05-17 10:31:31 +02:00
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
2021-05-14 22:47:06 -07:00
Adeeb Shihadeh
eb79a7214e
match nvg onroad alerts ( #20854 )
...
old-commit-hash: e06f9828ea
2021-05-10 22:09:36 -07:00
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
2021-05-08 22:15:17 -07:00
Adeeb Shihadeh
7b8f164793
match nvg sidebar ( #20847 )
...
old-commit-hash: e1a58e6268
2021-05-07 15:12:29 -07:00
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
2021-05-06 14:39:05 +02:00
Willem Melching
39c18d4c5a
Revert "Replace ifdefs with hardware abstraction layer ( #20801 )"
...
This reverts commit 9f2ad462f39f4c880f283b71bffbc9248a2b577d.
old-commit-hash: 3a95d3ccaa
2021-05-06 12:29:30 +02:00
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
2021-05-06 11:41:46 +02:00
Adeeb Shihadeh
5d82a760db
Qt onroad alerts ( #20776 )
...
old-commit-hash: f907219957
2021-05-04 23:23:00 -07:00
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
2021-05-03 21:38:22 -07:00
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
2021-05-03 11:53:11 +02:00
Dean Lee
309a873e7d
Qt: use new signal slot syntax ( #20783 )
...
* new signal slot syntax
continue
* continue
old-commit-hash: 4781598e12
2021-05-01 14:12:35 -07:00
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
2021-04-29 15:05:04 -07:00
Adeeb Shihadeh
b263a8d934
UI: refactor GLWindow ( #20764 )
...
old-commit-hash: 140e6248e2
2021-04-29 11:18:59 -07:00
iejMac
79b165ba7e
ui update_sockets refactor ( #20625 )
...
* separate updates
* update
* no if
* no return
* fix
old-commit-hash: e6d210d526
2021-04-12 16:08:38 -07:00
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
2021-04-07 19:12:35 +02:00
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
2021-03-30 12:54:59 +02:00
Dean Lee
8c09067b27
faster driverview start ( #20507 )
...
old-commit-hash: 32c4cf00c2
2021-03-30 11:51:18 +02:00
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
2021-03-24 21:18:12 -07:00
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
2021-03-24 01:10:31 -07:00
Willem Melching
a8f562d8c3
Improve screen brightness by also using camera gain ( #20357 )
...
old-commit-hash: 8e14e17020
2021-03-15 20:07:49 +01:00
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
2021-03-15 13:53:22 +01:00
Dean Lee
3c98506939
ui/update_model: cleanup ( #20313 )
...
* cleanup
* fix ident
old-commit-hash: 980f8774ba
2021-03-11 16:59:40 +01:00
Willem Melching
4ddc18145b
ui.cc: lane lines have different x values
...
old-commit-hash: 1f24b1eb0f
2021-03-11 15:39:37 +01:00
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
2021-03-10 22:51:50 -08:00
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
2021-03-09 17:58:26 +01:00