Willem Melching
7b3e330def
Log actuators after applying rate limits in CarController ( #23230 )
...
* return actuators from carcontroller
* log it
* pass to latcontrol
* chrysler
* gm
* honda
* more brands
* rest of the brands
* gm cleanup
* hyundai cleanup
* update ref
* rename field
* fix subaru
* add types
* more subaru fixes #23240
* consistent whitespace
* bump cereal
old-commit-hash: 4f1eb4278a
3 years ago
Shane Smiskol
91ff6918e5
Remove minSpeedCan ( #22991 )
...
* Remove minCanSpeed
Remove minCanSpeed
* it actually only goes out to 2.5 seconds, this is okay to remove
* test to see if this preserves behavior
add minSpeedCan
* Revert "test to see if this preserves behavior"
This reverts commit 31b11f017f7e9da7654fc8064b5983d4a6cc22e5.
* preserve behavior (don't enter stopping as early)
* vEgoStopping needs to be less than or equal to vEgoStarting to avoid state oscillation
old-commit-hash: 2799ef5292
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
Harald Schafer
cf3c8cd301
fix max speed comments
...
old-commit-hash: 44adea73ce
3 years ago
HaraldSchafer
00749bd3cd
XVA long policy: prev_a becomes numpy anyway ( #23175 )
...
old-commit-hash: c41a0cae4b
3 years ago
Harald Schafer
3ee06e92ed
Long mpc: fix xva policy for sim
...
old-commit-hash: 7e20fe7ca2
3 years ago
HaraldSchafer
0dbf0a0106
Cruise speed: up to 90mph max ( #23161 )
...
* Cruise speed: up to 90mph max
* update ref
old-commit-hash: d1b003c5d2
3 years ago
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
3 years ago
Harald Schafer
3a6a87ffe0
add a change cost
...
old-commit-hash: 9afc95474d
3 years ago
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
3 years ago
Willem Melching
23ef06428a
add desired angle to log ( #23115 )
...
* add desired angle to log
* update ref
* bump cereal
old-commit-hash: bbd0f94d9d
3 years ago
HaraldSchafer
c6964152bb
Reaction buffer on follow distance ( #23112 )
...
* Reaction time buffer
* new ref
old-commit-hash: 5b0e10ea33
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
Shane Smiskol
1b79236fa0
Clean up planner files ( #23031 )
...
* clean up planner files
clean up planner files
* fix plant instance
old-commit-hash: 93fd662adf
3 years ago
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
3 years ago
HaraldSchafer
6eb5dce881
Lateral planner: lower max cost ( #22960 )
...
* prevent ping pong when tuning is not so great
* update refs
old-commit-hash: 24aadaf1f3
3 years ago
Adeeb Shihadeh
1ffe047666
improve crc camera error ( #22943 )
...
old-commit-hash: 5296ca8d73
3 years ago
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
3 years ago
Adeeb Shihadeh
8a66c54064
Revert "add offroad alerts for car unrecognized"
...
This reverts commit 2ffaadb4d2eaabf6e8d86423fbc25328e81dfff0.
old-commit-hash: d8a5c415cd
3 years ago
Adeeb Shihadeh
08bfdb151b
add offroad alerts for car unrecognized
...
old-commit-hash: fb1e8ce086
3 years ago
Adeeb Shihadeh
d1eacc4619
alerts: make soft disables an orange alert ( #22925 )
...
old-commit-hash: 833399e941
3 years ago
Adeeb Shihadeh
9f84f9ad97
put cruiseMismatch event in logging only mode
...
old-commit-hash: 3302239013
3 years ago
Adeeb Shihadeh
ee15159a3b
alert cleanup ( #22919 )
...
old-commit-hash: 5265c36de7
3 years ago
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 d358d93a13
.
* cleanup
* undo t_renderer change
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 89d0a52d16
4 years ago
Adeeb Shihadeh
29f6b5cb98
allow update snoozing ( #22876 )
...
* allow update snoozing
* not immediately visible
* dismiss and close
* grey button
old-commit-hash: e528e2e3e2
4 years ago
Adeeb Shihadeh
731d85c522
alerts: use repeating warning2 sound for steerSaturated ( #22874 )
...
old-commit-hash: 308219c5b1
4 years ago
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
4 years ago
Adeeb Shihadeh
a142638899
increase engagement alerts duration
...
old-commit-hash: 327464fb84
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
HaraldSchafer
caa01d2f95
ACADOS: partial condensing ( #22830 )
...
* partial condense
* new refs
* new ref
* newerest refs
old-commit-hash: 35d6ed1014
4 years ago
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
4 years ago
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
4 years ago
Adeeb Shihadeh
d2a6eeae42
lower profile below steer speed alert ( #22740 )
...
old-commit-hash: 3312bf6d15
4 years ago
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
4 years ago
Adeeb Shihadeh
4099783375
add sdcard support ( #22703 )
...
* generalize
* factory reset
old-commit-hash: f4c2398db4
4 years ago
Vivek Aithal
b16c806e9e
plannerd: add useLaneLines to lateralPlan ( #22699 )
...
* add laneless toggle in lateral plan message
* update cereal
* add refs
old-commit-hash: 2ea4feffb9
4 years ago
HaraldSchafer
d50d9af755
e2e long planner: use position, speed and accel ( #22688 )
...
* a little bit more moderate
* cleaner
old-commit-hash: 7868baeac9
4 years ago
Adeeb Shihadeh
01043f505a
more specific no fw startup alert
...
old-commit-hash: 897492d27c
4 years ago
qadmus
dcf3fc2089
[Lateral PID] Function for steer feedforward ( #22638 )
...
* store a function for steer feedforward
* use classmethod
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 778374d3dd
4 years ago
Harald Schafer
92c2da52a9
plannerd: position std size check bug
...
old-commit-hash: 791de68689
4 years ago