Commit graph

2552 commits

Author SHA1 Message Date
Adeeb Shihadeh 5221450f2d
loggerd: another rotation test (#19742)
* another rotation test

* make encoder test fast

* fix pc

Co-authored-by: Comma Device <device@comma.ai>
2021-01-12 19:40:57 -08:00
Adeeb Shihadeh 92e4f04873
Loggerd for PC (#19730) 2021-01-12 16:28:22 -08:00
Adeeb Shihadeh cc2490bb12 build master-ci with the relase2 build device 2021-01-12 16:24:34 -08:00
Adeeb Shihadeh 10268b6669 use scons cache for QCOM replay build in CI 2021-01-12 16:10:18 -08:00
Greg Hogan f205f97be0
hyundai: support for controlling cruise speed via HDA (#19635) 2021-01-12 11:50:08 -08:00
Dean Lee cef469cbed
convert glutil.c to gltuil.cc & add class GLShader (#19720)
* c++ glutil

* function getUniformLocation

* rebase master
2021-01-12 15:43:34 +01:00
Eric Dardet 6d11539c42
Hyundai Sonata 2021 transmission firmware (#19727)
Transmission firmware update for Hyundai Sonata 2021

dongle_ID 57205cbb3cb26844

Newest routes uploaded to my.comma.ai have newest transmission firmware
2021-01-12 15:31:56 +01:00
Willem Melching 0b79d0e12d CameraBuf::stop() is not used 2021-01-12 15:28:30 +01:00
Dean Lee 660abb79dc
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
2021-01-12 15:27:20 +01:00
Adeeb Shihadeh a1c7f19fe4
Video Encoder abstraction (#19729) 2021-01-12 00:03:31 -08:00
Adeeb Shihadeh 87e8ef1fca
loggerd: fix double encoder open (#19703)
* fix double encoder open/close

* simplify rotation

* clean up

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-01-11 19:48:50 -08:00
Adeeb Shihadeh 9ca8f1a357 bump cereal and opendbc 2021-01-11 14:18:55 -08:00
vanillagorillaa f084507827
RDX FW (#19709) 2021-01-11 13:48:26 -08:00
vanillagorillaa c336b37173
2021 RAV4 ESP and Engine FW (#19707) 2021-01-11 13:47:52 -08:00
amuprocode645 bb8e497f94
EPS fw RAV4H_TSS2 (#19694) 2021-01-11 13:46:28 -08:00
Adeeb Shihadeh 873341e2d5
cleanup unused android libs in phonelibs (#19702)
Co-authored-by: Comma Device <device@comma.ai>
2021-01-11 10:57:03 -08:00
Willem Melching f1d356af6a bump cereal 2021-01-11 16:07:40 +01:00
Dean Lee b3107e153c
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>
2021-01-11 15:52:58 +01:00
Willem Melching 92257e4dff
ui.cc: fix driverview (#19723) 2021-01-11 14:51:21 +01:00
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