Commit Graph

691 Commits

Author SHA1 Message Date
Willem Melching
33554ecb06 Print prettier androidLog messages
old-commit-hash: f468ad3298
2020-03-20 16:08:09 -07:00
Willem Melching
164d753a5d Handle json decode error
old-commit-hash: d082cc6c6b
2020-03-20 16:01:20 -07:00
Willem Melching
7b4c8cac3a fix androidLogEntry socket name
old-commit-hash: 196b28e311
2020-03-20 15:59:48 -07:00
Greg Hogan
1768b4745f remove storage metric from sidebar (#1254)
old-commit-hash: 16ad4bf58b
2020-03-20 10:35:58 -07:00
Greg Hogan
004c181167 uploader: do not delete files after uploading (#1253)
* cffi xattr function wrapper

* xattr wrapper error handling

* xattr tests

* use xattr for tracking files uploaded

* uploader xattr exception handling

* update uploader tests

* remove unused import

* update release build

* xattrs.py -> xattr.py
old-commit-hash: f21d0f325e
2020-03-19 18:09:26 -07:00
Harald Schafer
83ea66cbfb need sqrtsd
old-commit-hash: bcbcd96d92
2020-03-18 15:23:59 -07:00
Willem Melching
bb112dd2f3 remove internal rawgps (#1252)
old-commit-hash: ee7234485b
2020-03-18 11:40:22 -07:00
Willem Melching
c3d7d8d6af Go to dashcam mode if locked out, fixes #1109
old-commit-hash: d08b56317f
2020-03-18 11:38:00 -07:00
Comma Device
52f3c1aca3 add program dumping to opencl hooks
old-commit-hash: 9a50e0445a
2020-03-18 03:30:39 +00:00
George Hotz
f2d189c077 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>
old-commit-hash: 774912075a
2020-03-17 20:04:55 -07:00
Willem Melching
0c893bda6c Fix kernel logging in logcatd, fixes #957
old-commit-hash: 12ff088b42
2020-03-17 16:35:39 -07:00
Willem Melching
7b8ac11ce2 print boottime in filter_log_message.py
old-commit-hash: ef73582a0f
2020-03-17 16:35:09 -07:00
Willem Melching
897d9ff1e2 camerad zmq_poll, also recover from EAGAIN
old-commit-hash: e69e0486ff
2020-03-17 13:40:07 -07:00
Willem Melching
84e2f106db Check IsTakingSnapshot is not set before starting snapshot
old-commit-hash: 7cd2c4c18f
2020-03-17 11:42:17 -07:00
Willem Melching
209e2250d8 Add CAMRYH firmware versions
old-commit-hash: 58ab243bdb
2020-03-17 11:35:45 -07:00
HaraldSchafer
054faf5f2e 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>
old-commit-hash: af5f99d7cf
2020-03-16 16:19:01 -07:00
Willem Melching
49199cdf74 Add missing 1872 and 1880 to RX_TSS2 fingerprint
old-commit-hash: f7164d0894
2020-03-16 15:06:33 -07:00
Willem Melching
9fd08dd1e2 No logging on EINTR, and log all the errnos
old-commit-hash: a4c94128c2
2020-03-16 14:58:21 -07:00
Willem Melching
f260ab4d94 Add logging to poll EINTR handling, add another catch in camerad/main.cc
old-commit-hash: 439b4625b6
2020-03-16 14:55:12 -07:00
Willem Melching
4b1c53993a Camerad add errno logging, and continue on EINTR
old-commit-hash: 7669a783d6
2020-03-16 14:40:24 -07:00
Andrew Valish
a4bdf0c577 fix sidebar shadow in network settings (#1245)
old-commit-hash: 0aafd67b56
2020-03-16 13:02:45 -07:00
Willem Melching
97c6450e21 Add TSS2 RAV4 EPS fw version
old-commit-hash: a258f1c2e4
2020-03-16 11:33:52 -07:00
Willem Melching
447d0d4bce Only log crashes on comma two/EON
old-commit-hash: 6e7d64a310
2020-03-13 12:37:35 -07:00
Chris Souers
a5927023db Adds 2016 CR-V Executive (Euro version of Touring trim) (#1097)
Co-authored-by: Ted Slesinski <ted_slesinski@epam.com>
old-commit-hash: 035397cd31
2020-03-13 11:48:08 -07:00
HaraldSchafer
3cbcb862c6 stricter calibration requirements (#1227)
* stricter requirements

* update refg

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

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

* fix linter
old-commit-hash: e28832b359
2020-03-12 12:52:31 -07:00
Willem Melching
6c6df5486a Small thermald cleanup
old-commit-hash: 65ad31a7e4
2020-03-12 11:55:33 -07:00
Willem Melching
d2b9f729c8 add honda pilot 2019 to test car models
old-commit-hash: 768f08e129
2020-03-11 16:51:45 -07:00
rbiasini
406d2d0d32 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
old-commit-hash: 093d6cb5ff
2020-03-11 14:32:03 -07:00
Andrew Valish
013111e8d0 filter ublox packets for sidebar (#1233)
old-commit-hash: fa7abadc80
2020-03-11 14:28:29 -07:00
Andre Volmensky
ff7588f6d2 Added LKAS HUD line detection/steer status/hand on wheel warning (#1225)
old-commit-hash: e0227c9a1d
2020-03-11 12:21:08 -07:00
robbederks
b0855ab17c 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
old-commit-hash: 992be20d63
2020-03-10 22:18:48 -07:00
Andrew Valish
20816d909d 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
old-commit-hash: 5ba6beed17
2020-03-09 19:13:32 -07:00
Willem Melching
566eff0c60 Use calibrated reference frame instead of device frame
old-commit-hash: 2abc1a299f
2020-03-09 13:29:30 -07:00
Willem Melching
4073c3f724 Correct reference frame name in car_kf
old-commit-hash: 01a14400cb
2020-03-09 12:49:52 -07:00
Willem Melching
52f033a0de Use new locationd packet in paramsd
old-commit-hash: 01ac9d4722
2020-03-09 12:45:04 -07:00
rbiasini
5849f719ef abstract pedalPressed event (#1218)
* abstract pedalPressed event

* Fix bug

* update refs
old-commit-hash: fe911bcca8
2020-03-08 23:35:00 -07:00
Andrew Valish
38d21a2871 add network strength logging to thermal (#1211)
* add network strength logging to thermal

* import get_network_strength

* write networkStrength
old-commit-hash: 6bbbe8f9cf
2020-03-07 11:14:04 -08:00
Willem Melching
6a23823752 add accord 1.5L to test_car_models
old-commit-hash: fbac82ea21
2020-03-07 11:05:46 -08:00
rbiasini
27c9381aa5 Test interfaces also in enabled state and fix a bug (#1213)
old-commit-hash: 6582d632ec
2020-03-06 23:48:47 -08:00
rbiasini
39f29c0cbe Subaru brake check (#1212)
old-commit-hash: 24e092ffab
2020-03-06 23:17:16 -08:00
Willem Melching
119f2c2a12 add crv5g and optima to test_car_models
old-commit-hash: 82f77e379b
2020-03-06 17:33:30 -08:00