Adeeb Shihadeh
3302239013
put cruiseMismatch event in logging only mode
3 years ago
Adeeb Shihadeh
5265c36de7
alert cleanup ( #22919 )
3 years ago
Adeeb Shihadeh
db92006dc0
CI: skip cruise mismatch check for can replays
4 years ago
HaraldSchafer
a04114f68c
Give car interface roll and pitch ( #22891 )
...
* Give car interface roll and pitch
* fixup
* whitespace
4 years ago
Joost Wooning
89d0a52d16
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>
4 years ago
Adeeb Shihadeh
e528e2e3e2
allow update snoozing ( #22876 )
...
* allow update snoozing
* not immediately visible
* dismiss and close
* grey button
4 years ago
Adeeb Shihadeh
308219c5b1
alerts: use repeating warning2 sound for steerSaturated ( #22874 )
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
Adeeb Shihadeh
445a5aaca4
soundd: don't loop controls unresponsive sound infinitely ( #22839 )
...
* soundd: don't loop controls unresponsive sound infinitely
* update tests
* actually fix
4 years ago
Mayfield
8c501f0265
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
4 years ago
Adeeb Shihadeh
385f3c5387
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
4 years ago
Adeeb Shihadeh
3312bf6d15
lower profile below steer speed alert ( #22740 )
4 years ago
Robbe Derks
585c16cd2a
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>
4 years ago
Robbe Derks
efb5abec41
Make longitudinal planning triggered on model ( #22641 )
...
* Make long planning triggered on model
* fix process replay
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
f4c2398db4
add sdcard support ( #22703 )
...
* generalize
* factory reset
4 years ago
Vivek Aithal
2ea4feffb9
plannerd: add useLaneLines to lateralPlan ( #22699 )
...
* add laneless toggle in lateral plan message
* update cereal
* add refs
4 years ago
Adeeb Shihadeh
f2b48a1803
always show lane lines on HUD ( #22693 )
...
* always show lane lines on HUD
* update refs
4 years ago
Adeeb Shihadeh
7394956a90
temporarily disable per-core cpu usage check
4 years ago
HaraldSchafer
7868baeac9
e2e long planner: use position, speed and accel ( #22688 )
...
* a little bit more moderate
* cleaner
4 years ago
Adeeb Shihadeh
897492d27c
more specific no fw startup alert
4 years ago
qadmus
778374d3dd
[Lateral PID] Function for steer feedforward ( #22638 )
...
* store a function for steer feedforward
* use classmethod
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Mitchell Goff
38f775edfc
Only trigger model FCW on stock long when not already braking ( #22620 )
...
* Only trigger model FCW on stock long when not already braking
* Split model_fcw checks for better readability
4 years ago
Harald Schafer
791de68689
plannerd: position std size check bug
4 years ago
Adeeb Shihadeh
74a3c92704
only check low battery on EON
4 years ago
HaraldSchafer
c4510024da
Remove accel cost in long MPC ( #22527 )
...
* ACCEL not useful
* new ref
4 years ago
HaraldSchafer
04cf12cb00
ACADOS fix non-convergence when long_plan changes ( #22495 )
...
* debug commit
* cleanup
* some indexing bugs
* need more its
* BALANCE is way better it seems
* fix test
* this converges in 2000segs
* new ref
* less cpu
4 years ago
Robbe Derks
91987f38d4
Make pandaState and safetyMode a list ( #22454 )
...
* wip: move to pandaStates
* bump cereal
* wip: SafetyMode struct
* move to safetyMode
* fix typo
* this can be None
* fix potential empty pandaStates list
* fix thermald
* fix controlsd
* rename safetyModes to safetyConfigs
* update process_replay
* fix test_models
* bump cereal
4 years ago
Willem Melching
5587964d58
Fix cruise button mph increment ( #22487 )
4 years ago
HaraldSchafer
a4bc1bbb74
Long MPC cleanup ( #22462 )
...
* cleaner extrapolation
* some comments
* new ref
* more comments
* new ref
4 years ago
HaraldSchafer
9ab09f5ae9
Retune long mpc ( #22445 )
...
* first try
* looks decent
* finalize retune
* back to 3 its
* may need 4 still
* misc cleanup
* new ref
* SPEEEED
* new ref
4 years ago
Willem Melching
e636f03c7a
Set CarControl.active ( #22442 )
...
* Set CarControl.active
* update ref
4 years ago
speedking456
23b9316603
accel/decel button metric increments ( #22399 )
...
* add metric values
Freedom units have weird multiples compared to metric. Modified so that it increments by 10 km/h on long press and 1 km/h on short press, rather than 8 and 1.6 km/h. This mimics stock hyundai behaviour on metric vehicles.
* use is_metric from controlsd
* use actual mph value instead of rounded
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Willem Melching
f4e2537b12
Split pandaState into peripheralState and pandaState ( #22385 )
...
* publish peripheralState from boardd
* refactor consumers
* rename thread
* peripheralState has panda type too
* add to process replay
* fix device build
* properly remove hardware unsupported alert
* latest peripheralState
* remove pandaState from thermal_monitor
* put that back
* add back harness check
* fix cloudlog
* needs pandaState
* Update selfdrive/thermald/tests/test_power_monitoring.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* dont conflate
* Update selfdrive/thermald/tests/test_power_monitoring.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* pigeon is peripheral
* cleanup
* less global
* comment
* move rtc to peripheral_control_thread
* better diff?
* whitespace
* get msg
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
qadmus
3461e25944
Lateral PID: move steer feedforward to CarInterface ( #22411 )
...
* move steer feedforward to car interface, in car parameters
* LatControlPID.get_steer_feedforward()
4 years ago
Greg Hogan
92895f1e68
accel/decel button short/long press 1mph/5mph ( #22013 )
4 years ago
HaraldSchafer
a8b4249ebc
Change radar-based FCW to model-based FCW ( #22379 )
...
* just use MPC for fcw checking
* thats already bad
* model FCW is always good
* better fcw
* should be good for now
* comment
* linting
* cleaner
* unused
4 years ago
HaraldSchafer
85dc43d166
Small long MPC optimizations ( #22360 )
...
* Revert "temporarily relax camerad timings"
This reverts commit 174aa908ba
.
* cleanup
* wrong weight size
* changes ever so slightly
* seems enough
* Revert "seems enough"
This reverts commit 24f64e9b18583462206bb77c37ba7727b9e47245.
* new ref
4 years ago
Adeeb Shihadeh
3b8fa4b7fd
controls: only send cruise cancel while cruise is enabled ( #22359 )
...
* controls: only send cruise cancel while cruise is enabled
* cleanup
* might actually do something
* update refs
* update refs again
* update refs
4 years ago
HaraldSchafer
fe983a7b8c
acados long merged ( #22224 )
...
* rebased
* cleaner, seems to drive better?
* more stable
* wrong import
* new way of thinking
* reports look nice
* start move back
* works at leas
* good timestamps
* step by step
* somewhat work
* tests pass
* ALL CARS STOPPED
* should work
* fake a cruise obstacle
* cleaner costs
* pretty good except cruise braking
* works pretty well now!
* cleanup
* add source
* add source
* that is needed for unit tests
* nan recovery
* little cleaner
* stop wasting arrays
* unreasonable without unfair init
* this isnt needed without the exponential
* that works too
* unused
* uses less
* new ref
* long enough
* e2e long api
* DONT PUT IN A VIEW INTO ACADOS
* new ref for outside weights
* remove debug prints
4 years ago
Adeeb Shihadeh
2fe91e6085
change reverse gear event from immediate to user disable ( #22337 )
4 years ago
Adeeb Shihadeh
649af76fd4
remove community supported cars from community features ( #22330 )
...
* remove community supported cars from community features
* remove bosch and hkg long
* remove test case
* update refs
4 years ago
Willem Melching
88d248a5af
Remove fuzzy fingerprint startup alert ( #22328 )
...
* deprecate fuzzy fingerprint startup alert
* bump cereal
4 years ago
HaraldSchafer
fcda55fbf1
Fix cruise MPC convergence bug and add test ( #22295 )
...
* fix tests
* fix cruise convergence bug
* update refs
* Update selfdrive/controls/tests/test_cruise_speed.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Update selfdrive/controls/tests/test_cruise_speed.py
* add msgh
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
HaraldSchafer
cc6af379ce
various cleanup ( #22289 )
4 years ago