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
Adeeb Shihadeh
85b0e69efd
more alert checks
...
old-commit-hash: 8d917b6702
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
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