Willem Melching
4f1eb4278a
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
3 years ago
Adeeb Shihadeh
66ee3e9ef9
model replay: more consistent replay ( #23237 )
...
* first cleanup
* don't send calib and desire
* should always be valid
* little more
3 years ago
Harald Schafer
c25ed45437
Update ref with minSpeedCAN removed
3 years ago
ZwX1616
af5a418fa6
DM: more adaptive pose policy ( #23184 )
...
* rename and add dep
* proto thresholds
* tweak vk
* update natural offset and clip offsets
* 95th looks good
* no punish for being relaxed
* yaw laplace only
* some pay more attention
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Adeeb Shihadeh
af125f3c51
update refs
3 years ago
Adeeb Shihadeh
07b971d473
alerts: handle min duration properly ( #23191 )
...
* alerts: handle min duration properly
* add active
* tests
* cleanup test
* update refs
3 years ago
Adeeb Shihadeh
4627d201b6
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
3 years ago
Mitchell Goff
1d119999c2
New model: 224877e7-dfcf-4b28-9482-371655918fe1/950 ( #23170 )
...
* New model: 224877e7-dfcf-4b28-9482-371655918fe1/950
* Updated model replay ref
3 years ago
HaraldSchafer
d1b003c5d2
Cruise speed: up to 90mph max ( #23161 )
...
* Cruise speed: up to 90mph max
* update ref
3 years ago
HaraldSchafer
77a99e7d6d
long planner: no reset when starting ( #23149 )
...
* long planner: no reset when starting
* let go to 2m/s
* update ref
3 years ago
grekiki
6951b3271d
Python: Replace more lists with generators ( #23116 )
...
* Replace lists with generators v2
* Replace set with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Replace more set() with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
HaraldSchafer
0dcdf9c30f
Long policy: strictly squared stopped equivalence function ( #23118 )
...
* new ref
* never let lead stopped equivalence go down
* no overbraking
* stricter again
* cleanup
* updated refs
3 years ago
Willem Melching
bbd0f94d9d
add desired angle to log ( #23115 )
...
* add desired angle to log
* update ref
* bump cereal
3 years ago
Willem Melching
e6180738fd
add CarParams.wheelSpeedFactor ( #23079 )
...
* add CarParams.wheelSpeedFactor
* Fudge speed for Lexus RX
* should have been the TSS2 model
* bump cereal
* refactor into function
* update refs
3 years ago
HaraldSchafer
5b0e10ea33
Reaction buffer on follow distance ( #23112 )
...
* Reaction time buffer
* new ref
3 years ago
HaraldSchafer
46fd5892bf
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
3 years ago
Adeeb Shihadeh
3b367e6872
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>
3 years ago
HaraldSchafer
68015f75ed
Set accel trajectory to a_ego when not engaged ( #23100 )
...
* Set accel trajectory to a_ego when not engaged
* update ref
3 years ago
Mitchell Goff
be89044c51
New model: d2053554-6094-43ce-943a-7bee3f43458d/950 ( #23097 )
...
* New model: d2053554-6094-43ce-943a-7bee3f43458d/950
* Updated model replay ref
* Revert "Updated model replay ref"
This reverts commit e83e0a1adc
.
* New refs (again)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
e679d05d9e
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>
3 years ago
Adeeb Shihadeh
b3b5beb627
process replay: set full env in cpp replay
3 years ago
HaraldSchafer
eda6993043
Toyota pedal rewrite ( #23067 )
...
* pedal redo
* add offset to compensate for creep and windbrake
* offset in standard units
* wrong size
* better creep values
* update ref
3 years ago
Dean Lee
348d2d2b0d
rename yuv streams ( #23071 )
...
* rename yuv streams
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
HaraldSchafer
048cc3ac9f
Longcontrol : pid error should be 0 when plan is followed ( #23066 )
...
* v_pid error should be 0 when plan is followed
* update ref
3 years ago
Willem Melching
f7c46c6949
Do not run code on version.py import ( #23063 )
...
* Do not run code on version.py import
* fix athena
3 years ago
ZwX1616
1ec8f03ec6
test: Replay both models on C2/C3 ( #23019 )
...
* add dcam stream
* delete model_test
* both in jenkins
* update spinner
* get filename fn
* they are not random names
* update route
* new ref commit
* temporarily resize tmp
* clean up unlog send
* need calib 0
* revert device
* cleanup
* arg
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Vivek Aithal
8b6a147583
locationd: Fix Nav localization reliability ( #22959 )
...
* modify reset logic
* remove debug statements
* use ecef pos and vel covariances during reset
* reset orientations initialized to 0,0,GPSbearing
* refactor nav fix
* add fake gps observations to control ecef pos and ecef vel std
* replace fake_P with individual fake cov
* set gps mode flag
* add gps invalid flag names
* update refs
* more accurate gps accuracy check + update refs
3 years ago
Adeeb Shihadeh
5bcb4c0358
process replay: add cx9 route to migration list
3 years ago
Adeeb Shihadeh
eb55226c2b
update refs for new mazda name
3 years ago
Vivek Aithal
94d59314e2
Revert ecef std until real fix ( #22982 )
...
* too low
* update refs
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
3 years ago
HaraldSchafer
24aadaf1f3
Lateral planner: lower max cost ( #22960 )
...
* prevent ping pong when tuning is not so great
* update refs
3 years ago
HaraldSchafer
b3b45c8d29
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
3 years ago
Adeeb Shihadeh
f262725705
update refs after alert disable
3 years ago
Adeeb Shihadeh
3302239013
put cruiseMismatch event in logging only mode
3 years ago
Vivek Aithal
534bf697ee
locationd : Acceleration Bias in locationd ( #22879 )
...
* add accel bias to filter for offline calculation
* bugfix acc bias in live_kf
* add no_accel obsertvation
* increase initial certainty of acc-bias and reduce PN
* increase initial certainty of acc-bias and reduce PN
* increase accel bias PN
* increase obs noise for no_accel observation
* style fixes
* update refs
4 years ago
HaraldSchafer
a04114f68c
Give car interface roll and pitch ( #22891 )
...
* Give car interface roll and pitch
* fixup
* whitespace
4 years ago
Vivek Aithal
c7be73b826
locationd: Set ECEF_POS valid flag to false if in no-gps mode ( #22857 )
...
* set ECEF_POS valid flag to false if in no-gps mode
* modify valid flag for all ecef states before gps
* add calibrated valid when no gps
* update refs
* remove extra whitespace
* add invalid flag to all NED values pre gps
* update refs
* update correct refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
sshane
bdaea086f8
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>
4 years ago
Adeeb Shihadeh
327464fb84
increase engagement alerts duration
4 years ago
Adeeb Shihadeh
035bc0c20f
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
4 years ago
Adeeb Shihadeh
c5d6b85c90
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
4 years ago
Adeeb Shihadeh
93ba52c76c
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>
4 years ago
Jason Young
2006fff2b6
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>
4 years ago
HaraldSchafer
35d6ed1014
ACADOS: partial condensing ( #22830 )
...
* partial condense
* new refs
* new ref
* newerest refs
4 years ago
Jafar Al-Gharaibeh
2621e5301d
Mazda: disable hud alerts until we find a way to silence audible alerts ( #22808 )
...
* Mazda: disable hud alerts for now until we find a way to silence audible warnings
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda: add hud alert for steer lockout
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* show when above min steer speed
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Vivek Aithal
5c810a45b0
locationd: Make live_kf robust to no GPS ( #22774 )
...
* add no gps observations
* use correct ecef_location, orientation vals and stds for nogps states
* remove earth radius obs
* move initial loc to the ocean
* remove unnecessary changes
* update refs
4 years ago
Jafar Al-Gharaibeh
8c38e9c49e
Mazda: fix occasional steer fault at initial lkas enable ( #22806 )
...
* Mazda: fix occasional steer fault at initial lkas enable
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
sshane
a0e5eccb70
Toyota: handle brake hold ( #22810 )
...
* disallow engagement if brake hold active
* we can check once
* move to common events
revert
* fix
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
cydia2020
d66f0fcc87
Toyota: Increment by 5 km/h (5 mph) on long press ( #22678 )
...
* Allow 5km/h speed increments on Toyota
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
2252c6bba7
Mazda: move CX-9 out of dashcam mode ( #22717 )
...
* move cx9 out of dashcam
* no alc below 28
* process replay route
4 years ago