Commit Graph

5 Commits

Author SHA1 Message Date
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 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
Andre Volmensky b4523da2c8 Nissan lane change (#1236)
* Scaled LKAS_MAX_TORQUE based on dbc change

* Bump opendbc
old-commit-hash: 6b3ff455e2639c06aa333e42e81c7f82ac34ed33
2020-03-12 14:45:24 -07:00
Andre Volmensky ff7588f6d2 Added LKAS HUD line detection/steer status/hand on wheel warning (#1225)
old-commit-hash: e0227c9a1d02e8c2edbffb1c48ec9aef0c142832
2020-03-11 12:21:08 -07: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