Commit Graph

10759 Commits

Author SHA1 Message Date
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
Willem Melching 6d4e12c32f Add 2017 Pacifica Hybrid to test_car_models
old-commit-hash: 3d15eb39d5
2020-03-06 17:13:09 -08:00
Willem Melching ac9ecb3e3b also call interface.apply in test
old-commit-hash: e31ebda7a3
2020-03-06 17:02:37 -08:00
Willem Melching 3206cb8ca2 Unneeded tuple
old-commit-hash: ca51858644
2020-03-06 14:06:54 -08:00
Willem Melching 2ab4d10d20 Fix typo in test comment
old-commit-hash: df16d08efb
2020-03-06 14:06:02 -08:00
Willem Melching d7810667e8 Also test radar interface
old-commit-hash: 54ef38d7f6
2020-03-06 14:02:40 -08:00
Willem Melching 60677729eb Also create a radar interface
old-commit-hash: 86e0202549
2020-03-06 13:56:27 -08:00
Willem Melching de8dcf3614 Add test that gets all the car params
old-commit-hash: 16b6c70884
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: a25acaae07
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: c2200baf60
2020-03-05 22:45:28 -08:00
Shane Smiskol 682c866a55 initialize all messages in 1 line (#1206)
old-commit-hash: 6ff881f789
2020-03-05 17:32:52 -08:00
rbiasini e848fbf7f2 Nissan: remove unnecessary lines (#1207)
old-commit-hash: 543ba27103
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: 498fa13cb1
2020-03-05 16:23:00 -08:00
HaraldSchafer b038c1f93b 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

old-commit-hash: 24eeec4e0b
2020-03-05 15:59:49 -08:00
Willem Melching 0a47a0cb3e 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

old-commit-hash: 6db044c86c
2020-03-05 15:40:07 -08:00
George Hotz 640c41a3ff 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

old-commit-hash: 2f2b85581c
2020-03-05 14:29:34 -08:00
Willem Melching c55d04cf6e CHR hybrid firmware versions
old-commit-hash: 3012ce1fb5
2020-03-05 14:26:30 -08:00
Willem Melching e78cad8989 add progress to save_logs
old-commit-hash: 78c1745ed5
2020-03-05 13:24:21 -08:00
Harald Schafer b2db29d305 reupdate calib
old-commit-hash: c0557b0519
2020-03-04 19:02:14 -08:00
HaraldSchafer 544d198bed Pulse desire (#1172)
* initial

* compilation fixes

* add desire

* pulse desire

* 0d5728f6-a918-40a6-bce3-a9d0f1238180/20

* cleaner

* inject model

* inject model

* test runs

* ah already done I see

* remove useless

* update

* updates, doesnt work

* fix generating new references

Co-authored-by: Willem Melching <willem.melching@gmail.com>

old-commit-hash: 63d3bb517f
2020-03-04 18:51:45 -08:00
Harald Schafer ef6362b42f stable calib
old-commit-hash: bae7816999
2020-03-04 18:44:33 -08:00
Harald Schafer 9e86d1d5fb unstable init
old-commit-hash: a8f2dbe727
2020-03-04 18:20:10 -08:00
rbiasini f25442a4ee removing ipas steering control option from toyota (#1193)
* removing ipas steering control from toyota

old-commit-hash: a984da1f9c
2020-03-04 10:42:36 -08:00
Willem Melching dea4e5681e default values in version.py, fixes #1187
old-commit-hash: 4695b2daa9
2020-03-03 15:21:34 -08:00
Chris Souers 959c28a80f Restrict CIVIC_BOSCH_DIESEL to FW fingerprinting (#1189)
old-commit-hash: 7d764b409c
2020-03-03 14:09:18 -08:00
Willem Melching 5dcfd8adca Remove Camry fingerprints from Rav4 list
old-commit-hash: c0b8f4faed
2020-03-03 12:09:28 -08:00
Willem Melching 1076fb3da2 Track CPU usage in CI (#1168)
* run openpilot for 60 seconds and report cpu

* Not passive

* Set training version

* Write cpuset

* Add community toggle

* Formatting

* Refactor

* Reorder processes

* Add max cpu

* Try this

* Try this to exit

* Does this work?

* This should work

* now it should work again

old-commit-hash: 3d2696c60b
2020-03-02 10:40:47 -08:00
Andrew Chan 5a125fc7d6 Adding error checking to only use the cached fp if they're valid (#1182)
old-commit-hash: 5e9daf2471
2020-03-02 09:04:49 -08:00
pjlao307 77a7daba64 Add missing FW for 2019 Civic EX (#1181)
* Add missing FW for 2019 Civic EX

* Move to correct list (bosch civic)

old-commit-hash: 4557ee62e7
2020-02-29 14:38:44 -08:00
George Hotz 67176f1211 Simulator running with keyboard (#1176)
* sim with keyboard

* write calibration

* need recv

* use readchar

* doesn't accelerate

* queue, not zmq

* fix line wrap

* fix physics

* add BLOCK to manager

old-commit-hash: 9d8d7ade3e
2020-02-29 10:51:39 -08:00
Comma User 7733ff9191 no thermal on pc
old-commit-hash: 2716e37b28
2020-02-28 20:27:41 -08:00
chonggang xu e8ff2ff2b0 add the ECU.transmission fw version for Honda Odyssey 2020 NAV&RES (#1169)
old-commit-hash: 750ed97f4f
2020-02-27 23:15:14 -08:00
theantihero 976a4197ad Add 2019 Honda Insight (#1166)
* add 2019 Honda Insight + fw fp

* add actual fp and add to ignored, but still required for ECU detection

* add Insight dirty route for now

* update README.md, was wrong mph for each

* update test_car_models

* remove dbc extension

old-commit-hash: c8c4708f21
2020-02-27 14:56:36 -08:00