Commit Graph

691 Commits

Author SHA1 Message Date
Willem Melching 33554ecb06 Print prettier androidLog messages
old-commit-hash: f468ad3298c631b50def1ea01118333ff535c8f5
2020-03-20 16:08:09 -07:00
Willem Melching 164d753a5d Handle json decode error
old-commit-hash: d082cc6c6b61f99cea034bc8f1b9c12dd603cca3
2020-03-20 16:01:20 -07:00
Willem Melching 7b4c8cac3a fix androidLogEntry socket name
old-commit-hash: 196b28e311b4a36fa6cb827affea5b45218dd1de
2020-03-20 15:59:48 -07:00
Greg Hogan 1768b4745f remove storage metric from sidebar (#1254)
old-commit-hash: 16ad4bf58be12a20384e84b5a3dc1b5f3f08bb18
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: f21d0f325e1304b08a4e05ccc6b0fe439a7e3928
2020-03-19 18:09:26 -07:00
Harald Schafer 83ea66cbfb need sqrtsd
old-commit-hash: bcbcd96d92e1f2f05e918f74e42799b15eb18d1a
2020-03-18 15:23:59 -07:00
Willem Melching bb112dd2f3 remove internal rawgps (#1252)
old-commit-hash: ee7234485b4a11cfbe4fa218ed3542a1691bd903
2020-03-18 11:40:22 -07:00
Willem Melching c3d7d8d6af Go to dashcam mode if locked out, fixes #1109
old-commit-hash: d08b56317fe31eadc1cffca8f1076acdd2144943
2020-03-18 11:38:00 -07:00
Comma Device 52f3c1aca3 add program dumping to opencl hooks
old-commit-hash: 9a50e0445a13e774b5e392818d004c5dbf9cbd95
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: 774912075af3bb23b6e25e8921ce7da940bcc039
2020-03-17 20:04:55 -07:00
Willem Melching 0c893bda6c Fix kernel logging in logcatd, fixes #957
old-commit-hash: 12ff088b42221dd17d9d97decb1fc61a7cb0a861
2020-03-17 16:35:39 -07:00
Willem Melching 7b8ac11ce2 print boottime in filter_log_message.py
old-commit-hash: ef73582a0fb26a072b1748e8dc8f17ec946b651a
2020-03-17 16:35:09 -07:00
Willem Melching 897d9ff1e2 camerad zmq_poll, also recover from EAGAIN
old-commit-hash: e69e0486ff6125e9d209c4bdda02b5201236548f
2020-03-17 13:40:07 -07:00
Willem Melching 84e2f106db Check IsTakingSnapshot is not set before starting snapshot
old-commit-hash: 7cd2c4c18f76143f7d71e001a3c934fd43e65089
2020-03-17 11:42:17 -07:00
Willem Melching 209e2250d8 Add CAMRYH firmware versions
old-commit-hash: 58ab243bdb5e5990be38d612365ab863728cbb12
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: af5f99d7cfcc37574d893a86a1949f4b5bbbbe8f
2020-03-16 16:19:01 -07:00
Willem Melching 49199cdf74 Add missing 1872 and 1880 to RX_TSS2 fingerprint
old-commit-hash: f7164d08944011e9d8b78bf47e89fe4a870fd166
2020-03-16 15:06:33 -07:00
Willem Melching 9fd08dd1e2 No logging on EINTR, and log all the errnos
old-commit-hash: a4c94128c2ee9824dd4763e7d0ba4d3db3a99fe4
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: 439b4625b68fb7f933c646229da8667e9cf4fea8
2020-03-16 14:55:12 -07:00
Willem Melching 4b1c53993a Camerad add errno logging, and continue on EINTR
old-commit-hash: 7669a783d62cde5514a5577d40018690d4c469c6
2020-03-16 14:40:24 -07:00
Andrew Valish a4bdf0c577 fix sidebar shadow in network settings (#1245)
old-commit-hash: 0aafd67b56a4bac08c5c84e95cad044e5c41dc80
2020-03-16 13:02:45 -07:00
Willem Melching 97c6450e21 Add TSS2 RAV4 EPS fw version
old-commit-hash: a258f1c2e4dbbeea9b7f6b5a65f62447d4cb1278
2020-03-16 11:33:52 -07:00
Willem Melching 447d0d4bce Only log crashes on comma two/EON
old-commit-hash: 6e7d64a3101dba94f848a5f633161b5b52466ff1
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: 035397cd319cb1c08a7fea7735c0b575a1094fc7
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: 628e7e69682f32a6c076d9cacc2ade37121d6f49
2020-03-13 11:15:58 -07:00
Willem Melching 8b6263376d add TOYOTA CHR fw versions
old-commit-hash: 10c3494bc9a6a56e0c8dbfa859a0332c38841262
2020-03-13 11:13:55 -07:00
Willem Melching ed12ecd26a Add TOYOTA PRIUS engine FW
old-commit-hash: 7b1b0ba1150569fdd582b28e2af466b2e7087cc9
2020-03-13 11:01:34 -07:00
Willem Melching 01ee690ab1 Add TOYOTA COROLLA HYBRID TSS2 2019 esp FW version
old-commit-hash: 15dd65d8fcda314ec6b53119554bf9531c30cb38
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: af742a8c154ff301394f0e6188c63ed85a344cd9
2020-03-12 16:40:30 -07:00
ZwX1616 c38139c3e0 rear not front
old-commit-hash: 0608b99cd054c14d78d8055bb2d700b7e0af8224
2020-03-12 16:11:38 -07:00
Willem Melching 7002527ad0 Don't build all the kalman filters on the phone
old-commit-hash: 6be97f6396a89199c44882ed96bd2eed322a77d1
2020-03-12 15:46:38 -07:00
ZwX1616 12efdb39ca log focus state
old-commit-hash: 9362b7eacf12f82d256325af92885adf3f3d9a2d
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: 6b3ff455e2639c06aa333e42e81c7f82ac34ed33
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: e28832b359a2981b6ebeb9f1f3d5bbe72248993c
2020-03-12 12:52:31 -07:00
Willem Melching 6c6df5486a Small thermald cleanup
old-commit-hash: 65ad31a7e45e79d2147dac6d711be68961f1889b
2020-03-12 11:55:33 -07:00
Willem Melching d2b9f729c8 add honda pilot 2019 to test car models
old-commit-hash: 768f08e1299aa4205f47d59f402371128a47261a
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: 093d6cb5ffe086f2c76213367cdbad497bdc5719
2020-03-11 14:32:03 -07:00
Andrew Valish 013111e8d0 filter ublox packets for sidebar (#1233)
old-commit-hash: fa7abadc80d508cf39555f67f1c36bc50e0e42dc
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: e0227c9a1d02e8c2edbffb1c48ec9aef0c142832
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: 992be20d633fbd75ead240a5aeeb86451d42c3c2
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: 5ba6beed17baf17081169d2e1d5b144df00cda76
2020-03-09 19:13:32 -07:00
Willem Melching 566eff0c60 Use calibrated reference frame instead of device frame
old-commit-hash: 2abc1a299f580412246f1be1ae5ead66bab4c804
2020-03-09 13:29:30 -07:00
Willem Melching 4073c3f724 Correct reference frame name in car_kf
old-commit-hash: 01a14400cb0190f7c24e8c9878c2b76c68125efe
2020-03-09 12:49:52 -07:00
Willem Melching 52f033a0de Use new locationd packet in paramsd
old-commit-hash: 01ac9d47220ad1730d095685bca13087fb600bad
2020-03-09 12:45:04 -07:00
rbiasini 5849f719ef abstract pedalPressed event (#1218)
* abstract pedalPressed event

* Fix bug

* update refs
old-commit-hash: fe911bcca8ece66cfeec1eda353fa9bd658cd2bf
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: 6bbbe8f9cf4d32dd1675c78e66fe19c070e928e2
2020-03-07 11:14:04 -08:00
Willem Melching 6a23823752 add accord 1.5L to test_car_models
old-commit-hash: fbac82ea21696cf12bc54c47e17f9a6f58d4fc49
2020-03-07 11:05:46 -08:00
rbiasini 27c9381aa5 Test interfaces also in enabled state and fix a bug (#1213)
old-commit-hash: 6582d632ec58336158147afdcba1172d7455f11e
2020-03-06 23:48:47 -08:00
rbiasini 39f29c0cbe Subaru brake check (#1212)
old-commit-hash: 24e092ffabb86b3093222a0d0de62a312d7c874b
2020-03-06 23:17:16 -08:00
Willem Melching 119f2c2a12 add crv5g and optima to test_car_models
old-commit-hash: 82f77e379b8e398995e000be6eaf3adbdd37d168
2020-03-06 17:33:30 -08:00