Commit Graph

16653 Commits

Author SHA1 Message Date
qadmus c613f8dfcc cleanup long planner, mpc: unused globals and arguments (#2211)
Co-authored-by: user <email@web.com>
old-commit-hash: 72e0ac2de1
2020-09-21 11:43:28 +02:00
Willem Melching d849706bc9 remove parallel url downloader
old-commit-hash: 927ef086f7
2020-09-21 10:32:08 +02:00
Willem Melching 2b95a9fec2 Revert "tici: take into account frame timestamp (#2199)"
This reverts commit 58dc2982af6593d7a31464342d80190fa365287e.

old-commit-hash: 65e5032a97
2020-09-21 10:31:01 +02:00
Adeeb Shihadeh 58f07d754c add type hints to selfdrive/version.py
old-commit-hash: 0040ac987a
2020-09-19 14:55:27 -07:00
Adeeb Shihadeh 864f32ce1b quick lgtm fixes
old-commit-hash: 4acc82604d
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: 15e4048318
2020-09-19 10:53:14 -07:00
VirtuallyChris c95b35f5cd 2019 C-HR fw
old-commit-hash: 6da22dd4b6
2020-09-18 18:43:21 -07:00
Adeeb Shihadeh 98135d4482 tici: set volume at 90%
old-commit-hash: 002e0065cb
2020-09-18 14:54:12 -07:00
ZwX1616 e8cbf6cf11 revert tici ui rotate
old-commit-hash: b3fad609d9
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: 911206fc41
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: 3a494e144b
2020-09-18 17:42:29 +02:00
Willem Melching 5ebb082216 Only run rtshield when onroad
old-commit-hash: 39fc171f91
2020-09-18 13:48:58 +02:00
Willem Melching c26ae3dcb5 Get power usage from current sensor (#2192)
old-commit-hash: 73a2067be3
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: a81a18205e
2020-09-17 22:06:31 -07:00
Adeeb Shihadeh 806d0961d7 promote hyundai palisade to offically supported (#2195)
old-commit-hash: b5466002ad
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: b341fdc644
2020-09-17 15:49:14 -07:00
Adeeb Shihadeh 241ed1b312 these should be debug logs
old-commit-hash: 92922ce2ae
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: 9330070bb5
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: c90cb1b529
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: 05b64257df
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: ebab660622
2020-09-16 17:42:37 -07:00
Comma Device c6cfa6e30f fix tici ui lag
old-commit-hash: 45c58f561a
2020-09-17 00:13:54 +00:00
VirtuallyChris 5d6caa2b2c Add 2020 Highlander and Ridgeline fw
old-commit-hash: 2163b1e1df
2020-09-16 17:01:30 -07:00
Adeeb Shihadeh 7bd98df410 add android procs to cpu usage sript
old-commit-hash: 33ad9d67ea
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: ef21b83937
2020-09-16 15:33:12 -07:00
VirtuallyChris d864dc4cf1 Update readme for 2018 Lexus RX
old-commit-hash: d559678c4e
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: 60d5cb2be5
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: fd3cc05149
2020-09-16 13:35:59 -07:00
Dean Lee e663ec864a remove unused submaster (#2187)
old-commit-hash: 8f45685c91
2020-09-16 11:11:07 -07:00
Willem Melching 291d150a3c hub is handled by systemd gpio service (#2172)
old-commit-hash: 855f52c3e0
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: 9bbb166303
2020-09-16 17:46:08 +02:00
Willem Melching 8f1c60698c disable CI simulator container build until fixed
old-commit-hash: bacc387ee6
2020-09-16 13:31:29 +02:00
Willem Melching 67e6c9d790 bump opendbc
old-commit-hash: 6cd475f9a2
2020-09-16 11:40:57 +02:00
Shane Smiskol 0840445e0b Update 17 Corolla safetyParam (#2175)
old-commit-hash: 23b38a878b
2020-09-16 11:40:19 +02:00
Adeeb Shihadeh 8fede85429 remove schedule-triggered CI workflow (#2178)
old-commit-hash: 54eb160e15
2020-09-15 21:48:27 -07:00
Greg Hogan f1835a740a more pipenv version updates
old-commit-hash: be2b093d6e
2020-09-15 18:25:16 -07:00
Greg Hogan 95516d3ea4 update pipenv install
old-commit-hash: cad76bf28b
2020-09-15 18:04:53 -07:00
VirtuallyChris 05bb8d23dc Fix typo
old-commit-hash: 47c1d6a2f5
2020-09-15 16:15:51 -07:00
HaraldSchafer 805a86b0dd only do reset if already calibrated (#2176)
old-commit-hash: 0b849d5a4e
2020-09-15 07:44:13 -07:00
Adeeb Shihadeh 0caedb9195 bump max vision clients for tici
old-commit-hash: 0604f194b3
2020-09-14 21:29:46 -07:00
Comma Device d1c9b43931 fix tbuffer img tearing
old-commit-hash: c9183c11bd
2020-09-15 03:32:29 +00:00
Adeeb Shihadeh 64b92f49da fix stretched UI on pc
old-commit-hash: 16f40e6ff3
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: 13588e4255
2020-09-14 16:05:57 -07:00
Comma Device 23d0571312 need to free tici DSP asap
old-commit-hash: 3801374da9
2020-09-14 22:03:13 +00:00
Adeeb Shihadeh d1a24a4452 cleanup README PC section
old-commit-hash: 916c3b4c53
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: a2adfdb155
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: 2adc4c23db
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: df99316621
2020-09-14 04:02:58 -07:00
Dean Lee ef811e1105 use MessageBuilder::toBytes (#2167)
old-commit-hash: 272f60221c
2020-09-14 01:17:00 -07:00
Adeeb Shihadeh 218c3d3de7 send initial calibration packet immediately
old-commit-hash: 74801bd216
2020-09-13 13:54:14 -07:00