Commit Graph

35 Commits (49748d5dc109322f73b2abcbe6d5efa60a394750)

Author SHA1 Message Date
Adeeb Shihadeh 49748d5dc1
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>
2021-03-24 11:09:39 -07:00
Comma Device d72855ecb8 split 2021-03-24 10:12:09 -07:00
Adeeb Shihadeh f1da1f9cb2
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
2021-03-22 19:51:44 -07:00
Adeeb Shihadeh c17d5217d0
agnos 0.10 (#20437) 2021-03-22 16:15:17 -07:00
Adeeb Shihadeh e547a97216
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
2021-03-22 03:52:28 -07:00
Adeeb Shihadeh bf7f8b3da5
agnos 0.9 (#20363)
* agnos 0.9

* agnos 0.9
2021-03-15 19:49:28 -07:00
Adeeb Shihadeh d6beffd4d1 fix setting brightness on tici 2021-03-10 23:10:54 -08:00
Adeeb Shihadeh d45550c424
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>
2021-03-10 22:51:50 -08:00
Adeeb Shihadeh 2d79ccb9ad fix static analysis CI 2021-03-09 17:49:15 -08:00
Comma Device f126118bc0 power monitoring script 2021-03-09 17:09:25 -08:00
Adeeb Shihadeh cd86f94ec7
agnos 0.8 (#20267)
* agnos 0.8

* bump required version

* update
2021-03-07 03:08:36 -08:00
Adeeb Shihadeh 2162d8d665
agnos 0.7 (#20249)
* agnos 0.7

* update system
2021-03-05 19:05:59 -08:00
Adeeb Shihadeh 59ea5eade9 fix tici sound card check 2021-03-04 11:57:43 -08:00
Willem Melching ff1cd3de1e needs to be int 2021-03-04 13:25:50 +01:00
Willem Melching 0d02e85873 set brightness, catch exceptions 2021-03-04 13:19:30 +01:00
Willem Melching 0d635bd59d tici fix ambient temperature zone 2021-03-01 14:04:25 +01:00
robbederks 4c243da019
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
2021-02-24 15:25:06 +01:00
robbederks 8ad1c793d1
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>
2021-02-23 17:04:10 +01:00
Adeeb Shihadeh 5b74b101e3 update agnos 2021-02-19 14:05:55 -08:00
Adeeb Shihadeh d169914674
agnos 0.6 (#20077)
* updates for agnos 0.6

* timezone

* bump version
2021-02-18 18:14:34 -08:00
Adeeb Shihadeh 312b681a46
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
2021-02-16 21:39:32 -08:00
Willem Melching cf3cd54b68
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
2021-02-16 15:57:01 +01:00
Willem Melching 53bb7e3e10
Agnos v0.5 (#20023) 2021-02-05 19:54:46 -08:00
Adeeb Shihadeh cfb0390183
move agnos manifest to selfdrive/hardware (#19889) 2021-01-30 18:31:28 -08:00
Adeeb Shihadeh c95c4df51d
don't reflash agnos update if already flashed (#19944)
Co-authored-by: Comma Device <device@comma.ai>
2021-01-27 17:10:54 -08:00
grekiki 7408569c1b
Add Github SSH keys (#19879) 2021-01-27 12:07:17 +01:00
Willem Melching fe91b8a1b4
OS Updater improvements (#19914)
* Clear hashes before swapping

* add retry logic

* better retry logic

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

* remove is_eon

* str
2021-01-22 20:02:48 -08:00
Adeeb Shihadeh 8d9be50bcc
uninstall from qt offroad (#19538)
* more offroad

* implement uninstall

* just uninstall for now
2020-12-18 23:06:40 -08:00
Adeeb Shihadeh 97b2eae01f tici: implement sound check 2020-12-18 15:00:12 -08:00
Willem Melching cd6f26664c Add timeout to dbus calls 2020-12-18 14:06:49 +01:00
Willem Melching dbd7b10bae Add exception handlers to dbus network stats 2020-12-18 13:42:35 +01:00
Adeeb Shihadeh b276881fcd
agnos updater (#2600)
* agnos updater

* add manifest

* fix path

* get manifest from overlay

* update manifest

* remove merge markers

* add streaming decompressor

* dont need read all

* Unsparsify

* Fix output filename

* Optimization

* cleanup

* Small cleanup

* Read manifest from merged overlay

* Write hash at end of partition

* Sync before writing hash

* Write bytes in file

* add manifest with image sizes

* Fix manifest path

* File was closed already

* Format string

* Put raw hash

* Read hashes in launch script

* update launch script

* should be agnos version

* fix slot

* Make sure we clear the hash

* Verify partition size

* move updated

* Standalone flasher

* Don't rely on ordering

* Get path

* Debug log

* Download agnos

* Info is enough

* update manifest

* Remove f

* Check downloader return code

* Exit on wrong manifest

* Fix typos

* Set pythonpath before hardware init

* move agnos into hardware folder

* remove comments

* Fix abstractmethod

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-12-18 13:17:12 +01:00
Adeeb Shihadeh 220853730d
manager cleanup (#2634)
* start cleanup

* add uninstall to hw abstraction layer

* cleanup

* litte more

* don't build at import time

* fix tests

* don't build by default

* sync
2020-12-17 11:45:41 -08:00
Adeeb Shihadeh 8674b023ba
HW abstraction layer (#19530)
* start hw refactor

* move that

* pins

* put that back
2020-12-16 21:30:23 -08:00