Shane Smiskol
9e9600a4f4
Events: actionable accFaulted alert text ( #26783 )
...
same alert text as steer and brake unavailable
2 years ago
Adeeb Shihadeh
151e0d8c39
controlsd: add blinkers to carControl ( #26773 )
...
* controlsd: add blinkers to carControl
* not actuators
* update refs
2 years ago
Shane Smiskol
2545dd195e
alert: smaller standstill alert ( #26751 )
...
smaller standstill alert
2 years ago
Shane Smiskol
84340f07ab
LatControlAngle: fix setting saturation check speed ( #26752 )
...
set in init function
2 years ago
Shane Smiskol
d5ffb90a04
LatControlAngle: lower saturation check speed ( #26749 )
...
lower speed for angle
2 years ago
Shane Smiskol
c1b3d696bc
controlsd: set steer_limited for angle cars ( #26748 )
...
* Set steer limited for angle cars
* closer to torque threshold
2 years ago
Shane Smiskol
d97336d532
LatControl: remove duplicate logic for saturation ( #26725 )
...
this is already checked
2 years ago
Shane Smiskol
9ea72b6550
Longitudinal tests: clean up ( #26708 )
...
* refactor test_cruise_speed.py
* clean up long tests
* and here
2 years ago
Shane Smiskol
e6fcc2d6aa
planner: read experimental mode from controlsState ( #26553 )
...
read from controlsState
2 years ago
Shane Smiskol
5409895ab2
Deprecate noTarget event ( #26638 )
...
deprecate notarget
2 years ago
Shane Smiskol
41610fe8ae
controls: remove noTarget event ( #26632 )
...
remove noTarget alert
2 years ago
Shane Smiskol
dbe512d167
controlsd: preEnable on brake at a standstill ( #26273 )
...
* pre-enable on brake at standstill
* test by getting rid of noTarget
* Update events.py
* rename
* stash what we got so far
* cmt
* not sure if best way to fix, but enabled with current states defs is fine
* no noEntry in preEnabled
* bumpcereal
* uncomment
* Update ref_commit
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Shane Smiskol
8ad8d4e1c2
controls: preEnabled doesn't consider noEntry ( #26627 )
...
preEnabled doesn't consider noEntry
2 years ago
Vivek Aithal
3a4f19f0ee
[controlsd] Refactor apply_deadzone in Lateral Torque Control ( #26626 )
...
rename apply_slack to apply_center_deadzone, remove unused prius offline values
2 years ago
Vivek Aithal
0706b03e8c
[controlsd] Toyota Prius 2017 ( #26455 )
...
* increase lag on prius
* better offline values computation
* split prius ecu more, set deadzone to 0
* add deadzone back
* replace deadzone with slack
* reduce deadzone to 0.2
* update refs
2 years ago
Shane Smiskol
3253b85900
Toyota: alert when in standstill ( #26585 )
...
* add resume required alert
* possibly need this (pressing resume with brake held does nothing)
* better text (has both meanings)
* try this
* Revert "try this"
This reverts commit 5b2991929b
.
* no alert with interceptor
* check long
2 years ago
Shane Smiskol
a19b5b91d2
longcontrol: ignore cruise standstill if interceptor ( #26597 )
...
* ignore standstill
* cmt
* standstill
* rm cmt
* flip
2 years ago
Adeeb Shihadeh
7361d1a11b
process replay: support old routes with no peripheralState
2 years ago
Adeeb Shihadeh
65fa87a969
cleanup panda types everywhere ( #26574 )
...
* cleanup panda types everywhere
* one more
2 years ago
Shane Smiskol
23a7a987f6
controlsd: add test around cruise speed gas pressed behavior ( #26486 )
...
* test
* test
* debug
* test
* test
* test
* clean up
* clean up
* add test
* stash
* clean up
* clean up
* clean up
* assert equal
2 years ago
Adeeb Shihadeh
94aa39bdd4
enable experimental longitudinal control on devel ( #26544 )
2 years ago
YassineYousfi
ded66e6307
long_mpc: fix e2e source condition ( #26546 )
...
* fix long_mpc source param
* rm print
* add back space for formatting
2 years ago
Adeeb Shihadeh
9c96b21367
publish experimental mode state ( #26512 )
...
* publish experimental mode state
* remove that
2 years ago
Shane Smiskol
f15d169289
controlsd cruise speed: fix missing initial value
2 years ago
Shane Smiskol
e46063086f
controlsd: no speed increment if enabled on button rising edge ( #26490 )
...
* don't increment speed if we enabled on rising edge
* more realistic test
2 years ago
Shane Smiskol
3524cc7f0b
cruise speed tests: match controlsd initialization of cruise speed ( #26491 )
...
* helper functions and fix resetting/enabling
* comment (resume not yet tested)
* make it clear how this resets
* this is fine to enable once
* same here
2 years ago
Shane Smiskol
870b798185
controlsd: clean up v_cruise updating ( #26479 )
...
* clean up
* clean up
* clean up
2 years ago
Shane Smiskol
a638afb98e
controlsd: add tests around cruise speed ( #26478 )
...
* start to add some tests
* test !pcmCruise
* test !pcmCruise
* better test
* fix pylint
* new test for making sure we adjust on falling edge of buttons
2 years ago
Shane Smiskol
d3f971b365
controlsd v_cruise: fix unknown buttons ( #26474 )
...
Fix button being None
2 years ago
Shane Smiskol
76ac3d4c99
controlsd: resume does not increment speed while cruise standstill ( #25470 )
...
* fix runaway set speed for GM
* fix runaway set speed for GM
* Handle resuming to exit standstill generically
* clean that up
* ugh i want to fix all the formatting
* class that manages v_cruise
* better name
* move around
* add depressed_state
* fine to update on pressed change, better name
* cmt
* we need to check CS. button_change_state only works if we exit standstill on rising edge not falling edge
* no defaultdict
2 years ago
Shane Smiskol
811c096e64
controlsd: add cruise speed helper class ( #26472 )
...
* fix runaway set speed for GM
* fix runaway set speed for GM
* Handle resuming to exit standstill generically
* clean that up
* ugh i want to fix all the formatting
* class that manages v_cruise
* better name
* move around
* add depressed_state
* fine to update on pressed change, better name
* revert gm stuff
* revert standstill stuff
* remove
* revert that
* we can put this in here now!
* below update
* actually only used here
* one line
2 years ago
Shane Smiskol
89b88fc7a2
Hyundai: fix button enable controls mismatch ( #26471 )
...
* bump panda
* buttonCancel needs to be a noEntry
* bompo
* Update ref_commit
2 years ago
Shane Smiskol
9f80a97eee
longitudinal tests: add disabled maneuver ( #26470 )
...
* undeclared variable
* run first second disabled
* only test
* test disabled as a new maneuver
* bottom
2 years ago
Shane Smiskol
98206fb92e
planner: fix undeclared variable ( #26468 )
...
* undeclared variable
* run first second disabled
* revert test
* rev
2 years ago
Harald Schäfer
f23296bc87
Add force decel to e2e long ( #26448 )
...
* add force decel to e2e
* Update longitudinal_planner.py
2 years ago
Shane Smiskol
74b6e22a7d
controls: disengage on regen paddle independently ( #26453 )
...
* add regen braking field that's just used to add a pedalPressed
* bump
* bump
* Update ref_commit
* we want the standstill check
we want the standstill check
* see what diff is now
* Update ref_commit
2 years ago
YassineYousfi
7374080668
min lane change speed 20mph ( #26434 )
3 years ago
Adeeb Shihadeh
9a3f468051
experimental mode ( #26416 )
...
* experimental mode
* rename param
* red lights
3 years ago
Harald Schäfer
f63f0de80a
E2e long model: calibrate model speed to wheel speed ( #26395 )
...
* calibrate!
* Fix test
* Fix proc replay
* check len
* get v_ego from model 8501d20-bb59-4193-aa82-82b2737dedd6/449 609d90f3-65e6-4617-a60c-d6d99eead408/700
* bump cereal
* initialize v_model_error
* typo
* better names
* cleanup
* bump cereal
* update model replay ref commit
* bump to cereal master
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
3 years ago
Vivek Aithal
e9eb5d99ff
[torqued] Fix high speed oscillations ( #26338 )
...
* modify low speed factor during high speeds and rescale friction
* update refs
3 years ago
Harald Schäfer
253e5d7f9d
FCW: less false positives ( #26366 )
...
* Less FP for FCW
* enable fcw for e2e long
3 years ago
Harald Schäfer
a7ced7c54b
Longcontrol: faster transition from starting to stopping ( #26361 )
...
* Never command accel when stopping
* Update ref_commit
3 years ago
Adeeb Shihadeh
6698cd4829
controlsd: steer in old preEnable state ( #26269 )
...
* controlsd: steer in old preEnable state
* bump panda
* bump panda
* Update ref_commit
Co-authored-by: Shane Smiskol <shane@smiskol.com>
3 years ago
HaraldSchafer
f76a390daf
Eliminate toyota close radar glitches causing no resume ( #26272 )
...
Eliminate toyota close radar glitches
3 years ago
HaraldSchafer
b80f2efdf2
No fcw when standstill ( #26252 )
3 years ago
HaraldSchafer
dcde942d9f
Long control: add a_change cost in e2e mode ( #26237 )
...
Add e2e cost
3 years ago
Greg Hogan
9091e737c8
controlsd: update is_metric live ( #26228 )
...
* fix speed increment if units changed while driving
* don't recreate params
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
HaraldSchafer
4f84b29985
Use same minimum speed for lateral planning and controls ( #26177 )
...
* Use same speed for lag adjustmenet
* One is a nicer number
* Update ref
3 years ago
Shane Smiskol
b1efdab788
Rename gmAccFaultedTemp -> accFaultedTemp
3 years ago
HaraldSchafer
1548db8962
Partial revert, lax torque control ( #26146 )
...
* Closer to original
* Update ref
3 years ago