Commit Graph

2433 Commits (275136aeac316bd56eecc175df146826f3b52e00)

Author SHA1 Message Date
Willem Melching 275136aeac
Add scanner for Cython dependencies (#19722)
* add scanner for cython dependencies

* cleanup and comments

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

* remove include util.h
2021-01-10 20:28:11 -08:00
Dean Lee 595830135b
merge utilpp.h into util.h (#19710) 2021-01-10 14:57:32 -08:00
Chris McCammon 5446a1c3dd
Prius Prime 2021 (#19651) 2021-01-08 20:22:28 -08:00
HaraldSchafer 307ba858db
Test segs 08 (#19701)
* start updating routes

* update that too

* new ref commit

* try again
2021-01-08 16:39:47 -08:00
Adeeb Shihadeh fa2d2a7162 reenable cpu usage test 2021-01-08 16:32:58 -08:00
Adeeb Shihadeh 6b0890f128
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>
2021-01-08 15:39:14 -08:00
Dean Lee d39d737ae0
dmonitoringd: add helper function get_yuv_buf (#19590) 2021-01-08 15:30:06 -08:00
Dean Lee cefdca2fd6
create_thumbnail in camera_common (#19553) 2021-01-08 14:31:21 -08:00
Dean Lee 621dcf8aa1
cleanup (#19564) 2021-01-08 14:07:33 -08:00
Dean Lee de309b156d
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
2021-01-08 12:05:07 -08:00
Dean Lee 4231b5b329
refactor ui_draw_driver_view (#19597)
* refactor ui_draw_driver_view

* continue simplify

* fix gap
2021-01-08 11:30:37 -08:00
George Hotz bd9388c933 pyopencl pipenv 2021-01-08 10:47:19 -08:00
Willem Melching 0cdb9e8658
Fix battery voltage reading (#19699)
* tici: correct battery voltage

* read current

* use current too
2021-01-08 17:21:58 +01:00
Willem Melching f87514687c bump cereal 2021-01-08 14:55:02 +01:00
Willem Melching fb496c692a
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
2021-01-08 14:54:25 +01:00
Adeeb Shihadeh 206d072bb4
loggerd cleanup (#19668) 2021-01-07 23:08:40 -08:00
Comma Device b8aa250efb qt reset and setup improvements 2021-01-08 01:36:29 +00:00
Chris McCammon 508485ef89
Civic Hatch 2017 fw (#19688) 2021-01-07 14:00:38 -08:00
Willem Melching a863414726 add other libraries 2021-01-07 20:10:50 +01:00
Harald Schafer 0a576ed65d bump laika 2021-01-07 09:53:35 -08:00
George Hotz cc4c34cc0b
smp_pipenv (#19687) 2021-01-07 08:52:51 -08:00
Willem Melching e959155ddd update Corolla TSS2 wheelbase 2021-01-07 16:30:03 +01:00
Willem Melching 9480152858 bump cereal and update ref 2021-01-07 15:56:29 +01:00
Igor 0a65e87394
Add indi breakpoints (#19664)
* Added BP, V to latcontrol_indi

* hyundai

* toyota

* Tests for INDI outerLoopGain
2021-01-07 15:55:46 +01:00
rickyb82 e98473c399
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
2021-01-07 15:20:08 +01:00
Willem Melching 7c43a60bda
Rebuild acado and add scons command to regenerate mpc (#19685)
* rebuild acado and add scons command to regenerate mpc

* update scons help
2021-01-07 15:18:23 +01:00
Dean Lee 61cf81502e
sidebar.cc remove prefix for static functions (#19683) 2021-01-07 11:16:47 +01:00
ffhspa dd9d8bba89
remove double semicolon in paint.cc (#19684) 2021-01-07 11:15:59 +01:00
Dean Lee 8c62b21df1
remove double semicolons (#19682) 2021-01-06 20:57:46 -08:00
Dean Lee fd4ddb769a
remove double semicolons (#19681) 2021-01-06 20:23:33 -08:00
Adeeb Shihadeh af81190cfc
loggerd tests (#19671) 2021-01-06 19:18:35 -08:00
Chris McCammon 07df6956f0
Lexus RX 2020 fw (#19678) 2021-01-06 17:56:59 -08:00
Comma Device 61bc7f73fa logcatd_android: use sleep_for instead of usleep 2021-01-06 13:04:08 -08:00
Adeeb Shihadeh 94b2818b22 only run logcatd while onroad 2021-01-06 12:10:38 -08:00
vanillagorillaa 937aa829a3
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>
2021-01-06 12:06:03 -08:00
Dean Lee 93cd4eae55
paint.cc car_space_to_full_frame less paramaters (#19676) 2021-01-06 16:34:29 +01:00
Willem Melching 37cb4bec63 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 901893966e
Merge: 9816e01e d8e864e3
Author: Willem Melching <willem.melching@gmail.com>
Date:   Wed Jan 6 11:27:29 2021 +0100

    Merge branch 'master' into refactor_model_draw

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

    fix lead_d

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

    populate model data in update_socket

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

    update model in function

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

    continue

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

    Update selfdrive/ui/paint.cc

commit 0eef065ae4
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 955ad9b03a
Author: deanlee <deanlee3@gmail.com>
Date:   Thu Dec 31 04:45:31 2020 +0000

    refactor model related functions
2021-01-06 11:34:52 +01:00
Willem Melching d8e864e33d dont show speed below zero 2021-01-06 11:25:37 +01:00
Willem Melching e4cf43c6fc
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
2021-01-06 11:20:44 +01:00
Dean Lee d0ba19fedb
fix problem with drawing path (#19670) 2021-01-06 11:19:10 +01:00
Adeeb Shihadeh e3d2f0c88c fix race condition with encoder thread 2021-01-05 23:09:46 -08:00
Greg Hogan 97bfd91955
hyundai: increase number of resume messages sent at a time (#19634)
* make hyundai resume reliable

* typo

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-01-05 21:10:21 -08:00
Greg Hogan 235172bdb1
hyundai: update palisade tuning (#19606)
* update palisade tuning

* remove steerRatio change
2021-01-05 21:01:02 -08:00
Dean Lee 86fe2d1697
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
2021-01-05 20:19:53 -08:00
Adeeb Shihadeh 54679cea58
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>
2021-01-05 16:35:05 -08:00