Commit Graph

76 Commits

Author SHA1 Message Date
Adeeb Shihadeh
9a45a3b99b Move selfdrive/hardware/ to system/ (#24725)
* move hardware to system/

* fix mypy
old-commit-hash: 1139fe507b
2022-06-11 16:38:24 -07:00
Adeeb Shihadeh
f4675fc260 Merge common/ and selfdrive/common (#24556)
* Merge common/ and selfdrive/common

* fix that

* fix version

* fix unit tests
old-commit-hash: cb8885cffb
2022-05-18 14:11:57 -07:00
Adeeb Shihadeh
5a9644261f remove comma two support (#24248)
* remove comma two support

* cleanup release files

* little more

* more libs

* no more gralloc

* add snpe back
old-commit-hash: 5c48e7bc86
2022-04-18 17:55:23 -07:00
Willem Melching
7e12817e02 MacOS: ensure 1:1 rendering on HiDPI screens (#23860)
old-commit-hash: ca8d4e417e
2022-02-25 14:36:27 +01:00
Adeeb Shihadeh
c491f3fc2c for those who want to live in the moment
old-commit-hash: e6d8a84578
2022-01-31 14:30:40 -08:00
Adeeb Shihadeh
9b9d6ce772 setup: add OS version to user agent (#23656)
old-commit-hash: e9cd0a059c
2022-01-28 14:21:37 -08:00
Dean Lee
0d468d6253 ui/setup: check http status code (#23597)
* check resp code

* always cleanup curl and close file

* curl_global_init

* space

* cleaner

* Revert "curl_global_init"

This reverts commit c3f1a7cee87804993ce8f5fd5939570a8e9ffd3a.
old-commit-hash: 1e906366f8
2022-01-22 13:49:03 -08:00
Dean Lee
67c748d62a refactor httprequest: emit single signals (#23039)
* refactor httprequest

* Trigger Build
old-commit-hash: 3fd0264960
2021-11-29 11:19:08 +01:00
Mayfield
43e1903073 enable wshadow (#22756)
* enable wshadow (#22714)

* fix replay

* more build fixes

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 5246f0231e
2021-11-02 17:08:53 +01:00
Adeeb Shihadeh
4099783375 add sdcard support (#22703)
* generalize

* factory reset
old-commit-hash: f4c2398db4
2021-10-26 19:34:08 -07:00
Adeeb Shihadeh
a2e6e1c021 setup: add low voltage warning (#22342)
* setup: add low voltage warning

* read voltage

* fix path
old-commit-hash: 0d0aad05ce
2021-09-24 14:30:49 -07:00
cydia2020
d3bed07840 UI: Fix mph and wi-fi spelling (#22334)
* display WiFi as Wi-Fi

* fix typo in metric setting description
old-commit-hash: 70e1c9c40c
2021-09-23 22:23:34 -07:00
Adeeb Shihadeh
9193e1afa1 Unify neos/agnos updaters (#22109)
* start moving neos updater

* downloading

* ui

* move recovery

* resuming

* add verification

* fix up launch

* test

* update updater

* fix mypy

* fake updater

* review suggestions

* more tests

* abc

* update bin

* raise

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b3705ede5e
2021-09-10 17:03:54 -07:00
Adeeb Shihadeh
80ca5b355f unify agnos/neos installers (#22023)
* c2 installer

* remove old installer

* move to its own dir

* die immediately

* fix that

* init app
old-commit-hash: 1ebe06d1c2
2021-08-23 16:01:21 -07:00
Adeeb Shihadeh
b3f073a21b system reset improvements (#21844)
* reset improvements

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4f9e568019
2021-08-03 17:44:27 -07:00
Adeeb Shihadeh
8172eb9e7f embed continue scripts in installer (#21846)
* embed continue scripts in installer

* cleanup
old-commit-hash: 31a4b55218
2021-08-03 17:32:02 -07:00
Adeeb Shihadeh
94456fd143 remove wifisetup
old-commit-hash: ae1f5e0e8c
2021-08-03 17:29:01 -07:00
Adeeb Shihadeh
c5a9d78523 use continue_dashcam for dashcam installer
old-commit-hash: 3129e058f8
2021-08-03 00:04:54 -07:00
Adeeb Shihadeh
4bec0d71d6 installer: repaint -> update
old-commit-hash: f1635eabdb
2021-08-02 10:55:46 -07:00
Comma Device
66f1ee1075 fix updater UI repaints
old-commit-hash: 56d682831b
2021-07-29 17:12:12 -07:00
Adeeb Shihadeh
f4708c153e agnos updater UI (#21776)
* start agnos updater UI

* wifi

* progress

* sometimes things fail

* fix wifi

* in launch script

* fwd

* fwd stderr

* update that

* release files

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 14d26d6d89
2021-07-29 15:57:58 -07:00
Adeeb Shihadeh
9195b93843 setup: continue without wifi (#21766)
old-commit-hash: c7d75ffb5d
2021-07-28 14:55:42 -07:00
Adeeb Shihadeh
d37a02911e precheckout installer (#21752)
* precheckout installer

* repaint

* cleanup
old-commit-hash: adb079efcd
2021-07-27 17:29:36 -07:00
Adeeb Shihadeh
56773ae0a7 back to choose software
old-commit-hash: b0da8b2281
2021-07-26 23:40:28 -07:00
Adeeb Shihadeh
5938e836cf installer: hang around after done (#21728)
old-commit-hash: a2bd5e002e
2021-07-26 17:13:48 -07:00
Dean Lee
9d12eb4d3a HttpRequest: don't send request in ctor (#21665)
old-commit-hash: c24227c3ab
2021-07-25 15:36:04 -07:00
Dean Lee
66efddac39 Qt/Networking: same border-radius as other panels (#21646)
* fix border-radius

* setup:set style for Networking
old-commit-hash: 41538753f9
2021-07-19 09:26:08 -07:00
Adeeb Shihadeh
17faf6e48f UI: button released -> clicked (#21606)
old-commit-hash: 9215748080
2021-07-17 13:58:09 -07:00
Adeeb Shihadeh
e2c0ec924d more touchups (#21634)
* wait to hide

* same msg

* networking ui fixups

* clicked

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 62077abd3c
2021-07-17 00:14:50 -07:00
Adeeb Shihadeh
dd31ac2c18 show network connecting indicator (#21631)
* spinner for connecting

* move that

* cleanup

* fix that

* connecting label

* touchups

* cleanup
old-commit-hash: 4f9ac7a1aa
2021-07-16 20:38:31 -07:00
Adeeb Shihadeh
5bdb0f7b18 more setup (#21628)
* fix up kb

* blue continue

* dashcam

* clean up
old-commit-hash: 62e63f0573
2021-07-16 15:06:10 -07:00
Adeeb Shihadeh
75886ce093 setup qt resources (#21617)
* setup qt resources

* networking

* input

* fix that

* nicer scrolling

* big eye

* fix flashing

* why is it linking against map stuff

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6039f1e7ac
2021-07-15 21:30:23 -07:00
sshane
a089058fd4 Update wifi setup design (#21604)
* wifi design draft

* ui draft 2

* draft

* updates

* fix spacing

* strength indicator

* font weight

* fix lock icon aspect ratio

* fix font weights

* new checkmark

* fix spacing

* was being applied to everything

* network handles its own padding

* fix spacing

* cleanup

* looks pretty good

* little more

* revert that

* scroll bar

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0076dd3588
2021-07-15 17:41:01 -07:00
Adeeb Shihadeh
65002c7b53 setup improvements (#21505)
* getting started

* downloading

* some more

* nice checkmark

* nice triangle

* fixup style

* wait for internet

* more responsive

* waiting for internet
old-commit-hash: ddd1342fc5
2021-07-15 16:47:18 -07:00
Adeeb Shihadeh
6c3a5179bf installer improvements (#21588)
* installer ui

* progress

* works

* cleanup

* header

* exit

* small

* revert that
old-commit-hash: 3f8c63a4d9
2021-07-14 16:46:36 -07:00
Adeeb Shihadeh
f03b70a33b reset improvements (#21603)
* reset design

* clean up
old-commit-hash: deb67ff870
2021-07-14 14:37:33 -07:00
Dean Lee
0c59f626c7 input.cc: close dialog when parent is hidden (#21318)
* close dialog when parent is hidden

* Q_OBJECT

* apply reviews

* rebase master

* rebase master

* fix wroing minLength

* merge master
old-commit-hash: 5be75f5354
2021-07-07 21:06:50 -07:00
Dean Lee
1f9a5d6bc3 installer.cc: fix wrong db path (#21494)
old-commit-hash: 4145988756
2021-07-06 10:14:07 -07:00
Adeeb Shihadeh
93461be530 add recover mode to factory resetter (#21492)
* recover mode

* clean up

* less margin

* use inter

* little nicer

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec00e71b64
2021-07-05 23:48:10 -07:00
Dean Lee
d8ac1df789 Qt: cleanup includes (#21282)
* cleanup includes

* remove include <qtwidgets>

* more
old-commit-hash: 2c6d27f482
2021-06-16 00:08:02 -07:00
Dean Lee
63ff493fe8 UI widgets: remove unnecessary setLayout (#21232)
* remove setlayout

* remove setLayout

* space

* Update selfdrive/ui/qt/maps/map.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8f5c7e7bb5
2021-06-12 21:28:17 -07: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
Dean Lee
a88660795a Properly set parent for widgets (#21196)
old-commit-hash: 4a74d777f0
2021-06-08 13:32:10 -07:00
Dean Lee
3a698faadc Use full include path (#21194)
old-commit-hash: b06b3ecb60
2021-06-08 12:09:30 -07:00
Adeeb Shihadeh
4d137f459f fix inlcude in setup.cc after include cleanup
old-commit-hash: efca6eaa70
2021-05-18 20:28:16 -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
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
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