Commit Graph

11597 Commits

Author SHA1 Message Date
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
vanillagorillaa 3af3dc7d76 Chrysler non-ACC Fix - Only allow openpilot in ACC mode (#19581)
* initial try, needs to be tested

* Chrysler: Add to CAN parser

* Chrysler: move cruise state by other dash message

* fix messed up force push

* whitespace

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 937aa829a3a4871e46bddfb42e67c37d38884da6
2021-01-06 12:06:03 -08:00
Dean Lee af4b8bb307 paint.cc car_space_to_full_frame less paramaters (#19676)
old-commit-hash: 93cd4eae55a788eb7530fe369db65c7fffc5d931
2021-01-06 16:34:29 +01:00
Willem Melching 1cc43f8d7d UI: refactor model related functions (#19657)
Squashed commit of the following:

commit 7d7fb15e4cdd0e47fa38f949f79581dc611db015
Author: Willem Melching <willem.melching@gmail.com>
Date:   Wed Jan 6 11:31:09 2021 +0100

    no extern

commit 901893966e3f908435bceb8777253dfa916a3d91
Merge: 9816e01e c0703a57
Author: Willem Melching <willem.melching@gmail.com>
Date:   Wed Jan 6 11:27:29 2021 +0100

    Merge branch 'master' into refactor_model_draw

commit 9816e01e6ff0284521fa18b07ec15b3900577687
Author: deanlee <deanlee3@gmail.com>
Date:   Wed Jan 6 04:02:08 2021 +0000

    fix lead_d

commit 6fa500dbce26544cc3fdeb4d9b0d2d654382a40b
Author: deanlee <deanlee3@gmail.com>
Date:   Tue Jan 5 13:18:20 2021 +0000

    populate model data in update_socket

commit e25db7e28c1b543a04c3e837aa44431c42dbb5b2
Author: deanlee <deanlee3@gmail.com>
Date:   Tue Jan 5 12:59:13 2021 +0000

    update model in function

commit 0834a3ffe7eaa080671f13c32dd6475ae5392d5b
Author: deanlee <deanlee3@gmail.com>
Date:   Tue Jan 5 12:50:21 2021 +0000

    continue

commit 95b08679c2593eb0770a68b3cf1a59f1fb3b74f4
Author: Willem Melching <willem.melching@gmail.com>
Date:   Tue Jan 5 13:26:34 2021 +0100

    Update selfdrive/ui/paint.cc

commit 0eef065ae4f96c2ee5d97b4ccdfdbf0ae4945385
Author: Dean Lee <deanlee3@gmail.com>
Date:   Tue Jan 5 20:11:01 2021 +0800

    Update selfdrive/ui/paint.cc

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

commit 955ad9b03a176174b86b28d5bb6f48d6e2a09281
Author: deanlee <deanlee3@gmail.com>
Date:   Thu Dec 31 04:45:31 2020 +0000

    refactor model related functions

old-commit-hash: 37cb4bec631197f6b369bf89f94786772bd05336
2021-01-06 11:34:52 +01:00
Willem Melching b56d44bbd2 dont show speed below zero
old-commit-hash: d8e864e33d08c60e9740d7433067382128962f92
2021-01-06 11:25:37 +01:00
Willem Melching 4daa6f05cf Move all CarControllerParams into values.py (#19663)
* toyota

* use scale from values.py

* nissan

* subaru

* honda

* gm

* toyota combine into CarControllerParams

* nissan refactor

* chrysler refactor

* mazda refactor

* hyundai refactor

* subaru refactor
old-commit-hash: e4cf43c6fcc2f442318df815fdc38fb26a74bdb7
2021-01-06 11:20:44 +01:00
Dean Lee ff7d537c96 fix problem with drawing path (#19670)
old-commit-hash: d0ba19fedb897443248ad0f096dc6ffdca983872
2021-01-06 11:19:10 +01:00
Adeeb Shihadeh 84255f7c0d fix race condition with encoder thread
old-commit-hash: e3d2f0c88cd04a2292ff4d90e74f38e147225d0c
2021-01-05 23:09:46 -08:00
Greg Hogan a342b68304 hyundai: increase number of resume messages sent at a time (#19634)
* make hyundai resume reliable

* typo

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 97bfd91955abc65a34ac4c08f5cef2b41355bb8d
2021-01-05 21:10:21 -08:00
Greg Hogan 6449aa05ac hyundai: update palisade tuning (#19606)
* update palisade tuning

* remove steerRatio change
old-commit-hash: 235172bdb110431673789dc89689b11ac6b2b055
2021-01-05 21:01:02 -08:00
Dean Lee 5e557ed96d common exit handler (#19661)
* common signal handle

* fix typo

* rename to ExitHandler

* remove include signal.h

* remove include csignal

* rename variable exit to v

* rebase master
old-commit-hash: 86fe2d1697531bebdf5d0d83609e91ed4006f54b
2021-01-05 20:19:53 -08:00
Adeeb Shihadeh 0fdc9af349 tici loggerd fixes (#19622)
* fix encoder exit when encoder is uninitialized

* cleanup

* more cleanup

* more cleanup

* little more

* ptr

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 54679cea585d1f65a6d8051cf338cb04f8a12319
2021-01-05 16:35:05 -08:00