Adeeb Shihadeh
83136e8016
increase cruise mismatch threshold
...
old-commit-hash: 7f618b16bf
2021-12-12 13:35:12 -08:00
Adeeb Shihadeh
06a9b3448d
alerts: escalate soft disable alert near disengagement ( #23198 )
...
* alerts: escalate soft disable alert if resulted in disengagement
* show 0.5s before disengagement
old-commit-hash: 8068df0b2a
2021-12-11 17:07:37 -08:00
Adeeb Shihadeh
700ad9ec50
alerts: handle min duration properly ( #23191 )
...
* alerts: handle min duration properly
* add active
* tests
* cleanup test
* update refs
old-commit-hash: 07b971d473
2021-12-10 19:20:07 -08:00
Adeeb Shihadeh
853dc0d016
alert text simplification ( #23186 )
...
* alert text simplification
* little more
* user triggered
* little more
* less annoying ldw
* Update selfdrive/controls/lib/events.py
* update refs
* revert
old-commit-hash: 4627d201b6
2021-12-10 15:21:37 -08:00
Adeeb Shihadeh
3d72ed6ea1
alerts: add test for creation delay
...
old-commit-hash: 45f3662cf0
2021-12-09 14:29:50 -08:00
Harald Schafer
cf3c8cd301
fix max speed comments
...
old-commit-hash: 44adea73ce
2021-12-08 17:13:43 -08:00
HaraldSchafer
00749bd3cd
XVA long policy: prev_a becomes numpy anyway ( #23175 )
...
old-commit-hash: c41a0cae4b
2021-12-08 16:06:09 -08:00
Harald Schafer
3ee06e92ed
Long mpc: fix xva policy for sim
...
old-commit-hash: 7e20fe7ca2
2021-12-08 15:42:30 -08:00
HaraldSchafer
0dbf0a0106
Cruise speed: up to 90mph max ( #23161 )
...
* Cruise speed: up to 90mph max
* update ref
old-commit-hash: d1b003c5d2
2021-12-07 15:47:57 -08:00
HaraldSchafer
b19b5fdb98
long planner: no reset when starting ( #23149 )
...
* long planner: no reset when starting
* let go to 2m/s
* update ref
old-commit-hash: 77a99e7d6d
2021-12-06 23:10:16 -08:00
Harald Schafer
3a6a87ffe0
add a change cost
...
old-commit-hash: 9afc95474d
2021-12-06 16:17:11 -08:00
HaraldSchafer
3afc818433
Long policy: strictly squared stopped equivalence function ( #23118 )
...
* new ref
* never let lead stopped equivalence go down
* no overbraking
* stricter again
* cleanup
* updated refs
old-commit-hash: 0dcdf9c30f
2021-12-03 16:12:30 -08:00
Willem Melching
23ef06428a
add desired angle to log ( #23115 )
...
* add desired angle to log
* update ref
* bump cereal
old-commit-hash: bbd0f94d9d
2021-12-03 21:35:34 +01:00
HaraldSchafer
c6964152bb
Reaction buffer on follow distance ( #23112 )
...
* Reaction time buffer
* new ref
old-commit-hash: 5b0e10ea33
2021-12-02 23:56:02 -08:00
HaraldSchafer
08ac1b33ba
Human inspired follow distance ( #22937 )
...
* Add cost for creep
* more reasonable cost
* seems better than before
* science tune
* more chill
* closer follow
* stopping takes some leeway
* better cruise
* needed to be cumsum all along
* jerk not even needed
* matches better
* 6 is too much
* add back
* a little extra buffer is good for badly tuned cars
* new refs
* refs again
old-commit-hash: 46fd5892bf
2021-12-02 14:42:13 -08:00
Adeeb Shihadeh
6c2182c026
Newer sounds ( #23091 )
...
* new prompt sound
* padding
* prompt distracted
* debug
* fix spelling
* lower min volume
* better volume at low speeds
* revert debug
* revert that
* fix tests
* update refs
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 3b367e6872
2021-12-02 00:28:25 -08:00
HaraldSchafer
e3f9919b5c
Set accel trajectory to a_ego when not engaged ( #23100 )
...
* Set accel trajectory to a_ego when not engaged
* update ref
old-commit-hash: 68015f75ed
2021-12-01 23:12:11 -08:00
HaraldSchafer
9c03362ba8
Less sensitive torque saturated warning ( #23003 )
...
* Less sensetive torque saturated warning
* better comment
old-commit-hash: 8f3bc4872f
2021-12-01 13:53:42 -08:00
Adeeb Shihadeh
dccb8b4010
New sounds ( #22652 )
...
* new engage/disengage + amp config
* first family
* cleanup audible alerts
* tici isn't special
* fix up debug cycle alerts
* these were better
* extend range
* use distracted sound
* log scaling
* getting closer
* slightly louder
* prompt
* update tests
* update refs
* fix c2 test
* resolve todo
* adjust tolerance
* revert for now
* should work
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: e679d05d9e
2021-11-30 19:47:33 -08:00
HaraldSchafer
fb1cf5b1bf
Longcontrol : pid error should be 0 when plan is followed ( #23066 )
...
* v_pid error should be 0 when plan is followed
* update ref
old-commit-hash: 048cc3ac9f
2021-11-29 15:22:02 -08:00
Shane Smiskol
996594fa29
longitudinal: only apply overshoot prevention when braking ( #22986 )
...
* only if braking is desired
* use v_target to determine stopping
* more clear?
old-commit-hash: 113988ae31
2021-11-29 11:29:32 +01:00
Shane Smiskol
1b79236fa0
Clean up planner files ( #23031 )
...
* clean up planner files
clean up planner files
* fix plant instance
old-commit-hash: 93fd662adf
2021-11-26 14:57:39 +01:00
Robbe Derks
b66e2a9f7a
Tesla longitudinal control ( #22561 )
...
* tesla long squashed changes
* fix no resume from stop
* try setting accel limits to 0 to remove jerk with fast switchover
* expand radard lookup tables
* bump merged panda submodule
old-commit-hash: 4960578bdf
2021-11-18 13:57:12 +01:00
Adeeb Shihadeh
2bcaee3678
add offroad alerts for car unrecognized ( #22934 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Chris McCammon <chrismccammon123@gmail.com >
old-commit-hash: 2a72e2a514
2021-11-17 20:29:00 -08:00
HaraldSchafer
6eb5dce881
Lateral planner: lower max cost ( #22960 )
...
* prevent ping pong when tuning is not so great
* update refs
old-commit-hash: 24aadaf1f3
2021-11-17 20:24:10 -08:00
Adeeb Shihadeh
1ffe047666
improve crc camera error ( #22943 )
...
old-commit-hash: 5296ca8d73
2021-11-16 22:57:22 -08:00
Adeeb Shihadeh
85b0e69efd
more alert checks
...
old-commit-hash: 8d917b6702
2021-11-16 22:56:29 -08:00
HaraldSchafer
345d52e957
Add cost to long plan change for smoother lag comp ( #22923 )
...
* add plan changing cost
* fix compile
* set weights
* try this cost
* horizon problem
* looks pretty good
* update refs
* update refs
* smoother plan changes
old-commit-hash: b3b45c8d29
2021-11-16 17:57:55 -08:00
Adeeb Shihadeh
8a66c54064
Revert "add offroad alerts for car unrecognized"
...
This reverts commit 2ffaadb4d2eaabf6e8d86423fbc25328e81dfff0.
old-commit-hash: d8a5c415cd
2021-11-16 13:31:10 -08:00
Adeeb Shihadeh
08bfdb151b
add offroad alerts for car unrecognized
...
old-commit-hash: fb1e8ce086
2021-11-16 13:30:33 -08:00
Adeeb Shihadeh
d1eacc4619
alerts: make soft disables an orange alert ( #22925 )
...
old-commit-hash: 833399e941
2021-11-16 13:11:32 -08:00
Adeeb Shihadeh
9f84f9ad97
put cruiseMismatch event in logging only mode
...
old-commit-hash: 3302239013
2021-11-15 21:16:54 -08:00
Adeeb Shihadeh
ee15159a3b
alert cleanup ( #22919 )
...
old-commit-hash: 5265c36de7
2021-11-15 16:14:31 -08:00
Adeeb Shihadeh
a1ab2f7c36
CI: skip cruise mismatch check for can replays
...
old-commit-hash: db92006dc0
2021-11-12 18:22:39 -08:00
HaraldSchafer
d17ec32e0b
Give car interface roll and pitch ( #22891 )
...
* Give car interface roll and pitch
* fixup
* whitespace
old-commit-hash: a04114f68c
2021-11-12 12:21:22 -08:00
Joost Wooning
9042f18afd
cython wrapper for acados ( #22784 )
...
* cython wrapper for acados
* fix building
* sconscript cleanup
* no cython numpy
* cleanup
* upgrade build script
* try without slices
* new acados commit
* c3 update acados libs
* c2 libs
* make faster
* undo profiling
* fix build
* somewhat faster
* tryout cost_set_slice
* Revert "tryout cost_set_slice"
This reverts commit d358d93a133270e4edab9e7c07ffb6f577c52bd6.
* cleanup
* undo t_renderer change
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 89d0a52d16
2021-11-12 17:09:08 +01:00
Adeeb Shihadeh
29f6b5cb98
allow update snoozing ( #22876 )
...
* allow update snoozing
* not immediately visible
* dismiss and close
* grey button
old-commit-hash: e528e2e3e2
2021-11-11 15:32:25 -08:00
Adeeb Shihadeh
731d85c522
alerts: use repeating warning2 sound for steerSaturated ( #22874 )
...
old-commit-hash: 308219c5b1
2021-11-11 11:55:34 -08:00
sshane
9c994173ed
Longcontrol: do not clip vEgo to minSpeedCan ( #22832 )
...
* fix tss2 slow reacceleration in sng
(should) preserve stopping behavior
add comments since it's confusing
fix
* Revert "fix tss2 slow reacceleration in sng"
This reverts commit 42abde0eb945d8bc5ad9b502d1d89b3e3dc16f8a.
* don't max(vEgo)
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: bdaea086f8
2021-11-11 13:24:38 +01:00
Adeeb Shihadeh
a142638899
increase engagement alerts duration
...
old-commit-hash: 327464fb84
2021-11-10 22:11:14 -08:00
Adeeb Shihadeh
d6c42f11f4
controlsd: alert on cruise mismatch for >1s ( #22841 )
...
* controlsd: alert on cruise mismatch for >1s
* bump cereal
* update refs
* bump allowed soundd cpu
* bump cereal
old-commit-hash: 035bc0c20f
2021-11-10 13:01:42 -08:00
Adeeb Shihadeh
448d5f9e93
alerts: use a single duration for sound, text, and HUD ( #22856 )
...
* alerts: use a single duration for sound, text, and HUD
* little cleanup
* update refs
old-commit-hash: c5d6b85c90
2021-11-10 11:54:12 -08:00
Adeeb Shihadeh
450471058b
controlsd: optimize alert management ( #22846 )
...
* controlsd: optimize alert management
* little cleanup
* dataclass is nice
* fix tests
* update refs
* sort by start frame
* update refs
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 93ba52c76c
2021-11-10 10:54:18 -08:00
Jason Young
a283e88f37
Fix momentary false blind spot alerts when changing lanes ( #22819 )
...
* reset LaneChangeDirection after finishing
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 2006fff2b6
2021-11-10 17:21:36 +01:00
HaraldSchafer
caa01d2f95
ACADOS: partial condensing ( #22830 )
...
* partial condense
* new refs
* new ref
* newerest refs
old-commit-hash: 35d6ed1014
2021-11-09 19:29:55 -08:00
Adeeb Shihadeh
da7cd6bbaa
soundd: don't loop controls unresponsive sound infinitely ( #22839 )
...
* soundd: don't loop controls unresponsive sound infinitely
* update tests
* actually fix
old-commit-hash: 445a5aaca4
2021-11-09 16:58:21 -08:00
Mayfield
18ff2f5cbd
alerts: show min enable speed in "speed too low" alert ( #22755 )
...
* alerts: show min enable speed in "speed too low" alert
* commonize display speed construction
old-commit-hash: 8c501f0265
2021-11-02 14:10:07 +01:00
Adeeb Shihadeh
421a5db493
controls: don't wind up while EPS is faulted or below min steer speed ( #22739 )
...
* controlsd: don't wind up while EPS is faulted
* also check if above min steer speed
* car params
old-commit-hash: 385f3c5387
2021-10-29 14:13:41 -07:00
Adeeb Shihadeh
d2a6eeae42
lower profile below steer speed alert ( #22740 )
...
old-commit-hash: 3312bf6d15
2021-10-29 13:39:12 -07:00
Robbe Derks
dbe4641e04
Multipanda support ( #22402 )
...
* squash all PR commits for easy rebase
* merged all panda rx can into one message
* fix buffers in can_send
* more cleanup and minor fixes
* fix even more stuff
* fix non-allocated send buffer
* make connecting more robust
* fix bus offset
* fix controls_mismatch?
* simplify mismatch check
* C++ style struct
* fix connect loop
* update ref
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 585c16cd2a
2021-10-29 13:04:26 +02:00