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: 660abb79dc925427ae96e5bf03fb5635061cc919
2021-01-12 15:27:20 +01:00
Adeeb Shihadeh 9909060b4d Video Encoder abstraction (#19729)
old-commit-hash: a1c7f19fe46fe79d84543a9388f4b131fc42051b
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: 87e8ef1fca00e35291414f05cc4a2a90237ba9f2
2021-01-11 19:48:50 -08:00
Adeeb Shihadeh 824c3a6eab bump cereal and opendbc
old-commit-hash: 9ca8f1a357a163ea38be95e417303bb573e54444
2021-01-11 14:18:55 -08:00
vanillagorillaa dce3705da5 RDX FW (#19709)
old-commit-hash: f084507827322a1fdf447734c4fbb8f7411f33cf
2021-01-11 13:48:26 -08:00
vanillagorillaa a9a090895f 2021 RAV4 ESP and Engine FW (#19707)
old-commit-hash: c336b37173db1e17170ac25adaaa151ccdc41a21
2021-01-11 13:47:52 -08:00
amuprocode645 583236c1f0 EPS fw RAV4H_TSS2 (#19694)
old-commit-hash: bb8e497f945dffbe3707ce82264c99a0e0504be4
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: 873341e2d5a6c1b57a4a2f878f69162b02ed2ab9
2021-01-11 10:57:03 -08:00
Willem Melching 2fe0c2aafe bump cereal
old-commit-hash: f1d356af6ad9b47c1bdf6711833bf9ce56a47043
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: b3107e153cca4aa98b623b80fdd13b8446f76d1c
2021-01-11 15:52:58 +01:00
Willem Melching ab5eef3a12 ui.cc: fix driverview (#19723)
old-commit-hash: 92257e4dfff411cd981ef7bad964531813d3f37f
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: 275136aeac316bd56eecc175df146826f3b52e00
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: 72bb55247cb82d9a1517b516dab535b9502864c4
2021-01-11 11:59:48 +01:00
Dean Lee 165022f035 ublox_msg.h: remove #define min (#19718)
old-commit-hash: d34a6901369cb424ab8e460b3426f5633ff1a9ac
2021-01-11 11:59:14 +01:00
Adeeb Shihadeh c70fe39172 disable again for now, replay hw is down
old-commit-hash: 24ce55c2c20e94dc9be529d84cc8107101b42432
2021-01-10 21:58:09 -08:00
Dean Lee aac74810a7 ui.cc: cleanup includes (#19704)
old-commit-hash: ccff89386150bd177a7ed6c85a41d2b9ee622068
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: 83bdd23a08cbfda17f0020f58e9227db1acd5470
2021-01-10 20:28:11 -08:00
Dean Lee 4c1919f41e merge utilpp.h into util.h (#19710)
old-commit-hash: 595830135bb79c8b23eb8339ae768ca7b6a822f8
2021-01-10 14:57:32 -08:00
Chris McCammon 0993acc8a6 Prius Prime 2021 (#19651)
old-commit-hash: 5446a1c3dd79da677ef93b5837c8917901f56373
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: 307ba858db376003f9bad3ed0db9786d84a2adff
2021-01-08 16:39:47 -08:00
Adeeb Shihadeh 8a621c739d reenable cpu usage test
old-commit-hash: fa2d2a7162338229522c421242c5adbae4f7d957
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: 6b0890f128d4ae3d56bb7c3f90267e38fc4e878b
2021-01-08 15:39:14 -08:00
Dean Lee 5561bb058d dmonitoringd: add helper function get_yuv_buf (#19590)
old-commit-hash: d39d737ae0e79d9706d829969bff7d56fb2e1b2b
2021-01-08 15:30:06 -08:00
Dean Lee 50da200b5a create_thumbnail in camera_common (#19553)
old-commit-hash: cefdca2fd67ed7cef1e536504ac71e631b7608ab
2021-01-08 14:31:21 -08:00
Dean Lee 46bd840be6 cleanup (#19564)
old-commit-hash: 621dcf8aa17ffe6342b6dbd660a8b24c1433f7d2
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: de309b156d2e9b9c2b771ccdd84915708f64338a
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: 4231b5b329ee778facc3139ab0f2137d5efca576
2021-01-08 11:30:37 -08:00
George Hotz 3b1d87e506 pyopencl pipenv
old-commit-hash: bd9388c933d618552d6c5a787bc79d8fdc1580c8
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: 0cdb9e86583e4a7997a65bab0f785b2bf9311287
2021-01-08 17:21:58 +01:00
Willem Melching 3a9eb1381c bump cereal
old-commit-hash: f87514687cc1eb69cf301c53b17c5ef3dbbbdd8f
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: fb496c692a9ebdcda15069a8d4eb95734b587d68
2021-01-08 14:54:25 +01:00
Adeeb Shihadeh 1c2560352c loggerd cleanup (#19668)
old-commit-hash: 206d072bb4df0187b97c808f0a0478cbb9223976
2021-01-07 23:08:40 -08:00
Comma Device cac209e172 qt reset and setup improvements
old-commit-hash: b8aa250efb1392c79fbdb218c49d4346ab493dce
2021-01-08 01:36:29 +00:00
Chris McCammon 4d3cf85c47 Civic Hatch 2017 fw (#19688)
old-commit-hash: 508485ef895e5cafd39f2c8cd88f2f8a1f919c14
2021-01-07 14:00:38 -08:00
Willem Melching 05f98f9f7c add other libraries
old-commit-hash: a863414726ee380bcb938374cfb64722162d83e8
2021-01-07 20:10:50 +01:00
Harald Schafer df5630239e bump laika
old-commit-hash: 0a576ed65de509c0f791237bcce68df6631caddc
2021-01-07 09:53:35 -08:00
George Hotz 5322863366 smp_pipenv (#19687)
old-commit-hash: cc4c34cc0b7865395143169595fc12711d0ce13b
2021-01-07 08:52:51 -08:00
Willem Melching 10eecd1b7b update Corolla TSS2 wheelbase
old-commit-hash: e959155ddd0a53011f4c459fc432608697a7c67a
2021-01-07 16:30:03 +01:00
Willem Melching c4e9fd7244 bump cereal and update ref
old-commit-hash: 94801528586489a4da309018459230d761c0b41d
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: 0a65e87394f071a18cd377ab81391a48729d1fa0
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: e98473c399f0bf07cd88687f82a5e4d996fe591e
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: 7c43a60bda6c129c0c5a34cdb7fe74d8243729c5
2021-01-07 15:18:23 +01:00
Dean Lee bc9074254e sidebar.cc remove prefix for static functions (#19683)
old-commit-hash: 61cf81502e4b2c04099fc42628b5239455f1e2a6
2021-01-07 11:16:47 +01:00
ffhspa 4ef1b8910f remove double semicolon in paint.cc (#19684)
old-commit-hash: dd9d8bba89c59164738e840609540ffc951d55e9
2021-01-07 11:15:59 +01:00
Dean Lee bc5449d328 remove double semicolons (#19682)
old-commit-hash: 8c62b21df113a8c361635e063087b755837cd06c
2021-01-06 20:57:46 -08:00
Dean Lee 4a137a3f41 remove double semicolons (#19681)
old-commit-hash: fd4ddb769a7b321ada3105ad2511c54ab08b1f63
2021-01-06 20:23:33 -08:00
Adeeb Shihadeh 0d895ad82a loggerd tests (#19671)
old-commit-hash: af81190cfcf96201f59b0461cc3fdd80cf8651a3
2021-01-06 19:18:35 -08:00
Chris McCammon bc23cf8038 Lexus RX 2020 fw (#19678)
old-commit-hash: 07df6956f0c4503a960807baf3b7a662bff3021a
2021-01-06 17:56:59 -08:00
Comma Device e4502623ad logcatd_android: use sleep_for instead of usleep
old-commit-hash: 61bc7f73faf70522dd2c3177d6f53ed3ff3e1af4
2021-01-06 13:04:08 -08:00
Adeeb Shihadeh ee06788cf9 only run logcatd while onroad
old-commit-hash: 94b2818b22a13457d59e7c463516e006c5995576
2021-01-06 12:10:38 -08:00