Commit Graph

4201 Commits

Author SHA1 Message Date
Willem Melching
d08b56317f Go to dashcam mode if locked out, fixes #1109 2020-03-18 11:38:00 -07:00
Comma Device
9a50e0445a add program dumping to opencl hooks 2020-03-18 03:30:39 +00:00
George Hotz
774912075a hook opencl to profile SNPE (#1249)
* hook for snpe speed

* hook works

* prints kernel names

* add timing to hook

* clean up printing

Co-authored-by: Comma Device <device@comma.ai>
2020-03-17 20:04:55 -07:00
Willem Melching
12ff088b42 Fix kernel logging in logcatd, fixes #957 2020-03-17 16:35:39 -07:00
Willem Melching
ef73582a0f print boottime in filter_log_message.py 2020-03-17 16:35:09 -07:00
Willem Melching
e69e0486ff camerad zmq_poll, also recover from EAGAIN 2020-03-17 13:40:07 -07:00
Willem Melching
7cd2c4c18f Check IsTakingSnapshot is not set before starting snapshot 2020-03-17 11:42:17 -07:00
Willem Melching
58ab243bdb Add CAMRYH firmware versions 2020-03-17 11:35:45 -07:00
HaraldSchafer
af5f99d7cf fade ll out and in (#1246)
* fade ll out and in

* bug fixes

* pretty important fixes

* safer in case model misses desire input

* Safer float compares

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-03-16 16:19:01 -07:00
Willem Melching
f7164d0894 Add missing 1872 and 1880 to RX_TSS2 fingerprint 2020-03-16 15:06:33 -07:00
Willem Melching
a4c94128c2 No logging on EINTR, and log all the errnos 2020-03-16 14:58:21 -07:00
Willem Melching
439b4625b6 Add logging to poll EINTR handling, add another catch in camerad/main.cc 2020-03-16 14:55:12 -07:00
Willem Melching
7669a783d6 Camerad add errno logging, and continue on EINTR 2020-03-16 14:40:24 -07:00
Andrew Valish
0aafd67b56 fix sidebar shadow in network settings (#1245) 2020-03-16 13:02:45 -07:00
Willem Melching
a258f1c2e4 Add TSS2 RAV4 EPS fw version 2020-03-16 11:33:52 -07:00
Willem Melching
6e7d64a310 Only log crashes on comma two/EON 2020-03-13 12:37:35 -07:00
Chris Souers
035397cd31 Adds 2016 CR-V Executive (Euro version of Touring trim) (#1097)
Co-authored-by: Ted Slesinski <ted_slesinski@epam.com>
2020-03-13 11:48:08 -07:00
HaraldSchafer
628e7e6968 stricter calibration requirements (#1227)
* stricter requirements

* update refg

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-03-13 11:15:58 -07:00
Willem Melching
10c3494bc9 add TOYOTA CHR fw versions 2020-03-13 11:13:55 -07:00
Willem Melching
7b1b0ba115 Add TOYOTA PRIUS engine FW 2020-03-13 11:01:34 -07:00
Willem Melching
15dd65d8fc Add TOYOTA COROLLA HYBRID TSS2 2019 esp FW version 2020-03-13 10:58:31 -07:00
Willem Melching
af742a8c15 live_cpu_and_temp flag to show cpu usgage per process 2020-03-12 16:40:30 -07:00
ZwX1616
0608b99cd0 rear not front 2020-03-12 16:11:38 -07:00
Willem Melching
6be97f6396 Don't build all the kalman filters on the phone 2020-03-12 15:46:38 -07:00
ZwX1616
9362b7eacf log focus state 2020-03-12 15:13:35 -07:00
Andre Volmensky
6b3ff455e2 Nissan lane change (#1236)
* Scaled LKAS_MAX_TORQUE based on dbc change

* Bump opendbc
2020-03-12 14:45:24 -07:00
Willem Melching
e28832b359 EKF global variable support (#1230)
* Add global variables to kalman filter code

* fix linter
2020-03-12 12:52:31 -07:00
Willem Melching
65ad31a7e4 Small thermald cleanup 2020-03-12 11:55:33 -07:00
Willem Melching
768f08e129 add honda pilot 2019 to test car models 2020-03-11 16:51:45 -07:00
rbiasini
093d6cb5ff Fingerprint cleanup (#1231)
* upd panda and opendbc

* Delete unnecessary fingerprints, fix RavH occasional test issue, re-enable test error for overlapping fingerprints within the same candidate
2020-03-11 14:32:03 -07:00
Andrew Valish
fa7abadc80 filter ublox packets for sidebar (#1233) 2020-03-11 14:28:29 -07:00
Andre Volmensky
e0227c9a1d Added LKAS HUD line detection/steer status/hand on wheel warning (#1225) 2020-03-11 12:21:08 -07:00
robbederks
992be20d63 Offroad power monitoring (#1067)
* Untested implementation of offroad power monitoring

* Fixed some syntax errors

* Cast to int

* Fixed pylint

* Wrapped in class

* Put pulsed calc in own thread

* Longer timeout before starting pulse measurement

* Fudge factor + flake8

* Made integration thread-safe and catch charge disable exceptions

* Catch all calculation errors

* Fixed networkstrength removal
2020-03-10 22:18:48 -07:00
Andrew Valish
5ba6beed17 Refactor frame (#1192)
* start drawing new sidebar, add assets

* add thermal to ui, draw network_type and battery

* draw sidebar metrics, add freeSpace and paTemp

* draw static panda metric and network strength, start ubloxGnss messaging

* use array for network_img

* start sidebar touch events

* prevent multiple touch events with touch_timeout

* filter old touches, isolate sidebar events

* add hwType check with timeout for panda metric

* cleanup touch poll, handle vision touch, remove frame and black apks

* cleanup per willem comments

* update offroad, only read active_app from cereal

* tweak sidebar behavior, show active app status

* update offroad apk

* read networkstrength from thermal in sidebar
2020-03-09 19:13:32 -07:00
Willem Melching
2abc1a299f Use calibrated reference frame instead of device frame 2020-03-09 13:29:30 -07:00
Willem Melching
01a14400cb Correct reference frame name in car_kf 2020-03-09 12:49:52 -07:00
Willem Melching
01ac9d4722 Use new locationd packet in paramsd 2020-03-09 12:45:04 -07:00
rbiasini
fe911bcca8 abstract pedalPressed event (#1218)
* abstract pedalPressed event

* Fix bug

* update refs
2020-03-08 23:35:00 -07:00
Andrew Valish
6bbbe8f9cf add network strength logging to thermal (#1211)
* add network strength logging to thermal

* import get_network_strength

* write networkStrength
2020-03-07 11:14:04 -08:00
Willem Melching
fbac82ea21 add accord 1.5L to test_car_models 2020-03-07 11:05:46 -08:00
rbiasini
6582d632ec Test interfaces also in enabled state and fix a bug (#1213) 2020-03-06 23:48:47 -08:00
rbiasini
24e092ffab Subaru brake check (#1212) 2020-03-06 23:17:16 -08:00
Willem Melching
82f77e379b add crv5g and optima to test_car_models 2020-03-06 17:33:30 -08:00
Willem Melching
3d15eb39d5 Add 2017 Pacifica Hybrid to test_car_models 2020-03-06 17:13:09 -08:00
Willem Melching
e31ebda7a3 also call interface.apply in test 2020-03-06 17:02:37 -08:00
Willem Melching
ca51858644 Unneeded tuple 2020-03-06 14:06:54 -08:00
Willem Melching
df16d08efb Fix typo in test comment 2020-03-06 14:06:02 -08:00
Willem Melching
54ef38d7f6 Also test radar interface 2020-03-06 14:02:40 -08:00
Willem Melching
86e0202549 Also create a radar interface 2020-03-06 13:56:27 -08:00
Willem Melching
16b6c70884 Add test that gets all the car params 2020-03-06 13:54:32 -08:00