Commit Graph

12534 Commits

Author SHA1 Message Date
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
rbiasini
2338ff9790 upd panda (#1235) 2020-03-11 18:41:11 -07:00
Willem Melching
768f08e129 add honda pilot 2019 to test car models 2020-03-11 16:51:45 -07:00
ZwX1616
68e35a6a98 dmonitoring model 2ad118ee 2020-03-11 15:45:27 -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
rbiasini
cc29999960 upd panda and opendbc (#1228) 2020-03-11 01:27:06 -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
ZwX1616
5eeb8a0e02 typos 2020-03-10 13:38:40 -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
Andrew Valish
8eff974a41 revise wifi signalstrength dumpsys query (#1224)
* revise wifi signalstrength dumpsys query

* cleaner index search per willems comment

* cleaner index search per willems comment
2020-03-09 18:00:24 -07:00
Andy Haden
263e5ce0b1 bump cereal for qlog radarState 2020-03-09 14:34:50 -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
Willem Melching
2b43df0d6e bump cereal: add liveLocationKalman to qlogs 2020-03-09 12:38:16 -07:00
rbiasini
1d2261e5ac update panda (#1219) 2020-03-09 12:18:08 -07:00
Andrew Valish
d161584f99 use unknown networkstrength, not none (#1222) 2020-03-09 10:48:28 -07:00
rbiasini
fe911bcca8 abstract pedalPressed event (#1218)
* abstract pedalPressed event

* Fix bug

* update refs
2020-03-08 23:35:00 -07:00
rbiasini
6554e04c0c upd panda (#1217)
* upd panda

* not sure what the prev panda commit was
2020-03-08 20:01:06 -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
Greg Hogan
f48e39778d support any number of top level dirs 2020-03-06 17:55:42 -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
Willem Melching
a25acaae07 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
2020-03-06 13:44:34 -08:00
Jason Young
c2200baf60 Updates to Volkswagen port (#1147)
* Remove unreachable Radar Fault alert code
* Update max torque
2020-03-05 22:45:28 -08:00
Shane Smiskol
6ff881f789 initialize all messages in 1 line (#1206) 2020-03-05 17:32:52 -08:00
rbiasini
543ba27103 Nissan: remove unnecessary lines (#1207) 2020-03-05 17:25:18 -08:00
Willem Melching
93c6032630 bump cereal 2020-03-05 16:51:49 -08:00
Willem Melching
498fa13cb1 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
2020-03-05 16:23:00 -08:00
HaraldSchafer
24eeec4e0b Locationd packet (#1204)
* initial

* add desire

* initial

* some progress

* fill in, untests

* add timestamping

* fixes

* unix timestamp

* no debug print

* cleanre

* normal syntax

* no laika
2020-03-05 15:59:49 -08:00
Willem Melching
6db044c86c Nissan port - dashcam only (#1203)
* Nissan port

* add x-trail to release notes

* update readme and model

* remove from releases until tested

* Don't test Nissan for now

* Forced dashcam in test_car_models
2020-03-05 15:40:07 -08:00
Willem Melching
ca05a18de9 bump panda 2020-03-05 15:14:23 -08:00
Willem Melching
f4ee70d035 bump opendbc 2020-03-05 15:10:56 -08:00
George Hotz
2f2b85581c Add sentinels to logs and qlogs (#1205)
* sentinel WIP

* logger is now a cc, not a c

* simpler code doesn't touch loggerd.cc

* oops, double lock. and logreader is nicer
2020-03-05 14:29:34 -08:00
Willem Melching
3012ce1fb5 CHR hybrid firmware versions 2020-03-05 14:26:30 -08:00
Willem Melching
78c1745ed5 add progress to save_logs 2020-03-05 13:24:21 -08:00
Willem Melching
6ccf11ffb0 revert opendbc 2020-03-05 13:19:08 -08:00
Willem Melching
0497d26dd7 bump opendbc 2020-03-05 11:55:25 -08:00