Commit Graph

1183 Commits

Author SHA1 Message Date
Dean Lee 354e909ab1 ui: smooth transition of path colors on AllowThrottle state changes (#33766)
* smooth transition of path colors on AllowThrottle state changes

* Invert blend factor when the state changes mid-animation
2024-10-11 21:08:32 -07:00
Shane Smiskol 21a8f9e9ba experimental_model typo 2024-10-10 21:07:03 -07:00
Dean Lee 6baa541501 ui: refactor model updating and rendering into ModelRenderer class (#33702)
refactor model update

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2024-10-03 10:46:05 -07:00
ugtthis c6cd23210c prime.cc/typo: Fixes variable name typo (#33678)
Fixes variable name typo
2024-09-30 09:00:00 -07:00
ugtthis 8bb7a8d310 Assets/icon: Rm redundant PNG file (#33565)
Rm redundant file - use existing png to replace

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-09-29 10:03:29 -07:00
Dean Lee fda0b70c10 ui/hud: add Q_OBJECT macro (#33638)
add Q_OBJECT
2024-09-24 15:06:04 -07:00
Maxime Desroches 23b1f2d646 fix set speed color (#33634)
color
2024-09-23 18:16:14 -07:00
Dean Lee caa33c3193 ui: refactor hud updating and rendering into HudRenderer class (#33458)
refactor hud updating and rendering into DriverMonitorRenderer class
2024-09-23 13:48:24 -07:00
Adeeb Shihadeh 80013219fe camerad: abstract out ISP handling (#33583)
* spectra and tici

* master

* move the rest

* rm stupid indirection

* start move

* multi cam state is dead

* rest is moved

* lil more

* mv that

* lil more

* fix pc build

* we haven't done rgb for a while

* bring this stuff back

* fix mac?

* no camera in ui!

* i remember why we always cut mac

* fix mac build

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-18 22:24:53 -07:00
Dean Lee 47409ab4d4 ui: refactor CameraView to serve as a generic vision stream display class (#33457)
refactor transform
2024-09-10 11:53:10 -07:00
ugtthis c8eb5916a7 Keyboard UX: Easier to type URLs (#33517)
Easier access to / and -
2024-09-09 20:20:42 -07:00
Dean Lee 343de54030 ui: consolidate prime state management into PrimeState Class (#33473)
new class PrimeState
2024-09-09 14:34:11 -07:00
Dean Lee 9e09f42ccb ui: fix texture deletion (#33480)
fix texture deletion
2024-09-06 21:59:06 -07:00
Adeeb Shihadeh e04455cbaa selfdrived: controlsd only does controls (#33485)
* selfdrived

* process replay

* lil more

* set the valids

* rename that
2024-09-06 17:16:32 -07:00
Adeeb Shihadeh f6d5f8fccf ui: controls -> selfdrive (#33487)
* ui: controls -> selfdrive

* lil more
2024-09-06 11:40:06 -07:00
Adeeb Shihadeh 53288d4dbf Move vCruise to card (#33439)
* Move vCruise to card

* cleanup drive_helpers

* works in sim

* update refs

* update that

* too slow :(
old-commit-hash: 2f3256ed8baa3d7a5c4d1befe9148dbfecb37246
2024-09-02 17:18:43 -07:00
Dean Lee 43025c2836 ui: refactor driver monitor updating and rendering into DriverMonitorRenderer class (#33375)
* Refactor Driver Monitor Updating and Rendering

add comments

* rebase master

* rename dmon to driver_monitoring
old-commit-hash: af80a13716f2ba40b6652ab188d1881385b6aa71
2024-09-01 12:11:16 -07:00
Dean Lee 1876f80699 ui: remove copy initialization of dialogs (#33427)
remove copy initialization of dialogs
old-commit-hash: dc06813beddbad82f1fe003f5a28efea7a440981
2024-09-01 09:58:22 -07:00
Adeeb Shihadeh 1b2bc44227 controlsd: split out state/alerts into selfdriveState (#33421)
* setup selfdriveState

* little more

* update refs

* migration

* all too slow
old-commit-hash: 87051803abc2a35f0260eec8976c487b877c694b
2024-08-31 18:48:17 -07:00
Dean Lee 81fc1be189 ui: fix memory corruption by using std::vector for PubMaster initialization (#33390)
Fix memory Corruption Issue
old-commit-hash: 1c19cbc437ad7fdb84f039272bc482440eb41895
2024-08-27 11:34:28 -07:00
Dean Lee a529422db0 ui: add prefix PRIME_TYPE_ to PrimeType enum values (#33371)
Add Prefix PRIME_TYPE_ to PrimeType Enum Values
old-commit-hash: 4bb00a042a7f0e60f42d4311805921b41395de83
2024-08-25 09:44:18 -07:00
Dean Lee 7098ddcd19 ui: remove QtQml and related dependencies (#33357)
* remove QtQml

* remove qtdeclarative5-dev
old-commit-hash: 4d9ee68d165fe47bd6c0f10851273cbf09ae1ac7
2024-08-23 10:56:31 -07:00
Shane Smiskol d69c1f600b ui: fix wrong path color indexing (#33350)
* fix

* clean up

* clean up

* clean up
old-commit-hash: d8c982242118b25ef2ad0dc25113907a53669593
2024-08-20 20:49:30 -07:00
Kacper Rączy e66855c54d ui: remove GPS status from the sidebar (#33304)
* Remove usage of llk in ui

* Remove GPS from sidebar

* Remove it from test
old-commit-hash: c61d504516158d1e9926cf09625bbfc87aba9664
2024-08-14 15:52:47 -07:00
Shane Smiskol e4cdccb7fd Revert "spinner: fix missing colon in QProgressBar border style" (#33263)
Revert "spinner: fix missing colon in QProgressBar border style (#33258)"

This reverts commit 3ba8a152cc8326306640c7acf307ceb385f7a4e8.
old-commit-hash: d33035872894ec06d0ededafd512132928edf207
2024-08-11 20:24:43 -07:00
Dean Lee 056426a674 spinner: fix missing colon in QProgressBar border style (#33258)
fix border style
old-commit-hash: 85d8d0eddd91baabb6bbef59a9d1f8463b70dc90
2024-08-11 10:22:52 -07:00
Comma Device 41c9dd38eb tici: update spinner and text
old-commit-hash: 33bf4bbb13ee7fbaebe8a4efe500b75ebdcf86f7
2024-08-06 11:51:17 -07:00
Dean Lee 7382299fda ui: fix wayland requestActivate warning on device (#33054)
fix wayland requestActivate warning in fullscreen mode
old-commit-hash: bd8dd65ce0e5477100e07f33d2b237111e922c62
2024-07-24 09:42:31 -07:00
Shane Smiskol 6c4afa3ef2 ui: fix flipped experimental path acceleration (#33026)
* fix

* clean up

* better comment

* Update selfdrive/ui/qt/onroad/annotated_camera.cc
old-commit-hash: 0907b30d7b87957ae14cad7954358c1d78d9a528
2024-07-19 15:39:44 -07:00
James 5cdff92d43 Re-use "is_metric" declaration (#32948)
old-commit-hash: 953e5667b1dce769611e742622e3612b0b09d9f4
2024-07-12 17:07:57 -07:00
Dean Lee 973c6c2e7e ui: remove map & navigation related code (#32836)
remove map
old-commit-hash: 669553aa37382af7e9a3d4a3b9036b949c1f9dbc
2024-06-25 21:45:44 -07:00
Adeeb Shihadeh 3b8ed67aa3 remove navigation (#32773)
* remove navigation

* lil more

* fix cabana

* revert for now

* fix docs

* move that over

* lock

* rm assets
old-commit-hash: e491c9d964a2aef07eeaa7b47f4aa9f992130482
2024-06-19 19:14:13 -07:00
Maxime Desroches 1b836bdb86 Ubuntu 24.04 (#32624)
* noble build

* workflow

* symlink

* map only for noble

* sym

* add qt to cppcheck

* cppcheck noreturn in non void funct

* get kaitai header

* kaitai header

* syntax

* try new pyopencl

* try this version

* install lsb-core manually

* support old 20.04 lsb-core

* try arm

* try latest pyopencl

* revert

* use pocl icd

* no lock

* no arm pyopencl

* new intel opencl runtime

* pin filelock

* undo

* glsl version

* new version

* build test

* remove test

* new metadrive

* remove glsl restrictions

* <optional>

* Update .github/workflows/tools_tests.yaml

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* cache

* new cache

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5c4ea14a3cb7bcb443fbee8c5b1d52c10788c9e8
2024-06-18 03:30:32 +00:00
Shane Smiskol 272216b2a8 remove uiPlan (#32721)
* remove uiPlan from ui

* remove publishing

* Update log.capnp

* Update services.py

* no uiPlan here

* Update ref_commit
old-commit-hash: 684209e077d77da0c3a12e8fda528649c5fe9edc
2024-06-11 21:31:10 -07:00
Harald Schäfer f870a968e9 Split cereal into cereal/msgq (#32631)
* squash

* fix doc

* compile device

* compile device

* Update ref

* add msgq to precommit exclusions

* No service ports

* fix compile

* address comments

* More comments

* Delete logger

* Update opendbc

* Linting

* bump msgq
old-commit-hash: e71ec4e8d7e39a56235f590227e7cb361cd8b79d
2024-06-06 14:31:56 -07:00
Dean Lee 2be5c0e970 ui/cameraview: fix deadlock on exit due to Qt::BlockingQueuedConnection (#32620)
fix deadlock
old-commit-hash: 25e15846f1a16407d674f83e1a1125f579181a67
2024-06-04 10:25:46 -07:00
Dean Lee c2b13f27b9 api: cache RSA private key (#32566)
old-commit-hash: 9908b729c8af1c608ddd9f2b3d0b1b50a58f39de
2024-05-31 21:40:53 -07:00
Shane Smiskol 2a6e025183 ui: re-generate JWT on valid system time (#32571)
* revert me

* Revert "revert me"

This reverts commit 17d815ddfc9a18f7fb9f39f89ec8b4481389b339.

* duh we have timed!

* clean up

* use clocks

* re-initialize map on SSL handshake failure (time)

* this is fine, takes some time to init

* fix

* log errors like map renderer

* more clean up

full message is "loading style failed: SSL handshake failed"

* MOAR

* we still can't swap the token live

* mbgl has its own retries that never work, don't reinit multiple times at once

* simpler

* more

* whoops

* this works

* fix from merge

* rm

* fix cmt

* only an issue calling the function inside itself
old-commit-hash: 57d64279bdd0a8935586d7f58b68edaf793a73ed
2024-05-30 02:08:31 -07:00
Shane Smiskol 3a1c7c61c6 map window: log style load errors (#32573)
log errors
old-commit-hash: c2f55a2600d6981c1f84360f7c64bbb7a893d25c
2024-05-30 01:52:43 -07:00
Adeeb Shihadeh 4356b74cca updated: finish system/ move (#32535)
* updated: finish system/ move

* add those back

* skip that

* skip whole file

* one more time
old-commit-hash: 73b02f2cda858d4ad08bc7fa4116d0d11ff79a02
2024-05-25 12:22:02 -07:00
Adeeb Shihadeh 72b6504595 Revert "ui: single-threaded CameraView (#32291)"
This reverts commit 6adb53abf4d483e70bbe36725588a05cf75681fb.

old-commit-hash: c9531b463a6cb4a2a56792046fd69f9041006d81
2024-05-18 16:34:03 -07:00
Dean Lee 4bade99d62 ui: single-threaded CameraView (#32291)
single thread cameraview
old-commit-hash: dd6e2a400b1b9543fad0c3c4a78463abf756da6b
2024-05-17 20:18:41 -07:00
Shotaro Watanabe 3913887f7d fix(ui): fix build error in onroad_home.cc without ENABLE_MAPS (#32441)
old-commit-hash: 288a3fcd8b2f5b8e62af7b29a58bfddebb82f69a
2024-05-16 11:10:22 -07:00
Adeeb Shihadeh 32ea4667c2 Revert "ui/cameraview: merge EGL Image Clearing code into clearEGLImages() (#32292)"
This reverts commit 44486989b061fbbe31aff217ec82e7ce7b604950.

old-commit-hash: d56f188854135ff4d1cf2cb6bf184a8301a82edd
2024-04-25 11:14:03 -07:00
Dean Lee d83b2f447d ui/cameraview: merge EGL Image Clearing code into clearEGLImages() (#32292)
old-commit-hash: 7e6dda546ee58d4cf05352f9ff9fab97b3e9464f
2024-04-25 11:05:45 -07:00
Dean Lee e93860f844 ui/network: add error handing for dbus call (#32164)
old-commit-hash: d7d378aeefb10b9194e14534b075615216b117af
2024-04-24 20:16:02 -07:00
Dean Lee e4d0f6da24 ui/network: add error handling for refreshFinished (#32167)
old-commit-hash: 3bcb6f82afa47405d70a3cfd6bfe7eab2fceb1b4
2024-04-24 20:15:37 -07:00
Dean Lee fd28ec25c6 ui/map: check valid before accessing PositionECEF (#31961)
check valid
old-commit-hash: 06c4a541da5ec703074024e75ab11713f3da39fd
2024-04-24 20:14:42 -07:00
Justin Newberry b9f6cb0120 ui: fix non-updating text2 alerts (#32256)
fix joystick
old-commit-hash: 3446de2b8e48ca9107746b23b9166332417d0733
2024-04-19 12:03:23 -07:00
ZwX1616 c741dca04c Toggle to always enable DM (#32205)
* permanent

* param

* correct behavior

* toggle

* need trans

* ref_commit

* translate for chs/t

* disable on P and R

* read
old-commit-hash: 1d05704d27dbe4f73c0eba7e8dad2ae84d4e205e
2024-04-17 12:56:37 -07:00