Commit Graph

2281 Commits

Author SHA1 Message Date
Willem Melching
b1e01c8a5b bump cereal
old-commit-hash: 5965ab83342653a564fbc1a7d950e437b19d81cd
2020-09-25 11:32:38 +02:00
VirtuallyChris
8cbf7ec36c Add 2017 Lexus RX engine fw
old-commit-hash: f25d807111e8665f9237b0c90f753b3bc51e5b41
2020-09-24 18:36:15 -07:00
Comma Device
34293f1404 qcom2 needs cc conversion (#2125)
old-commit-hash: b94b4353878094b06946fcbe2b191d7416db55d8
2020-09-24 22:52:35 +00:00
Dean Lee
f57c4d3052 camerad: close file descriptors (#2065)
* close file descriptors

* fix struct indent

* add some new lines
old-commit-hash: 9f34d1ff662c7b84ce5e4561247d8751ef57adca
2020-09-24 13:39:27 -07:00
Willem Melching
80c86e35e4 SConstruct better tici detection
old-commit-hash: af66dae7e29692785ca286ad2b7ade401aee1007
2020-09-24 19:24:14 +02:00
Dean Lee
f5ec24f42f Params: use a multiple-reader / single-writer flock to improve concurrency (#2207)
* improve concurrency: multiple readers, single writer locks

* remove lock in read_db_value
old-commit-hash: 4fba3408c41fad12a75533cf189686601f9e49a6
2020-09-24 11:51:36 +02:00
qadmus
b48d1823e9 remove unused globals, use self.reset() (#2220)
Co-authored-by: user <email@web.com>
old-commit-hash: 254814cc793dc4668ea9fd25f092b0712fb5b8a0
2020-09-24 11:39:47 +02:00
Willem Melching
f275d06ff2 tici: fix ui rotation (#2222)
* fix rotation using wayland

* put back intrinsic matrix fix
old-commit-hash: 53e71f44ceec181e40c4cbd3f14a403798bca7bb
2020-09-23 23:16:55 +02:00
VirtuallyChris
ecbdefa7f5 Add 2020 Honda Odyssey fw
old-commit-hash: d9f43388fb9e6d61283a09e713a003de11ec77eb
2020-09-23 13:43:32 -07:00
VirtuallyChris
09b9c8e284 Lexus CT Hybrid needs LSS
old-commit-hash: 9856e42bfe3051f698e0bcbad61996efffcc95e6
2020-09-23 13:13:27 -07:00
HaraSchafa
c5fb6ab8c5 bump laika
old-commit-hash: 58880953e29908055f1c5f762ce16c5441ece301
2020-09-23 06:37:19 -07:00
ZwX1616
7d522ba870 fix dmonitoringmodeld random high CPU usage (#2216)
* exp attempt1

* attempt2 less hacky
old-commit-hash: da147b2534b78f935704b5838cf967593be2affb
2020-09-22 14:46:47 -07:00
Adeeb Shihadeh
bbf6042c5a fix unused dt entry on android (#2160)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9418b710a74a8a536def3c27e7ee22307b7ffd87
2020-09-22 14:46:37 -07:00
VirtuallyChris
f374da3da2 All Insight trims have Honda Sensing
old-commit-hash: 91c32b152aa9902397b787e2a5f9d05f6acb214f
2020-09-22 14:25:41 -07:00
Adeeb Shihadeh
6f96ed3c59 remove unused alert
old-commit-hash: cdcf2350252059e937b032ea2448584ff3c512a9
2020-09-22 13:47:30 -07:00
VirtuallyChris
fc9472109c Make readme consistent
old-commit-hash: c8ead73d05dcbbc63198477266e7665c6a754784
2020-09-22 12:58:42 -07:00
Adeeb Shihadeh
12b7a29d06 Improved updater robustness (#2046)
* git ping

* cleanup overlay init

* separate update available check from fetch

* cleanup setting params

* only fetch neos update on android

* move that

* type hints

* lightweight update check with git ls-remote

* git fetch dry run

* cleanup
old-commit-hash: 722a440eb6102777fb97f6ae8936d852709a66a5
2020-09-22 12:09:41 -07:00
grekiki
079f409e58 Uploader speedup (#2214)
* use caching for getxattr

* fix some git issues

* Scheduled network checks

* attempt optimization

* Delete speed_test.py

* Style fixes

* Fix styling

* fix spaces

* fix spaces

* fix naming

* Update uploader.py

* Update mark_all_uploaded.py

* Add file to release

* Update selfdrive/loggerd/tools/mark_all_uploaded.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cf46de13d2934c52e9c87691c671fe9c78156ec9
2020-09-22 11:37:24 +02:00
Willem Melching
e17440c9a7 bump cereal
old-commit-hash: afdb4ce61e2e4a209cf6d4a35b51bfafdbbf11e4
2020-09-22 10:35:23 +02:00
VirtuallyChris
7caf7821c8 Fix Highlander order in readme
old-commit-hash: 170e75911b74e4d7bda361d2c32d5276c623c256
2020-09-21 16:23:41 -07:00
VirtuallyChris
3f174ec2d2 Pilot 2019 is same platform as 2016-18
old-commit-hash: c47b433562caa21aea19bb74797a85271890d858
2020-09-21 16:00:43 -07:00
Erich Moraga
53d7a9b2e1 Add CAR.RAV4H_TSS2 ESP f/w (#2213)
@kranzler#5198  2020 RAV4 Hybrid  DongleID 9f13dd7cadc3591e
https://discord.com/channels/469524606043160576/524327905937850394/757632175318368316
old-commit-hash: 170d19a2e12af0cfcc0b0df85d6284da4ceaa6b1
2020-09-21 10:15:38 -07:00
Dean Lee
a7c8adcdbe read bool param with read_db_bool (#2205)
* read bool param with read_db_bool

* Update selfdrive/loggerd/loggerd.cc

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 0e5a5efffce15cc507d8104aceb58c132689d7c8
2020-09-21 18:17:35 +02:00
Willem Melching
8ee4ac45fe tici: BMX055 magnetometer& temperature sensor (#2212)
* BMX055 Magnetometer support

* add temp sensor
old-commit-hash: f55e79e46aa03023b2dc6c5ab8cefb74bbd438a5
2020-09-21 17:33:36 +02:00
Comma Device
4f622a1dbb Fix makefiles after read_file() helper
old-commit-hash: 4be0e23ca588f110056917863a725f164996ca49
2020-09-21 08:03:36 -07:00
Dean Lee
ef8b6d20fb add function write_file() (#2181)
* add function write_file()

* handle EAGIN & EWOULDBLOCK

* don't  handle errno
old-commit-hash: 64762070097884de48b7168ec337a96e3f03a07a
2020-09-21 16:10:38 +02:00
Willem Melching
e9642080ac bump cereal
old-commit-hash: 861ef4a39781778c5d724dfd60db9538c074ef16
2020-09-21 16:00:45 +02:00
Dean Lee
0392ecd4ca touch.c:deleting useless function (#2208)
old-commit-hash: 58e5223aba4a16db42c1937f478ec7d54e28813b
2020-09-21 11:43:54 +02:00
qadmus
c613f8dfcc cleanup long planner, mpc: unused globals and arguments (#2211)
Co-authored-by: user <email@web.com>
old-commit-hash: 72e0ac2de1087760822b8a552c569ab3a859e2a5
2020-09-21 11:43:28 +02:00
Willem Melching
d849706bc9 remove parallel url downloader
old-commit-hash: 927ef086f785409931e4d9c5d1274e9ab5d1568a
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: 65e5032a97cba8c294e0763eeaaa430d4803a4d6
2020-09-21 10:31:01 +02:00
Adeeb Shihadeh
58f07d754c add type hints to selfdrive/version.py
old-commit-hash: 0040ac987aa4e836744abc5f541c1aeeda17edf5
2020-09-19 14:55:27 -07:00
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