Harald Schäfer
20fdb686ca
latcontrol torque: remove option to feed back on localizer ( #35659 )
...
* Localizer is too laggy for control
* typo
* typo
* fix test
* fix imports
* Revert "fix imports"
This reverts commit 5074f8050170f974b451e00d9fdc752f09a47d57.
* fix improt
* import
1 week ago
Harald Schäfer
e503e657bc
Model error deprecated with TR ( #35628 )
...
* Model error deprecated with TR
* no get speed error
* import
2 weeks ago
Harald Schäfer
64fd3f9860
Tomb Raider 14 ( #35620 )
...
* f7db6a09-43c5-4db9-b856-7fe1a1c231eb/400
* bd99d079-9afb-4af5-9f31-236d5c9ff15f/400
* aggressive tr: 7707a4ca-7d5e-47a2-8760-93b5004695cd/400
* bd99d079-9afb-4af5-9f31-236d5c9ff15f/400
* ae82d7a8-b74d-43b5-ab6d-d72e6040dab3/400
* revert stop distance
* comments
2 weeks ago
Shane Smiskol
8427bf76cf
typo
2 months ago
Shane Smiskol
49c422e872
Tesla: fix angle control saturation ( #35256 )
...
* we shouldn't need this
* or this?
* stash junk
* hmm
* comment
* cc
* sadly we have to maintain behavior
* bump
2 months ago
Harald Schäfer
e9cea3ae5c
Revert TR again ( #35179 )
...
Revert "Tomb Raider 7 (#35114 )"
This reverts commit 0fb4aafa35
.
2 months ago
Harald Schäfer
0fb4aafa35
Tomb Raider 7 ( #35114 )
...
* Revert "Revert TR (#35110 )"
This reverts commit df4f2955dc
.
* eb5f884a-10ad-49fd-ae5c-e2818c26e568/400
* 1cc828ab-95e5-4620-aa07-b98918b4268d/400
* 5790a2c1-b487-4bef-a3c3-db1fcd5a756d/400
* raw plan
2 months ago
Harald Schäfer
df4f2955dc
Revert TR ( #35110 )
...
* Revert "Tomb raider 2 (#35029 )"
This reverts commit 2c162d9b75
.
* bugfix
* fix policy
* min control speed
2 months ago
Harald Schäfer
9f1e462faa
Tomb Raider 6 ( #35087 )
...
* 5ec366c3-7883-4004-84a2-e4b14bac5b1d/400
* Use lat plan
* fix import
* fix
* 8d0a1b3b-9972-4e53-b9c5-3e13e5e3e404/400
* whitespace
* whitespace
3 months ago
Bruce Wayne
a029d13398
update smooth
3 months ago
Harald Schäfer
33a7d853f0
Modeld: small refactor ( #35044 )
...
refactor
3 months ago
Harald Schäfer
34514ef176
Long planner: make work with training ( #35043 )
...
* revert useless
* update ref
3 months ago
Harald Schäfer
2c162d9b75
Tomb raider 2 ( #35029 )
...
* db56b8fb-9135-4ab6-af18-99b7df7b2245/400
* fixes
* linter unhappy
* 6dbe0991-baa1-49ad-836a-ab370d1f0d92/400
* This one is good: 19387087-1005-475e-9015-9458dd8e7c5f/400
* Better every day: 39ed911c-0937-417f-97d2-58a8bb3caa53/400
* Actually end-to-end
* typo
* smooooooth: 94e23541-eb84-4fef-9f51-6a2d82aff314/360
* Revert "smooooooth: 94e23541-eb84-4fef-9f51-6a2d82aff314/360"
This reverts commit edd4f02386d83d82dd8a188985cde80ed1646b7f.
* 11632ef7-f555-489c-8480-e3bf97d9285e/400
* 08712d27-f6bd-4536-a30e-c729e5f62356/400
* 0a92a35e-1f72-476a-8cb6-c9f103f36822/400
* ee6d2394-2072-420c-a664-b4c0d4ed0b61/400
* no prev curv
* No double work
* fix bug
* smooth
* update prev action
* whitespace
* add little accel
* new ref
* Update plant.py
3 months ago
Harald Schäfer
b42ec33a63
Update modeld action logic ( #35032 )
...
* add action logic
* magic numbers
* unused
* plot accel
* more changes
3 months ago
Adeeb Shihadeh
ea4554526e
Keep steering active at standstill ( #34918 )
...
* Keep steering active at standstill
* bump opendbc
* bump opendbc
* update refs
4 months ago
Shane Smiskol
5c3020844e
car interfaces: each specify their own dependencies ( #34874 )
...
* remove these
* fix
* oops
* clean up
* nl
* bump
4 months ago
Shane Smiskol
6891b795c4
controls: limit max curvature from lateral acceleration ( #34651 )
...
* limit max curvature with lateral accel too
* not a guideline
* roll compensation in curv clip
* improve clipping and alerting
* typo
* clean up
* no float
* get ready
* good idea
* good
* redundant
* TODO
* test
* do max curvature clip last
* flip
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
4 months ago
Shane Smiskol
68d22b960b
rename steer_limited ( #34763 )
...
rename
4 months ago
Shane Smiskol
6723106bf5
Move vehicle_model.py to opendbc ( #34681 )
...
* move
* fix
* move test too
* bump
* better
* bump to master
5 months ago
Harald Schäfer
77a442c4e8
Long planner: allow negative accel constraint ( #34565 )
...
* allow negative accel constraint
* dont let MPC do clipping
* Typo
* whitespace
* Fix tests
* More cruise accel
* rm print
* ref commit
5 months ago
Sammohana
8eebce75ac
Getting rid of openpilot.common.numpy_fast ( #34368 )
...
* Got rid openpilot.common.numpy_fast
* fixed some data type erros
* importing numpy instead of importing specific functions
* fixing some numpy importing mistakes
* Update selfdrive/car/cruise.py
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
6 months ago
Harald Schäfer
383893d39e
Long planner get accel: new function args ( #34288 )
...
* Change function args
* typo
* typo
* ref commit
7 months ago
Harald Schäfer
8743bc4fe2
Null Pointer Model ( #34111 )
...
* e8cb7f27-e448-4c15-90c2-ac440cd5a042/400
* 0078ad07-4d46-4086-820f-23d61c90e07f/400
* 4bd74082-70af-47da-8156-e84ebf4d4812/400
* 2a074022-5c2c-4628-97f9-f54849a936a6/400
* 0660aa81-93c5-41b7-9cc2-dc8816a512cd/400
* Clip curvature to reasonable limits
* Better curvature and speed clips
* typo
* typo
* 31aa62c3-b373-4878-8f2e-5107305de187/400
* 384690ca-9b8a-41fe-9bcd-389b20fc6aa4/400
* ref commit
---------
Co-authored-by: Yassine <yassine.y10@gmail.com>
7 months ago
Mitchell Goff
b470bef140
Fix low-speed allow_throttle behavior in long planner ( #33894 )
...
* Misc fixes
* don't check allow_throttle slowdown for e2e
* Removed unused variable
* believe this clip is still necessary
* Update process replay refs
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
9 months ago
Shane Smiskol
b943cbd421
Reapply "Remove steering wheel offset for planner slow down for curves" ( #33848 ) ( #33849 )
...
* Reapply "Remove steering wheel offset for planner slow down for curves" (#33848 )
This reverts commit 4f8b11257e
.
* careless
* Update ref_commit
9 months ago
Kacper Rączy
0ff498cc83
longitudinal_planner: allow for zero actuator delay ( #33855 )
...
Allow zero actuator delay
9 months ago
Shane Smiskol
4f8b11257e
Revert "Remove steering wheel offset for planner slow down for curves" ( #33848 )
...
Revert "Remove steering wheel offset for planner slow down for curves (#33827 )"
This reverts commit d26730ffd5
.
9 months ago
Tim Wilson
d26730ffd5
Remove steering wheel offset for planner slow down for curves ( #33827 )
...
* long planner: use vehicle model w/ avg steer offset for limit accel in turns
* remove unused CP in limit_accel_in_turns
* revert use of vehicle model, keeping angle offset in limit accel in turns
* only the offset fix, check valid, and fix process replay
* update refs (valid two frames later)
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
9 months ago
Shane Smiskol
af727d41bb
long planner: allow throttle reflects usage ( #33792 )
...
* UI is now accurate
* update refs
9 months ago
Shane Smiskol
7556233cca
Reapply "move car.capnp to opendbc ( #33722 )" ( #33728 )
...
* Reapply "move car.capnp to opendbc" (#33725 )
This reverts commit 9d52a5b485
.
* why can't i repro?!
* Revert "why can't i repro?!"
This reverts commit 0435d218f7
.
* does this cause card to try and read it?
* better place
* wtf
* Reapply "why can't i repro?!"
This reverts commit d24fd5a0ab
.
* also here
10 months ago
Shane Smiskol
9d52a5b485
Revert "move car.capnp to opendbc" ( #33725 )
...
Revert "move car.capnp to opendbc (#33722 )"
This reverts commit 8149f7cb11
.
10 months ago
Shane Smiskol
8149f7cb11
move car.capnp to opendbc ( #33722 )
...
* move car.capnp to opendbc
* bump
* do card
* fix some more tests
* rm helpers
* format fp
* more
* whoops
* bump
* bump to master
10 months ago
Mitchell Goff
47cc314b14
Gate acceleration on model gas press predictions ( #33643 )
...
* no ui squash
* already calibrated
* Already calibrated
* Add longitudinal maneuver tests
* Fix linter errors
* Added get_coast_accel function
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
10 months ago
YassineYousfi
36a9687d5d
long planner: use temporalPose for v_model_error calibration ( #33655 )
...
* long planner: add flag to disable v_model_error calibration
* use temporal pose instead of flag
* udpate model replay ref
10 months ago
Harald Schäfer
e8bea2c78f
Tomb Raider Model ( #33629 )
...
* 69acff08-5383-4103-beea-822f0d228c76/160
* 53f39907-4763-4d19-ba26-e757527c2b61/200
* 21afb89f-1397-4652-b423-abc2da32417a/200
* 21afb89f-1397-4652-b423-abc2da32417a/400
* 53f39907-4763-4d19-ba26-e757527c2b61/400
* 3fb967fd-16a8-4569-ba57-359e54deeab3/395
* Try other policy again
* 3fb967fd-16a8-4569-ba57-359e54deeab3/400
* 0136cabf-539a-4a43-bc7f-06c3654a493c/4400
* 473c0686-1ac9-4c05-9b0b-d1f1afdb6cc3/400
* 83b7993d-51a9-4e3f-904e-3fcd5763c231/400
* 021566c7-cff3-431d-8da2-17a96c888c5f/400
* Fix bugs
* Update longitudinal_planner.py
* Update fill_model_msg.py
* 8be6b59d-4449-42fd-b8e0-93c48387070f/400
* f670a748-3591-4489-a0b3-215118ddad01/400
* 790a2950-c713-4eec-838b-4f55f4fe0ccb/400
* Update model ref
* Plans start at ego
* Update ref
10 months ago
Shane Smiskol
2e6e977c93
Longitudinal planner: wait for valid cruise speed ( #33568 )
...
* Revert "only vCruise changes here"
This reverts commit 4f5659b5d5
.
* less nonsense
10 months ago
Adeeb Shihadeh
e04455cbaa
selfdrived: controlsd only does controls ( #33485 )
...
* selfdrived
* process replay
* lil more
* set the valids
* rename that
10 months ago
Adeeb Shihadeh
aef650013e
controlsd: split up publishing and logic ( #33483 )
...
* split up the pubs
* move all event adds
* split out alerts
* lil more
* clenaup
* update test
* cleanup
10 months ago
Adeeb Shihadeh
73d31d50c4
controlsd: pull out LDW ( #33479 )
...
* controlsd: pull out LDW
* cleanup
* good ol mypy
10 months ago
Adeeb Shihadeh
77f4f57e73
controlsd: pull out selfdrive state machine ( #33477 )
...
* controlsd: pull out selfdrive state machine
* cleanup test
* cleanup
10 months ago
Shane Smiskol
d0f0632f78
interfaces returns RadarInterfaces ( #33444 )
...
* interfaces returns radarinterface
* bump
* bump
* bump
old-commit-hash: f94ef10df7
11 months ago
Adeeb Shihadeh
bd2b09c7b6
Deprecate controlsState state fields ( #33437 )
...
* Deprecate controlsState state fields
* sim works
* update refs
* one more
* these too
* update sim
old-commit-hash: 3924ac587b
11 months ago
Adeeb Shihadeh
53288d4dbf
Move vCruise to card ( #33439 )
...
* Move vCruise to card
* cleanup drive_helpers
* works in sim
* update refs
* update that
* too slow :(
old-commit-hash: 2f3256ed8b
11 months ago
Adeeb Shihadeh
7575c707f1
carEvent -> onroadEvent ( #33432 )
...
old-commit-hash: c481f11833
11 months ago
royjr
dbe0866a6f
ui: show personality updates ( #33406 )
...
* personality-alerts
* Update events.py
* Update car.capnp
* no AudibleAlert
* shorter
* no VisualAlert
* one liner
* smaller
* normal
* what am I doing wrong?
* it works, but is it messy?
* arg all
* lil more
* update that
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 35da93fa95
11 months ago
Adeeb Shihadeh
1b2bc44227
controlsd: split out state/alerts into selfdriveState ( #33421 )
...
* setup selfdriveState
* little more
* update refs
* migration
* all too slow
old-commit-hash: 87051803ab
11 months ago
Adeeb Shihadeh
60549c9557
controlsd: deprecate alertBlinkingRate ( #33422 )
...
* controlsd: deprecate alertBlinkingRate
* simplify
* update refs
old-commit-hash: f4e101c67d
11 months ago
Adeeb Shihadeh
fecf6134ef
move PID controller to common/ ( #33419 )
...
old-commit-hash: f59a1bf003
11 months ago
Dean Lee
2871822bd2
drive_helpers.py: iterate button_timers with items() ( #33351 )
...
iterate button_timers with items()
old-commit-hash: 13e58d33db
11 months ago
Shane Smiskol
4f019b5f60
move selfdrive/car to opendbc ( #32630 )
...
* move most of /car
* move some car tests
move some car tests
* fix selfdrive/car/tests
* fix selfdrive/controls tests
* fix the rest of the selfdrive tests
* bump opendbc
* fix all tests
* few more non-test references
* remove opcar and move docs to car
fix these debugging scripts
fix docs
* bump opendbc and panda
forgot panda
old-commit-hash: e735a7f379
11 months ago