Commit Graph

2249 Commits

Author SHA1 Message Date
Adeeb Shihadeh 864f32ce1b quick lgtm fixes
old-commit-hash: 4acc82604d456dc5280e62f946f3fdd1e0ce5810
2020-09-19 12:53:36 -07:00
Adeeb Shihadeh 69c45af274 alertmanager type hints (#2201)
* alertmanager types

* clean that up

* more cleanup

* little more

* space
old-commit-hash: 15e4048318c2bf2e3e064c3f1e7e288edb9f902c
2020-09-19 10:53:14 -07:00
VirtuallyChris c95b35f5cd 2019 C-HR fw
old-commit-hash: 6da22dd4b652716ee98ee4e96010f5451f5e2a50
2020-09-18 18:43:21 -07:00
Adeeb Shihadeh 98135d4482 tici: set volume at 90%
old-commit-hash: 002e0065cb7a57b03eddc346ef6986de1be0532c
2020-09-18 14:54:12 -07:00
ZwX1616 e8cbf6cf11 revert tici ui rotate
old-commit-hash: b3fad609d9886e55696529290acdc70263e59fff
2020-09-18 14:12:03 -07:00
ZwX1616 6045fd3b1c tici camera art (#2188)
* nerf highlights

* prioritize less noise

* no overhead

* make focus easier

* cant finetune under high gain

* add some comments

* inspired by xx mindset

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 911206fc414904962f0543e605c9ee70945c70ff
2020-09-18 11:43:41 -07:00
Willem Melching 5d817c4f46 tici: take into account frame timestamp (#2199)
* compensate for frame processing time

* add rolling shutter time

* Add max frame delay of 250ms

* only delay on tici
old-commit-hash: 3a494e144bd85166fe347cf3c0b8bfbf22d8e462
2020-09-18 17:42:29 +02:00
Willem Melching 5ebb082216 Only run rtshield when onroad
old-commit-hash: 39fc171f91238c969d815541a371013267ffe92a
2020-09-18 13:48:58 +02:00
Willem Melching c26ae3dcb5 Get power usage from current sensor (#2192)
old-commit-hash: 73a2067be33ba3a6737a8817c3a3b6ffd0e542d9
2020-09-18 12:25:55 +02:00
Adeeb Shihadeh 8221c26fab type hints for alerts and fix community feature alert (#2196)
* fix startup alert for community features

* type hints for alerts

* more type hints

* fix dashcam only alerts

* more type hints
old-commit-hash: a81a18205e85ac576a5cf5e330e3f7b99fcb4152
2020-09-17 22:06:31 -07:00
Adeeb Shihadeh 806d0961d7 promote hyundai palisade to offically supported (#2195)
old-commit-hash: b5466002ad33ba5f6ccde64713c4ae2daf282332
2020-09-17 21:35:30 -07:00
Adeeb Shihadeh 86bb0caf66 Realtime shield (#2194)
* cpu 3 shield

* set priority before affinity

* add to release files

* only run on android
old-commit-hash: b341fdc6444b7dee5c949a67584ed1ab7145b91f
2020-09-17 15:49:14 -07:00
Adeeb Shihadeh 241ed1b312 these should be debug logs
old-commit-hash: 92922ce2ae0814670d69cdcd460fb6c13d2b7ba2
2020-09-17 13:14:18 -07:00
Willem Melching 3ff821f18c tici: offroad ui powersave (#2191)
* ui powersaving

* Lower brightness even more
old-commit-hash: 9330070bb5b4afd424841cd97c3c9bf5cb8d33fb
2020-09-17 15:50:09 +02:00
Willem Melching d455516765 Tici hardware abstraction layer (#2183)
* rename android hardware

* add tici class

* elif

* read correct serial number

* Update release files

* Get IMEI

* Refactor AT command

* move get_cmdline into base class

* Remove unused import

* Small cleanup
old-commit-hash: c90cb1b529c24580f8351c046f2b5b022a956ba8
2020-09-17 13:36:42 +02:00
grekiki 398796a010 FileReader: cache files locally (#2170)
* framework for updates

* File caching

* update .gitignore

* update .gitignore

* Store in home tmp directory

* fix bugs in old code, add tests

* add test

* revert bug

* Fixed some bugs, more testing

* doing some style fixes

* Update caching with lenghts

* doing some style fixes

* doing some style fixes

* doing some style fixes

* subrepositories

* try to fix the tests

* change submodules back

* doing some style fixes

* if we don't cache, we don't cache length either

* fix curls

* make sure tests run in ci

* Cleanup tests

* Use int for cache flag

* fix linter

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 05b64257dfac3e240135e9f40eb5ebaa8f97fdcb
2020-09-17 13:03:34 +02:00
Adeeb Shihadeh 2f8213f997 rt debug scripts (#2165)
* rt debug scripts

* bigger buffer

* cleanup

* move to internal

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ebab66062248012fe6c1a25a6d789297849cb868
2020-09-16 17:42:37 -07:00
Comma Device c6cfa6e30f fix tici ui lag
old-commit-hash: 45c58f561aa516da55b4e6371c32e675193ee164
2020-09-17 00:13:54 +00:00
VirtuallyChris 5d6caa2b2c Add 2020 Highlander and Ridgeline fw
old-commit-hash: 2163b1e1df5d2779a0f3061b29f180eb9f413974
2020-09-16 17:01:30 -07:00
Adeeb Shihadeh 7bd98df410 add android procs to cpu usage sript
old-commit-hash: 33ad9d67eafa13f1c608368136a37e0a08a5bb68
2020-09-16 15:47:44 -07:00
Adeeb Shihadeh bdf52941c8 Improve realtime performance on NEOS (#2166)
* fix setting core affinity

* dmonitoringd doesn't need rt priority

* android only gets two cores

* model and planner get core 2

* log missed cycle count

* neos update

* prod image

* revert NEOS changes

* still need this
old-commit-hash: ef21b83937d25b824018ac1d07fa7759ae6f8128
2020-09-16 15:33:12 -07:00
VirtuallyChris d864dc4cf1 Update readme for 2018 Lexus RX
old-commit-hash: d559678c4e278c622a30b43e767856da88e57e4f
2020-09-16 14:16:18 -07:00
Erich Moraga 19c4951157 Add CAR.LEXUS_RX various missing firmware (#2189)
@fire#7210  2018 RX350L  DongleID/route  45b442be1779b307|2020-09-15--12-04-24
old-commit-hash: 60d5cb2be598c9ca81b5133843afe12bb44433a6
2020-09-16 14:15:23 -07:00
Erich Moraga be7fd552a1 Add firmwares for CAR.COROLLA_TSS2 (#2185)
jun Jin#6444 2019 Malaysian Corolla sedan w/ TSS2
DongleID/route 7bc774bc8e17fd8a|2020-09-16--14-28-46
https://discord.com/channels/469524606043160576/524327905937850394/755781555779010630
old-commit-hash: fd3cc05149c3c35e367b46c059269a45c723244f
2020-09-16 13:35:59 -07:00
Dean Lee e663ec864a remove unused submaster (#2187)
old-commit-hash: 8f45685c916cbc9e8c873844504e089a83d6dcf3
2020-09-16 11:11:07 -07:00
Willem Melching 291d150a3c hub is handled by systemd gpio service (#2172)
old-commit-hash: 855f52c3e0c8fc732d472a888eb2c5dff466c6e6
2020-09-16 17:58:46 +02:00
Willem Melching 47b5b1516d tici: fix ui rotation (#2184)
* rotate ui 90 degree

* put rotation behind ifdef

* Also ifdef that

* ui intrinsic_matrix

* that doesnt do anything

* Keep parent on non qcom
old-commit-hash: 9bbb1663033776918a33846879bad0b22c33d2fc
2020-09-16 17:46:08 +02:00
Willem Melching 8f1c60698c disable CI simulator container build until fixed
old-commit-hash: bacc387ee688b03bfe87a73513438f45fffea052
2020-09-16 13:31:29 +02:00
Willem Melching 67e6c9d790 bump opendbc
old-commit-hash: 6cd475f9a2a30178bf568eca17e70293ce9fb779
2020-09-16 11:40:57 +02:00
Shane Smiskol 0840445e0b Update 17 Corolla safetyParam (#2175)
old-commit-hash: 23b38a878bf9b1769b06853cde71dab201edebef
2020-09-16 11:40:19 +02:00
Adeeb Shihadeh 8fede85429 remove schedule-triggered CI workflow (#2178)
old-commit-hash: 54eb160e15b2f12f06c0d05ac3336ee77a235f17
2020-09-15 21:48:27 -07:00
Greg Hogan f1835a740a more pipenv version updates
old-commit-hash: be2b093d6ea74a9d6b6eb5a4b7858b0889bb29c9
2020-09-15 18:25:16 -07:00
Greg Hogan 95516d3ea4 update pipenv install
old-commit-hash: cad76bf28b2d1c0f92f3b0b728db56fd9984e601
2020-09-15 18:04:53 -07:00
VirtuallyChris 05bb8d23dc Fix typo
old-commit-hash: 47c1d6a2f5301a5ed1e69dc658067017a2a72e19
2020-09-15 16:15:51 -07:00
HaraldSchafer 805a86b0dd only do reset if already calibrated (#2176)
old-commit-hash: 0b849d5a4e417d73e4b821b909839f379d70e75d
2020-09-15 07:44:13 -07:00
Adeeb Shihadeh 0caedb9195 bump max vision clients for tici
old-commit-hash: 0604f194b3d904e4e21b8ce545ccff408e90faba
2020-09-14 21:29:46 -07:00
Comma Device d1c9b43931 fix tbuffer img tearing
old-commit-hash: c9183c11bd583da81aa769d9b9ddaaecd86f6d56
2020-09-15 03:32:29 +00:00
Adeeb Shihadeh 64b92f49da fix stretched UI on pc
old-commit-hash: 16f40e6ff3f19af9d6d9c68fafbf142f5eb61271
2020-09-14 19:07:14 -07:00
ZwX1616 fb77feccd8 improve tici camerad robustness (#2135)
* equalize performance on three threads

* need to request first

* clean up indexing

* obsolete

* handling skips and drops

* clean up repeated chunks

* use main frame id

* oneshot

* real skip check

* move to test

* should be cropped H here

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 13588e4255e3667459bc5b23068dbccd2fab2a39
2020-09-14 16:05:57 -07:00
Comma Device 23d0571312 need to free tici DSP asap
old-commit-hash: 3801374da98197f375e28e73ead0a227389c4256
2020-09-14 22:03:13 +00:00
Adeeb Shihadeh d1a24a4452 cleanup README PC section
old-commit-hash: 916c3b4c53fe94ed55be6059f1d6c765ea11e51b
2020-09-14 13:13:29 -07:00
ZwX1616 6f3c2fba6e Cut down unnecessary DM uncertain alerts (#2157)
* cut down high std alerts

* clean comments

* uncertain curve tune

* update test gt

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a2adfdb155f2293d9a2e7be11e81af8c020f011b
2020-09-14 10:43:19 -07:00
grekiki 7accebd4a7 Update README.md (#2156)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
old-commit-hash: 2adc4c23db104c2a7cbf4c9a8a9cc7926c19a94e
2020-09-14 16:13:49 +02:00
HaraldSchafer d36675e618 Auto reset bad calibration (#2151)
* initial commit

* thanks pylint

* smoooooth

* cleanup

* cleaner

* switched

* always decay weight
old-commit-hash: df99316621ae51870a92fdc767ec4651261b7314
2020-09-14 04:02:58 -07:00
Dean Lee ef811e1105 use MessageBuilder::toBytes (#2167)
old-commit-hash: 272f60221c45cc543660a5e491cb800182c8b8f2
2020-09-14 01:17:00 -07:00
Adeeb Shihadeh 218c3d3de7 send initial calibration packet immediately
old-commit-hash: 74801bd216601df2ff38d853787139337a375c3c
2020-09-13 13:54:14 -07:00
Dean Lee 7cee5aae63 more messagebuilder (#2162)
* more messagebuilder

* little more

* revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9fa56b4eab62b5d793e6c6d714c9dbab47bb3f0a
2020-09-13 13:00:06 -07:00
Adeeb Shihadeh bc5a293de9 set canValid for mock car
old-commit-hash: ea06941d4d023b82eae8f9d342f972c4744353a1
2020-09-13 11:32:37 -07:00
Adeeb Shihadeh ac3422fc0f message builder (#2161)
* use custom MessageBuilder from cereal

* use MesageBuilder.toBytes

* bump cereal

* unused

* another one

* fix ui msg

Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: 4d5733924a2fdd8a3bbaf5f48869ac744b983401
2020-09-12 21:48:15 -07:00
Adeeb Shihadeh c3980a9cc2 bump cereal
old-commit-hash: 71562d6180e6e740fc154e983cb50d416f4cb08c
2020-09-12 20:06:18 -07:00