Commit Graph

85 Commits

Author SHA1 Message Date
Willem Melching 4061f1d530 Add permanent CAN error alert (#1549)
* Add permanent CAN error alert

* canValid needs some time to initialize

* update ref
old-commit-hash: fcf879d783c345ccbf80252de23f649427c35fbd
2020-05-21 16:08:05 -07:00
Willem Melching e57247be9d Sounds available isdir -> isfile
old-commit-hash: 41da10ff38abfb29c42e66250344176da14e2f65
2020-05-21 14:46:18 -07:00
Adeeb Shihadeh 982aacb28d fix possible FileNotFoundError
old-commit-hash: 260e6aff53f5f579298f81e1d3a01a0e1d6dc7fb
2020-05-21 09:59:39 -07:00
Willem Melching b2fb4632cd Fix #1545, sensor alert on startup
old-commit-hash: 9f0eac90895d9fc4cc4ab782d61f31d3b5ab9685
2020-05-20 11:25:55 -07:00
Willem Melching 6e41973c3c Handle posenet and sensor alerts in locationd (#1541)
* handle posenet and senor alerts in locationd

* defaults now set in capnp file

* Cleanup c++ version of params learner

* update ref commit
old-commit-hash: d099e09fb77544eb00d13ba9aea34a0a3374a52e
2020-05-19 16:45:20 -07:00
Andre Volmensky f6c2c72851 Bugfix: Reset saturated_count if angle no longer saturated (#1522)
old-commit-hash: 135385c5fb47ca1b9efaf3ae9e388b44cd6e538d
2020-05-16 01:14:10 -07:00
Willem Melching a6676b8a62 White panda is deprecated (#1516)
* Start white panda deprecation

* Unify alert text

* Add noentry

* Change to no longer supported

* panda is lowercase

* Capitalize

* rerun ci
old-commit-hash: c85b174584b1281ce1f1d168b0b0610d5d540896
2020-05-15 13:00:00 -07:00
Adeeb 48340cc8cb Alerts + Events refactor (#1466)
old-commit-hash: d976233f696040cd5f9a5081c7b21742b7aaef66
2020-05-14 15:21:21 -07:00
Willem Melching ef6640c7c4 Fix controlsd typo in refactor
old-commit-hash: 516fa29738738b73b863597c4fae49cf688b7154
2020-05-12 18:58:18 -07:00
Adeeb fe106e25a3 Controlsd refactor (#1487)
* it's a class

* more refactor

* remove that

* car interface should create that

* that too

* not a dict

* don't create permanent events every iteration

* break up long lines

* fix honda

* small optimization

* less long lines

* dict is faster

* latcontrol less args

* longcontrol less args

* update profiling script

* few optimizations

* create events together

* clean up

* more clean up

* remove comment

* clean up

* simplify state transition

* more clean up

* update comments
old-commit-hash: 08832ff29d20348ebffd0ac3bcce29ad3a479cee
2020-05-12 15:06:48 -07:00
Willem Melching e07d6c35b1 Show relay malfunction alert (#1373)
* show relay malfunction alert

* Remove empty line

* Also immediate disengage

* Forgot noEntry

* Fix name
old-commit-hash: 2b2751c6bdb3a4bf537b14467182c4b5186b30db
2020-04-16 11:38:31 -07:00
Willem Melching adaede6b37 Force decel on soft disable (#1334)
old-commit-hash: 7643b0a51100ab4318dc687545fbc120677ba9b8
2020-04-08 14:59:17 -07:00
Andre Volmensky 613e84efe0 Add angle based steer saturation timer (#1311)
* Add angle based steer saturation timeout

* Fixed saturated check
old-commit-hash: 522dc29b53c29bc800af84ab5a196d226bf924a6
2020-04-05 10:59:54 -07:00
eFini 7d25d238a3 use put_nonblocking when possible (#1288)
* use put_nonblocking when possible

* revert uneeded changes
old-commit-hash: 106be23c4e20f30dbedd3a2cddaec78584d726c5
2020-03-31 12:09:38 -07:00
Willem Melching aa8ca1819d High speed alert (#1295)
* add speed to high alerts

* Add permanent alert

* Two lines

* No permanent alerts

* Less bad alert

* Typo
old-commit-hash: 3cb1568a546426eb36c0e206db9dea23aa7a886a
2020-03-30 18:41:56 -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
ZwX1616 a004735b19 add webcam to cameras (#1201)
old-commit-hash: a95e61edf4176c034c0537293a3cf0753c45daa1
2020-03-26 19:19:47 -07:00
Willem Melching c3d7d8d6af Go to dashcam mode if locked out, fixes #1109
old-commit-hash: d08b56317fe31eadc1cffca8f1076acdd2144943
2020-03-18 11:38:00 -07:00
Shane Smiskol 682c866a55 initialize all messages in 1 line (#1206)
old-commit-hash: 6ff881f7894d0117099787e56ec0966bfc63fa7c
2020-03-05 17:32:52 -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
ZwX1616 2ad685b194 dmonitoringd (#1016)
old-commit-hash: 6322a275d6
2020-01-30 19:12:44 -08:00
Willem Melching 1dee8638d6 Cache FW query (#1025)
* split fw query and matching

* Read cached firmware versions

* add tests

* this works

old-commit-hash: b7aeb5d64d
2020-01-30 17:57:20 -08:00
Adeeb 92a6873977 disable LDW when calibration is incomplete (#984)
old-commit-hash: f13c5d74aa
2020-01-20 21:43:38 -08:00
George Hotz 079eee7294 selfdrive/controls
old-commit-hash: b0260dadba
2020-01-17 12:48:30 -08:00
George Hotz 81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3
2020-01-17 10:02:52 -08:00
Vehicle Researcher fa4b6f33d1 openpilot v0.7.1 release
old-commit-hash: 8da8b6135c
2020-01-15 14:05:04 -08:00
rbiasini 9a23237e2c Honda fwd fixes (#5)
- fix chime forwarding
- forward radar hud msg from stock
- no EON chime during stock fcw

old-commit-hash: a2ae18d1db
2019-12-25 21:38:00 -08:00
Vehicle Researcher 99b637c7ce openpilot v0.7 release
old-commit-hash: c025b96e8a
2019-12-13 13:03:08 -08:00
Vehicle Researcher b713eae9f8 openpilot v0.6.6 release
old-commit-hash: d7f0b402a8
2019-11-04 15:13:52 -08:00
Riccardo 31085a7991 Remove unneded use of replace, causing json to fail loading the alert
old-commit-hash: 7a2addf782
2019-10-18 11:29:59 -07:00
Vehicle Researcher 89d1d84c70 openpilot v0.6.5 release
old-commit-hash: cf80f7a28b
2019-10-09 18:43:53 +00:00
Vehicle Researcher dfe603c178 openpilot v0.6.4 release
old-commit-hash: 61229779e4
2019-09-09 23:03:02 +00:00
Vehicle Researcher 02cedeadd9 openpilot v0.6.3 release
old-commit-hash: d5f9caa82d
2019-08-13 01:36:45 +00:00
Willem Melching 7609fa5d17 Fix timeout in longitudinal test (#772)
* Fix timeout in longitudinal test
old-commit-hash: 5808958fb2
2019-07-31 18:17:19 -07:00
Vehicle Researcher 3835061760 openpilot v0.6.2 release
old-commit-hash: e90c41c576
2019-07-30 02:27:48 +00:00
Gernby 68f9476e45 Remove offset from curvature (#761)
old-commit-hash: 61bbb52172
2019-07-25 15:00:50 -07:00
Vehicle Researcher 07aa8b1bf3 openpilot v0.6.1 release
old-commit-hash: 94053536b4
2019-07-22 19:17:47 +00:00
Vehicle Researcher 9abcfabc5f openpilot v0.6 release
old-commit-hash: 8a9ed94f5f
2019-06-28 21:11:30 +00:00
Vehicle Researcher e47a2e6e30 openpilot v0.5.13 release
old-commit-hash: dd34ccfe28
2019-06-06 04:38:45 +00:00
Vehicle Researcher 0932b367bd openpilot v0.5.12 release
old-commit-hash: 3f9059fea8
2019-05-16 13:20:29 -07:00
Willem Melching 11dc1912e7 Cleanup Toyota LDW
old-commit-hash: 1da59216b0
2019-05-07 22:42:04 -07:00
Arne Schwarck 1de23f3d10 Add lane departure warning on dashboard for Toyota (#605)
* Add lane departure alert in controlsd

* Need init values for LDA

* Add lane departure in interface.py

* Include LDA in CarControler

* Add logic for LDA in toyotacan

* Add speed condition and comments for LDA

* Correct right CS.vEgo

* Correct rPoly spelling

* Add left and rightLaneDepart to HUDControl in car.capnp

* Add left and rightLane_Depart in UI function

* set controlsd priority

* revert

* There must be a line to depart from

* Include changes from @pd0wm

* Remove redundant False allocation

leftLaneDepart and rightLaneDepart as False by default according to @pd0wm

* Modify variable names

right_lane_depart and left_lane_depart to conform with python naming convention

* Modify variable names

right_lane_depart and left_lane_depart to conform with python naming convention

* Wrap lane departure warning in one bool

old-commit-hash: f5044670fa
2019-05-06 22:19:00 +02:00
Vehicle Researcher 83dfc3ca1f openpilot v0.5.11 release
old-commit-hash: 2f92d577f9
2019-04-23 01:41:19 +00:00
Vehicle Researcher 30f7a33535 openpilot v0.5.10 release
old-commit-hash: f74a201edc
2019-03-26 01:09:18 -07:00
Vehicle Researcher 2cc4edde68 openpilot v0.5.9 release
old-commit-hash: 0207a97040
2019-02-20 01:39:02 +00:00
Vehicle Researcher 3bde47d556 openpilot v0.5.8 release
old-commit-hash: b967da5fc1
2019-01-23 15:34:52 -08:00
Vehicle Researcher f8ce921247 openpilot v0.5.7 release
old-commit-hash: 210db686bb
2018-12-10 14:13:12 -08:00
dekerr 4e8ae9e452 Move calibration values (#441)
* initial commit

* moved constants

old-commit-hash: 53c6ca6589
2018-11-18 17:18:29 -08:00
Vehicle Researcher fdbf213be8 openpilot v0.5.6 release
old-commit-hash: 860a48765d
2018-11-17 02:08:34 -08:00
Vehicle Researcher cda78d7547 openpilot v0.5.5 release
old-commit-hash: 8f3539a27b
2018-10-21 15:00:31 -07:00