Commit Graph

54 Commits

Author SHA1 Message Date
Comma Device
07e1c76eeb fix dmonitoring build after include cleanup
old-commit-hash: 6ffc183359
2021-05-08 23:30:35 -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
Willem Melching
9f2122bf4a Agnos 0.14 (#20826)
old-commit-hash: 12f17dc2f4
2021-05-06 11:52:02 +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
3e4eb2e343 handle unregistered devices (#20728)
* handle unregistered devices

* cleanup

* no uploader or athena

* clean up
old-commit-hash: 1786d04239
2021-04-22 21:03:57 -07:00
Adeeb Shihadeh
31d818b39a tici: offline big cluster while offroad (#20668)
* tici: offline big cluster while offroad

* shuffling

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9edda6fbc1
2021-04-12 23:06:24 -07:00
Adeeb Shihadeh
4fef6d01a6 tici power saving (#20644)
* start power saving

* set power save in thermald

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b0bd123445
2021-04-12 01:40:58 -07:00
Adeeb Shihadeh
bedee16223 let GPU sleep while offroad (#20640)
* better script

* let adreno sleep

* remove

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 32d317239a
2021-04-09 17:27:35 -07:00
Willem Melching
d5f1ac798a agnos 0.13 (#20635)
* agnos 0.13

* update launch env
old-commit-hash: 9790c6d0b6
2021-04-09 15:49:14 +02:00
Adeeb Shihadeh
37acb5cab5 agnos 0.12 (#20608)
* agnos 0.12

* update

* bump version
old-commit-hash: 399ac30250
2021-04-06 22:13:29 -07:00
iejMac
2883bab710 close android activities when settings is closed (#20604)
* close android activities

* new line

* only if activity is launched

* fix
old-commit-hash: 27ebd334dc
2021-04-06 19:35:09 -07:00
Willem Melching
535621bc52 Revert "Add device_type to class Hardware (#20535)"
This reverts commit 2d15844f518b4f606f61e788fc2d3d14fb21e70b.

old-commit-hash: 7372b9bba5
2021-03-30 17:36:04 +02:00
Dean Lee
75da59b835 Add device_type to class Hardware (#20535)
* add device_type to HadWare class

* always wake on PC

* use cereal::InitData::DeviceType
old-commit-hash: 9922688f8b
2021-03-30 16:13:49 +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
Adeeb Shihadeh
5ef648fe02 filter out touches while in android activity (#20515)
* filter touches while in android activity

* only check after launching activity

* move to hw abstraction layer

* little cleanup

* remove print

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a2084c2a60
2021-03-28 03:53:03 -07:00
Adeeb Shihadeh
513abe73c1 agnos 0.11 (#20461)
* agnos 0.11

* actual kale support
old-commit-hash: 936d9da567
2021-03-24 15:29:38 -07:00
Adeeb Shihadeh
51c13aa552 APK purge (#20446)
* purge begins

* release files

* remove those

* no more android

* only qt

* text and spinner

* neos update script

* update sounds

* update cpu usage

* all done

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e76c80ffa1
2021-03-24 14:30:41 -07:00
Adeeb Shihadeh
5fc14c8db3 Qt UI: power saving (#20456)
* c2 power saving

* clean that up

* that works

* add to hw

* set power

* release files

* add that

* include hw base

* pc joins the party

* util

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 49748d5dc1
2021-03-24 11:09:39 -07:00
Comma Device
b156613b2f split
old-commit-hash: d72855ecb8
2021-03-24 10:12:09 -07:00
Adeeb Shihadeh
2298d8f8f9 Qt UI: scale volume with speed (#20441)
* Qt UI: scale volume with speed

* for all hw

* way too loud for tici

* set volume

* volume

* swap
old-commit-hash: f1da1f9cb2
2021-03-22 19:51:44 -07:00
Adeeb Shihadeh
555e4630ff agnos 0.10 (#20437)
old-commit-hash: c17d5217d0
2021-03-22 16:15:17 -07:00
Adeeb Shihadeh
c360723411 Qt UI: SSH keys (#20430)
* rename

* toggle control

* SSH toggle

* hw

* qcom

* lines

* fix that

* start refactoring

* adding keys

* hacky remove

* alerts

* fix qcom ssl

* use the same widgets everywhere

* clean up

* more cleanup

* little more

* bigger

* fix tethering toggleg
old-commit-hash: e547a97216
2021-03-22 03:52:28 -07:00
Adeeb Shihadeh
aba57850e9 agnos 0.9 (#20363)
* agnos 0.9

* agnos 0.9
old-commit-hash: bf7f8b3da5
2021-03-15 19:49:28 -07:00
Adeeb Shihadeh
fb145b553a fix setting brightness on tici
old-commit-hash: d6beffd4d1
2021-03-10 23:10:54 -08: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
Adeeb Shihadeh
d26e419122 fix static analysis CI
old-commit-hash: 2d79ccb9ad
2021-03-09 17:49:15 -08:00
Comma Device
a9757908df power monitoring script
old-commit-hash: f126118bc0
2021-03-09 17:09:25 -08:00
Adeeb Shihadeh
52795d95f1 agnos 0.8 (#20267)
* agnos 0.8

* bump required version

* update
old-commit-hash: cd86f94ec7
2021-03-07 03:08:36 -08:00
Adeeb Shihadeh
582d07e928 agnos 0.7 (#20249)
* agnos 0.7

* update system
old-commit-hash: 2162d8d665
2021-03-05 19:05:59 -08:00
Adeeb Shihadeh
b3f8b886cb fix tici sound card check
old-commit-hash: 59ea5eade9
2021-03-04 11:57:43 -08:00
Willem Melching
46ecd68beb needs to be int
old-commit-hash: ff1cd3de1e
2021-03-04 13:25:50 +01:00
Willem Melching
f0da92ba5c set brightness, catch exceptions
old-commit-hash: 0d02e85873
2021-03-04 13:19:30 +01:00
Willem Melching
3844c5a2e7 tici fix ambient temperature zone
old-commit-hash: 0d635bd59d
2021-03-01 14:04:25 +01:00
robbederks
2db03fdbe2 Turn up brightness a little when UI crashes (#20142)
* implement ui check and brightness set in thermald

* fix bugs

* only set once

* duh

* forgot factor for tici
old-commit-hash: 4c243da019
2021-02-24 15:25:06 +01:00
robbederks
0f73681f8d Fix tici powerdown and add support for forcing (#20132)
* also shutdown on tici

* force powerdown

* bump panda

* abstract out shutdown and thermal config

* add comment on tici shutdown

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8ad1c793d1
2021-02-23 17:04:10 +01:00
Adeeb Shihadeh
d6022ae35d update agnos
old-commit-hash: 5b74b101e3
2021-02-19 14:05:55 -08:00
Adeeb Shihadeh
3ede01fb14 agnos 0.6 (#20077)
* updates for agnos 0.6

* timezone

* bump version
old-commit-hash: d169914674
2021-02-18 18:14:34 -08:00
Adeeb Shihadeh
05eb44115e 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
old-commit-hash: 312b681a46
2021-02-16 21:39:32 -08:00
Willem Melching
946b669ec5 Qt ui: set timeout on all dbus interfaces in wifiManager (#20090)
* set timeout on all dbus interfaces in network

* fix hardcoded timeout

* lower timeout in thermald
old-commit-hash: cf3cd54b68
2021-02-16 15:57:01 +01:00
Willem Melching
6f4437a8ff Agnos v0.5 (#20023)
old-commit-hash: 53bb7e3e10
2021-02-05 19:54:46 -08:00
Adeeb Shihadeh
ec468f88c9 move agnos manifest to selfdrive/hardware (#19889)
old-commit-hash: cfb0390183
2021-01-30 18:31:28 -08:00
Adeeb Shihadeh
5db3d3f18e don't reflash agnos update if already flashed (#19944)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c95c4df51d
2021-01-27 17:10:54 -08:00
grekiki
2ebacdc364 Add Github SSH keys (#19879)
old-commit-hash: 7408569c1b
2021-01-27 12:07:17 +01:00
Willem Melching
5ad8abdc24 OS Updater improvements (#19914)
* Clear hashes before swapping

* add retry logic

* better retry logic

* actually fail on retries exceeded
old-commit-hash: fe91b8a1b4
2021-01-25 15:52:07 +01:00
Adeeb Shihadeh
43d680c9c5 add device type to clouglog ctx (#19890)
* add device type to clouglog ctx

* remove is_eon

* str
old-commit-hash: c9679222ae
2021-01-22 20:02:48 -08:00
Adeeb Shihadeh
c20cd542eb uninstall from qt offroad (#19538)
* more offroad

* implement uninstall

* just uninstall for now
old-commit-hash: 8d9be50bcc
2020-12-18 23:06:40 -08:00
Adeeb Shihadeh
80d2ba19c0 tici: implement sound check
old-commit-hash: 97b2eae01f
2020-12-18 15:00:12 -08:00
Willem Melching
4fb90a9722 Add timeout to dbus calls
old-commit-hash: cd6f26664c
2020-12-18 14:06:49 +01:00