Shane Smiskol
4f2134468f
events: reword ESP off alert ( #27304 )
...
* Rename event
* rename to Control
* rename to disabled
2 years ago
Adeeb Shihadeh
5ab2d35f7b
controlsd: higher default set speed in experimental mode ( #27279 )
...
* controlsd: higher default set speed in experimental mode
* update tests
* update tests
2 years ago
Shane Smiskol
b00bc4f57e
Car interface: require fingerprint and FW versions to get params ( #26932 )
...
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
* fix
* wrong fix 🤦
2 years ago
Adeeb Shihadeh
f14deae475
Revert "Car interface: require fingerprint and FW versions to get params ( #26766 )"
...
This reverts commit b68dabb689
.
2 years ago
Shane Smiskol
b68dabb689
Car interface: require fingerprint and FW versions to get params ( #26766 )
...
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
2 years ago
Jason Young
cb88b3ed65
controlsd: set latActive with max minimum steer speed ( #26805 )
...
* refactor minimum lateral speed handling
* rename for clarity
* simplify without joystick at standstill
* intermediate standstill variable, check notCar
* check joystick for now
* cmt
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Shane Smiskol
b45dda2d0a
Longitudinal tests: test forceDecel ( #26765 )
...
* test with forceDecel
* test all combos
* fix
* fix
* fix
* ...
* remove print
* clean up
* just set cruise to 0
* update ref commit
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
2 years ago
Shane Smiskol
4e9bddee5c
longcontrol: enter stopping state immediately ( #26879 )
...
* enter stopping state immediately
* Update selfdrive/controls/lib/longcontrol.py
2 years ago
Adeeb Shihadeh
cd8e03d53e
move all third party stuff into third_party/ ( #26853 )
...
* mv fastcluster
* move msm_kgsl.h
* camerad include
* update path
* mv pyextra
* fix tici build
* add acados_template to release build
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Shane Smiskol
9e9600a4f4
Events: actionable accFaulted alert text ( #26783 )
...
same alert text as steer and brake unavailable
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
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
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
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
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
YassineYousfi
ded66e6307
long_mpc: fix e2e source condition ( #26546 )
...
* fix long_mpc source param
* rm print
* add back space for formatting
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
870b798185
controlsd: clean up v_cruise updating ( #26479 )
...
* clean up
* clean up
* clean up
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
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
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
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
Shane Smiskol
4e82f68de2
GM camera ACC: prevent fault when engaging at a stop ( #26079 )
...
* prevent bolt fault
* comment
* only for camera ACC
* fixup alert
* bump cereal to master
* use new name
* Update selfdrive/car/gm/interface.py
* Update selfdrive/car/gm/interface.py
* Update selfdrive/car/gm/interface.py
* only care about prevent engagement when we look at PCM
3 years ago
HaraldSchafer
2c9b150761
Low speed lateral like before ( #26022 )
...
* Add explicit cost on steering wheel movement
* Laxer low speed control
* Laxer low speed control
* Lower min speed now there is a cost
* 3m/s
* Similar to old master
* Add cost
* Crazy high
* Update ref
* comment
3 years ago
HaraldSchafer
fb07437819
Increase low speed jerk cost ( #26008 )
...
* Increase low speed jerk cost
* Update planner weight
* Update ref_commit
* Update lateral_planner.py
* cleanup and refactor
* Update ref_commit
3 years ago
HaraldSchafer
1ecf6f351c
Divide by 0 bug fix lateral planner ( #25995 )
...
* Divide by speed correctly
* Update
* Update lateral_planner.py
* Update ref_commit
3 years ago