Commit Graph

24 Commits

Author SHA1 Message Date
Willem Melching
3cb1568a54 High speed alert (#1295)
* add speed to high alerts

* Add permanent alert

* Two lines

* No permanent alerts

* Less bad alert

* Typo
2020-03-30 18:41:56 -07:00
Willem Melching
1df6b67511 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
2020-03-27 21:44:59 -07:00
Harald Schafer
6766776e73 reformat for sim 2020-03-27 17:02:40 -07:00
Harald Schafer
34f2c0da75 longitudinal e2e mpc 2020-03-26 17:43:11 -07:00
HaraldSchafer
5f8e3b4d93 New lane planner (#1276)
* better lane planner

* works well on test

* needs speed now

* update ref
2020-03-25 16:57:58 -07:00
HaraldSchafer
af5f99d7cf fade ll out and in (#1246)
* fade ll out and in

* bug fixes

* pretty important fixes

* safer in case model misses desire input

* Safer float compares

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-03-16 16:19:01 -07:00
Shane Smiskol
6ff881f789 initialize all messages in 1 line (#1206) 2020-03-05 17:32:52 -08:00
HaraldSchafer
63d3bb517f 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>
2020-03-04 18:51:45 -08:00
Adeeb
e8cb6ea06a 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
2020-02-20 16:22:25 -08:00
Andrew Valish
45718d9294 Add LaneChangeEnabled param and settings toggle (#1093)
* add LaneChangeEnabled param and settings toggle

* Read lane change toggle in pathplanner.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-02-14 15:24:59 -08:00
Willem Melching
59bd58c940 Remove unused path offset learner 2020-02-06 13:48:56 -08:00
Willem Melching
105b95ffd7 Cancel lane change on blinker off 2020-02-06 13:48:20 -08:00
Andy Haden
47f4396d7d Replace 'EON' in offroad alerts 2020-02-03 16:09:08 -08:00
George Hotz
c42e2ecc50 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
2020-02-02 12:15:02 -08:00
ZwX1616
6322a275d6 dmonitoringd (#1016) 2020-01-30 19:12:44 -08:00
Willem Melching
fe9ccb27b1 Remember lane change direction when blinker turns off 2020-01-27 16:19:22 -08:00
Harald Schafer
a06bb77f6b use alpha 2 codes 2020-01-24 13:24:13 -08:00
Arne Schwarck
3c6ba22931 Add Country South Africa to list of RHD countries (#999) 2020-01-24 13:20:11 -08:00
Willem Melching
ba4bf07db2 EON -> Device 2020-01-23 16:38:10 -08:00
mosh-een
53933ebf5b Update gps_helpers.py (#994) 2020-01-23 11:24:42 -08:00
ZwX1616
cf70368f67 replace numpy funs and shorten green prompt (#989) 2020-01-21 13:40:26 -08:00
George Hotz
013166a34e add alert 2020-01-17 17:46:17 -08:00
ZwX1616
b013a00095 not to change awareness to np 2020-01-17 13:12:18 -08:00
George Hotz
b0260dadba selfdrive/controls 2020-01-17 12:48:30 -08:00