Commit Graph

110 Commits

Author SHA1 Message Date
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 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 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
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
Willem Melching 6a23823752 add accord 1.5L to test_car_models
old-commit-hash: fbac82ea21696cf12bc54c47e17f9a6f58d4fc49
2020-03-07 11:05:46 -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 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
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: 6db044c86cad910235a0cbcaf5f5f91775fe4e26
2020-03-05 15:40:07 -08:00
Willem Melching e78cad8989 add progress to save_logs
old-commit-hash: 78c1745ed547da09f3003bedfb040129dcd03a78
2020-03-05 13:24:21 -08:00
Harald Schafer b2db29d305 reupdate calib
old-commit-hash: c0557b051969206cafec463b12b3d6e0ea5298aa
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: 63d3bb517fdac3d953e67ca4a16f2c742388cdc5
2020-03-04 18:51:45 -08:00
Harald Schafer ef6362b42f stable calib
old-commit-hash: bae7816999bc7ba020e045142eb8578dc8ccf669
2020-03-04 18:44:33 -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: c8c4708f21652218644e981185a808ea911de869
2020-02-27 14:56:36 -08:00
Willem Melching 952031d4fe fix update_ci_routes.py
old-commit-hash: a1a7c2b43733388eb4690d020e1854b2016b7c3c
2020-02-27 13:18:39 -08:00
Willem Melching 839facab15 ignore IGNORED_FINGERPRINTS in fingerprint test
old-commit-hash: 6eca88e9bcc4c6d32304444c6565ca6be0d77bbb
2020-02-27 13:14:59 -08:00
rbiasini 0dd5b9ff3a Add brake press disengagement in Chrysler (#1163)
* Add brake press disengagement in Chrysler
old-commit-hash: e90d0e832d94258f7bd0cb8091e83ed808cd5361
2020-02-27 10:14:21 -08:00
Willem Melching afc08f9b9a fix update refs
old-commit-hash: 61706ce3a0184b47cb64c8e83b36395c5ddb975c
2020-02-26 16:44:53 -08:00
Adeeb c6f9b68ef9 Process replay enhancements (#1153)
* process replay: exclude processes and cars

old-commit-hash: 796d5c8ccac84af5df8e9671a34cae2596d21ca7
2020-02-26 11:31:27 -08:00
rbiasini 19f0c3e249 Hyundai: fix gas and gasPressed signals (#1152)
* Hyundai: fix gas and gasPressed signals

* upd panda

* update ref

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

old-commit-hash: a817d1c1e7e380262b511d9ae76e513dcce0729c
2020-02-22 20:46:27 -08:00
rbiasini 8fc38619c0 Abstract gasPressed for all cars (#1151)
* min_steer_speed alert (with adjusted hysteresis) for all cars, abstracted gas pre_enable event

* move lines a bit

* more GM cleanup

* typo

* move espDisabled to carState packet

* brought back min steer speed alert only in hyundai. It's a bit tricky and behavior should be changed

* ops, wrong change

* bug

* update cereal

* update ref
old-commit-hash: 9685a5a74318dc168cf4f3da994f983df5db08c0
2020-02-21 18:24:37 -08:00
Chris Souers 53dbe430a8 Add support for 2019 Civic Sedan 1.6L Diesel with CVT (#1091)
add car

Update test_car_models.py

Update test_car_models.py

add firmware

Update README.md

Update test_car_models.py
old-commit-hash: ba6f555ede7cd3f0daf94bf413511b409dd4a9d6
2020-02-21 11:03:10 -08:00
Willem Melching c6ec40cbc5 Add HONDA.ACCORDH to test_car_models (#1143)
Co-authored-by: Arne Schwarck <arneschwarck@gmail.com>

old-commit-hash: fdbe289e71758d75e75805f98c36f56848379081
2020-02-20 16:23:29 -08:00
Willem Melching 2d44c22265 Merge 2019 and 2020 Chrysler Pacifica Hybrid (#1142)
* Merge 2019 and 2020 Chrysler Pacifica Hybrid

* fix carcontroller

old-commit-hash: 85e8bb90d4fa657c7adde4ab32023f4844a53775
2020-02-20 16:23:10 -08:00
Adeeb 65a2c62114 Abstract common events + event cleanup (#1129)
* too many if

* unused

* whitespace

* key

* sefldrive/car/*

* no more gctx

* lower

* start abstracting common events

* all cars

* start small

* all cars

* reverse gear

* wrongCarMode

* wrongGear

* espDisabled

* steerUnvailable

* make linter happy

* c isn't used

* fix esp_disabled in VW

* update ref

* more red

* more cleanup

* fix subaru

* update ref

old-commit-hash: e8cb6ea06a2470dd89a6ad8fd17bd1d1b62034cc
2020-02-20 16:22:25 -08:00
rbiasini b495a36507 Abstract std params (#1138)
* get_can_parser and get_cam_can_parser are now standard static methods
old-commit-hash: af39d74a5bad29660e244daf0ed000b1183458bc
2020-02-20 14:06:02 -08:00
Willem Melching 759091791c Add VW to process replay test
old-commit-hash: 5bf81617bdbc21fcbd178c5f2a02ec53cb9418d9
2020-02-20 11:46:57 -08:00
Greg Hogan c58361fbcb WIP: Honda Steering Improvements (#983)
* move honda steer params to CarParams

* use breakpoints/values from firmware

* remove comment

* civic fw mod max included deadzone

* civic bosch needs to be separate

* script to measure steering accuracy

* civic tuning

* update cr-v values

* cleanup

* averaging over 10 samples was silly

* update stock civic and cr-v tuning

* remove comment

* update replay expected results

old-commit-hash: 57c44e3705a2e442a169ab9da5571aab4ef16ae4
2020-02-19 13:28:01 -08:00
rbiasini 6209ad5120 Carstate returns capnp struct (#1115)
* Before abstraction, adding speed init from VW as well

* strting to abstract carstate class

* fix bug and update lock?

* revert pipfile change

* another bug

* fix linter

* bug fix

* remove a bunch of diplicated kf code

* better to not have class vars. will abstract __init__ anyway later

* abstract common instance vars in carstate init and a generic gear parser static method

* abstract gear parser for chrysler

* abstract gm gear parser too

* remove unnecessary random vars

* Chrysler: carstate returns capnp struct directly

* revert ref commit

* test ref

* WIP

* more WIP

* ops, missed this conflict

* ford as well

* not sure why this got deleted

* no need to copy

* remove copy

* remove copy import

* remove unnecessary intermediate variable

* remove obsolete comments

* GM: have carstate returning capnp struct directly

* Honda carstate also outputing capnp struct

* hyundai too now returns capnp from carstate

* ops, not meant this

* Subaru carstate also returning capnp

* Toyota: capnp struct as output of carstate

* fix bool

* minor simplififcation in Honda

* no need to negate

* VW carstate returning capnp struct (#1118)

* VW carstate also returning capnp struct

* fixed typo

* Remove unused blinker button (#1119)

* remove unused blinker button

* ops, this wasn't meant

* remove blinker button for VW as well

* update ref

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

old-commit-hash: 0c67143c925f3ead6c3e88675e4fcfa4fa3f9c28
2020-02-18 15:28:15 -08:00
rbiasini 0c0dd4c743 Chrysler: carstate returns capnp struct directly (#1110)
* Before abstraction, adding speed init from VW as well

* strting to abstract carstate class

* fix bug and update lock?

* revert pipfile change

* another bug

* fix linter

* bug fix

* remove a bunch of diplicated kf code

* better to not have class vars. will abstract __init__ anyway later

* abstract common instance vars in carstate init and a generic gear parser static method

* abstract gear parser for chrysler

* abstract gm gear parser too

* remove unnecessary random vars

* Chrysler: carstate returns capnp struct directly

* revert ref commit

* test ref

* ops, missed this conflict

* not sure why this got deleted

* no need to copy

* remove copy import

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

old-commit-hash: 703eb511da31d80e93d1f009d6d8de76c863f623
2020-02-17 13:35:51 -08:00
Willem Melching f4b936dc2f Add fingerprint for 2019 Chrysler Pacifica Hybrid
old-commit-hash: f26f085a368edd50d93f0e8117f4cc9d75a4284b
2020-02-14 15:35:39 -08:00
Willem Melching d11cfbe33e fix fingerprint test
old-commit-hash: e2253b072e89088a6ca78492754de319f50cff53
2020-02-13 16:53:41 -08:00
Willem Melching dcfe0b17c0 Fingerprint rav4 hybrid tss2 only using firmware versions (#1084)
* fingerprint rav4 hybrid tsss only using firmware

* remove print statement

old-commit-hash: 9e6e1cba560fcb8d752b5b9c55c32a56d9aea4d1
2020-02-12 12:59:38 -08:00
Patipat Susumpow 9227e375b7 Add support for Lexus NX 300h 2018 (#1077)
* Add support for Lexus NX 300h 2018

* Add Lexus NX 300h 2018 to README.md

* Fix a misplaced value CAR.LEXUS_NXH in the values.py

old-commit-hash: 576317ad104cba59e2a048886c95a52f07b076c3
2020-02-11 19:27:17 -08:00
Willem Melching b80ad41680 Re enable athenad test (#1058)
* Renable athena test

* debug

* Revert "debug"

This reverts commit 30f68055f8ea047ba4e2989d63a5020e0468487f.

* Specify correct pythonpath for tests

Co-authored-by: Andy <andyh2@me.com>

old-commit-hash: 960b42c523819238e20ce343306872cc0cb03465
2020-02-11 19:26:34 -08:00
che220 79c629adab 2020 Toyota Highlander (TSS2) (#1065)
* added 2020 highlander (TSS2)

* add HIGHLANDER_TSS2 test into routes

* reduce HIGHLANDER_TSS2 weight to 4700 from 4900

* add highlander 2020 limited to the list of supported cars

old-commit-hash: 4ea729460762251686d74c1d0d5af23a93c7493d
2020-02-11 11:06:50 -08:00
Greg Hogan c7dfd582c3 exclude dcamera files from ci routes
old-commit-hash: dabe9d71ab1f7ee4fc4118ccce9b331ebcd801ca
2020-02-06 14:26:48 -08:00
Adeeb e3cb9b937c test car models: fix random hanging (#1055)
* debug print

* unlogger doesn't need fcamera.hevc

* only need the rlog

* tiemout for log downloading

* try again after timeout

old-commit-hash: 30dffb486a
2020-02-06 10:53:59 -08:00
illumiN8i e59494ac9c 2020 Lexus RX 350 (#1046)
* Lexus RX 2020

* Update test_car_models.py

old-commit-hash: 39c9c85562
2020-02-03 10:12:13 -08:00
Drew Hintz f5722f8353 support for Chrysler Pacifica 2020 Hybrid (#1021)
* support for Chrysler Pacifica 2020 Hybrid
Thanks to Benson in Discord.
Example segment: 8190c7275a24557b|2020-01-29--08-33-58--7

* Add relevant route to selfdrive/test/test_car_models.py

* fix segment test name

old-commit-hash: 5aff2b6885
2020-02-03 09:17:45 -08:00
George Hotz c20b197bce manager runs on Mac, and other openpilot for PC fixes (#1037)
* use the openpilot/persist directory on PC

* manager runs on mac

* sim runs w/o carla

* fix params location in test

* that rmtree can fail and it's okay

* refactor params clear functionality

* set PARAMS_PATH

old-commit-hash: c42e2ecc50
2020-02-02 12:15:02 -08:00
Adeeb b40699f75c test_car_models: fail if a model has no routes (#1029)
old-commit-hash: d4c3c7f6f8
2020-02-01 18:41:25 -08:00
ZwX1616 2ad685b194 dmonitoringd (#1016)
old-commit-hash: 6322a275d6
2020-01-30 19:12:44 -08:00
illumiN8i b8852dd782 Lexus RX 2016-2017 (#1001)
fix dbc name

Add Lexus RX to test_car_models.py

correct route in Lexus RX test

Update test_car_models.py
old-commit-hash: 3ebb0bc46f
2020-01-30 13:32:30 -08:00
Willem Melching c243cff6c0 Fix ci routes sync script target path
old-commit-hash: a97ebc28b5
2020-01-30 13:21:14 -08:00