Commit Graph

126 Commits

Author SHA1 Message Date
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: 928b1561aa
2020-04-09 12:09:20 -07:00
Willem Melching
2c79408e43 update test ref
old-commit-hash: 3eda14f2fe
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: 0f6c22ce8b
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: d0b3c69505
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: 41bb3ac7ca
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: 43b62d8bb6
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: 0970dd74b7
2020-04-01 10:51:47 -07:00
Willem Melching
bb5e87efda 2020 Chrysler Pacifica (#1297)
* 2020 pacifica support

* Update readme
old-commit-hash: 746f7ed9b1
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: 9c16ad8e18
2020-03-29 15:28:06 -07:00
Willem Melching
3858721065 update ref
old-commit-hash: 46ae7f0369
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: 3db63b781d
2020-03-29 12:25:15 -07:00
Willem Melching
8a15a8a900 add nissan to test_processes
old-commit-hash: fca82ba503
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: 1df6b67511
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: 2ecddbb3b6
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: 5f8e3b4d93
2020-03-25 16:57:58 -07:00
Willem Melching
0311b53855 fix test ref
old-commit-hash: e074b4fbe8
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: 035397cd31
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: 628e7e6968
2020-03-13 11:15:58 -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
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
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
Willem Melching
6a23823752 add accord 1.5L to test_car_models
old-commit-hash: fbac82ea21
2020-03-07 11:05:46 -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
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
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
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
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
Willem Melching
952031d4fe fix update_ci_routes.py
old-commit-hash: a1a7c2b437
2020-02-27 13:18:39 -08:00
Willem Melching
839facab15 ignore IGNORED_FINGERPRINTS in fingerprint test
old-commit-hash: 6eca88e9bc
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: e90d0e832d
2020-02-27 10:14:21 -08:00
Willem Melching
afc08f9b9a fix update refs
old-commit-hash: 61706ce3a0
2020-02-26 16:44:53 -08:00
Adeeb
c6f9b68ef9 Process replay enhancements (#1153)
* process replay: exclude processes and cars

old-commit-hash: 796d5c8cca
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: a817d1c1e7
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: 9685a5a743
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: ba6f555ede
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: fdbe289e71
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: 85e8bb90d4
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: e8cb6ea06a
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: af39d74a5b
2020-02-20 14:06:02 -08:00
Willem Melching
759091791c Add VW to process replay test
old-commit-hash: 5bf81617bd
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: 57c44e3705
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: 0c67143c92
2020-02-18 15:28:15 -08:00