Commit Graph

7421 Commits

Author SHA1 Message Date
Adeeb Shihadeh
059cf6b43e Run all driving processes on cores 2-3 (#2257) 2020-10-02 17:18:18 -07:00
Adeeb Shihadeh
38ded9b1e7 Tici updated (#2126)
* run updated on tici

* do this for now

* two didn't like empty string

* fix permissions
2020-10-02 16:36:20 -07:00
Adeeb Shihadeh
427d4a5a9e run loggerd tests in CI (#2241)
* run loggerd tests in jenkins

* fast

* check segs on the fly

* missing import

* wait for dir

* no thread

* relax FILE_SIZE_TOLERANCE

* cleanup

* unused

* set ci flag

* wait longer for first seg

* fix race condition with setting RecordFront

Co-authored-by: ZwX1616 <zwx1616@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-10-01 18:42:43 -07:00
Adeeb Shihadeh
67aec50b88 Increase HKG torque limit (#2249)
* increase hkg torque limit

* update refs

* bump panda
2020-10-01 13:16:51 -07:00
Willem Melching
1c6fb56769 simplify testing closet client 2020-10-01 16:01:34 +02:00
Comma Device
3f0491b7e5 update testing closet client 2020-10-01 06:52:59 -07:00
Adeeb Shihadeh
2a2cfd6bb5 updated: remove old overlay init file 2020-09-29 21:26:27 -07:00
Adeeb Shihadeh
9060d3c87b fix paths for waste3 debug script 2020-09-29 15:51:58 -07:00
Dean Lee
209e7aa471 fix resource leak when rotating encoder (#2141) 2020-09-29 13:53:32 -07:00
Adeeb Shihadeh
3f40a9ee75 updated: log git corruption (#2242)
* log git corruption

* better cloudlog
2020-09-29 12:08:55 -07:00
Adeeb Shihadeh
98fedff6b1 add ECU disable script from #1459 2020-09-29 11:54:29 -07:00
Greg Hogan
0902575e34 pre-reqs for honda bosch longitudinal control (#1458)
* pre-reqs for honda bosch longitudinal control

* openpilot_longitudinal_control -> radar_disabled

* fix chrysler test

* review feedback

* little cleaner

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-09-29 00:04:15 -07:00
cydia2020
6d5b2af3f2 add 1 second delay to acc pedal alert (#2221)
So that the screen wouldn't appear to "flicker" when openpilot is engaged while the acc pedal is being released
2020-09-28 16:17:21 -07:00
Adeeb Shihadeh
2490be762d tici light sensor (#2238) 2020-09-28 14:49:07 -07:00
qadmus
cba53957bd Fix grade force in test_long plant (#2225)
Co-authored-by: user <email@web.com>
2020-09-28 11:54:48 +02:00
Dean Lee
9983389ffe close lock_fd if flock failed (#2231) 2020-09-28 11:47:38 +02:00
Logan Lasiter
7d28afcde3 Add symphony-cpu lib once (#2232) 2020-09-28 11:46:51 +02:00
Erich Moraga
278bb5063a Add engine f/w for CAR.LEXUS_RX (#2235)
@vonlee#4243 2017 Lexus RX350 DongleID e6112c12439776bb
2020-09-27 18:42:57 -07:00
vanillagorillaa
c35af4b619 Typo: thershold -> threshold (#2230) 2020-09-25 22:50:55 -07:00
Willem Melching
8cc5bfcef8 fix modeld launch script larch64 detection 2020-09-25 14:14:54 +02:00
VirtuallyChris
f25d807111 Add 2017 Lexus RX engine fw 2020-09-24 18:36:15 -07:00
Comma Device
b94b435387 qcom2 needs cc conversion (#2125) 2020-09-24 22:52:35 +00:00
Dean Lee
9f34d1ff66 camerad: close file descriptors (#2065)
* close file descriptors

* fix struct indent

* add some new lines
2020-09-24 13:39:27 -07:00
Dean Lee
4fba3408c4 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
2020-09-24 11:51:36 +02:00
qadmus
254814cc79 remove unused globals, use self.reset() (#2220)
Co-authored-by: user <email@web.com>
2020-09-24 11:39:47 +02:00
Willem Melching
53e71f44ce tici: fix ui rotation (#2222)
* fix rotation using wayland

* put back intrinsic matrix fix
2020-09-23 23:16:55 +02:00
VirtuallyChris
d9f43388fb Add 2020 Honda Odyssey fw 2020-09-23 13:43:32 -07:00
ZwX1616
da147b2534 fix dmonitoringmodeld random high CPU usage (#2216)
* exp attempt1

* attempt2 less hacky
2020-09-22 14:46:47 -07:00
Adeeb Shihadeh
9418b710a7 fix unused dt entry on android (#2160)
Co-authored-by: Comma Device <device@comma.ai>
2020-09-22 14:46:37 -07:00
Adeeb Shihadeh
cdcf235025 remove unused alert 2020-09-22 13:47:30 -07:00
Adeeb Shihadeh
722a440eb6 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
2020-09-22 12:09:41 -07:00
grekiki
cf46de13d2 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>
2020-09-22 11:37:24 +02:00
Erich Moraga
170d19a2e1 Add CAR.RAV4H_TSS2 ESP f/w (#2213)
@kranzler#5198  2020 RAV4 Hybrid  DongleID 9f13dd7cadc3591e
https://discord.com/channels/469524606043160576/524327905937850394/757632175318368316
2020-09-21 10:15:38 -07:00
Dean Lee
0e5a5efffc 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>
2020-09-21 18:17:35 +02:00
Willem Melching
f55e79e46a tici: BMX055 magnetometer& temperature sensor (#2212)
* BMX055 Magnetometer support

* add temp sensor
2020-09-21 17:33:36 +02:00
Comma Device
4be0e23ca5 Fix makefiles after read_file() helper 2020-09-21 08:03:36 -07:00
Dean Lee
6476207009 add function write_file() (#2181)
* add function write_file()

* handle EAGIN & EWOULDBLOCK

* don't  handle errno
2020-09-21 16:10:38 +02:00
Dean Lee
58e5223aba touch.c:deleting useless function (#2208) 2020-09-21 11:43:54 +02:00
qadmus
72e0ac2de1 cleanup long planner, mpc: unused globals and arguments (#2211)
Co-authored-by: user <email@web.com>
2020-09-21 11:43:28 +02:00
Willem Melching
65e5032a97 Revert "tici: take into account frame timestamp (#2199)"
This reverts commit 3a494e144b.
2020-09-21 10:31:01 +02:00
Adeeb Shihadeh
0040ac987a add type hints to selfdrive/version.py 2020-09-19 14:55:27 -07:00
Adeeb Shihadeh
4acc82604d quick lgtm fixes 2020-09-19 12:53:36 -07:00
Adeeb Shihadeh
15e4048318 alertmanager type hints (#2201)
* alertmanager types

* clean that up

* more cleanup

* little more

* space
2020-09-19 10:53:14 -07:00
VirtuallyChris
6da22dd4b6 2019 C-HR fw 2020-09-18 18:43:21 -07:00
Adeeb Shihadeh
002e0065cb tici: set volume at 90% 2020-09-18 14:54:12 -07:00
ZwX1616
b3fad609d9 revert tici ui rotate 2020-09-18 14:12:03 -07:00
ZwX1616
911206fc41 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>
2020-09-18 11:43:41 -07:00
Willem Melching
3a494e144b 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
2020-09-18 17:42:29 +02:00
Willem Melching
39fc171f91 Only run rtshield when onroad 2020-09-18 13:48:58 +02:00
Willem Melching
73a2067be3 Get power usage from current sensor (#2192) 2020-09-18 12:25:55 +02:00