Commit Graph

3008 Commits

Author SHA1 Message Date
Dean Lee 7ea7f097c4 FIX: It is not safe to call cameras_close before all threads are done. (#19555)
* call cameras_close after all threads exited

* stop buffer before join

* remove buf->stop
old-commit-hash: 660abb79dc
2021-01-12 15:27:20 +01:00
Adeeb Shihadeh 9909060b4d Video Encoder abstraction (#19729)
old-commit-hash: a1c7f19fe4
2021-01-12 00:03:31 -08:00
Adeeb Shihadeh 47cc09f413 loggerd: fix double encoder open (#19703)
* fix double encoder open/close

* simplify rotation

* clean up

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 87e8ef1fca
2021-01-11 19:48:50 -08:00
Adeeb Shihadeh 824c3a6eab bump cereal and opendbc
old-commit-hash: 9ca8f1a357
2021-01-11 14:18:55 -08:00
vanillagorillaa dce3705da5 RDX FW (#19709)
old-commit-hash: f084507827
2021-01-11 13:48:26 -08:00
vanillagorillaa a9a090895f 2021 RAV4 ESP and Engine FW (#19707)
old-commit-hash: c336b37173
2021-01-11 13:47:52 -08:00
amuprocode645 583236c1f0 EPS fw RAV4H_TSS2 (#19694)
old-commit-hash: bb8e497f94
2021-01-11 13:46:28 -08:00
Adeeb Shihadeh aa51972404 cleanup unused android libs in phonelibs (#19702)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 873341e2d5
2021-01-11 10:57:03 -08:00
Willem Melching 2fe0c2aafe bump cereal
old-commit-hash: f1d356af6a
2021-01-11 16:07:40 +01:00
Dean Lee 4b15f8a12d Refactor image texture stuff into class (#19719)
* Refactor image texture stuff into class

* cleanup

* Update selfdrive/common/visionimg.cc

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b3107e153c
2021-01-11 15:52:58 +01:00
Willem Melching ab5eef3a12 ui.cc: fix driverview (#19723)
old-commit-hash: 92257e4dff
2021-01-11 14:51:21 +01:00
Willem Melching 640e19f1a1 Add scanner for Cython dependencies (#19722)
* add scanner for cython dependencies

* cleanup and comments

* comment about relative imports
old-commit-hash: 275136aeac
2021-01-11 14:36:30 +01:00
Dean Lee 99a831dd5c replace std::this_thread::sleep_for with util::sleep_fo (#19717)
old-commit-hash: 72bb55247c
2021-01-11 11:59:48 +01:00
Dean Lee 165022f035 ublox_msg.h: remove #define min (#19718)
old-commit-hash: d34a690136
2021-01-11 11:59:14 +01:00
Adeeb Shihadeh c70fe39172 disable again for now, replay hw is down
old-commit-hash: 24ce55c2c2
2021-01-10 21:58:09 -08:00
Dean Lee aac74810a7 ui.cc: cleanup includes (#19704)
old-commit-hash: ccff893861
2021-01-10 21:48:49 -08:00
Dean Lee 4069b2c414 Fix build error after merge utilpp.h to util.h (#19714)
* fix std::atomic build error

* remove include util.h
old-commit-hash: 83bdd23a08
2021-01-10 20:28:11 -08:00
Dean Lee 4c1919f41e merge utilpp.h into util.h (#19710)
old-commit-hash: 595830135b
2021-01-10 14:57:32 -08:00
Chris McCammon 0993acc8a6 Prius Prime 2021 (#19651)
old-commit-hash: 5446a1c3dd
2021-01-08 20:22:28 -08:00
HaraldSchafer 9c8660d0e2 Test segs 08 (#19701)
* start updating routes

* update that too

* new ref commit

* try again
old-commit-hash: 307ba858db
2021-01-08 16:39:47 -08:00
Adeeb Shihadeh 8a621c739d reenable cpu usage test
old-commit-hash: fa2d2a7162
2021-01-08 16:32:58 -08:00
Adeeb Shihadeh 2a55e4f193 loggerd: fix use after free and memory leaks (#19695)
* fix use after free and memory leaks

* cleanup

* fix typo

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6b0890f128
2021-01-08 15:39:14 -08:00
Dean Lee 5561bb058d dmonitoringd: add helper function get_yuv_buf (#19590)
old-commit-hash: d39d737ae0
2021-01-08 15:30:06 -08:00
Dean Lee 50da200b5a create_thumbnail in camera_common (#19553)
old-commit-hash: cefdca2fd6
2021-01-08 14:31:21 -08:00
Dean Lee 46bd840be6 cleanup (#19564)
old-commit-hash: 621dcf8aa1
2021-01-08 14:07:33 -08:00
Dean Lee 38443793da Refactor alert blinking (#19583)
* add function get_alert_alpha()

* continue simplify

* reset alpha to 1.0 if blink_rate is 0

* review

* sine wave

* rebase master

* use time

* use cos
old-commit-hash: de309b156d
2021-01-08 12:05:07 -08:00
Dean Lee e8936467f5 refactor ui_draw_driver_view (#19597)
* refactor ui_draw_driver_view

* continue simplify

* fix gap
old-commit-hash: 4231b5b329
2021-01-08 11:30:37 -08:00
George Hotz 3b1d87e506 pyopencl pipenv
old-commit-hash: bd9388c933
2021-01-08 10:47:19 -08:00
Willem Melching bd9b1eb62f Fix battery voltage reading (#19699)
* tici: correct battery voltage

* read current

* use current too
old-commit-hash: 0cdb9e8658
2021-01-08 17:21:58 +01:00
Willem Melching 3a9eb1381c bump cereal
old-commit-hash: f87514687c
2021-01-08 14:55:02 +01:00
Willem Melching 3f950832b9 VisionIPC 2.0 (#19641)
* Squashed vipc

* Update release files

* Remove else

* add visionipc to release files

* use poller in vipc receive

* opencl framework instead of lib on macos

* Fix camera webcam

* Fix opencl on mac in ui

* more webcam fixes

* typo in ui sconsfile

* Use cur_yuv_buf

* visionbuf c++ class

* Camera qcom was still using visionbuf_allocate

* Turn loggerd back on

* fix snapshot

* No build needed

* update test camerad

* no more release callback

* make encoder c++

* Revert "no more release callback"

This reverts commit e5707b07002fee665d0483d90713154efc2d70d4.

* fix exit handlers

* No need to check errno

* move release callback call

* s/VIPCBufExtra/VisionIpcBufExtra/g

* use non blocking connect

* ui use non blocking connect

* Lower condition variable wait time

* Snapshot cleanup

* bump cereal

* bump cereal
old-commit-hash: fb496c692a
2021-01-08 14:54:25 +01:00
Adeeb Shihadeh 1c2560352c loggerd cleanup (#19668)
old-commit-hash: 206d072bb4
2021-01-07 23:08:40 -08:00
Comma Device cac209e172 qt reset and setup improvements
old-commit-hash: b8aa250efb
2021-01-08 01:36:29 +00:00
Chris McCammon 4d3cf85c47 Civic Hatch 2017 fw (#19688)
old-commit-hash: 508485ef89
2021-01-07 14:00:38 -08:00
Willem Melching 05f98f9f7c add other libraries
old-commit-hash: a863414726
2021-01-07 20:10:50 +01:00
Harald Schafer df5630239e bump laika
old-commit-hash: 0a576ed65d
2021-01-07 09:53:35 -08:00
George Hotz 5322863366 smp_pipenv (#19687)
old-commit-hash: cc4c34cc0b
2021-01-07 08:52:51 -08:00
Willem Melching 10eecd1b7b update Corolla TSS2 wheelbase
old-commit-hash: e959155ddd
2021-01-07 16:30:03 +01:00
Willem Melching c4e9fd7244 bump cereal and update ref
old-commit-hash: 9480152858
2021-01-07 15:56:29 +01:00
Igor b1c6f804e5 Add indi breakpoints (#19664)
* Added BP, V to latcontrol_indi

* hyundai

* toyota

* Tests for INDI outerLoopGain
old-commit-hash: 0a65e87394
2021-01-07 15:55:46 +01:00
rickyb82 0f9ba9ab91 Add FW versions for 2018 Lexus NX Hybrid (#19645)
New Ecu Engine and Ecu Esp for NX Hybrid My18 European Edition, I'm From Italy
old-commit-hash: e98473c399
2021-01-07 15:20:08 +01:00
Willem Melching e0f2111061 Rebuild acado and add scons command to regenerate mpc (#19685)
* rebuild acado and add scons command to regenerate mpc

* update scons help
old-commit-hash: 7c43a60bda
2021-01-07 15:18:23 +01:00
Dean Lee bc9074254e sidebar.cc remove prefix for static functions (#19683)
old-commit-hash: 61cf81502e
2021-01-07 11:16:47 +01:00
ffhspa 4ef1b8910f remove double semicolon in paint.cc (#19684)
old-commit-hash: dd9d8bba89
2021-01-07 11:15:59 +01:00
Dean Lee bc5449d328 remove double semicolons (#19682)
old-commit-hash: 8c62b21df1
2021-01-06 20:57:46 -08:00
Dean Lee 4a137a3f41 remove double semicolons (#19681)
old-commit-hash: fd4ddb769a
2021-01-06 20:23:33 -08:00
Adeeb Shihadeh 0d895ad82a loggerd tests (#19671)
old-commit-hash: af81190cfc
2021-01-06 19:18:35 -08:00
Chris McCammon bc23cf8038 Lexus RX 2020 fw (#19678)
old-commit-hash: 07df6956f0
2021-01-06 17:56:59 -08:00
Comma Device e4502623ad logcatd_android: use sleep_for instead of usleep
old-commit-hash: 61bc7f73fa
2021-01-06 13:04:08 -08:00
Adeeb Shihadeh ee06788cf9 only run logcatd while onroad
old-commit-hash: 94b2818b22
2021-01-06 12:10:38 -08:00