Commit Graph

86 Commits

Author SHA1 Message Date
Adeeb Shihadeh 1c9742d3dd agnos 0.23 (#21740)
* agnos 0.23

* bump
old-commit-hash: bb507dc8fedff38d486b1ecf1a3159750a4d7205
2021-07-27 02:08:34 -07:00
robbederks c0957e78b6 do not update splash partition anymore (#21727)
old-commit-hash: ec9b7833fad6f86e80970da6cf4bffe00f6691a5
2021-07-26 16:35:04 -07:00
robbederks e31f004593 Tici sound improvements (#21722)
* tune amp config and add EQed sounds

* fix release files

* bump up max

* cleanup

* more volume

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cebddc94c4903d04463ceb4c991ca813ea2a45a0
2021-07-26 16:28:41 -07:00
Adeeb Shihadeh 7853096383 agnos 0.22 (#21633)
* agnos 0.22

* stagign

* update
old-commit-hash: 19f7cabcd1800fb204e0a1e6778ddb2fa488dc2d
2021-07-17 14:52:50 -07:00
Willem Melching 63ac13feee agnos.py: retry swap (#21608)
* retry until success

* try this

* redirect stderr

* also check positive

* add logging

* f string
old-commit-hash: f4d87cecf7d752b7fc562e021fae905e0573314c
2021-07-15 16:11:10 +02:00
Willem Melching cf2f6b964d Athena getNetworks method (#21597)
* add iwlist scan

* return using athena

* add lte

* add last one too

* unused

* add release files

* more compact

* typo

* remove debug code

* different file

* array

* rebase mistake
old-commit-hash: a7aa22253bf607c6cc3087b3e0471d6d1b52126b
2021-07-14 16:16:45 +02:00
robbederks 6e867a05cf Tici: amplifier config (#21596)
* amplifier config on boot

* add to release

* another spot

* add debug when running separately

* rename for clarity
old-commit-hash: cbae2899df9975c7e6762fa12a48f8730bde7df2
2021-07-14 15:53:39 +02:00
Willem Melching d136144d45 hardware: only create dbus objects when needed (#21576)
* only create dbus objects when needed

* fix typo

* use cached_property
old-commit-hash: 45d4f8301be7f686c359fad00dc837066c325ca0
2021-07-13 16:22:22 +02:00
Adeeb Shihadeh 55d3871a5e fix agnos updater bug + type hints (#21566)
* add type hints

* fix bug

* more hints
old-commit-hash: 21c798191906155718d4d3e45e7e8551a6f03a33
2021-07-12 15:22:44 -07:00
Adeeb Shihadeh 3e5a5c0a14 agnos 0.21 (#21559)
* agnos 0.21

* update

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b0e3c35edd9820239d650766e05c90997bdadad1
2021-07-12 17:33:45 +02:00
Willem Melching f973c0bc04 cloudlog modem version (#21562)
* log modem version

* whitespace
old-commit-hash: fb8f0ac09213014095358f937e7be2b2d22bb4c6
2021-07-12 15:52:09 +02:00
Adeeb Shihadeh 84d3990cc8 clamp gpu usage to fix thermald crash (#21548)
old-commit-hash: 3adfd1d53bfe7d1ddb7be2299fbac56fac025a41
2021-07-10 22:29:38 -07:00
Adeeb Shihadeh f725c5dc2a remove modem logging (#21497)
old-commit-hash: a6efe9a6b7b3bd054822c2fe71329939d30d1fef
2021-07-06 13:51:45 -07:00
Adeeb Shihadeh 45481ab6e0 agnos 0.20 (#21488)
* agnos 0.20

* prod image
old-commit-hash: 266d1bdeacc18932cd4bdcfcacda9a95768bc31e
2021-07-06 10:32:10 -07:00
Willem Melching c8810406da tici: flash bootloader partitions from manifest (#21399)
* move swapping to python

* only create downloader if needed

* typo

* number

* add sanity check

* boot full check to test

* manifest is required argument

* implement full hash check

* off by one

* new manifest

* only write tag for system

* bump splash

* review comments part 1

* trigger update

Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
old-commit-hash: 7c6bf89e043fe559b3bc4d19391c9c9af095a998
2021-06-30 14:20:58 +02:00
Adeeb Shihadeh 5cb60b9211 log GPU usage on NEOS (#21440)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4f019cebc83e563ce8b104160d2c68975cfbea97
2021-06-29 16:02:56 -07:00
Willem Melching 30fff7fead Log gpu usage (#21404)
* Log gpu usage

* 100 total

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ad7f0207ac9c587c2e1740c61bddad5fbba11296
2021-06-29 13:55:18 -07:00
Adeeb Shihadeh 68865460ad cleanup eon hw abstraction layer (#21396)
* cleanup eon hw

* handle none from getprop
old-commit-hash: 8ac7ee6bc6041db3936758ed8a6ba6aa55f16163
2021-06-24 01:06:19 -07:00
Adeeb Shihadeh 358067325e diag logging (#21360)
* rat

* log max power

* cloudlog

* no print

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1da3ab42dc9cc87a9477d5b2d74165ec826f0a53
2021-06-23 23:53:22 -07:00
Adeeb Shihadeh 28c60666ff tici: differentiate ethernet and tethering (#21391)
* differentiate ethernet

* fix tethering

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 050a89e5981a1cf48abec38c9c7a362092e7dad2
2021-06-23 15:55:51 -07:00
Adeeb Shihadeh af6d31218b log network info on neos (#21375)
* log network info on neos

* log earfcn

* cleanup

* capn

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 54c2292b413336c037c717ce9306d73859cef213
2021-06-22 17:15:18 -07:00
Adeeb Shihadeh 8e6b9f872c agnos 0.19 (#21365)
old-commit-hash: 687560fc98e1912ed3e618ab38ef2b5406caa347
2021-06-21 15:39:13 -07:00
Dean Lee 147b355dde add space after function name and if statement (#21225)
old-commit-hash: e4e669bb0fc1a919dfb38800099f8e3ad52346f1
2021-06-11 10:17:52 +02:00
Josh Smith 2cae3a3799 Add type hints, small cleanups (#21080)
* improve tools.lib.kbhit and tools.sim.lib.keyboard_ctrl

* unpack more efficiently

* minor improvements

* agnos.py match spec better

* manual_ctrl test missing queue arg

* fix incorrect type annotation

* queues are generic

* varname reuse resulting in incorrect type inference

* bytes().hex() rather than bytes.hex(bytes())

* a bit of type hinting stuff
old-commit-hash: 77321dbac4ebfedf9cb5e9085e16055346299749
2021-06-03 12:21:04 +02:00
Willem Melching 4ef35bdc0d Agnos 0.18 (#20977)
old-commit-hash: 57591ed3aa924291ea7e27b40def32a33ad34d55
2021-05-20 18:18:37 +02:00
Willem Melching 47b1b6042b add modem state to NetworkInfo
old-commit-hash: 7a8c7505d0135408a2d756c3b029ac13f583083a
2021-05-20 14:49:59 +02:00
Willem Melching 52d4a9b377 agnos 0.17 (#20966)
* agnos 0.17

* update launch env
old-commit-hash: 9aff4b657ee2862f29e659e62e071e7dc87cbd28
2021-05-19 14:49:39 +02:00
Adeeb Shihadeh 5baaa193d4 agnos 0.16 (#20957)
* agnos 0.16

* update manifest
old-commit-hash: ffc3a6b8d8f5dccbe9f9b711b405a149cbda5ac6
2021-05-18 19:38:33 -07:00
Willem Melching caabd56607 Add engineering output to deviceState.networkInfo (#20948)
* Add engineering output to deviceState.networkInfo

* update cereal
old-commit-hash: e8641f643056bc6719559ea264121a52bcf79ed9
2021-05-18 14:08:08 +02:00
Willem Melching 7477a8c296 Agnos 0.15 (#20944)
* agnos 0.15

* update launch env
old-commit-hash: b4af5418777dda84a4213a3eb949d3e1ce20f8d7
2021-05-18 13:03:36 +02:00
Willem Melching 46315123bd get_network_info: check response length
old-commit-hash: def141571c38423fbf921da9ec858ca53da6d94e
2021-05-17 23:08:20 +02:00
Willem Melching b3873f00a4 thermald: fetch more detailed network info (#20928)
old-commit-hash: f6cf350d3ad34fccef4e982af07cf95b5f96fe59
2021-05-17 13:10:08 +02:00
Comma Device 07e1c76eeb fix dmonitoring build after include cleanup
old-commit-hash: 6ffc183359f4823158f22fa332fb013c2c16795f
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: 7222d0f20dc8edfe0d2f3417d1ce7c84fbd32805
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: ab319d4f54a53e1a0aa1c2c0d94d56a9acef8362
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: 3a95d3ccaae7168073410cd7d392a9564d9d45ba
2021-05-06 12:29:30 +02:00
Willem Melching 9f2122bf4a Agnos 0.14 (#20826)
old-commit-hash: 12f17dc2f41acdb005fdbe7e0d993324b5d10beb
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: 757d2923d2bfcda620b252e21a348ac3f87f3a63
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: 1786d042396bcc079be5de33ed900f48effcec17
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: 9edda6fbc1e4030e2e86ec7041d81c39cd27c8a0
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: b0bd1234455ab3c2ae15290fa42a6513df0c79b4
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: 32d317239a1804d6b8132b49d6de91646e111f63
2021-04-09 17:27:35 -07:00
Willem Melching d5f1ac798a agnos 0.13 (#20635)
* agnos 0.13

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

* update

* bump version
old-commit-hash: 399ac302507c0be7bcde7e8e7d04c444e4b90127
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: 27ebd334dcccbd7bbd6280ed2bb57cbad456a6c7
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: 7372b9bba5829f08d201a0226a7a86fd2d554e04
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: 9922688f8b43425b16b9be6e445dfa87348055e4
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: 98e55996f67aaaf715c941d417ae4d3b0187f388
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: a2084c2a601ba138c41494420f8275295357981f
2021-03-28 03:53:03 -07:00
Adeeb Shihadeh 513abe73c1 agnos 0.11 (#20461)
* agnos 0.11

* actual kale support
old-commit-hash: 936d9da5671925063de011eadae0a193289a401a
2021-03-24 15:29:38 -07:00