Commit Graph

1179 Commits

Author SHA1 Message Date
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
Willem Melching 6d4e12c32f Add 2017 Pacifica Hybrid to test_car_models
old-commit-hash: 3d15eb39d5c48d8d1b341216ef3c0301cec807a8
2020-03-06 17:13:09 -08:00
Willem Melching ac9ecb3e3b also call interface.apply in test
old-commit-hash: e31ebda7a304f9783928edf6b5f4697b86e695f9
2020-03-06 17:02:37 -08:00
Willem Melching 3206cb8ca2 Unneeded tuple
old-commit-hash: ca5185864460c83fd03a8077adf89bf3e9ea729c
2020-03-06 14:06:54 -08:00
Willem Melching 2ab4d10d20 Fix typo in test comment
old-commit-hash: df16d08efbc2a7950b0ec2ea90906534957ce0fc
2020-03-06 14:06:02 -08:00
Willem Melching d7810667e8 Also test radar interface
old-commit-hash: 54ef38d7f614eda7383a4a4059d8f3addf0995ef
2020-03-06 14:02:40 -08:00
Willem Melching 60677729eb Also create a radar interface
old-commit-hash: 86e0202549b3d6eb9965d9149a9cee4517c26159
2020-03-06 13:56:27 -08:00
Willem Melching de8dcf3614 Add test that gets all the car params
old-commit-hash: 16b6c70884f870461cd3fa7d18daf61faa5c25d0
2020-03-06 13:54:32 -08:00
Willem Melching fd3db576af More public routes in test car models (#1208)
* remove non public routes

* Fix linter

* add rav4h

* add odyssey

* add pilot and civic_bosch

* cth and camry

* add regal
old-commit-hash: a25acaae0770a32aa54abd4d41dc0f5ab5077f9a
2020-03-06 13:44:34 -08:00
Jason Young d3d88ff4a2 Updates to Volkswagen port (#1147)
* Remove unreachable Radar Fault alert code
* Update max torque
old-commit-hash: c2200baf600fe0003355e8164874b4599ad8c558
2020-03-05 22:45:28 -08:00
Shane Smiskol 682c866a55 initialize all messages in 1 line (#1206)
old-commit-hash: 6ff881f7894d0117099787e56ec0966bfc63fa7c
2020-03-05 17:32:52 -08:00
rbiasini e848fbf7f2 Nissan: remove unnecessary lines (#1207)
old-commit-hash: 543ba27103da2012abf0bc66434fa5ca13f34278
2020-03-05 17:25:18 -08:00
Willem Melching 261419dfda Always use Toyota good angle sensor if available (#1198)
* always use good angle sensor if available

* fix linter

* Don't learn offset in TSS2 cars

* Fix spelling

* Cleanup

* Remove another not

* Add to signals for all cars

* Removed unused import

old-commit-hash: 498fa13cb1b3219b6d492b3205ccc73e3115acef
2020-03-05 16:23:00 -08:00