Jason Wen
e40b32e7c8
Apply suggestions from code review
2024-12-07 02:10:42 -05:00
Jason Wen
b72d3308ec
use cereal
2024-11-25 23:11:32 -05:00
Jason Wen
99c82a8eb9
enabled <-> active
2024-11-16 23:33:59 -05:00
Jason Wen
8e578bf0b0
fix cluster enabled
2024-11-16 23:00:08 -05:00
Jason Wen
4f78e31cf4
use new cereal
2024-11-16 17:23:31 -05:00
Jason Wen
89073d6b88
Move car-specific changes to opendbc
2024-11-16 03:33:23 -05:00
DevTekVE
eb9b9a13ff
Merge remote-tracking branch 'origin/master-new' into mads-new
...
# Conflicts:
# panda
# selfdrive/ui/qt/offroad/developer_panel.cc
2024-11-15 09:32:22 +01:00
Jason Wen
80ebb43365
simply checks
2024-11-14 16:59:56 -05:00
Jason Wen
7f2660d0ad
only when mads toggle is enabled
2024-11-13 19:47:51 -05:00
Jason Wen
1c2e9bd5b1
inherit in carcontroller properly
2024-11-13 03:07:29 -05:00
Jason Wen
8485cd2013
make sure it's either or
2024-11-12 22:00:44 -05:00
Maxime Desroches
4170534c02
ci: faster process_replay ( #33989 )
...
* try
* fix
* try
* try
* try
* monitor
* no
* how fast
* more
* timeout
* remove
* ruff
* try
* less
* cons
* less
* cons
* revert
* more and less
* more?
* more?
* cons
* cons
* cons
* cons
* cons
2024-11-12 14:26:21 -08:00
Jason Wen
90a1ff46b4
Merge branch 'master-new' into mads-new
...
# Conflicts:
# cereal/car.capnp
# cereal/car.capnp~HEAD
# opendbc_repo
# panda
2024-11-11 08:23:13 -05:00
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 >
2024-10-30 14:15:19 -07:00
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
2024-10-24 19:24:11 -07:00
Shane Smiskol
07ad6e27d0
radard: remove deprecated function
2024-10-23 22:13:08 -07:00
Kacper Rączy
0ff498cc83
longitudinal_planner: allow for zero actuator delay ( #33855 )
...
Allow zero actuator delay
2024-10-22 20:49:10 -07:00
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 .
2024-10-22 12:58:06 -07:00
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 >
2024-10-22 12:50:06 -07:00
Shane Smiskol
af727d41bb
long planner: allow throttle reflects usage ( #33792 )
...
* UI is now accurate
* update refs
2024-10-14 20:54:42 -07:00
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 0435d218f790faf7b7aaed27d05ab9ee67b087e6.
* does this cause card to try and read it?
* better place
* wtf
* Reapply "why can't i repro?!"
This reverts commit d24fd5a0abf454f47d5591e3b39039fdc4d0251c.
* also here
2024-10-03 22:47:03 -07:00
Shane Smiskol
9d52a5b485
Revert "move car.capnp to opendbc" ( #33725 )
...
Revert "move car.capnp to opendbc (#33722 )"
This reverts commit 8149f7cb11 .
2024-10-03 16:57:45 -07:00
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
2024-10-03 16:40:24 -07:00
Shane Smiskol
9cbd34158f
GM: signed wheel speeds ( #33697 )
...
* signed wheel speeds
* clean up
* bump to master
* bump to master again
* did a sanity check for negative vego
* bump
2024-10-01 21:17:24 -07:00
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 >
2024-09-30 18:13:51 -07:00
Jason Wen
738484e628
some cleanup
2024-09-30 16:28:18 -04:00
Jason Wen
0a1a878897
Merge branch 'master' into mads-new
...
# Conflicts:
# opendbc_repo
# panda
2024-09-29 12:11:54 -04:00
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
2024-09-26 11:01:56 -07:00
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
2024-09-23 14:26:28 -07:00
Jason Wen
515c00c379
fix
2024-09-20 00:01:41 -04:00
Jason Wen
8bb6c8fc17
some more infra
2024-09-18 08:22:13 -04:00
Shane Smiskol
2e6e977c93
Longitudinal planner: wait for valid cruise speed ( #33568 )
...
* Revert "only vCruise changes here"
This reverts commit 4f5659b5d53e9bac3357781bce262a29d3b1d14e.
* less nonsense
2024-09-16 16:06:02 -07:00
Adeeb Shihadeh
b168c6f9af
controlsd is driven by selfdriveState ( #33541 )
...
* controlsd is driven by selfdriveState
* update refs
2024-09-11 15:02:38 -07:00
Adeeb Shihadeh
e04455cbaa
selfdrived: controlsd only does controls ( #33485 )
...
* selfdrived
* process replay
* lil more
* set the valids
* rename that
2024-09-06 17:16:32 -07:00
Adeeb Shihadeh
e459cee1e7
Setup driverAssistance service ( #33495 )
...
* Move LDW and FCW to driverAssitance service
* move ldw
* cleanup
2024-09-06 15:30:14 -07:00
Shane Smiskol
922348f33d
card parses radar points ( #33443 )
...
* interfaces returns radarinterface
old-commit-hash: 9ad1f096bfca3712320f19b1b49aa9e6ac9b68e4
* bump
old-commit-hash: 20334a8b257c6037e11d02f2ba7b1f02c59f3240
* get RI from opendbc
old-commit-hash: b5f6d0c48c90927926e9dd557130075aeec5edee
* stash so far
old-commit-hash: 5aa2c842eb152316434c17a661df05bb8af61f47
* new liveTracks message (radard expects and needs RadarData)
* this should just work?
* whoops
* fix that
* rm liveTracks from radard pm
* fix proceess replay
* lol fcw diff, something's not right
* actually there's fcw in original route. it's pretty close
* no tracks!
* fix test_leads
* CPU moved across procs
* fix not engageable from onroadEvents
* bump
* fixes
* bump to master
* radard publishes w/ modelV2 now, so it will always be sent. check valid which radard sets using liveTracks avg freq
* fix that (it works!)
* combine
join
* bump
* bump
* deprecate
* why
* fix incorrect args
* remove cumLagMs from process_replay
* update refs
2024-09-05 22:40:17 -07:00
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
2024-09-05 16:28:57 -07:00
Adeeb Shihadeh
73d31d50c4
controlsd: pull out LDW ( #33479 )
...
* controlsd: pull out LDW
* cleanup
* good ol mypy
2024-09-04 17:45:09 -07:00
Adeeb Shihadeh
77f4f57e73
controlsd: pull out selfdrive state machine ( #33477 )
...
* controlsd: pull out selfdrive state machine
* cleanup test
* cleanup
2024-09-04 16:44:28 -07:00
Shane Smiskol
54a2626e44
Joystick: improve angle control ( #33475 )
...
* calculate max angle/curvature with speed
* don't inflate to inf
* screw radians
* up limit a bit
2024-09-04 16:29:04 -07:00
Shane Smiskol
d0f0632f78
interfaces returns RadarInterfaces ( #33444 )
...
* interfaces returns radarinterface
* bump
* bump
* bump
old-commit-hash: f94ef10df7a663c2b873b2cdf2e0263714447fa3
2024-09-03 19:17:25 -07:00
Adeeb Shihadeh
72d7ada7e4
controlsd: deprecate startMonoTime ( #33445 )
...
* controlsd: deprecate startMonoTime
* update refs
old-commit-hash: 04eb73e4a1374178274e04c2fb92b82bb713772c
2024-09-03 17:48:04 -07:00
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: 3924ac587b735d1e735af4cb77faf6ccf053f656
2024-09-03 14:40:23 -07:00
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: 2f3256ed8baa3d7a5c4d1befe9148dbfecb37246
2024-09-02 17:18:43 -07:00
Adeeb Shihadeh
7575c707f1
carEvent -> onroadEvent ( #33432 )
...
old-commit-hash: c481f11833d748a0d12d2ba14003e931d2849135
2024-09-01 11:31:39 -07:00
Adeeb Shihadeh
1d7e8795dd
update test_alerts
...
old-commit-hash: 519b666e37
2024-08-31 20:51:01 -07:00
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
2024-08-31 20:38:34 -07:00
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
2024-08-31 18:48:17 -07:00
Adeeb Shihadeh
60549c9557
controlsd: deprecate alertBlinkingRate ( #33422 )
...
* controlsd: deprecate alertBlinkingRate
* simplify
* update refs
old-commit-hash: f4e101c67d
2024-08-31 17:58:02 -07:00
Adeeb Shihadeh
fecf6134ef
move PID controller to common/ ( #33419 )
...
old-commit-hash: f59a1bf003
2024-08-31 16:49:29 -07:00