Commit Graph

26 Commits

Author SHA1 Message Date
Mitchell Goff
608f00f814 Split planner and pathplanner publishing into separate 'publish' methods (#19860)
* Split planner and pathplanner publishing into separate 'publish' methods

* Updated test_following_distance.py

* Combined publish+send_mpc_solution methods
2021-01-26 20:27:24 -08:00
HaraldSchafer
d628352098 important for indi (#19926)
* important for indi

* dont change that in this pr
2021-01-26 14:26:27 -08:00
HaraldSchafer
0e49919ab9 Cleanup pathplanner (#19827)
* no divide by 0

* misc cleanup

* final fixes

* remove last polys

* new ref

* fix test

* update again
2021-01-19 00:02:53 -08:00
HaraldSchafer
bf5332c491 back to open loop (#19781) 2021-01-16 13:43:30 -08:00
Harald Schafer
61b7527b95 fix tests 2021-01-14 21:46:01 -08:00
HaraldSchafer
158210cde8 Mpc rework2 (#19660)
* start again

* need that too

* this actually works

* not needed

* do properly

* still works

* still works

* still good

* all G without ll

* still works

* all still good

* cleanup building

* cleanup sconscript

* new lane planner

* how on earth is this silent too....

* update

* add rotation radius

* update

* pathplanner first pass

* misc fixes

* fix

* need deep_interp

* local again

* fix

* fix test

* very old

* new replay

* interp properly

* correct length

* another horrible silent bug

* like master

* fix that

* do doubles

* different delay compensation

* make robust to empty msg

* make pass with hack for now

* add some extra

* update ref for increased leg

* test cpu usage on this pr

* tiny bit faster

* purge numpy

* update ref

* not needed

* ready for merge

* try again after recompile

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-01-14 18:43:50 -08:00
HaraldSchafer
e6668625fa set y too (#2448)
* set y too

* new ref
2020-11-04 19:52:05 -08:00
Willem Melching
ce85e402f4 Fix lane change when blinker is turned off early (#2324) 2020-10-13 17:42:29 +02:00
Willem Melching
65e5032a97 Revert "tici: take into account frame timestamp (#2199)"
This reverts commit 3a494e144b.
2020-09-21 10:31:01 +02:00
Willem Melching
3a494e144b tici: take into account frame timestamp (#2199)
* compensate for frame processing time

* add rolling shutter time

* Add max frame delay of 250ms

* only delay on tici
2020-09-18 17:42:29 +02:00
Adeeb Shihadeh
64aeb80dcc fix blindspot detection 2020-06-30 13:44:56 -07:00
Adeeb Shihadeh
c4a3d7afb0 Block lane change start on blindspot detection (#1712)
* use BSM to block lane change start

* remove duplicate entry

* add approaching
2020-06-24 17:31:09 -07:00
Willem Melching
0f20ac728f Bounds checks on liveParameters for testing on desk 2020-06-03 11:31:12 -07:00
Adeeb Shihadeh
6466ec982a enable flake8 E502: backslash is redundant between brackets 2020-05-31 17:41:18 -07:00
HaraldSchafer
67017d69fe Minor fixes (#1571)
* was 5 seconds not .2!

* threshold for moving car highers, this can give FPw
2020-05-27 14:35:01 -07:00
Willem Melching
d099e09fb7 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
2020-05-19 16:45:20 -07:00
HaraldSchafer
65fcc7c45f Better poly (#1437)
- better polyfitting
- no mpc cost change during lane change
- model trained with better ll gt, sim noise and guaranteed memories
2020-05-08 17:14:43 -07:00
HaraldSchafer
d39595cf10 Faster lane change (#1381)
* final B2 for 0.75

* more aggression in lane changes
2020-04-16 18:13:37 -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
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
Willem Melching
fe9ccb27b1 Remember lane change direction when blinker turns off 2020-01-27 16:19:22 -08:00
George Hotz
b0260dadba selfdrive/controls 2020-01-17 12:48:30 -08:00