Commit Graph

127 Commits

Author SHA1 Message Date
Adeeb 7f2008aa0b Remove Cadillac CT6 port (#1359)
* remove CT6 port

* dont need this route

* extra char

* fix carcontroller params
old-commit-hash: e22482eb31f0dd7851fec6ecf448cf99a14b7f5c
2020-04-13 15:53:24 -07:00
Adeeb 7560d6aba6 Toyota: use universal gas pressed bit to match panda safety (#1335)
* Toyota: use universal gas pressed bit to match panda safety

* update ref
old-commit-hash: 928b1561aabb3683875d5c083377d5c5d894d543
2020-04-09 12:09:20 -07:00
Willem Melching 2c79408e43 update test ref
old-commit-hash: 3eda14f2fea253c6a694670bde1c1d7be57d2ddd
2020-04-07 21:43:57 -07:00
Adeeb d4cec82895 Unit test for alert width (#1307)
* unit test for alert width

* fix scale

* comment

* fix offending alert text

* rename

* update process replay refs

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 0f6c22ce8b3fbbbbb8fff59e44f49b8ec1578e90
2020-04-07 21:37:17 -07:00
martinl 56fd19b031 Add Subaru gearShifter to carstate (#1318)
* Add Subaru gearShifter to carstate

* reset submodules, remove ignore gearshifter from subaru interface

* update apks to master

* update ref_commit
old-commit-hash: d0b3c695058ce0798d1fd025495903f40851b533
2020-04-07 11:55:17 -07:00
Andy e43b40540d Sidebar Connectivity Status (#1268)
* store athena connected-at time

* refactor

* deref

* dt import

* Athena status based on last ping time param

* upd test for pingtime

* lower error timeout
old-commit-hash: 41bb3ac7ca586b41fa91ad5a6392c88a2c4d5cb3
2020-04-05 11:06:49 -07:00
Arne Schwarck cc1eafea97 Toyota Tss2 Blindspot signals (#1309)
* Toyota Tss2 Blindspot signals

Adding these signals are easy, they are on the can bus.

* Update ref_commit
old-commit-hash: 43b62d8bb6627c6e33b082848a978ab65d7ec7d0
2020-04-03 08:31:12 -07:00
Jason Young 40f9c6faa1 Boot-loop testing script for EON/C2 device sensors (#1303)
* Sensor test boot-loop script

* Changing file permissions

* Set executable

* Changing file permissions

* Sensor test boot-loop script

* Changing file permissions

* Set executable

* Changing file permissions

* Bugfix to text_window

* Capture logs during a failure event

* Capture logs during a failure event
old-commit-hash: 0970dd74b705307a0200932cd47a2f85ef90cd8b
2020-04-01 10:51:47 -07:00
Willem Melching bb5e87efda 2020 Chrysler Pacifica (#1297)
* 2020 pacifica support

* Update readme
old-commit-hash: 746f7ed9b1e5756feb24938ff8287ad075c22b5b
2020-03-31 15:47:49 -07:00
Andre Volmensky 218a8cb04c Nissan set speed (#1289)
* LKA_ACTIVE should be set with enabled, not cruiseState.enabled. Was causing panda violations

* Added cruiseState.speed to Nissan X-Trail

* Bump opendbc

* Remove redundant if statement

* Fix tests

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9c16ad8e184171f8d07bfc764e89a1067f4d1086
2020-03-29 15:28:06 -07:00
Willem Melching 3858721065 update ref
old-commit-hash: 46ae7f036955ebcc64f080ab79b23f481ac8792a
2020-03-29 14:53:51 -07:00
Arne Schwarck 62bdef3861 Do we still need this? (#1290)
Tesla is not supported so do we still need this here as VW uses 840 in their FP
old-commit-hash: 3db63b781d991dd7e8f54806e0944e81d7767637
2020-03-29 12:25:15 -07:00
Willem Melching 8a15a8a900 add nissan to test_processes
old-commit-hash: fca82ba503a663ec97b7ba89c2c3da80aef739b2
2020-03-27 21:54:40 -07:00
Willem Melching 0d03fad5b6 Nissan leaf (#1275)
* split out leaf and xtrail

* Add brake pedal

* This should work

* Fix test car models + bump panda

* Combined cruise enabled detection in single message

* Proper frequency checks

* Add doors

* Blinkers and doors

* Seatbelt

* Gear

* Add cancel message

* Unify steering pressed

* Remove angle limit

* Add steer saturation alert for angle based control

* Add set speed

* Change wheel speed factor

* Fix offset in set speed

* Timeout on engage for steer saturated

* Put counter back

* try cancel using seatbelt

* Try different cancel message

* Rename cancel signal

* Add LKAS alert

* Add missing fingerprint values

* Update test car models

* Add some comments
old-commit-hash: 1df6b67511e0872c134edef0eb8535d71e0b2cfd
2020-03-27 21:44:59 -07:00
George Hotz 73e64336d6 Move all non Honda+Toyota to community supported (#1280)
* readme update, still need the gates on the cars themselves

* add community feature gating to other car ports

* promotion note

* from the brand

* readme touchups

* sell the harness

* full ISO

* update ref

Co-authored-by: George Hotz <geohot@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 2ecddbb3b666592f0aff3418b70c362db6b61871
2020-03-27 10:59:07 -07:00
HaraldSchafer ec2b82f11c New lane planner (#1276)
* better lane planner

* works well on test

* needs speed now

* update ref
old-commit-hash: 5f8e3b4d93109f1a1754f468e9241567e1d35c8d
2020-03-25 16:57:58 -07:00
Willem Melching 0311b53855 fix test ref
old-commit-hash: e074b4fbe8c33b0ac350cfdd057fd3583a1fb193
2020-03-23 14:16:32 -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 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