Adeeb Shihadeh
a1ab2f7c36
CI: skip cruise mismatch check for can replays
...
old-commit-hash: db92006dc0
4 years ago
HaraldSchafer
d17ec32e0b
Give car interface roll and pitch ( #22891 )
...
* Give car interface roll and pitch
* fixup
* whitespace
old-commit-hash: a04114f68c
4 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
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
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
Robbe Derks
39d9bd31b0
Make longitudinal planning triggered on model ( #22641 )
...
* Make long planning triggered on model
* fix process replay
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: efb5abec41
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
Adeeb Shihadeh
05aa510c25
always show lane lines on HUD ( #22693 )
...
* always show lane lines on HUD
* update refs
old-commit-hash: f2b48a1803
4 years ago
Adeeb Shihadeh
300294d0c6
temporarily disable per-core cpu usage check
...
old-commit-hash: 7394956a90
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
Mitchell Goff
3e3b875111
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
old-commit-hash: 38f775edfc
4 years ago
Harald Schafer
92c2da52a9
plannerd: position std size check bug
...
old-commit-hash: 791de68689
4 years ago
Adeeb Shihadeh
3802eab361
only check low battery on EON
...
old-commit-hash: 74a3c92704
4 years ago
HaraldSchafer
b7aba92661
Remove accel cost in long MPC ( #22527 )
...
* ACCEL not useful
* new ref
old-commit-hash: c4510024da
4 years ago
HaraldSchafer
4814c30667
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
old-commit-hash: 04cf12cb00
4 years ago
Robbe Derks
58c99158a1
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
old-commit-hash: 91987f38d4
4 years ago
Willem Melching
627c6260cf
Fix cruise button mph increment ( #22487 )
...
old-commit-hash: 5587964d58
4 years ago
HaraldSchafer
5a1e44c417
Long MPC cleanup ( #22462 )
...
* cleaner extrapolation
* some comments
* new ref
* more comments
* new ref
old-commit-hash: a4bc1bbb74
4 years ago
HaraldSchafer
f495134be4
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
old-commit-hash: 9ab09f5ae9
4 years ago
Willem Melching
79d5c6107b
Set CarControl.active ( #22442 )
...
* Set CarControl.active
* update ref
old-commit-hash: e636f03c7a
4 years ago
speedking456
ca46acfd64
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>
old-commit-hash: 23b9316603
4 years ago
Willem Melching
11066c6236
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>
old-commit-hash: f4e2537b12
4 years ago
qadmus
810e859169
Lateral PID: move steer feedforward to CarInterface ( #22411 )
...
* move steer feedforward to car interface, in car parameters
* LatControlPID.get_steer_feedforward()
old-commit-hash: 3461e25944
4 years ago
Greg Hogan
a131767d0b
accel/decel button short/long press 1mph/5mph ( #22013 )
...
old-commit-hash: 92895f1e68
4 years ago
HaraldSchafer
d91e0604e8
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
old-commit-hash: a8b4249ebc
4 years ago
HaraldSchafer
f02787eb75
Small long MPC optimizations ( #22360 )
...
* Revert "temporarily relax camerad timings"
This reverts commit 59b8293b70e0cbd43567275dc2c6c1d29308fb84.
* cleanup
* wrong weight size
* changes ever so slightly
* seems enough
* Revert "seems enough"
This reverts commit 24f64e9b18583462206bb77c37ba7727b9e47245.
* new ref
old-commit-hash: 85dc43d166
4 years ago
Adeeb Shihadeh
a4194021bd
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
old-commit-hash: 3b8fa4b7fd
4 years ago
HaraldSchafer
2b470f4e38
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
old-commit-hash: fe983a7b8c
4 years ago
Adeeb Shihadeh
18097d7c06
change reverse gear event from immediate to user disable ( #22337 )
...
old-commit-hash: 2fe91e6085
4 years ago
Adeeb Shihadeh
821f1f6cb6
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
old-commit-hash: 649af76fd4
4 years ago
Willem Melching
b3601ce43b
Remove fuzzy fingerprint startup alert ( #22328 )
...
* deprecate fuzzy fingerprint startup alert
* bump cereal
old-commit-hash: 88d248a5af
4 years ago
HaraldSchafer
498e0f4212
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>
old-commit-hash: fcda55fbf1
4 years ago
HaraldSchafer
0512c89d34
various cleanup ( #22289 )
...
old-commit-hash: cc6af379ce
4 years ago
Mitchell Goff
aa4b201b96
Added update_with_xva method to long_mpc so it can be used in sim ( #22284 )
...
old-commit-hash: 485afda79d
4 years ago
HaraldSchafer
bc1882e3fb
More extreme lead init for lead mpc ( #22273 )
...
* More harsh lead init for lead mpc
* update refs
old-commit-hash: 7495100177
4 years ago